1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libluksde 20200205.
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='libluksde'
592PACKAGE_TARNAME='libluksde'
593PACKAGE_VERSION='20200205'
594PACKAGE_STRING='libluksde 20200205'
595PACKAGE_BUGREPORT='joachim.metz@gmail.com'
596PACKAGE_URL=''
597
598ac_unique_file="include/libluksde.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
642libluksde_spec_tools_build_requires
643libluksde_spec_requires
644LIBLUKSDE_DLL_EXPORT
645LIBLUKSDE_DLL_IMPORT
646STATIC_LDFLAGS
647ax_libfuse_spec_build_requires
648ax_libfuse_spec_requires
649ax_libfuse_pc_libs_private
650LIBFUSE_LIBADD
651LIBFUSE_CPPFLAGS
652HAVE_LIBFUSE
653fuse_LIBS
654fuse_CFLAGS
655HAVE_PYTHON_TESTS_FALSE
656HAVE_PYTHON_TESTS_TRUE
657HAVE_PYTHON3_FALSE
658HAVE_PYTHON3_TRUE
659HAVE_PYTHON2_FALSE
660HAVE_PYTHON2_TRUE
661HAVE_PYTHON_FALSE
662HAVE_PYTHON_TRUE
663PYTHON3_PACKAGE_DIR
664PYTHON3_LIBRARY_DIR
665pyexecdir3
666pythondir3
667PYTHON3_EXEC_PREFIX
668PYTHON3_PREFIX
669PYTHON3_LDFLAGS
670PYTHON3_CPPFLAGS
671PYTHON3_CONFIG
672PYTHON3_PLATFORM
673PYTHON3_VERSION
674PYTHON3
675PYTHON2_PACKAGE_DIR
676PYTHON2_LIBRARY_DIR
677pyexecdir2
678pythondir2
679PYTHON2_EXEC_PREFIX
680PYTHON2_PREFIX
681PYTHON2_LDFLAGS
682PYTHON2_CPPFLAGS
683PYTHON2_CONFIG
684PYTHON2_PLATFORM
685PYTHON2_VERSION
686PYTHON2
687PYTHON_PACKAGE_DIR
688PYTHON_LIBRARY_DIR
689pyexecdir
690pythondir
691PYTHON_EXEC_PREFIX
692PYTHON_PREFIX
693PYTHON_LDFLAGS
694PYTHON_CPPFLAGS
695PYTHON_CONFIG
696PYTHON_PLATFORM
697PYTHON
698HAVE_DLLMAIN
699ax_libfcrypto_spec_build_requires
700ax_libfcrypto_spec_requires
701ax_libfcrypto_pc_libs_private
702LIBFCRYPTO_LIBADD
703LIBFCRYPTO_CPPFLAGS
704HAVE_LOCAL_LIBFCRYPTO_FALSE
705HAVE_LOCAL_LIBFCRYPTO_TRUE
706HAVE_LOCAL_LIBFCRYPTO
707HAVE_LIBFCRYPTO
708libfcrypto_LIBS
709libfcrypto_CFLAGS
710ax_libcaes_spec_build_requires
711ax_libcaes_spec_requires
712ax_libcaes_pc_libs_private
713LIBCAES_LIBADD
714LIBCAES_CPPFLAGS
715HAVE_LOCAL_LIBCAES_FALSE
716HAVE_LOCAL_LIBCAES_TRUE
717HAVE_LOCAL_LIBCAES
718HAVE_LIBCAES
719libcaes_LIBS
720libcaes_CFLAGS
721ax_libhmac_spec_build_requires
722ax_libhmac_spec_requires
723ax_libhmac_pc_libs_private
724LIBHMAC_LIBADD
725LIBHMAC_CPPFLAGS
726HAVE_LOCAL_LIBHMAC_FALSE
727HAVE_LOCAL_LIBHMAC_TRUE
728HAVE_LOCAL_LIBHMAC
729ax_libcrypto_spec_build_requires
730ax_libcrypto_spec_requires
731ax_libcrypto_pc_libs_private
732LIBCRYPTO_LIBADD
733LIBCRYPTO_CPPFLAGS
734LIBDL_LIBADD
735HAVE_OPENSSL_EVP_H
736openssl_LIBS
737openssl_CFLAGS
738HAVE_LIBHMAC
739libhmac_LIBS
740libhmac_CFLAGS
741ax_libfguid_spec_build_requires
742ax_libfguid_spec_requires
743ax_libfguid_pc_libs_private
744LIBFGUID_LIBADD
745LIBFGUID_CPPFLAGS
746HAVE_LOCAL_LIBFGUID_FALSE
747HAVE_LOCAL_LIBFGUID_TRUE
748HAVE_LOCAL_LIBFGUID
749HAVE_LIBFGUID
750libfguid_LIBS
751libfguid_CFLAGS
752ax_libfdata_spec_build_requires
753ax_libfdata_spec_requires
754ax_libfdata_pc_libs_private
755LIBFDATA_LIBADD
756LIBFDATA_CPPFLAGS
757HAVE_LOCAL_LIBFDATA_FALSE
758HAVE_LOCAL_LIBFDATA_TRUE
759HAVE_LOCAL_LIBFDATA
760HAVE_LIBFDATA
761libfdata_LIBS
762libfdata_CFLAGS
763ax_libfcache_spec_build_requires
764ax_libfcache_spec_requires
765ax_libfcache_pc_libs_private
766LIBFCACHE_LIBADD
767LIBFCACHE_CPPFLAGS
768HAVE_LOCAL_LIBFCACHE_FALSE
769HAVE_LOCAL_LIBFCACHE_TRUE
770HAVE_LOCAL_LIBFCACHE
771HAVE_LIBFCACHE
772libfcache_LIBS
773libfcache_CFLAGS
774ax_libbfio_spec_build_requires
775ax_libbfio_spec_requires
776ax_libbfio_pc_libs_private
777LIBBFIO_LIBADD
778LIBBFIO_CPPFLAGS
779HAVE_LOCAL_LIBBFIO_FALSE
780HAVE_LOCAL_LIBBFIO_TRUE
781HAVE_LOCAL_LIBBFIO
782HAVE_LIBBFIO
783libbfio_LIBS
784libbfio_CFLAGS
785ax_libcpath_spec_build_requires
786ax_libcpath_spec_requires
787ax_libcpath_pc_libs_private
788LIBCPATH_LIBADD
789LIBCPATH_CPPFLAGS
790HAVE_LOCAL_LIBCPATH_FALSE
791HAVE_LOCAL_LIBCPATH_TRUE
792HAVE_LOCAL_LIBCPATH
793HAVE_LIBCPATH
794libcpath_LIBS
795libcpath_CFLAGS
796ax_libcfile_spec_build_requires
797ax_libcfile_spec_requires
798ax_libcfile_pc_libs_private
799LIBCFILE_LIBADD
800LIBCFILE_CPPFLAGS
801HAVE_LOCAL_LIBCFILE_FALSE
802HAVE_LOCAL_LIBCFILE_TRUE
803HAVE_LOCAL_LIBCFILE
804HAVE_LIBCFILE
805libcfile_LIBS
806libcfile_CFLAGS
807ax_libuna_spec_build_requires
808ax_libuna_spec_requires
809ax_libuna_pc_libs_private
810LIBUNA_LIBADD
811LIBUNA_CPPFLAGS
812HAVE_LOCAL_LIBUNA_FALSE
813HAVE_LOCAL_LIBUNA_TRUE
814HAVE_LOCAL_LIBUNA
815HAVE_LIBUNA
816libuna_LIBS
817libuna_CFLAGS
818ax_libcsplit_spec_build_requires
819ax_libcsplit_spec_requires
820ax_libcsplit_pc_libs_private
821LIBCSPLIT_LIBADD
822LIBCSPLIT_CPPFLAGS
823HAVE_LOCAL_LIBCSPLIT_FALSE
824HAVE_LOCAL_LIBCSPLIT_TRUE
825HAVE_LOCAL_LIBCSPLIT
826HAVE_LIBCSPLIT
827libcsplit_LIBS
828libcsplit_CFLAGS
829ax_libcnotify_spec_build_requires
830ax_libcnotify_spec_requires
831ax_libcnotify_pc_libs_private
832LIBCNOTIFY_LIBADD
833LIBCNOTIFY_CPPFLAGS
834HAVE_LOCAL_LIBCNOTIFY_FALSE
835HAVE_LOCAL_LIBCNOTIFY_TRUE
836HAVE_LOCAL_LIBCNOTIFY
837HAVE_LIBCNOTIFY
838libcnotify_LIBS
839libcnotify_CFLAGS
840ax_libclocale_spec_build_requires
841ax_libclocale_spec_requires
842ax_libclocale_pc_libs_private
843LIBCLOCALE_LIBADD
844LIBCLOCALE_CPPFLAGS
845HAVE_LOCAL_LIBCLOCALE_FALSE
846HAVE_LOCAL_LIBCLOCALE_TRUE
847HAVE_LOCAL_LIBCLOCALE
848HAVE_LIBCLOCALE
849libclocale_LIBS
850libclocale_CFLAGS
851ax_libcdata_spec_build_requires
852ax_libcdata_spec_requires
853ax_libcdata_pc_libs_private
854LIBCDATA_LIBADD
855LIBCDATA_CPPFLAGS
856HAVE_LOCAL_LIBCDATA_FALSE
857HAVE_LOCAL_LIBCDATA_TRUE
858HAVE_LOCAL_LIBCDATA
859HAVE_LIBCDATA
860libcdata_LIBS
861libcdata_CFLAGS
862ax_libcthreads_spec_build_requires
863ax_libcthreads_spec_requires
864ax_libcthreads_pc_libs_private
865HAVE_MULTI_THREAD_SUPPORT
866LIBCTHREADS_LIBADD
867LIBCTHREADS_CPPFLAGS
868HAVE_LOCAL_LIBCTHREADS_FALSE
869HAVE_LOCAL_LIBCTHREADS_TRUE
870HAVE_LOCAL_LIBCTHREADS
871ax_pthread_pc_libs_private
872PTHREAD_LIBADD
873PTHREAD_CPPFLAGS
874HAVE_PTHREAD
875HAVE_LIBCTHREADS
876libcthreads_LIBS
877libcthreads_CFLAGS
878ax_libcerror_spec_build_requires
879ax_libcerror_spec_requires
880ax_libcerror_pc_libs_private
881LIBCERROR_LIBADD
882LIBCERROR_CPPFLAGS
883HAVE_LOCAL_LIBCERROR_FALSE
884HAVE_LOCAL_LIBCERROR_TRUE
885HAVE_LOCAL_LIBCERROR
886HAVE_LIBCERROR
887libcerror_LIBS
888libcerror_CFLAGS
889PKG_CONFIG_LIBDIR
890PKG_CONFIG_PATH
891PKG_CONFIG
892HAVE_OFF64_T
893HAVE_SSIZE64_T
894HAVE_SIZE64_T
895HAVE_SSIZE32_T
896HAVE_SIZE32_T
897HAVE_WCHAR_H
898HAVE_STDINT_H
899HAVE_INTTYPES_H
900HAVE_SYS_TYPES_H
901HAVE_WIDE_CHARACTER_TYPE
902POSUB
903LTLIBINTL
904LIBINTL
905INTLLIBS
906LTLIBICONV
907LIBICONV
908INTL_MACOSX_LIBS
909XGETTEXT_EXTRA_OPTIONS
910MSGMERGE
911XGETTEXT_015
912XGETTEXT
913GMSGFMT_015
914MSGFMT_015
915GMSGFMT
916MSGFMT
917GETTEXT_MACRO_VERSION
918USE_NLS
919PKGCONFIG
920LIBTOOL_DEPS
921LT_SYS_LIBRARY_PATH
922OTOOL64
923OTOOL
924LIPO
925NMEDIT
926DSYMUTIL
927MANIFEST_TOOL
928RANLIB
929ac_ct_AR
930AR
931LN_S
932NM
933ac_ct_DUMPBIN
934DUMPBIN
935LD
936FGREP
937SED
938LIBTOOL
939EGREP
940GREP
941CPP
942am__fastdepCC_FALSE
943am__fastdepCC_TRUE
944CCDEPMODE
945am__nodep
946AMDEPBACKSLASH
947AMDEP_FALSE
948AMDEP_TRUE
949am__include
950DEPDIR
951OBJEXT
952EXEEXT
953ac_ct_CC
954CPPFLAGS
955LDFLAGS
956CFLAGS
957CC
958OBJDUMP
959DLLTOOL
960AS
961host_os
962host_vendor
963host_cpu
964host
965build_os
966build_vendor
967build_cpu
968build
969AM_BACKSLASH
970AM_DEFAULT_VERBOSITY
971AM_DEFAULT_V
972AM_V
973am__untar
974am__tar
975AMTAR
976am__leading_dot
977SET_MAKE
978AWK
979mkdir_p
980MKDIR_P
981INSTALL_STRIP_PROGRAM
982STRIP
983install_sh
984MAKEINFO
985AUTOHEADER
986AUTOMAKE
987AUTOCONF
988ACLOCAL
989VERSION
990PACKAGE
991CYGPATH_W
992am__isrc
993INSTALL_DATA
994INSTALL_SCRIPT
995INSTALL_PROGRAM
996target_alias
997host_alias
998build_alias
999LIBS
1000ECHO_T
1001ECHO_N
1002ECHO_C
1003DEFS
1004mandir
1005localedir
1006libdir
1007psdir
1008pdfdir
1009dvidir
1010htmldir
1011infodir
1012docdir
1013oldincludedir
1014includedir
1015localstatedir
1016sharedstatedir
1017sysconfdir
1018datadir
1019datarootdir
1020libexecdir
1021sbindir
1022bindir
1023program_transform_name
1024prefix
1025exec_prefix
1026PACKAGE_URL
1027PACKAGE_BUGREPORT
1028PACKAGE_STRING
1029PACKAGE_VERSION
1030PACKAGE_TARNAME
1031PACKAGE_NAME
1032PATH_SEPARATOR
1033SHELL
1034am__quote'
1035ac_subst_files=''
1036ac_user_opts='
1037enable_option_checking
1038enable_silent_rules
1039enable_dependency_tracking
1040enable_shared
1041enable_static
1042with_pic
1043enable_fast_install
1044with_aix_soname
1045with_gnu_ld
1046with_sysroot
1047enable_libtool_lock
1048enable_nls
1049enable_rpath
1050with_libiconv_prefix
1051with_libintl_prefix
1052enable_largefile
1053enable_shared_libs
1054enable_winapi
1055enable_wide_character_type
1056enable_verbose_output
1057enable_debug_output
1058with_libcerror
1059enable_multi_threading_support
1060with_libcthreads
1061with_pthread
1062with_libcdata
1063with_libclocale
1064with_libcnotify
1065with_libcsplit
1066with_libuna
1067with_libcfile
1068with_libcpath
1069with_libbfio
1070with_libfcache
1071with_libfdata
1072with_libfguid
1073with_libhmac
1074with_openssl
1075enable_openssl_evp_cipher
1076enable_openssl_evp_md
1077with_libcaes
1078with_libfcrypto
1079with_pyprefix
1080enable_python
1081with_pythondir
1082enable_python2
1083with_pythondir2
1084enable_python3
1085with_pythondir3
1086with_libfuse
1087enable_static_executables
1088'
1089      ac_precious_vars='build_alias
1090host_alias
1091target_alias
1092CC
1093CFLAGS
1094LDFLAGS
1095LIBS
1096CPPFLAGS
1097CPP
1098LT_SYS_LIBRARY_PATH
1099PKG_CONFIG
1100PKG_CONFIG_PATH
1101PKG_CONFIG_LIBDIR
1102libcerror_CFLAGS
1103libcerror_LIBS
1104libcthreads_CFLAGS
1105libcthreads_LIBS
1106libcdata_CFLAGS
1107libcdata_LIBS
1108libclocale_CFLAGS
1109libclocale_LIBS
1110libcnotify_CFLAGS
1111libcnotify_LIBS
1112libcsplit_CFLAGS
1113libcsplit_LIBS
1114libuna_CFLAGS
1115libuna_LIBS
1116libcfile_CFLAGS
1117libcfile_LIBS
1118libcpath_CFLAGS
1119libcpath_LIBS
1120libbfio_CFLAGS
1121libbfio_LIBS
1122libfcache_CFLAGS
1123libfcache_LIBS
1124libfdata_CFLAGS
1125libfdata_LIBS
1126libfguid_CFLAGS
1127libfguid_LIBS
1128libhmac_CFLAGS
1129libhmac_LIBS
1130openssl_CFLAGS
1131openssl_LIBS
1132libcaes_CFLAGS
1133libcaes_LIBS
1134libfcrypto_CFLAGS
1135libfcrypto_LIBS
1136fuse_CFLAGS
1137fuse_LIBS'
1138
1139
1140# Initialize some variables set by options.
1141ac_init_help=
1142ac_init_version=false
1143ac_unrecognized_opts=
1144ac_unrecognized_sep=
1145# The variables have the same names as the options, with
1146# dashes changed to underlines.
1147cache_file=/dev/null
1148exec_prefix=NONE
1149no_create=
1150no_recursion=
1151prefix=NONE
1152program_prefix=NONE
1153program_suffix=NONE
1154program_transform_name=s,x,x,
1155silent=
1156site=
1157srcdir=
1158verbose=
1159x_includes=NONE
1160x_libraries=NONE
1161
1162# Installation directory options.
1163# These are left unexpanded so users can "make install exec_prefix=/foo"
1164# and all the variables that are supposed to be based on exec_prefix
1165# by default will actually change.
1166# Use braces instead of parens because sh, perl, etc. also accept them.
1167# (The list follows the same order as the GNU Coding Standards.)
1168bindir='${exec_prefix}/bin'
1169sbindir='${exec_prefix}/sbin'
1170libexecdir='${exec_prefix}/libexec'
1171datarootdir='${prefix}/share'
1172datadir='${datarootdir}'
1173sysconfdir='${prefix}/etc'
1174sharedstatedir='${prefix}/com'
1175localstatedir='${prefix}/var'
1176includedir='${prefix}/include'
1177oldincludedir='/usr/include'
1178docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1179infodir='${datarootdir}/info'
1180htmldir='${docdir}'
1181dvidir='${docdir}'
1182pdfdir='${docdir}'
1183psdir='${docdir}'
1184libdir='${exec_prefix}/lib'
1185localedir='${datarootdir}/locale'
1186mandir='${datarootdir}/man'
1187
1188ac_prev=
1189ac_dashdash=
1190for ac_option
1191do
1192  # If the previous option needs an argument, assign it.
1193  if test -n "$ac_prev"; then
1194    eval $ac_prev=\$ac_option
1195    ac_prev=
1196    continue
1197  fi
1198
1199  case $ac_option in
1200  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1201  *=)   ac_optarg= ;;
1202  *)    ac_optarg=yes ;;
1203  esac
1204
1205  # Accept the important Cygnus configure options, so we can diagnose typos.
1206
1207  case $ac_dashdash$ac_option in
1208  --)
1209    ac_dashdash=yes ;;
1210
1211  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1212    ac_prev=bindir ;;
1213  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1214    bindir=$ac_optarg ;;
1215
1216  -build | --build | --buil | --bui | --bu)
1217    ac_prev=build_alias ;;
1218  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1219    build_alias=$ac_optarg ;;
1220
1221  -cache-file | --cache-file | --cache-fil | --cache-fi \
1222  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1223    ac_prev=cache_file ;;
1224  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1225  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1226    cache_file=$ac_optarg ;;
1227
1228  --config-cache | -C)
1229    cache_file=config.cache ;;
1230
1231  -datadir | --datadir | --datadi | --datad)
1232    ac_prev=datadir ;;
1233  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1234    datadir=$ac_optarg ;;
1235
1236  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1237  | --dataroo | --dataro | --datar)
1238    ac_prev=datarootdir ;;
1239  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1240  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1241    datarootdir=$ac_optarg ;;
1242
1243  -disable-* | --disable-*)
1244    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1245    # Reject names that are not valid shell variable names.
1246    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1247      as_fn_error $? "invalid feature name: $ac_useropt"
1248    ac_useropt_orig=$ac_useropt
1249    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250    case $ac_user_opts in
1251      *"
1252"enable_$ac_useropt"
1253"*) ;;
1254      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1255	 ac_unrecognized_sep=', ';;
1256    esac
1257    eval enable_$ac_useropt=no ;;
1258
1259  -docdir | --docdir | --docdi | --doc | --do)
1260    ac_prev=docdir ;;
1261  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1262    docdir=$ac_optarg ;;
1263
1264  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1265    ac_prev=dvidir ;;
1266  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1267    dvidir=$ac_optarg ;;
1268
1269  -enable-* | --enable-*)
1270    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1271    # Reject names that are not valid shell variable names.
1272    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1273      as_fn_error $? "invalid feature name: $ac_useropt"
1274    ac_useropt_orig=$ac_useropt
1275    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276    case $ac_user_opts in
1277      *"
1278"enable_$ac_useropt"
1279"*) ;;
1280      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1281	 ac_unrecognized_sep=', ';;
1282    esac
1283    eval enable_$ac_useropt=\$ac_optarg ;;
1284
1285  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1286  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1287  | --exec | --exe | --ex)
1288    ac_prev=exec_prefix ;;
1289  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1290  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1291  | --exec=* | --exe=* | --ex=*)
1292    exec_prefix=$ac_optarg ;;
1293
1294  -gas | --gas | --ga | --g)
1295    # Obsolete; use --with-gas.
1296    with_gas=yes ;;
1297
1298  -help | --help | --hel | --he | -h)
1299    ac_init_help=long ;;
1300  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1301    ac_init_help=recursive ;;
1302  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1303    ac_init_help=short ;;
1304
1305  -host | --host | --hos | --ho)
1306    ac_prev=host_alias ;;
1307  -host=* | --host=* | --hos=* | --ho=*)
1308    host_alias=$ac_optarg ;;
1309
1310  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1311    ac_prev=htmldir ;;
1312  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1313  | --ht=*)
1314    htmldir=$ac_optarg ;;
1315
1316  -includedir | --includedir | --includedi | --included | --include \
1317  | --includ | --inclu | --incl | --inc)
1318    ac_prev=includedir ;;
1319  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1320  | --includ=* | --inclu=* | --incl=* | --inc=*)
1321    includedir=$ac_optarg ;;
1322
1323  -infodir | --infodir | --infodi | --infod | --info | --inf)
1324    ac_prev=infodir ;;
1325  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1326    infodir=$ac_optarg ;;
1327
1328  -libdir | --libdir | --libdi | --libd)
1329    ac_prev=libdir ;;
1330  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1331    libdir=$ac_optarg ;;
1332
1333  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1334  | --libexe | --libex | --libe)
1335    ac_prev=libexecdir ;;
1336  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1337  | --libexe=* | --libex=* | --libe=*)
1338    libexecdir=$ac_optarg ;;
1339
1340  -localedir | --localedir | --localedi | --localed | --locale)
1341    ac_prev=localedir ;;
1342  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1343    localedir=$ac_optarg ;;
1344
1345  -localstatedir | --localstatedir | --localstatedi | --localstated \
1346  | --localstate | --localstat | --localsta | --localst | --locals)
1347    ac_prev=localstatedir ;;
1348  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1349  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1350    localstatedir=$ac_optarg ;;
1351
1352  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1353    ac_prev=mandir ;;
1354  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1355    mandir=$ac_optarg ;;
1356
1357  -nfp | --nfp | --nf)
1358    # Obsolete; use --without-fp.
1359    with_fp=no ;;
1360
1361  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1362  | --no-cr | --no-c | -n)
1363    no_create=yes ;;
1364
1365  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1366  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1367    no_recursion=yes ;;
1368
1369  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1370  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1371  | --oldin | --oldi | --old | --ol | --o)
1372    ac_prev=oldincludedir ;;
1373  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1374  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1375  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1376    oldincludedir=$ac_optarg ;;
1377
1378  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1379    ac_prev=prefix ;;
1380  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1381    prefix=$ac_optarg ;;
1382
1383  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1384  | --program-pre | --program-pr | --program-p)
1385    ac_prev=program_prefix ;;
1386  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1387  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1388    program_prefix=$ac_optarg ;;
1389
1390  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1391  | --program-suf | --program-su | --program-s)
1392    ac_prev=program_suffix ;;
1393  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1394  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1395    program_suffix=$ac_optarg ;;
1396
1397  -program-transform-name | --program-transform-name \
1398  | --program-transform-nam | --program-transform-na \
1399  | --program-transform-n | --program-transform- \
1400  | --program-transform | --program-transfor \
1401  | --program-transfo | --program-transf \
1402  | --program-trans | --program-tran \
1403  | --progr-tra | --program-tr | --program-t)
1404    ac_prev=program_transform_name ;;
1405  -program-transform-name=* | --program-transform-name=* \
1406  | --program-transform-nam=* | --program-transform-na=* \
1407  | --program-transform-n=* | --program-transform-=* \
1408  | --program-transform=* | --program-transfor=* \
1409  | --program-transfo=* | --program-transf=* \
1410  | --program-trans=* | --program-tran=* \
1411  | --progr-tra=* | --program-tr=* | --program-t=*)
1412    program_transform_name=$ac_optarg ;;
1413
1414  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1415    ac_prev=pdfdir ;;
1416  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1417    pdfdir=$ac_optarg ;;
1418
1419  -psdir | --psdir | --psdi | --psd | --ps)
1420    ac_prev=psdir ;;
1421  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1422    psdir=$ac_optarg ;;
1423
1424  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1425  | -silent | --silent | --silen | --sile | --sil)
1426    silent=yes ;;
1427
1428  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1429    ac_prev=sbindir ;;
1430  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1431  | --sbi=* | --sb=*)
1432    sbindir=$ac_optarg ;;
1433
1434  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1435  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1436  | --sharedst | --shareds | --shared | --share | --shar \
1437  | --sha | --sh)
1438    ac_prev=sharedstatedir ;;
1439  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1440  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1441  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1442  | --sha=* | --sh=*)
1443    sharedstatedir=$ac_optarg ;;
1444
1445  -site | --site | --sit)
1446    ac_prev=site ;;
1447  -site=* | --site=* | --sit=*)
1448    site=$ac_optarg ;;
1449
1450  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1451    ac_prev=srcdir ;;
1452  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1453    srcdir=$ac_optarg ;;
1454
1455  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1456  | --syscon | --sysco | --sysc | --sys | --sy)
1457    ac_prev=sysconfdir ;;
1458  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1459  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1460    sysconfdir=$ac_optarg ;;
1461
1462  -target | --target | --targe | --targ | --tar | --ta | --t)
1463    ac_prev=target_alias ;;
1464  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1465    target_alias=$ac_optarg ;;
1466
1467  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1468    verbose=yes ;;
1469
1470  -version | --version | --versio | --versi | --vers | -V)
1471    ac_init_version=: ;;
1472
1473  -with-* | --with-*)
1474    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1475    # Reject names that are not valid shell variable names.
1476    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1477      as_fn_error $? "invalid package name: $ac_useropt"
1478    ac_useropt_orig=$ac_useropt
1479    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1480    case $ac_user_opts in
1481      *"
1482"with_$ac_useropt"
1483"*) ;;
1484      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1485	 ac_unrecognized_sep=', ';;
1486    esac
1487    eval with_$ac_useropt=\$ac_optarg ;;
1488
1489  -without-* | --without-*)
1490    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1491    # Reject names that are not valid shell variable names.
1492    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1493      as_fn_error $? "invalid package name: $ac_useropt"
1494    ac_useropt_orig=$ac_useropt
1495    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1496    case $ac_user_opts in
1497      *"
1498"with_$ac_useropt"
1499"*) ;;
1500      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1501	 ac_unrecognized_sep=', ';;
1502    esac
1503    eval with_$ac_useropt=no ;;
1504
1505  --x)
1506    # Obsolete; use --with-x.
1507    with_x=yes ;;
1508
1509  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1510  | --x-incl | --x-inc | --x-in | --x-i)
1511    ac_prev=x_includes ;;
1512  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1513  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1514    x_includes=$ac_optarg ;;
1515
1516  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1517  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1518    ac_prev=x_libraries ;;
1519  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1520  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1521    x_libraries=$ac_optarg ;;
1522
1523  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1524Try \`$0 --help' for more information"
1525    ;;
1526
1527  *=*)
1528    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1529    # Reject names that are not valid shell variable names.
1530    case $ac_envvar in #(
1531      '' | [0-9]* | *[!_$as_cr_alnum]* )
1532      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1533    esac
1534    eval $ac_envvar=\$ac_optarg
1535    export $ac_envvar ;;
1536
1537  *)
1538    # FIXME: should be removed in autoconf 3.0.
1539    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1540    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1541      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1542    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1543    ;;
1544
1545  esac
1546done
1547
1548if test -n "$ac_prev"; then
1549  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1550  as_fn_error $? "missing argument to $ac_option"
1551fi
1552
1553if test -n "$ac_unrecognized_opts"; then
1554  case $enable_option_checking in
1555    no) ;;
1556    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1557    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1558  esac
1559fi
1560
1561# Check all directory arguments for consistency.
1562for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1563		datadir sysconfdir sharedstatedir localstatedir includedir \
1564		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1565		libdir localedir mandir
1566do
1567  eval ac_val=\$$ac_var
1568  # Remove trailing slashes.
1569  case $ac_val in
1570    */ )
1571      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1572      eval $ac_var=\$ac_val;;
1573  esac
1574  # Be sure to have absolute directory names.
1575  case $ac_val in
1576    [\\/$]* | ?:[\\/]* )  continue;;
1577    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1578  esac
1579  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1580done
1581
1582# There might be people who depend on the old broken behavior: `$host'
1583# used to hold the argument of --host etc.
1584# FIXME: To remove some day.
1585build=$build_alias
1586host=$host_alias
1587target=$target_alias
1588
1589# FIXME: To remove some day.
1590if test "x$host_alias" != x; then
1591  if test "x$build_alias" = x; then
1592    cross_compiling=maybe
1593  elif test "x$build_alias" != "x$host_alias"; then
1594    cross_compiling=yes
1595  fi
1596fi
1597
1598ac_tool_prefix=
1599test -n "$host_alias" && ac_tool_prefix=$host_alias-
1600
1601test "$silent" = yes && exec 6>/dev/null
1602
1603
1604ac_pwd=`pwd` && test -n "$ac_pwd" &&
1605ac_ls_di=`ls -di .` &&
1606ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1607  as_fn_error $? "working directory cannot be determined"
1608test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1609  as_fn_error $? "pwd does not report name of working directory"
1610
1611
1612# Find the source files, if location was not specified.
1613if test -z "$srcdir"; then
1614  ac_srcdir_defaulted=yes
1615  # Try the directory containing this script, then the parent directory.
1616  ac_confdir=`$as_dirname -- "$as_myself" ||
1617$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1618	 X"$as_myself" : 'X\(//\)[^/]' \| \
1619	 X"$as_myself" : 'X\(//\)$' \| \
1620	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1621$as_echo X"$as_myself" |
1622    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1623	    s//\1/
1624	    q
1625	  }
1626	  /^X\(\/\/\)[^/].*/{
1627	    s//\1/
1628	    q
1629	  }
1630	  /^X\(\/\/\)$/{
1631	    s//\1/
1632	    q
1633	  }
1634	  /^X\(\/\).*/{
1635	    s//\1/
1636	    q
1637	  }
1638	  s/.*/./; q'`
1639  srcdir=$ac_confdir
1640  if test ! -r "$srcdir/$ac_unique_file"; then
1641    srcdir=..
1642  fi
1643else
1644  ac_srcdir_defaulted=no
1645fi
1646if test ! -r "$srcdir/$ac_unique_file"; then
1647  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1648  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1649fi
1650ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1651ac_abs_confdir=`(
1652	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1653	pwd)`
1654# When building in place, set srcdir=.
1655if test "$ac_abs_confdir" = "$ac_pwd"; then
1656  srcdir=.
1657fi
1658# Remove unnecessary trailing slashes from srcdir.
1659# Double slashes in file names in object file debugging info
1660# mess up M-x gdb in Emacs.
1661case $srcdir in
1662*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1663esac
1664for ac_var in $ac_precious_vars; do
1665  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1666  eval ac_env_${ac_var}_value=\$${ac_var}
1667  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1668  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1669done
1670
1671#
1672# Report the --help message.
1673#
1674if test "$ac_init_help" = "long"; then
1675  # Omit some internal or obsolete options to make the list less imposing.
1676  # This message is too long to be a string in the A/UX 3.1 sh.
1677  cat <<_ACEOF
1678\`configure' configures libluksde 20200205 to adapt to many kinds of systems.
1679
1680Usage: $0 [OPTION]... [VAR=VALUE]...
1681
1682To assign environment variables (e.g., CC, CFLAGS...), specify them as
1683VAR=VALUE.  See below for descriptions of some of the useful variables.
1684
1685Defaults for the options are specified in brackets.
1686
1687Configuration:
1688  -h, --help              display this help and exit
1689      --help=short        display options specific to this package
1690      --help=recursive    display the short help of all the included packages
1691  -V, --version           display version information and exit
1692  -q, --quiet, --silent   do not print \`checking ...' messages
1693      --cache-file=FILE   cache test results in FILE [disabled]
1694  -C, --config-cache      alias for \`--cache-file=config.cache'
1695  -n, --no-create         do not create output files
1696      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1697
1698Installation directories:
1699  --prefix=PREFIX         install architecture-independent files in PREFIX
1700                          [$ac_default_prefix]
1701  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1702                          [PREFIX]
1703
1704By default, \`make install' will install all the files in
1705\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1706an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1707for instance \`--prefix=\$HOME'.
1708
1709For better control, use the options below.
1710
1711Fine tuning of the installation directories:
1712  --bindir=DIR            user executables [EPREFIX/bin]
1713  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1714  --libexecdir=DIR        program executables [EPREFIX/libexec]
1715  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1716  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1717  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1718  --libdir=DIR            object code libraries [EPREFIX/lib]
1719  --includedir=DIR        C header files [PREFIX/include]
1720  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1721  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1722  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1723  --infodir=DIR           info documentation [DATAROOTDIR/info]
1724  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1725  --mandir=DIR            man documentation [DATAROOTDIR/man]
1726  --docdir=DIR            documentation root [DATAROOTDIR/doc/libluksde]
1727  --htmldir=DIR           html documentation [DOCDIR]
1728  --dvidir=DIR            dvi documentation [DOCDIR]
1729  --pdfdir=DIR            pdf documentation [DOCDIR]
1730  --psdir=DIR             ps documentation [DOCDIR]
1731_ACEOF
1732
1733  cat <<\_ACEOF
1734
1735Program names:
1736  --program-prefix=PREFIX            prepend PREFIX to installed program names
1737  --program-suffix=SUFFIX            append SUFFIX to installed program names
1738  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1739
1740System types:
1741  --build=BUILD     configure for building on BUILD [guessed]
1742  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1743_ACEOF
1744fi
1745
1746if test -n "$ac_init_help"; then
1747  case $ac_init_help in
1748     short | recursive ) echo "Configuration of libluksde 20200205:";;
1749   esac
1750  cat <<\_ACEOF
1751
1752Optional Features:
1753  --disable-option-checking  ignore unrecognized --enable/--with options
1754  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1755  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1756  --enable-silent-rules   less verbose build output (undo: "make V=1")
1757  --disable-silent-rules  verbose build output (undo: "make V=0")
1758  --enable-dependency-tracking
1759                          do not reject slow dependency extractors
1760  --disable-dependency-tracking
1761                          speeds up one-time build
1762  --enable-shared[=PKGS]  build shared libraries [default=yes]
1763  --enable-static[=PKGS]  build static libraries [default=yes]
1764  --enable-fast-install[=PKGS]
1765                          optimize for fast installation [default=yes]
1766  --disable-libtool-lock  avoid locking (might break parallel builds)
1767  --disable-nls           do not use Native Language Support
1768  --disable-rpath         do not hardcode runtime library paths
1769  --disable-largefile     omit support for large files
1770  --disable-shared-libs   disable shared library support
1771  --enable-winapi         enable WINAPI support for cross-compilation
1772                          [default=auto-detect]
1773  --enable-wide-character-type
1774                          enable wide character type support [default=no]
1775  --enable-verbose-output enable verbose output [default=no]
1776  --enable-debug-output   enable debug output [default=no]
1777  --enable-multi-threading-support
1778                          enable multi-threading support [default=yes]
1779  --enable-openssl-evp-cipher
1780                          enable OpenSSL EVP CIPHER support, or no to disable
1781                          [default=auto-detect]
1782  --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
1783                          [default=auto-detect]
1784  --enable-python         build Python bindings [default=no]
1785  --enable-python2        build Python 2 bindings [default=no]
1786  --enable-python3        build Python 3 bindings [default=no]
1787  --enable-static-executables
1788                          build static executables (binaries) [default=no]
1789
1790Optional Packages:
1791  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1792  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1793  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1794                          both]
1795  --with-aix-soname=aix|svr4|both
1796                          shared library versioning (aka "SONAME") variant to
1797                          provide on AIX, [default=aix].
1798  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1799  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1800                          compiler's sysroot if not specified).
1801  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1802  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1803  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1804  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1805  --without-libintl-prefix     don't search for libintl in includedir and libdir
1806  --with-libcerror[=DIR]  search for libcerror in includedir and libdir or in
1807                          the specified DIR, or no if to use local version
1808                          [default=auto-detect]
1809  --with-libcthreads[=DIR]
1810                          search for libcthreads in includedir and libdir or
1811                          in the specified DIR, or no if to use local version
1812                          [default=auto-detect]
1813  --with-pthread[=DIR]    search for pthread in includedir and libdir or in
1814                          the specified DIR, or no if not to use pthread
1815                          [default=auto-detect]
1816  --with-libcdata[=DIR]   search for libcdata in includedir and libdir or in
1817                          the specified DIR, or no if to use local version
1818                          [default=auto-detect]
1819  --with-libclocale[=DIR] search for libclocale in includedir and libdir or in
1820                          the specified DIR, or no if to use local version
1821                          [default=auto-detect]
1822  --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in
1823                          the specified DIR, or no if to use local version
1824                          [default=auto-detect]
1825  --with-libcsplit[=DIR]  search for libcsplit in includedir and libdir or in
1826                          the specified DIR, or no if to use local version
1827                          [default=auto-detect]
1828  --with-libuna[=DIR]     search for libuna in includedir and libdir or in the
1829                          specified DIR, or no if to use local version
1830                          [default=auto-detect]
1831  --with-libcfile[=DIR]   search for libcfile in includedir and libdir or in
1832                          the specified DIR, or no if to use local version
1833                          [default=auto-detect]
1834  --with-libcpath[=DIR]   search for libcpath in includedir and libdir or in
1835                          the specified DIR, or no if to use local version
1836                          [default=auto-detect]
1837  --with-libbfio[=DIR]    search for libbfio in includedir and libdir or in
1838                          the specified DIR, or no if to use local version
1839                          [default=auto-detect]
1840  --with-libfcache[=DIR]  search for libfcache in includedir and libdir or in
1841                          the specified DIR, or no if to use local version
1842                          [default=auto-detect]
1843  --with-libfdata[=DIR]   search for libfdata in includedir and libdir or in
1844                          the specified DIR, or no if to use local version
1845                          [default=auto-detect]
1846  --with-libfguid[=DIR]   search for libfguid in includedir and libdir or in
1847                          the specified DIR, or no if to use local version
1848                          [default=auto-detect]
1849  --with-libhmac[=DIR]    search for libhmac in includedir and libdir or in
1850                          the specified DIR, or no if to use local version
1851                          [default=auto-detect]
1852  --with-openssl[=DIR]    search for OpenSSL in includedir and libdir or in
1853                          the specified DIR, or no if not to use OpenSSL
1854                          [default=auto-detect]
1855  --with-libcaes[=DIR]    search for libcaes in includedir and libdir or in
1856                          the specified DIR, or no if to use local version
1857                          [default=auto-detect]
1858  --with-libfcrypto[=DIR] search for libfcrypto in includedir and libdir or in
1859                          the specified DIR, or no if to use local version
1860                          [default=auto-detect]
1861  --with-pyprefix[=no]    use `python-config --prefix' to determine the prefix
1862                          of pythondir instead of --prefix [default=no]
1863  --with-pythondir[=no]   use to specify the Python directory (pythondir)
1864                          [default=no]
1865  --with-pythondir2[=no]  use to specify the Python 2 directory (pythondir2)
1866                          [default=no]
1867  --with-pythondir3[=no]  use to specify the Python 3 directory (pythondir3)
1868                          [default=no]
1869  --with-libfuse[=DIR]    search for libfuse in includedir and libdir or in
1870                          the specified DIR, or no if not to use libfuse
1871                          [default=auto-detect]
1872
1873Some influential environment variables:
1874  CC          C compiler command
1875  CFLAGS      C compiler flags
1876  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1877              nonstandard directory <lib dir>
1878  LIBS        libraries to pass to the linker, e.g. -l<library>
1879  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1880              you have headers in a nonstandard directory <include dir>
1881  CPP         C preprocessor
1882  LT_SYS_LIBRARY_PATH
1883              User-defined run-time library search path.
1884  PKG_CONFIG  path to pkg-config utility
1885  PKG_CONFIG_PATH
1886              directories to add to pkg-config's search path
1887  PKG_CONFIG_LIBDIR
1888              path overriding pkg-config's built-in search path
1889  libcerror_CFLAGS
1890              C compiler flags for libcerror, overriding pkg-config
1891  libcerror_LIBS
1892              linker flags for libcerror, overriding pkg-config
1893  libcthreads_CFLAGS
1894              C compiler flags for libcthreads, overriding pkg-config
1895  libcthreads_LIBS
1896              linker flags for libcthreads, overriding pkg-config
1897  libcdata_CFLAGS
1898              C compiler flags for libcdata, overriding pkg-config
1899  libcdata_LIBS
1900              linker flags for libcdata, overriding pkg-config
1901  libclocale_CFLAGS
1902              C compiler flags for libclocale, overriding pkg-config
1903  libclocale_LIBS
1904              linker flags for libclocale, overriding pkg-config
1905  libcnotify_CFLAGS
1906              C compiler flags for libcnotify, overriding pkg-config
1907  libcnotify_LIBS
1908              linker flags for libcnotify, overriding pkg-config
1909  libcsplit_CFLAGS
1910              C compiler flags for libcsplit, overriding pkg-config
1911  libcsplit_LIBS
1912              linker flags for libcsplit, overriding pkg-config
1913  libuna_CFLAGS
1914              C compiler flags for libuna, overriding pkg-config
1915  libuna_LIBS linker flags for libuna, overriding pkg-config
1916  libcfile_CFLAGS
1917              C compiler flags for libcfile, overriding pkg-config
1918  libcfile_LIBS
1919              linker flags for libcfile, overriding pkg-config
1920  libcpath_CFLAGS
1921              C compiler flags for libcpath, overriding pkg-config
1922  libcpath_LIBS
1923              linker flags for libcpath, overriding pkg-config
1924  libbfio_CFLAGS
1925              C compiler flags for libbfio, overriding pkg-config
1926  libbfio_LIBS
1927              linker flags for libbfio, overriding pkg-config
1928  libfcache_CFLAGS
1929              C compiler flags for libfcache, overriding pkg-config
1930  libfcache_LIBS
1931              linker flags for libfcache, overriding pkg-config
1932  libfdata_CFLAGS
1933              C compiler flags for libfdata, overriding pkg-config
1934  libfdata_LIBS
1935              linker flags for libfdata, overriding pkg-config
1936  libfguid_CFLAGS
1937              C compiler flags for libfguid, overriding pkg-config
1938  libfguid_LIBS
1939              linker flags for libfguid, overriding pkg-config
1940  libhmac_CFLAGS
1941              C compiler flags for libhmac, overriding pkg-config
1942  libhmac_LIBS
1943              linker flags for libhmac, overriding pkg-config
1944  openssl_CFLAGS
1945              C compiler flags for openssl, overriding pkg-config
1946  openssl_LIBS
1947              linker flags for openssl, overriding pkg-config
1948  libcaes_CFLAGS
1949              C compiler flags for libcaes, overriding pkg-config
1950  libcaes_LIBS
1951              linker flags for libcaes, overriding pkg-config
1952  libfcrypto_CFLAGS
1953              C compiler flags for libfcrypto, overriding pkg-config
1954  libfcrypto_LIBS
1955              linker flags for libfcrypto, overriding pkg-config
1956  fuse_CFLAGS C compiler flags for fuse, overriding pkg-config
1957  fuse_LIBS   linker flags for fuse, overriding pkg-config
1958
1959Use these variables to override the choices made by `configure' or to help
1960it to find libraries and programs with nonstandard names/locations.
1961
1962Report bugs to <joachim.metz@gmail.com>.
1963_ACEOF
1964ac_status=$?
1965fi
1966
1967if test "$ac_init_help" = "recursive"; then
1968  # If there are subdirs, report their specific --help.
1969  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1970    test -d "$ac_dir" ||
1971      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1972      continue
1973    ac_builddir=.
1974
1975case "$ac_dir" in
1976.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977*)
1978  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1979  # A ".." for each directory in $ac_dir_suffix.
1980  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1981  case $ac_top_builddir_sub in
1982  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1983  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1984  esac ;;
1985esac
1986ac_abs_top_builddir=$ac_pwd
1987ac_abs_builddir=$ac_pwd$ac_dir_suffix
1988# for backward compatibility:
1989ac_top_builddir=$ac_top_build_prefix
1990
1991case $srcdir in
1992  .)  # We are building in place.
1993    ac_srcdir=.
1994    ac_top_srcdir=$ac_top_builddir_sub
1995    ac_abs_top_srcdir=$ac_pwd ;;
1996  [\\/]* | ?:[\\/]* )  # Absolute name.
1997    ac_srcdir=$srcdir$ac_dir_suffix;
1998    ac_top_srcdir=$srcdir
1999    ac_abs_top_srcdir=$srcdir ;;
2000  *) # Relative name.
2001    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2002    ac_top_srcdir=$ac_top_build_prefix$srcdir
2003    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2004esac
2005ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2006
2007    cd "$ac_dir" || { ac_status=$?; continue; }
2008    # Check for guested configure.
2009    if test -f "$ac_srcdir/configure.gnu"; then
2010      echo &&
2011      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2012    elif test -f "$ac_srcdir/configure"; then
2013      echo &&
2014      $SHELL "$ac_srcdir/configure" --help=recursive
2015    else
2016      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2017    fi || ac_status=$?
2018    cd "$ac_pwd" || { ac_status=$?; break; }
2019  done
2020fi
2021
2022test -n "$ac_init_help" && exit $ac_status
2023if $ac_init_version; then
2024  cat <<\_ACEOF
2025libluksde configure 20200205
2026generated by GNU Autoconf 2.69
2027
2028Copyright (C) 2012 Free Software Foundation, Inc.
2029This configure script is free software; the Free Software Foundation
2030gives unlimited permission to copy, distribute and modify it.
2031_ACEOF
2032  exit
2033fi
2034
2035## ------------------------ ##
2036## Autoconf initialization. ##
2037## ------------------------ ##
2038
2039# ac_fn_c_try_compile LINENO
2040# --------------------------
2041# Try to compile conftest.$ac_ext, and return whether this succeeded.
2042ac_fn_c_try_compile ()
2043{
2044  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045  rm -f conftest.$ac_objext
2046  if { { ac_try="$ac_compile"
2047case "(($ac_try" in
2048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049  *) ac_try_echo=$ac_try;;
2050esac
2051eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052$as_echo "$ac_try_echo"; } >&5
2053  (eval "$ac_compile") 2>conftest.err
2054  ac_status=$?
2055  if test -s conftest.err; then
2056    grep -v '^ *+' conftest.err >conftest.er1
2057    cat conftest.er1 >&5
2058    mv -f conftest.er1 conftest.err
2059  fi
2060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061  test $ac_status = 0; } && {
2062	 test -z "$ac_c_werror_flag" ||
2063	 test ! -s conftest.err
2064       } && test -s conftest.$ac_objext; then :
2065  ac_retval=0
2066else
2067  $as_echo "$as_me: failed program was:" >&5
2068sed 's/^/| /' conftest.$ac_ext >&5
2069
2070	ac_retval=1
2071fi
2072  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073  as_fn_set_status $ac_retval
2074
2075} # ac_fn_c_try_compile
2076
2077# ac_fn_c_try_cpp LINENO
2078# ----------------------
2079# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2080ac_fn_c_try_cpp ()
2081{
2082  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083  if { { ac_try="$ac_cpp conftest.$ac_ext"
2084case "(($ac_try" in
2085  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2086  *) ac_try_echo=$ac_try;;
2087esac
2088eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089$as_echo "$ac_try_echo"; } >&5
2090  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2091  ac_status=$?
2092  if test -s conftest.err; then
2093    grep -v '^ *+' conftest.err >conftest.er1
2094    cat conftest.er1 >&5
2095    mv -f conftest.er1 conftest.err
2096  fi
2097  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098  test $ac_status = 0; } > conftest.i && {
2099	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2100	 test ! -s conftest.err
2101       }; then :
2102  ac_retval=0
2103else
2104  $as_echo "$as_me: failed program was:" >&5
2105sed 's/^/| /' conftest.$ac_ext >&5
2106
2107    ac_retval=1
2108fi
2109  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110  as_fn_set_status $ac_retval
2111
2112} # ac_fn_c_try_cpp
2113
2114# ac_fn_c_try_link LINENO
2115# -----------------------
2116# Try to link conftest.$ac_ext, and return whether this succeeded.
2117ac_fn_c_try_link ()
2118{
2119  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120  rm -f conftest.$ac_objext conftest$ac_exeext
2121  if { { ac_try="$ac_link"
2122case "(($ac_try" in
2123  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2124  *) ac_try_echo=$ac_try;;
2125esac
2126eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2127$as_echo "$ac_try_echo"; } >&5
2128  (eval "$ac_link") 2>conftest.err
2129  ac_status=$?
2130  if test -s conftest.err; then
2131    grep -v '^ *+' conftest.err >conftest.er1
2132    cat conftest.er1 >&5
2133    mv -f conftest.er1 conftest.err
2134  fi
2135  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136  test $ac_status = 0; } && {
2137	 test -z "$ac_c_werror_flag" ||
2138	 test ! -s conftest.err
2139       } && test -s conftest$ac_exeext && {
2140	 test "$cross_compiling" = yes ||
2141	 test -x conftest$ac_exeext
2142       }; then :
2143  ac_retval=0
2144else
2145  $as_echo "$as_me: failed program was:" >&5
2146sed 's/^/| /' conftest.$ac_ext >&5
2147
2148	ac_retval=1
2149fi
2150  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2151  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2152  # interfere with the next link command; also delete a directory that is
2153  # left behind by Apple's compiler.  We do this before executing the actions.
2154  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156  as_fn_set_status $ac_retval
2157
2158} # ac_fn_c_try_link
2159
2160# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2161# -------------------------------------------------------
2162# Tests whether HEADER exists and can be compiled using the include files in
2163# INCLUDES, setting the cache variable VAR accordingly.
2164ac_fn_c_check_header_compile ()
2165{
2166  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168$as_echo_n "checking for $2... " >&6; }
2169if eval \${$3+:} false; then :
2170  $as_echo_n "(cached) " >&6
2171else
2172  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173/* end confdefs.h.  */
2174$4
2175#include <$2>
2176_ACEOF
2177if ac_fn_c_try_compile "$LINENO"; then :
2178  eval "$3=yes"
2179else
2180  eval "$3=no"
2181fi
2182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183fi
2184eval ac_res=\$$3
2185	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186$as_echo "$ac_res" >&6; }
2187  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188
2189} # ac_fn_c_check_header_compile
2190
2191# ac_fn_c_try_run LINENO
2192# ----------------------
2193# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2194# that executables *can* be run.
2195ac_fn_c_try_run ()
2196{
2197  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198  if { { ac_try="$ac_link"
2199case "(($ac_try" in
2200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201  *) ac_try_echo=$ac_try;;
2202esac
2203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2204$as_echo "$ac_try_echo"; } >&5
2205  (eval "$ac_link") 2>&5
2206  ac_status=$?
2207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2208  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2209  { { case "(($ac_try" in
2210  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211  *) ac_try_echo=$ac_try;;
2212esac
2213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2214$as_echo "$ac_try_echo"; } >&5
2215  (eval "$ac_try") 2>&5
2216  ac_status=$?
2217  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2218  test $ac_status = 0; }; }; then :
2219  ac_retval=0
2220else
2221  $as_echo "$as_me: program exited with status $ac_status" >&5
2222       $as_echo "$as_me: failed program was:" >&5
2223sed 's/^/| /' conftest.$ac_ext >&5
2224
2225       ac_retval=$ac_status
2226fi
2227  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2228  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229  as_fn_set_status $ac_retval
2230
2231} # ac_fn_c_try_run
2232
2233# ac_fn_c_check_func LINENO FUNC VAR
2234# ----------------------------------
2235# Tests whether FUNC exists, setting the cache variable VAR accordingly
2236ac_fn_c_check_func ()
2237{
2238  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2240$as_echo_n "checking for $2... " >&6; }
2241if eval \${$3+:} false; then :
2242  $as_echo_n "(cached) " >&6
2243else
2244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245/* end confdefs.h.  */
2246/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2247   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2248#define $2 innocuous_$2
2249
2250/* System header to define __stub macros and hopefully few prototypes,
2251    which can conflict with char $2 (); below.
2252    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2253    <limits.h> exists even on freestanding compilers.  */
2254
2255#ifdef __STDC__
2256# include <limits.h>
2257#else
2258# include <assert.h>
2259#endif
2260
2261#undef $2
2262
2263/* Override any GCC internal prototype to avoid an error.
2264   Use char because int might match the return type of a GCC
2265   builtin and then its argument prototype would still apply.  */
2266#ifdef __cplusplus
2267extern "C"
2268#endif
2269char $2 ();
2270/* The GNU C library defines this for functions which it implements
2271    to always fail with ENOSYS.  Some functions are actually named
2272    something starting with __ and the normal name is an alias.  */
2273#if defined __stub_$2 || defined __stub___$2
2274choke me
2275#endif
2276
2277int
2278main ()
2279{
2280return $2 ();
2281  ;
2282  return 0;
2283}
2284_ACEOF
2285if ac_fn_c_try_link "$LINENO"; then :
2286  eval "$3=yes"
2287else
2288  eval "$3=no"
2289fi
2290rm -f core conftest.err conftest.$ac_objext \
2291    conftest$ac_exeext conftest.$ac_ext
2292fi
2293eval ac_res=\$$3
2294	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2295$as_echo "$ac_res" >&6; }
2296  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297
2298} # ac_fn_c_check_func
2299
2300# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2301# -------------------------------------------------------
2302# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2303# the include files in INCLUDES and setting the cache variable VAR
2304# accordingly.
2305ac_fn_c_check_header_mongrel ()
2306{
2307  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308  if eval \${$3+:} false; then :
2309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2310$as_echo_n "checking for $2... " >&6; }
2311if eval \${$3+:} false; then :
2312  $as_echo_n "(cached) " >&6
2313fi
2314eval ac_res=\$$3
2315	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316$as_echo "$ac_res" >&6; }
2317else
2318  # Is the header compilable?
2319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2320$as_echo_n "checking $2 usability... " >&6; }
2321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2322/* end confdefs.h.  */
2323$4
2324#include <$2>
2325_ACEOF
2326if ac_fn_c_try_compile "$LINENO"; then :
2327  ac_header_compiler=yes
2328else
2329  ac_header_compiler=no
2330fi
2331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2333$as_echo "$ac_header_compiler" >&6; }
2334
2335# Is the header present?
2336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2337$as_echo_n "checking $2 presence... " >&6; }
2338cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339/* end confdefs.h.  */
2340#include <$2>
2341_ACEOF
2342if ac_fn_c_try_cpp "$LINENO"; then :
2343  ac_header_preproc=yes
2344else
2345  ac_header_preproc=no
2346fi
2347rm -f conftest.err conftest.i conftest.$ac_ext
2348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2349$as_echo "$ac_header_preproc" >&6; }
2350
2351# So?  What about this header?
2352case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2353  yes:no: )
2354    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2355$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2356    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2357$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358    ;;
2359  no:yes:* )
2360    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2361$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2362    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2363$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2364    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2365$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2366    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2367$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2368    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2369$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2370( $as_echo "## ------------------------------------- ##
2371## Report this to joachim.metz@gmail.com ##
2372## ------------------------------------- ##"
2373     ) | sed "s/^/$as_me: WARNING:     /" >&2
2374    ;;
2375esac
2376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2377$as_echo_n "checking for $2... " >&6; }
2378if eval \${$3+:} false; then :
2379  $as_echo_n "(cached) " >&6
2380else
2381  eval "$3=\$ac_header_compiler"
2382fi
2383eval ac_res=\$$3
2384	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2385$as_echo "$ac_res" >&6; }
2386fi
2387  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388
2389} # ac_fn_c_check_header_mongrel
2390
2391# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2392# -------------------------------------------
2393# Tests whether TYPE exists after having included INCLUDES, setting cache
2394# variable VAR accordingly.
2395ac_fn_c_check_type ()
2396{
2397  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2399$as_echo_n "checking for $2... " >&6; }
2400if eval \${$3+:} false; then :
2401  $as_echo_n "(cached) " >&6
2402else
2403  eval "$3=no"
2404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405/* end confdefs.h.  */
2406$4
2407int
2408main ()
2409{
2410if (sizeof ($2))
2411	 return 0;
2412  ;
2413  return 0;
2414}
2415_ACEOF
2416if ac_fn_c_try_compile "$LINENO"; then :
2417  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418/* end confdefs.h.  */
2419$4
2420int
2421main ()
2422{
2423if (sizeof (($2)))
2424	    return 0;
2425  ;
2426  return 0;
2427}
2428_ACEOF
2429if ac_fn_c_try_compile "$LINENO"; then :
2430
2431else
2432  eval "$3=yes"
2433fi
2434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435fi
2436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437fi
2438eval ac_res=\$$3
2439	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440$as_echo "$ac_res" >&6; }
2441  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442
2443} # ac_fn_c_check_type
2444
2445# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2446# --------------------------------------------
2447# Tries to find the compile-time value of EXPR in a program that includes
2448# INCLUDES, setting VAR accordingly. Returns whether the value could be
2449# computed
2450ac_fn_c_compute_int ()
2451{
2452  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453  if test "$cross_compiling" = yes; then
2454    # Depending upon the size, compute the lo and hi bounds.
2455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456/* end confdefs.h.  */
2457$4
2458int
2459main ()
2460{
2461static int test_array [1 - 2 * !(($2) >= 0)];
2462test_array [0] = 0;
2463return test_array [0];
2464
2465  ;
2466  return 0;
2467}
2468_ACEOF
2469if ac_fn_c_try_compile "$LINENO"; then :
2470  ac_lo=0 ac_mid=0
2471  while :; do
2472    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473/* end confdefs.h.  */
2474$4
2475int
2476main ()
2477{
2478static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2479test_array [0] = 0;
2480return test_array [0];
2481
2482  ;
2483  return 0;
2484}
2485_ACEOF
2486if ac_fn_c_try_compile "$LINENO"; then :
2487  ac_hi=$ac_mid; break
2488else
2489  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2490			if test $ac_lo -le $ac_mid; then
2491			  ac_lo= ac_hi=
2492			  break
2493			fi
2494			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2495fi
2496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497  done
2498else
2499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500/* end confdefs.h.  */
2501$4
2502int
2503main ()
2504{
2505static int test_array [1 - 2 * !(($2) < 0)];
2506test_array [0] = 0;
2507return test_array [0];
2508
2509  ;
2510  return 0;
2511}
2512_ACEOF
2513if ac_fn_c_try_compile "$LINENO"; then :
2514  ac_hi=-1 ac_mid=-1
2515  while :; do
2516    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517/* end confdefs.h.  */
2518$4
2519int
2520main ()
2521{
2522static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2523test_array [0] = 0;
2524return test_array [0];
2525
2526  ;
2527  return 0;
2528}
2529_ACEOF
2530if ac_fn_c_try_compile "$LINENO"; then :
2531  ac_lo=$ac_mid; break
2532else
2533  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2534			if test $ac_mid -le $ac_hi; then
2535			  ac_lo= ac_hi=
2536			  break
2537			fi
2538			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2539fi
2540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2541  done
2542else
2543  ac_lo= ac_hi=
2544fi
2545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546fi
2547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548# Binary search between lo and hi bounds.
2549while test "x$ac_lo" != "x$ac_hi"; do
2550  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2552/* end confdefs.h.  */
2553$4
2554int
2555main ()
2556{
2557static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2558test_array [0] = 0;
2559return test_array [0];
2560
2561  ;
2562  return 0;
2563}
2564_ACEOF
2565if ac_fn_c_try_compile "$LINENO"; then :
2566  ac_hi=$ac_mid
2567else
2568  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2569fi
2570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571done
2572case $ac_lo in #((
2573?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2574'') ac_retval=1 ;;
2575esac
2576  else
2577    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578/* end confdefs.h.  */
2579$4
2580static long int longval () { return $2; }
2581static unsigned long int ulongval () { return $2; }
2582#include <stdio.h>
2583#include <stdlib.h>
2584int
2585main ()
2586{
2587
2588  FILE *f = fopen ("conftest.val", "w");
2589  if (! f)
2590    return 1;
2591  if (($2) < 0)
2592    {
2593      long int i = longval ();
2594      if (i != ($2))
2595	return 1;
2596      fprintf (f, "%ld", i);
2597    }
2598  else
2599    {
2600      unsigned long int i = ulongval ();
2601      if (i != ($2))
2602	return 1;
2603      fprintf (f, "%lu", i);
2604    }
2605  /* Do not output a trailing newline, as this causes \r\n confusion
2606     on some platforms.  */
2607  return ferror (f) || fclose (f) != 0;
2608
2609  ;
2610  return 0;
2611}
2612_ACEOF
2613if ac_fn_c_try_run "$LINENO"; then :
2614  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2615else
2616  ac_retval=1
2617fi
2618rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2619  conftest.$ac_objext conftest.beam conftest.$ac_ext
2620rm -f conftest.val
2621
2622  fi
2623  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624  as_fn_set_status $ac_retval
2625
2626} # ac_fn_c_compute_int
2627
2628# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2629# ---------------------------------------------
2630# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2631# accordingly.
2632ac_fn_c_check_decl ()
2633{
2634  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2635  as_decl_name=`echo $2|sed 's/ *(.*//'`
2636  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2638$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2639if eval \${$3+:} false; then :
2640  $as_echo_n "(cached) " >&6
2641else
2642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2643/* end confdefs.h.  */
2644$4
2645int
2646main ()
2647{
2648#ifndef $as_decl_name
2649#ifdef __cplusplus
2650  (void) $as_decl_use;
2651#else
2652  (void) $as_decl_name;
2653#endif
2654#endif
2655
2656  ;
2657  return 0;
2658}
2659_ACEOF
2660if ac_fn_c_try_compile "$LINENO"; then :
2661  eval "$3=yes"
2662else
2663  eval "$3=no"
2664fi
2665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2666fi
2667eval ac_res=\$$3
2668	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669$as_echo "$ac_res" >&6; }
2670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2671
2672} # ac_fn_c_check_decl
2673cat >config.log <<_ACEOF
2674This file contains any messages produced by compilers while
2675running configure, to aid debugging if configure makes a mistake.
2676
2677It was created by libluksde $as_me 20200205, which was
2678generated by GNU Autoconf 2.69.  Invocation command line was
2679
2680  $ $0 $@
2681
2682_ACEOF
2683exec 5>>config.log
2684{
2685cat <<_ASUNAME
2686## --------- ##
2687## Platform. ##
2688## --------- ##
2689
2690hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2691uname -m = `(uname -m) 2>/dev/null || echo unknown`
2692uname -r = `(uname -r) 2>/dev/null || echo unknown`
2693uname -s = `(uname -s) 2>/dev/null || echo unknown`
2694uname -v = `(uname -v) 2>/dev/null || echo unknown`
2695
2696/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2697/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2698
2699/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2700/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2701/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2702/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2703/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2704/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2705/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2706
2707_ASUNAME
2708
2709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710for as_dir in $PATH
2711do
2712  IFS=$as_save_IFS
2713  test -z "$as_dir" && as_dir=.
2714    $as_echo "PATH: $as_dir"
2715  done
2716IFS=$as_save_IFS
2717
2718} >&5
2719
2720cat >&5 <<_ACEOF
2721
2722
2723## ----------- ##
2724## Core tests. ##
2725## ----------- ##
2726
2727_ACEOF
2728
2729
2730# Keep a trace of the command line.
2731# Strip out --no-create and --no-recursion so they do not pile up.
2732# Strip out --silent because we don't want to record it for future runs.
2733# Also quote any args containing shell meta-characters.
2734# Make two passes to allow for proper duplicate-argument suppression.
2735ac_configure_args=
2736ac_configure_args0=
2737ac_configure_args1=
2738ac_must_keep_next=false
2739for ac_pass in 1 2
2740do
2741  for ac_arg
2742  do
2743    case $ac_arg in
2744    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2745    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2746    | -silent | --silent | --silen | --sile | --sil)
2747      continue ;;
2748    *\'*)
2749      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2750    esac
2751    case $ac_pass in
2752    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2753    2)
2754      as_fn_append ac_configure_args1 " '$ac_arg'"
2755      if test $ac_must_keep_next = true; then
2756	ac_must_keep_next=false # Got value, back to normal.
2757      else
2758	case $ac_arg in
2759	  *=* | --config-cache | -C | -disable-* | --disable-* \
2760	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2761	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2762	  | -with-* | --with-* | -without-* | --without-* | --x)
2763	    case "$ac_configure_args0 " in
2764	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2765	    esac
2766	    ;;
2767	  -* ) ac_must_keep_next=true ;;
2768	esac
2769      fi
2770      as_fn_append ac_configure_args " '$ac_arg'"
2771      ;;
2772    esac
2773  done
2774done
2775{ ac_configure_args0=; unset ac_configure_args0;}
2776{ ac_configure_args1=; unset ac_configure_args1;}
2777
2778# When interrupted or exit'd, cleanup temporary files, and complete
2779# config.log.  We remove comments because anyway the quotes in there
2780# would cause problems or look ugly.
2781# WARNING: Use '\'' to represent an apostrophe within the trap.
2782# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2783trap 'exit_status=$?
2784  # Save into config.log some information that might help in debugging.
2785  {
2786    echo
2787
2788    $as_echo "## ---------------- ##
2789## Cache variables. ##
2790## ---------------- ##"
2791    echo
2792    # The following way of writing the cache mishandles newlines in values,
2793(
2794  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2795    eval ac_val=\$$ac_var
2796    case $ac_val in #(
2797    *${as_nl}*)
2798      case $ac_var in #(
2799      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2800$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2801      esac
2802      case $ac_var in #(
2803      _ | IFS | as_nl) ;; #(
2804      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2805      *) { eval $ac_var=; unset $ac_var;} ;;
2806      esac ;;
2807    esac
2808  done
2809  (set) 2>&1 |
2810    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2811    *${as_nl}ac_space=\ *)
2812      sed -n \
2813	"s/'\''/'\''\\\\'\'''\''/g;
2814	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2815      ;; #(
2816    *)
2817      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2818      ;;
2819    esac |
2820    sort
2821)
2822    echo
2823
2824    $as_echo "## ----------------- ##
2825## Output variables. ##
2826## ----------------- ##"
2827    echo
2828    for ac_var in $ac_subst_vars
2829    do
2830      eval ac_val=\$$ac_var
2831      case $ac_val in
2832      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2833      esac
2834      $as_echo "$ac_var='\''$ac_val'\''"
2835    done | sort
2836    echo
2837
2838    if test -n "$ac_subst_files"; then
2839      $as_echo "## ------------------- ##
2840## File substitutions. ##
2841## ------------------- ##"
2842      echo
2843      for ac_var in $ac_subst_files
2844      do
2845	eval ac_val=\$$ac_var
2846	case $ac_val in
2847	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2848	esac
2849	$as_echo "$ac_var='\''$ac_val'\''"
2850      done | sort
2851      echo
2852    fi
2853
2854    if test -s confdefs.h; then
2855      $as_echo "## ----------- ##
2856## confdefs.h. ##
2857## ----------- ##"
2858      echo
2859      cat confdefs.h
2860      echo
2861    fi
2862    test "$ac_signal" != 0 &&
2863      $as_echo "$as_me: caught signal $ac_signal"
2864    $as_echo "$as_me: exit $exit_status"
2865  } >&5
2866  rm -f core *.core core.conftest.* &&
2867    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2868    exit $exit_status
2869' 0
2870for ac_signal in 1 2 13 15; do
2871  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2872done
2873ac_signal=0
2874
2875# confdefs.h avoids OS command line length limits that DEFS can exceed.
2876rm -f -r conftest* confdefs.h
2877
2878$as_echo "/* confdefs.h */" > confdefs.h
2879
2880# Predefined preprocessor variables.
2881
2882cat >>confdefs.h <<_ACEOF
2883#define PACKAGE_NAME "$PACKAGE_NAME"
2884_ACEOF
2885
2886cat >>confdefs.h <<_ACEOF
2887#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2888_ACEOF
2889
2890cat >>confdefs.h <<_ACEOF
2891#define PACKAGE_VERSION "$PACKAGE_VERSION"
2892_ACEOF
2893
2894cat >>confdefs.h <<_ACEOF
2895#define PACKAGE_STRING "$PACKAGE_STRING"
2896_ACEOF
2897
2898cat >>confdefs.h <<_ACEOF
2899#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2900_ACEOF
2901
2902cat >>confdefs.h <<_ACEOF
2903#define PACKAGE_URL "$PACKAGE_URL"
2904_ACEOF
2905
2906
2907# Let the site file select an alternate cache file if it wants to.
2908# Prefer an explicitly selected file to automatically selected ones.
2909ac_site_file1=NONE
2910ac_site_file2=NONE
2911if test -n "$CONFIG_SITE"; then
2912  # We do not want a PATH search for config.site.
2913  case $CONFIG_SITE in #((
2914    -*)  ac_site_file1=./$CONFIG_SITE;;
2915    */*) ac_site_file1=$CONFIG_SITE;;
2916    *)   ac_site_file1=./$CONFIG_SITE;;
2917  esac
2918elif test "x$prefix" != xNONE; then
2919  ac_site_file1=$prefix/share/config.site
2920  ac_site_file2=$prefix/etc/config.site
2921else
2922  ac_site_file1=$ac_default_prefix/share/config.site
2923  ac_site_file2=$ac_default_prefix/etc/config.site
2924fi
2925for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2926do
2927  test "x$ac_site_file" = xNONE && continue
2928  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2929    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2930$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2931    sed 's/^/| /' "$ac_site_file" >&5
2932    . "$ac_site_file" \
2933      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935as_fn_error $? "failed to load site script $ac_site_file
2936See \`config.log' for more details" "$LINENO" 5; }
2937  fi
2938done
2939
2940if test -r "$cache_file"; then
2941  # Some versions of bash will fail to source /dev/null (special files
2942  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2943  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2944    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2945$as_echo "$as_me: loading cache $cache_file" >&6;}
2946    case $cache_file in
2947      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2948      *)                      . "./$cache_file";;
2949    esac
2950  fi
2951else
2952  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2953$as_echo "$as_me: creating cache $cache_file" >&6;}
2954  >$cache_file
2955fi
2956
2957gt_needs="$gt_needs "
2958# Check that the precious variables saved in the cache have kept the same
2959# value.
2960ac_cache_corrupted=false
2961for ac_var in $ac_precious_vars; do
2962  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2963  eval ac_new_set=\$ac_env_${ac_var}_set
2964  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2965  eval ac_new_val=\$ac_env_${ac_var}_value
2966  case $ac_old_set,$ac_new_set in
2967    set,)
2968      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2969$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2970      ac_cache_corrupted=: ;;
2971    ,set)
2972      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2973$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2974      ac_cache_corrupted=: ;;
2975    ,);;
2976    *)
2977      if test "x$ac_old_val" != "x$ac_new_val"; then
2978	# differences in whitespace do not lead to failure.
2979	ac_old_val_w=`echo x $ac_old_val`
2980	ac_new_val_w=`echo x $ac_new_val`
2981	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2982	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2983$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2984	  ac_cache_corrupted=:
2985	else
2986	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2987$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2988	  eval $ac_var=\$ac_old_val
2989	fi
2990	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2991$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2992	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2993$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2994      fi;;
2995  esac
2996  # Pass precious variables to config.status.
2997  if test "$ac_new_set" = set; then
2998    case $ac_new_val in
2999    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3000    *) ac_arg=$ac_var=$ac_new_val ;;
3001    esac
3002    case " $ac_configure_args " in
3003      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3004      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3005    esac
3006  fi
3007done
3008if $ac_cache_corrupted; then
3009  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3012$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3013  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3014fi
3015## -------------------- ##
3016## Main body of script. ##
3017## -------------------- ##
3018
3019ac_ext=c
3020ac_cpp='$CPP $CPPFLAGS'
3021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024
3025
3026
3027
3028
3029am__api_version='1.16'
3030
3031ac_aux_dir=
3032for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3033  if test -f "$ac_dir/install-sh"; then
3034    ac_aux_dir=$ac_dir
3035    ac_install_sh="$ac_aux_dir/install-sh -c"
3036    break
3037  elif test -f "$ac_dir/install.sh"; then
3038    ac_aux_dir=$ac_dir
3039    ac_install_sh="$ac_aux_dir/install.sh -c"
3040    break
3041  elif test -f "$ac_dir/shtool"; then
3042    ac_aux_dir=$ac_dir
3043    ac_install_sh="$ac_aux_dir/shtool install -c"
3044    break
3045  fi
3046done
3047if test -z "$ac_aux_dir"; then
3048  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3049fi
3050
3051# These three variables are undocumented and unsupported,
3052# and are intended to be withdrawn in a future Autoconf release.
3053# They can cause serious problems if a builder's source tree is in a directory
3054# whose full name contains unusual characters.
3055ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3056ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3057ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3058
3059
3060# Find a good install program.  We prefer a C program (faster),
3061# so one script is as good as another.  But avoid the broken or
3062# incompatible versions:
3063# SysV /etc/install, /usr/sbin/install
3064# SunOS /usr/etc/install
3065# IRIX /sbin/install
3066# AIX /bin/install
3067# AmigaOS /C/install, which installs bootblocks on floppy discs
3068# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3069# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3070# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3071# OS/2's system install, which has a completely different semantic
3072# ./install, which can be erroneously created by make from ./install.sh.
3073# Reject install programs that cannot install multiple files.
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3075$as_echo_n "checking for a BSD-compatible install... " >&6; }
3076if test -z "$INSTALL"; then
3077if ${ac_cv_path_install+:} false; then :
3078  $as_echo_n "(cached) " >&6
3079else
3080  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081for as_dir in $PATH
3082do
3083  IFS=$as_save_IFS
3084  test -z "$as_dir" && as_dir=.
3085    # Account for people who put trailing slashes in PATH elements.
3086case $as_dir/ in #((
3087  ./ | .// | /[cC]/* | \
3088  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3089  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3090  /usr/ucb/* ) ;;
3091  *)
3092    # OSF1 and SCO ODT 3.0 have their own names for install.
3093    # Don't use installbsd from OSF since it installs stuff as root
3094    # by default.
3095    for ac_prog in ginstall scoinst install; do
3096      for ac_exec_ext in '' $ac_executable_extensions; do
3097	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3098	  if test $ac_prog = install &&
3099	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100	    # AIX install.  It has an incompatible calling convention.
3101	    :
3102	  elif test $ac_prog = install &&
3103	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104	    # program-specific install script used by HP pwplus--don't use.
3105	    :
3106	  else
3107	    rm -rf conftest.one conftest.two conftest.dir
3108	    echo one > conftest.one
3109	    echo two > conftest.two
3110	    mkdir conftest.dir
3111	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3112	      test -s conftest.one && test -s conftest.two &&
3113	      test -s conftest.dir/conftest.one &&
3114	      test -s conftest.dir/conftest.two
3115	    then
3116	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3117	      break 3
3118	    fi
3119	  fi
3120	fi
3121      done
3122    done
3123    ;;
3124esac
3125
3126  done
3127IFS=$as_save_IFS
3128
3129rm -rf conftest.one conftest.two conftest.dir
3130
3131fi
3132  if test "${ac_cv_path_install+set}" = set; then
3133    INSTALL=$ac_cv_path_install
3134  else
3135    # As a last resort, use the slow shell script.  Don't cache a
3136    # value for INSTALL within a source directory, because that will
3137    # break other packages using the cache if that directory is
3138    # removed, or if the value is a relative name.
3139    INSTALL=$ac_install_sh
3140  fi
3141fi
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3143$as_echo "$INSTALL" >&6; }
3144
3145# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3146# It thinks the first close brace ends the variable substitution.
3147test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3148
3149test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3150
3151test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3152
3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3154$as_echo_n "checking whether build environment is sane... " >&6; }
3155# Reject unsafe characters in $srcdir or the absolute working directory
3156# name.  Accept space and tab only in the latter.
3157am_lf='
3158'
3159case `pwd` in
3160  *[\\\"\#\$\&\'\`$am_lf]*)
3161    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3162esac
3163case $srcdir in
3164  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3165    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3166esac
3167
3168# Do 'set' in a subshell so we don't clobber the current shell's
3169# arguments.  Must try -L first in case configure is actually a
3170# symlink; some systems play weird games with the mod time of symlinks
3171# (eg FreeBSD returns the mod time of the symlink's containing
3172# directory).
3173if (
3174   am_has_slept=no
3175   for am_try in 1 2; do
3176     echo "timestamp, slept: $am_has_slept" > conftest.file
3177     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3178     if test "$*" = "X"; then
3179	# -L didn't work.
3180	set X `ls -t "$srcdir/configure" conftest.file`
3181     fi
3182     if test "$*" != "X $srcdir/configure conftest.file" \
3183	&& test "$*" != "X conftest.file $srcdir/configure"; then
3184
3185	# If neither matched, then we have a broken ls.  This can happen
3186	# if, for instance, CONFIG_SHELL is bash and it inherits a
3187	# broken ls alias from the environment.  This has actually
3188	# happened.  Such a system could not be considered "sane".
3189	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3190  alias in your environment" "$LINENO" 5
3191     fi
3192     if test "$2" = conftest.file || test $am_try -eq 2; then
3193       break
3194     fi
3195     # Just in case.
3196     sleep 1
3197     am_has_slept=yes
3198   done
3199   test "$2" = conftest.file
3200   )
3201then
3202   # Ok.
3203   :
3204else
3205   as_fn_error $? "newly created file is older than distributed files!
3206Check your system clock" "$LINENO" 5
3207fi
3208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3209$as_echo "yes" >&6; }
3210# If we didn't sleep, we still need to ensure time stamps of config.status and
3211# generated files are strictly newer.
3212am_sleep_pid=
3213if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3214  ( sleep 1 ) &
3215  am_sleep_pid=$!
3216fi
3217
3218rm -f conftest.file
3219
3220test "$program_prefix" != NONE &&
3221  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3222# Use a double $ so make ignores it.
3223test "$program_suffix" != NONE &&
3224  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3225# Double any \ or $.
3226# By default was `s,x,x', remove it if useless.
3227ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3228program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3229
3230# Expand $ac_aux_dir to an absolute path.
3231am_aux_dir=`cd "$ac_aux_dir" && pwd`
3232
3233if test x"${MISSING+set}" != xset; then
3234  case $am_aux_dir in
3235  *\ * | *\	*)
3236    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3237  *)
3238    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3239  esac
3240fi
3241# Use eval to expand $SHELL
3242if eval "$MISSING --is-lightweight"; then
3243  am_missing_run="$MISSING "
3244else
3245  am_missing_run=
3246  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3247$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3248fi
3249
3250if test x"${install_sh+set}" != xset; then
3251  case $am_aux_dir in
3252  *\ * | *\	*)
3253    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3254  *)
3255    install_sh="\${SHELL} $am_aux_dir/install-sh"
3256  esac
3257fi
3258
3259# Installed binaries are usually stripped using 'strip' when the user
3260# run "make install-strip".  However 'strip' might not be the right
3261# tool to use in cross-compilation environments, therefore Automake
3262# will honor the 'STRIP' environment variable to overrule this program.
3263if test "$cross_compiling" != no; then
3264  if test -n "$ac_tool_prefix"; then
3265  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3266set dummy ${ac_tool_prefix}strip; ac_word=$2
3267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268$as_echo_n "checking for $ac_word... " >&6; }
3269if ${ac_cv_prog_STRIP+:} false; then :
3270  $as_echo_n "(cached) " >&6
3271else
3272  if test -n "$STRIP"; then
3273  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3274else
3275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276for as_dir in $PATH
3277do
3278  IFS=$as_save_IFS
3279  test -z "$as_dir" && as_dir=.
3280    for ac_exec_ext in '' $ac_executable_extensions; do
3281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284    break 2
3285  fi
3286done
3287  done
3288IFS=$as_save_IFS
3289
3290fi
3291fi
3292STRIP=$ac_cv_prog_STRIP
3293if test -n "$STRIP"; then
3294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3295$as_echo "$STRIP" >&6; }
3296else
3297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298$as_echo "no" >&6; }
3299fi
3300
3301
3302fi
3303if test -z "$ac_cv_prog_STRIP"; then
3304  ac_ct_STRIP=$STRIP
3305  # Extract the first word of "strip", so it can be a program name with args.
3306set dummy strip; ac_word=$2
3307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308$as_echo_n "checking for $ac_word... " >&6; }
3309if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3310  $as_echo_n "(cached) " >&6
3311else
3312  if test -n "$ac_ct_STRIP"; then
3313  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3314else
3315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316for as_dir in $PATH
3317do
3318  IFS=$as_save_IFS
3319  test -z "$as_dir" && as_dir=.
3320    for ac_exec_ext in '' $ac_executable_extensions; do
3321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322    ac_cv_prog_ac_ct_STRIP="strip"
3323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324    break 2
3325  fi
3326done
3327  done
3328IFS=$as_save_IFS
3329
3330fi
3331fi
3332ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3333if test -n "$ac_ct_STRIP"; then
3334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3335$as_echo "$ac_ct_STRIP" >&6; }
3336else
3337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338$as_echo "no" >&6; }
3339fi
3340
3341  if test "x$ac_ct_STRIP" = x; then
3342    STRIP=":"
3343  else
3344    case $cross_compiling:$ac_tool_warned in
3345yes:)
3346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348ac_tool_warned=yes ;;
3349esac
3350    STRIP=$ac_ct_STRIP
3351  fi
3352else
3353  STRIP="$ac_cv_prog_STRIP"
3354fi
3355
3356fi
3357INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3358
3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3360$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3361if test -z "$MKDIR_P"; then
3362  if ${ac_cv_path_mkdir+:} false; then :
3363  $as_echo_n "(cached) " >&6
3364else
3365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3367do
3368  IFS=$as_save_IFS
3369  test -z "$as_dir" && as_dir=.
3370    for ac_prog in mkdir gmkdir; do
3371	 for ac_exec_ext in '' $ac_executable_extensions; do
3372	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3373	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3374	     'mkdir (GNU coreutils) '* | \
3375	     'mkdir (coreutils) '* | \
3376	     'mkdir (fileutils) '4.1*)
3377	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3378	       break 3;;
3379	   esac
3380	 done
3381       done
3382  done
3383IFS=$as_save_IFS
3384
3385fi
3386
3387  test -d ./--version && rmdir ./--version
3388  if test "${ac_cv_path_mkdir+set}" = set; then
3389    MKDIR_P="$ac_cv_path_mkdir -p"
3390  else
3391    # As a last resort, use the slow shell script.  Don't cache a
3392    # value for MKDIR_P within a source directory, because that will
3393    # break other packages using the cache if that directory is
3394    # removed, or if the value is a relative name.
3395    MKDIR_P="$ac_install_sh -d"
3396  fi
3397fi
3398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3399$as_echo "$MKDIR_P" >&6; }
3400
3401for ac_prog in gawk mawk nawk awk
3402do
3403  # Extract the first word of "$ac_prog", so it can be a program name with args.
3404set dummy $ac_prog; ac_word=$2
3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406$as_echo_n "checking for $ac_word... " >&6; }
3407if ${ac_cv_prog_AWK+:} false; then :
3408  $as_echo_n "(cached) " >&6
3409else
3410  if test -n "$AWK"; then
3411  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412else
3413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414for as_dir in $PATH
3415do
3416  IFS=$as_save_IFS
3417  test -z "$as_dir" && as_dir=.
3418    for ac_exec_ext in '' $ac_executable_extensions; do
3419  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420    ac_cv_prog_AWK="$ac_prog"
3421    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422    break 2
3423  fi
3424done
3425  done
3426IFS=$as_save_IFS
3427
3428fi
3429fi
3430AWK=$ac_cv_prog_AWK
3431if test -n "$AWK"; then
3432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433$as_echo "$AWK" >&6; }
3434else
3435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436$as_echo "no" >&6; }
3437fi
3438
3439
3440  test -n "$AWK" && break
3441done
3442
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445set x ${MAKE-make}
3446ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3448  $as_echo_n "(cached) " >&6
3449else
3450  cat >conftest.make <<\_ACEOF
3451SHELL = /bin/sh
3452all:
3453	@echo '@@@%%%=$(MAKE)=@@@%%%'
3454_ACEOF
3455# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3456case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457  *@@@%%%=?*=@@@%%%*)
3458    eval ac_cv_prog_make_${ac_make}_set=yes;;
3459  *)
3460    eval ac_cv_prog_make_${ac_make}_set=no;;
3461esac
3462rm -f conftest.make
3463fi
3464if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466$as_echo "yes" >&6; }
3467  SET_MAKE=
3468else
3469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470$as_echo "no" >&6; }
3471  SET_MAKE="MAKE=${MAKE-make}"
3472fi
3473
3474rm -rf .tst 2>/dev/null
3475mkdir .tst 2>/dev/null
3476if test -d .tst; then
3477  am__leading_dot=.
3478else
3479  am__leading_dot=_
3480fi
3481rmdir .tst 2>/dev/null
3482
3483# Check whether --enable-silent-rules was given.
3484if test "${enable_silent_rules+set}" = set; then :
3485  enableval=$enable_silent_rules;
3486fi
3487
3488case $enable_silent_rules in # (((
3489  yes) AM_DEFAULT_VERBOSITY=0;;
3490   no) AM_DEFAULT_VERBOSITY=1;;
3491    *) AM_DEFAULT_VERBOSITY=1;;
3492esac
3493am_make=${MAKE-make}
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3495$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3496if ${am_cv_make_support_nested_variables+:} false; then :
3497  $as_echo_n "(cached) " >&6
3498else
3499  if $as_echo 'TRUE=$(BAR$(V))
3500BAR0=false
3501BAR1=true
3502V=1
3503am__doit:
3504	@$(TRUE)
3505.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3506  am_cv_make_support_nested_variables=yes
3507else
3508  am_cv_make_support_nested_variables=no
3509fi
3510fi
3511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3512$as_echo "$am_cv_make_support_nested_variables" >&6; }
3513if test $am_cv_make_support_nested_variables = yes; then
3514    AM_V='$(V)'
3515  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3516else
3517  AM_V=$AM_DEFAULT_VERBOSITY
3518  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3519fi
3520AM_BACKSLASH='\'
3521
3522if test "`cd $srcdir && pwd`" != "`pwd`"; then
3523  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3524  # is not polluted with repeated "-I."
3525  am__isrc=' -I$(srcdir)'
3526  # test to see if srcdir already configured
3527  if test -f $srcdir/config.status; then
3528    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3529  fi
3530fi
3531
3532# test whether we have cygpath
3533if test -z "$CYGPATH_W"; then
3534  if (cygpath --version) >/dev/null 2>/dev/null; then
3535    CYGPATH_W='cygpath -w'
3536  else
3537    CYGPATH_W=echo
3538  fi
3539fi
3540
3541
3542# Define the identity of the package.
3543 PACKAGE='libluksde'
3544 VERSION='20200205'
3545
3546
3547cat >>confdefs.h <<_ACEOF
3548#define PACKAGE "$PACKAGE"
3549_ACEOF
3550
3551
3552cat >>confdefs.h <<_ACEOF
3553#define VERSION "$VERSION"
3554_ACEOF
3555
3556# Some tools Automake needs.
3557
3558ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3559
3560
3561AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3562
3563
3564AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3565
3566
3567AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3568
3569
3570MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3571
3572# For better backward compatibility.  To be removed once Automake 1.9.x
3573# dies out for good.  For more background, see:
3574# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3575# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3576mkdir_p='$(MKDIR_P)'
3577
3578# We need awk for the "check" target (and possibly the TAP driver).  The
3579# system "awk" is bad on some platforms.
3580# Always define AMTAR for backward compatibility.  Yes, it's still used
3581# in the wild :-(  We should find a proper way to deprecate it ...
3582AMTAR='$${TAR-tar}'
3583
3584
3585# We'll loop over all known methods to create a tar archive until one works.
3586_am_tools='gnutar plaintar pax cpio none'
3587
3588# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3589      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3590      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3591      # and bug#13588).
3592      am_max_uid=2097151 # 2^21 - 1
3593      am_max_gid=$am_max_uid
3594      # The $UID and $GID variables are not portable, so we need to resort
3595      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3596      # below are definitely unexpected, so allow the users to see them
3597      # (that is, avoid stderr redirection).
3598      am_uid=`id -u || echo unknown`
3599      am_gid=`id -g || echo unknown`
3600      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3601$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3602      if test $am_uid -le $am_max_uid; then
3603         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3604$as_echo "yes" >&6; }
3605      else
3606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607$as_echo "no" >&6; }
3608         _am_tools=none
3609      fi
3610      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3611$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3612      if test $am_gid -le $am_max_gid; then
3613         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614$as_echo "yes" >&6; }
3615      else
3616        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617$as_echo "no" >&6; }
3618        _am_tools=none
3619      fi
3620
3621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3622$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3623
3624  # Go ahead even if we have the value already cached.  We do so because we
3625  # need to set the values for the 'am__tar' and 'am__untar' variables.
3626  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3627
3628  for _am_tool in $_am_tools; do
3629    case $_am_tool in
3630    gnutar)
3631      for _am_tar in tar gnutar gtar; do
3632        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3633   ($_am_tar --version) >&5 2>&5
3634   ac_status=$?
3635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636   (exit $ac_status); } && break
3637      done
3638      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3639      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3640      am__untar="$_am_tar -xf -"
3641      ;;
3642    plaintar)
3643      # Must skip GNU tar: if it does not support --format= it doesn't create
3644      # ustar tarball either.
3645      (tar --version) >/dev/null 2>&1 && continue
3646      am__tar='tar chf - "$$tardir"'
3647      am__tar_='tar chf - "$tardir"'
3648      am__untar='tar xf -'
3649      ;;
3650    pax)
3651      am__tar='pax -L -x ustar -w "$$tardir"'
3652      am__tar_='pax -L -x ustar -w "$tardir"'
3653      am__untar='pax -r'
3654      ;;
3655    cpio)
3656      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3657      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3658      am__untar='cpio -i -H ustar -d'
3659      ;;
3660    none)
3661      am__tar=false
3662      am__tar_=false
3663      am__untar=false
3664      ;;
3665    esac
3666
3667    # If the value was cached, stop now.  We just wanted to have am__tar
3668    # and am__untar set.
3669    test -n "${am_cv_prog_tar_ustar}" && break
3670
3671    # tar/untar a dummy directory, and stop if the command works.
3672    rm -rf conftest.dir
3673    mkdir conftest.dir
3674    echo GrepMe > conftest.dir/file
3675    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3676   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3677   ac_status=$?
3678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679   (exit $ac_status); }
3680    rm -rf conftest.dir
3681    if test -s conftest.tar; then
3682      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3683   ($am__untar <conftest.tar) >&5 2>&5
3684   ac_status=$?
3685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686   (exit $ac_status); }
3687      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3688   (cat conftest.dir/file) >&5 2>&5
3689   ac_status=$?
3690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691   (exit $ac_status); }
3692      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3693    fi
3694  done
3695  rm -rf conftest.dir
3696
3697  if ${am_cv_prog_tar_ustar+:} false; then :
3698  $as_echo_n "(cached) " >&6
3699else
3700  am_cv_prog_tar_ustar=$_am_tool
3701fi
3702
3703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3704$as_echo "$am_cv_prog_tar_ustar" >&6; }
3705
3706
3707
3708
3709
3710
3711# POSIX will say in a future version that running "rm -f" with no argument
3712# is OK; and we want to be able to make that assumption in our Makefile
3713# recipes.  So use an aggressive probe to check that the usage we want is
3714# actually supported "in the wild" to an acceptable degree.
3715# See automake bug#10828.
3716# To make any issue more visible, cause the running configure to be aborted
3717# by default if the 'rm' program in use doesn't match our expectations; the
3718# user can still override this though.
3719if rm -f && rm -fr && rm -rf; then : OK; else
3720  cat >&2 <<'END'
3721Oops!
3722
3723Your 'rm' program seems unable to run without file operands specified
3724on the command line, even when the '-f' option is present.  This is contrary
3725to the behaviour of most rm programs out there, and not conforming with
3726the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3727
3728Please tell bug-automake@gnu.org about your system, including the value
3729of your $PATH and any error possibly output before this message.  This
3730can help us improve future automake versions.
3731
3732END
3733  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3734    echo 'Configuration will proceed anyway, since you have set the' >&2
3735    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3736    echo >&2
3737  else
3738    cat >&2 <<'END'
3739Aborting the configuration process, to ensure you take notice of the issue.
3740
3741You can download and install GNU coreutils to get an 'rm' implementation
3742that behaves properly: <https://www.gnu.org/software/coreutils/>.
3743
3744If you want to complete the configuration process using your problematic
3745'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3746to "yes", and re-run configure.
3747
3748END
3749    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3750  fi
3751fi
3752
3753
3754
3755
3756# Make sure we can run config.sub.
3757$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3758  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3759
3760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3761$as_echo_n "checking build system type... " >&6; }
3762if ${ac_cv_build+:} false; then :
3763  $as_echo_n "(cached) " >&6
3764else
3765  ac_build_alias=$build_alias
3766test "x$ac_build_alias" = x &&
3767  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3768test "x$ac_build_alias" = x &&
3769  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3770ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3771  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3772
3773fi
3774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3775$as_echo "$ac_cv_build" >&6; }
3776case $ac_cv_build in
3777*-*-*) ;;
3778*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3779esac
3780build=$ac_cv_build
3781ac_save_IFS=$IFS; IFS='-'
3782set x $ac_cv_build
3783shift
3784build_cpu=$1
3785build_vendor=$2
3786shift; shift
3787# Remember, the first character of IFS is used to create $*,
3788# except with old shells:
3789build_os=$*
3790IFS=$ac_save_IFS
3791case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3792
3793
3794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3795$as_echo_n "checking host system type... " >&6; }
3796if ${ac_cv_host+:} false; then :
3797  $as_echo_n "(cached) " >&6
3798else
3799  if test "x$host_alias" = x; then
3800  ac_cv_host=$ac_cv_build
3801else
3802  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3803    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3804fi
3805
3806fi
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3808$as_echo "$ac_cv_host" >&6; }
3809case $ac_cv_host in
3810*-*-*) ;;
3811*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3812esac
3813host=$ac_cv_host
3814ac_save_IFS=$IFS; IFS='-'
3815set x $ac_cv_host
3816shift
3817host_cpu=$1
3818host_vendor=$2
3819shift; shift
3820# Remember, the first character of IFS is used to create $*,
3821# except with old shells:
3822host_os=$*
3823IFS=$ac_save_IFS
3824case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3825
3826
3827
3828enable_win32_dll=yes
3829
3830case $host in
3831*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3832  if test -n "$ac_tool_prefix"; then
3833  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3834set dummy ${ac_tool_prefix}as; ac_word=$2
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836$as_echo_n "checking for $ac_word... " >&6; }
3837if ${ac_cv_prog_AS+:} false; then :
3838  $as_echo_n "(cached) " >&6
3839else
3840  if test -n "$AS"; then
3841  ac_cv_prog_AS="$AS" # Let the user override the test.
3842else
3843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844for as_dir in $PATH
3845do
3846  IFS=$as_save_IFS
3847  test -z "$as_dir" && as_dir=.
3848    for ac_exec_ext in '' $ac_executable_extensions; do
3849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850    ac_cv_prog_AS="${ac_tool_prefix}as"
3851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852    break 2
3853  fi
3854done
3855  done
3856IFS=$as_save_IFS
3857
3858fi
3859fi
3860AS=$ac_cv_prog_AS
3861if test -n "$AS"; then
3862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3863$as_echo "$AS" >&6; }
3864else
3865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866$as_echo "no" >&6; }
3867fi
3868
3869
3870fi
3871if test -z "$ac_cv_prog_AS"; then
3872  ac_ct_AS=$AS
3873  # Extract the first word of "as", so it can be a program name with args.
3874set dummy as; ac_word=$2
3875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876$as_echo_n "checking for $ac_word... " >&6; }
3877if ${ac_cv_prog_ac_ct_AS+:} false; then :
3878  $as_echo_n "(cached) " >&6
3879else
3880  if test -n "$ac_ct_AS"; then
3881  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3882else
3883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884for as_dir in $PATH
3885do
3886  IFS=$as_save_IFS
3887  test -z "$as_dir" && as_dir=.
3888    for ac_exec_ext in '' $ac_executable_extensions; do
3889  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3890    ac_cv_prog_ac_ct_AS="as"
3891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892    break 2
3893  fi
3894done
3895  done
3896IFS=$as_save_IFS
3897
3898fi
3899fi
3900ac_ct_AS=$ac_cv_prog_ac_ct_AS
3901if test -n "$ac_ct_AS"; then
3902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3903$as_echo "$ac_ct_AS" >&6; }
3904else
3905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906$as_echo "no" >&6; }
3907fi
3908
3909  if test "x$ac_ct_AS" = x; then
3910    AS="false"
3911  else
3912    case $cross_compiling:$ac_tool_warned in
3913yes:)
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916ac_tool_warned=yes ;;
3917esac
3918    AS=$ac_ct_AS
3919  fi
3920else
3921  AS="$ac_cv_prog_AS"
3922fi
3923
3924  if test -n "$ac_tool_prefix"; then
3925  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3926set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928$as_echo_n "checking for $ac_word... " >&6; }
3929if ${ac_cv_prog_DLLTOOL+:} false; then :
3930  $as_echo_n "(cached) " >&6
3931else
3932  if test -n "$DLLTOOL"; then
3933  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3934else
3935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936for as_dir in $PATH
3937do
3938  IFS=$as_save_IFS
3939  test -z "$as_dir" && as_dir=.
3940    for ac_exec_ext in '' $ac_executable_extensions; do
3941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944    break 2
3945  fi
3946done
3947  done
3948IFS=$as_save_IFS
3949
3950fi
3951fi
3952DLLTOOL=$ac_cv_prog_DLLTOOL
3953if test -n "$DLLTOOL"; then
3954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3955$as_echo "$DLLTOOL" >&6; }
3956else
3957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958$as_echo "no" >&6; }
3959fi
3960
3961
3962fi
3963if test -z "$ac_cv_prog_DLLTOOL"; then
3964  ac_ct_DLLTOOL=$DLLTOOL
3965  # Extract the first word of "dlltool", so it can be a program name with args.
3966set dummy dlltool; ac_word=$2
3967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968$as_echo_n "checking for $ac_word... " >&6; }
3969if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3970  $as_echo_n "(cached) " >&6
3971else
3972  if test -n "$ac_ct_DLLTOOL"; then
3973  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3974else
3975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976for as_dir in $PATH
3977do
3978  IFS=$as_save_IFS
3979  test -z "$as_dir" && as_dir=.
3980    for ac_exec_ext in '' $ac_executable_extensions; do
3981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984    break 2
3985  fi
3986done
3987  done
3988IFS=$as_save_IFS
3989
3990fi
3991fi
3992ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3993if test -n "$ac_ct_DLLTOOL"; then
3994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3995$as_echo "$ac_ct_DLLTOOL" >&6; }
3996else
3997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998$as_echo "no" >&6; }
3999fi
4000
4001  if test "x$ac_ct_DLLTOOL" = x; then
4002    DLLTOOL="false"
4003  else
4004    case $cross_compiling:$ac_tool_warned in
4005yes:)
4006{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008ac_tool_warned=yes ;;
4009esac
4010    DLLTOOL=$ac_ct_DLLTOOL
4011  fi
4012else
4013  DLLTOOL="$ac_cv_prog_DLLTOOL"
4014fi
4015
4016  if test -n "$ac_tool_prefix"; then
4017  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4018set dummy ${ac_tool_prefix}objdump; ac_word=$2
4019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020$as_echo_n "checking for $ac_word... " >&6; }
4021if ${ac_cv_prog_OBJDUMP+:} false; then :
4022  $as_echo_n "(cached) " >&6
4023else
4024  if test -n "$OBJDUMP"; then
4025  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4026else
4027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028for as_dir in $PATH
4029do
4030  IFS=$as_save_IFS
4031  test -z "$as_dir" && as_dir=.
4032    for ac_exec_ext in '' $ac_executable_extensions; do
4033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036    break 2
4037  fi
4038done
4039  done
4040IFS=$as_save_IFS
4041
4042fi
4043fi
4044OBJDUMP=$ac_cv_prog_OBJDUMP
4045if test -n "$OBJDUMP"; then
4046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4047$as_echo "$OBJDUMP" >&6; }
4048else
4049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050$as_echo "no" >&6; }
4051fi
4052
4053
4054fi
4055if test -z "$ac_cv_prog_OBJDUMP"; then
4056  ac_ct_OBJDUMP=$OBJDUMP
4057  # Extract the first word of "objdump", so it can be a program name with args.
4058set dummy objdump; ac_word=$2
4059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060$as_echo_n "checking for $ac_word... " >&6; }
4061if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4062  $as_echo_n "(cached) " >&6
4063else
4064  if test -n "$ac_ct_OBJDUMP"; then
4065  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4066else
4067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068for as_dir in $PATH
4069do
4070  IFS=$as_save_IFS
4071  test -z "$as_dir" && as_dir=.
4072    for ac_exec_ext in '' $ac_executable_extensions; do
4073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4074    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076    break 2
4077  fi
4078done
4079  done
4080IFS=$as_save_IFS
4081
4082fi
4083fi
4084ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4085if test -n "$ac_ct_OBJDUMP"; then
4086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4087$as_echo "$ac_ct_OBJDUMP" >&6; }
4088else
4089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090$as_echo "no" >&6; }
4091fi
4092
4093  if test "x$ac_ct_OBJDUMP" = x; then
4094    OBJDUMP="false"
4095  else
4096    case $cross_compiling:$ac_tool_warned in
4097yes:)
4098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4100ac_tool_warned=yes ;;
4101esac
4102    OBJDUMP=$ac_ct_OBJDUMP
4103  fi
4104else
4105  OBJDUMP="$ac_cv_prog_OBJDUMP"
4106fi
4107
4108  ;;
4109esac
4110
4111test -z "$AS" && AS=as
4112
4113
4114
4115
4116
4117test -z "$DLLTOOL" && DLLTOOL=dlltool
4118
4119
4120
4121
4122
4123test -z "$OBJDUMP" && OBJDUMP=objdump
4124
4125
4126
4127
4128
4129
4130
4131
4132ac_ext=c
4133ac_cpp='$CPP $CPPFLAGS'
4134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137if test -n "$ac_tool_prefix"; then
4138  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4139set dummy ${ac_tool_prefix}gcc; ac_word=$2
4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141$as_echo_n "checking for $ac_word... " >&6; }
4142if ${ac_cv_prog_CC+:} false; then :
4143  $as_echo_n "(cached) " >&6
4144else
4145  if test -n "$CC"; then
4146  ac_cv_prog_CC="$CC" # Let the user override the test.
4147else
4148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149for as_dir in $PATH
4150do
4151  IFS=$as_save_IFS
4152  test -z "$as_dir" && as_dir=.
4153    for ac_exec_ext in '' $ac_executable_extensions; do
4154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4155    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157    break 2
4158  fi
4159done
4160  done
4161IFS=$as_save_IFS
4162
4163fi
4164fi
4165CC=$ac_cv_prog_CC
4166if test -n "$CC"; then
4167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4168$as_echo "$CC" >&6; }
4169else
4170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171$as_echo "no" >&6; }
4172fi
4173
4174
4175fi
4176if test -z "$ac_cv_prog_CC"; then
4177  ac_ct_CC=$CC
4178  # Extract the first word of "gcc", so it can be a program name with args.
4179set dummy gcc; ac_word=$2
4180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181$as_echo_n "checking for $ac_word... " >&6; }
4182if ${ac_cv_prog_ac_ct_CC+:} false; then :
4183  $as_echo_n "(cached) " >&6
4184else
4185  if test -n "$ac_ct_CC"; then
4186  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4187else
4188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189for as_dir in $PATH
4190do
4191  IFS=$as_save_IFS
4192  test -z "$as_dir" && as_dir=.
4193    for ac_exec_ext in '' $ac_executable_extensions; do
4194  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4195    ac_cv_prog_ac_ct_CC="gcc"
4196    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197    break 2
4198  fi
4199done
4200  done
4201IFS=$as_save_IFS
4202
4203fi
4204fi
4205ac_ct_CC=$ac_cv_prog_ac_ct_CC
4206if test -n "$ac_ct_CC"; then
4207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4208$as_echo "$ac_ct_CC" >&6; }
4209else
4210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211$as_echo "no" >&6; }
4212fi
4213
4214  if test "x$ac_ct_CC" = x; then
4215    CC=""
4216  else
4217    case $cross_compiling:$ac_tool_warned in
4218yes:)
4219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4221ac_tool_warned=yes ;;
4222esac
4223    CC=$ac_ct_CC
4224  fi
4225else
4226  CC="$ac_cv_prog_CC"
4227fi
4228
4229if test -z "$CC"; then
4230          if test -n "$ac_tool_prefix"; then
4231    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4232set dummy ${ac_tool_prefix}cc; ac_word=$2
4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234$as_echo_n "checking for $ac_word... " >&6; }
4235if ${ac_cv_prog_CC+:} false; then :
4236  $as_echo_n "(cached) " >&6
4237else
4238  if test -n "$CC"; then
4239  ac_cv_prog_CC="$CC" # Let the user override the test.
4240else
4241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242for as_dir in $PATH
4243do
4244  IFS=$as_save_IFS
4245  test -z "$as_dir" && as_dir=.
4246    for ac_exec_ext in '' $ac_executable_extensions; do
4247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248    ac_cv_prog_CC="${ac_tool_prefix}cc"
4249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250    break 2
4251  fi
4252done
4253  done
4254IFS=$as_save_IFS
4255
4256fi
4257fi
4258CC=$ac_cv_prog_CC
4259if test -n "$CC"; then
4260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261$as_echo "$CC" >&6; }
4262else
4263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264$as_echo "no" >&6; }
4265fi
4266
4267
4268  fi
4269fi
4270if test -z "$CC"; then
4271  # Extract the first word of "cc", so it can be a program name with args.
4272set dummy cc; ac_word=$2
4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274$as_echo_n "checking for $ac_word... " >&6; }
4275if ${ac_cv_prog_CC+:} false; then :
4276  $as_echo_n "(cached) " >&6
4277else
4278  if test -n "$CC"; then
4279  ac_cv_prog_CC="$CC" # Let the user override the test.
4280else
4281  ac_prog_rejected=no
4282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283for as_dir in $PATH
4284do
4285  IFS=$as_save_IFS
4286  test -z "$as_dir" && as_dir=.
4287    for ac_exec_ext in '' $ac_executable_extensions; do
4288  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4290       ac_prog_rejected=yes
4291       continue
4292     fi
4293    ac_cv_prog_CC="cc"
4294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295    break 2
4296  fi
4297done
4298  done
4299IFS=$as_save_IFS
4300
4301if test $ac_prog_rejected = yes; then
4302  # We found a bogon in the path, so make sure we never use it.
4303  set dummy $ac_cv_prog_CC
4304  shift
4305  if test $# != 0; then
4306    # We chose a different compiler from the bogus one.
4307    # However, it has the same basename, so the bogon will be chosen
4308    # first if we set CC to just the basename; use the full file name.
4309    shift
4310    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4311  fi
4312fi
4313fi
4314fi
4315CC=$ac_cv_prog_CC
4316if test -n "$CC"; then
4317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4318$as_echo "$CC" >&6; }
4319else
4320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321$as_echo "no" >&6; }
4322fi
4323
4324
4325fi
4326if test -z "$CC"; then
4327  if test -n "$ac_tool_prefix"; then
4328  for ac_prog in cl.exe
4329  do
4330    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4331set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333$as_echo_n "checking for $ac_word... " >&6; }
4334if ${ac_cv_prog_CC+:} false; then :
4335  $as_echo_n "(cached) " >&6
4336else
4337  if test -n "$CC"; then
4338  ac_cv_prog_CC="$CC" # Let the user override the test.
4339else
4340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341for as_dir in $PATH
4342do
4343  IFS=$as_save_IFS
4344  test -z "$as_dir" && as_dir=.
4345    for ac_exec_ext in '' $ac_executable_extensions; do
4346  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4347    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349    break 2
4350  fi
4351done
4352  done
4353IFS=$as_save_IFS
4354
4355fi
4356fi
4357CC=$ac_cv_prog_CC
4358if test -n "$CC"; then
4359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360$as_echo "$CC" >&6; }
4361else
4362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363$as_echo "no" >&6; }
4364fi
4365
4366
4367    test -n "$CC" && break
4368  done
4369fi
4370if test -z "$CC"; then
4371  ac_ct_CC=$CC
4372  for ac_prog in cl.exe
4373do
4374  # Extract the first word of "$ac_prog", so it can be a program name with args.
4375set dummy $ac_prog; ac_word=$2
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377$as_echo_n "checking for $ac_word... " >&6; }
4378if ${ac_cv_prog_ac_ct_CC+:} false; then :
4379  $as_echo_n "(cached) " >&6
4380else
4381  if test -n "$ac_ct_CC"; then
4382  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4383else
4384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385for as_dir in $PATH
4386do
4387  IFS=$as_save_IFS
4388  test -z "$as_dir" && as_dir=.
4389    for ac_exec_ext in '' $ac_executable_extensions; do
4390  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391    ac_cv_prog_ac_ct_CC="$ac_prog"
4392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393    break 2
4394  fi
4395done
4396  done
4397IFS=$as_save_IFS
4398
4399fi
4400fi
4401ac_ct_CC=$ac_cv_prog_ac_ct_CC
4402if test -n "$ac_ct_CC"; then
4403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4404$as_echo "$ac_ct_CC" >&6; }
4405else
4406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407$as_echo "no" >&6; }
4408fi
4409
4410
4411  test -n "$ac_ct_CC" && break
4412done
4413
4414  if test "x$ac_ct_CC" = x; then
4415    CC=""
4416  else
4417    case $cross_compiling:$ac_tool_warned in
4418yes:)
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4421ac_tool_warned=yes ;;
4422esac
4423    CC=$ac_ct_CC
4424  fi
4425fi
4426
4427fi
4428
4429
4430test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432as_fn_error $? "no acceptable C compiler found in \$PATH
4433See \`config.log' for more details" "$LINENO" 5; }
4434
4435# Provide some information about the compiler.
4436$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4437set X $ac_compile
4438ac_compiler=$2
4439for ac_option in --version -v -V -qversion; do
4440  { { ac_try="$ac_compiler $ac_option >&5"
4441case "(($ac_try" in
4442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443  *) ac_try_echo=$ac_try;;
4444esac
4445eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4446$as_echo "$ac_try_echo"; } >&5
4447  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4448  ac_status=$?
4449  if test -s conftest.err; then
4450    sed '10a\
4451... rest of stderr output deleted ...
4452         10q' conftest.err >conftest.er1
4453    cat conftest.er1 >&5
4454  fi
4455  rm -f conftest.er1 conftest.err
4456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457  test $ac_status = 0; }
4458done
4459
4460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461/* end confdefs.h.  */
4462
4463int
4464main ()
4465{
4466
4467  ;
4468  return 0;
4469}
4470_ACEOF
4471ac_clean_files_save=$ac_clean_files
4472ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4473# Try to create an executable without -o first, disregard a.out.
4474# It will help us diagnose broken compilers, and finding out an intuition
4475# of exeext.
4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4477$as_echo_n "checking whether the C compiler works... " >&6; }
4478ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4479
4480# The possible output files:
4481ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4482
4483ac_rmfiles=
4484for ac_file in $ac_files
4485do
4486  case $ac_file in
4487    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4488    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4489  esac
4490done
4491rm -f $ac_rmfiles
4492
4493if { { ac_try="$ac_link_default"
4494case "(($ac_try" in
4495  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496  *) ac_try_echo=$ac_try;;
4497esac
4498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499$as_echo "$ac_try_echo"; } >&5
4500  (eval "$ac_link_default") 2>&5
4501  ac_status=$?
4502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503  test $ac_status = 0; }; then :
4504  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4505# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4506# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4507# so that the user can short-circuit this test for compilers unknown to
4508# Autoconf.
4509for ac_file in $ac_files ''
4510do
4511  test -f "$ac_file" || continue
4512  case $ac_file in
4513    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4514	;;
4515    [ab].out )
4516	# We found the default executable, but exeext='' is most
4517	# certainly right.
4518	break;;
4519    *.* )
4520	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4521	then :; else
4522	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4523	fi
4524	# We set ac_cv_exeext here because the later test for it is not
4525	# safe: cross compilers may not add the suffix if given an `-o'
4526	# argument, so we may need to know it at that point already.
4527	# Even if this section looks crufty: it has the advantage of
4528	# actually working.
4529	break;;
4530    * )
4531	break;;
4532  esac
4533done
4534test "$ac_cv_exeext" = no && ac_cv_exeext=
4535
4536else
4537  ac_file=''
4538fi
4539if test -z "$ac_file"; then :
4540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541$as_echo "no" >&6; }
4542$as_echo "$as_me: failed program was:" >&5
4543sed 's/^/| /' conftest.$ac_ext >&5
4544
4545{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4547as_fn_error 77 "C compiler cannot create executables
4548See \`config.log' for more details" "$LINENO" 5; }
4549else
4550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4551$as_echo "yes" >&6; }
4552fi
4553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4554$as_echo_n "checking for C compiler default output file name... " >&6; }
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4556$as_echo "$ac_file" >&6; }
4557ac_exeext=$ac_cv_exeext
4558
4559rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4560ac_clean_files=$ac_clean_files_save
4561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4562$as_echo_n "checking for suffix of executables... " >&6; }
4563if { { ac_try="$ac_link"
4564case "(($ac_try" in
4565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4566  *) ac_try_echo=$ac_try;;
4567esac
4568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4569$as_echo "$ac_try_echo"; } >&5
4570  (eval "$ac_link") 2>&5
4571  ac_status=$?
4572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4573  test $ac_status = 0; }; then :
4574  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4575# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4576# work properly (i.e., refer to `conftest.exe'), while it won't with
4577# `rm'.
4578for ac_file in conftest.exe conftest conftest.*; do
4579  test -f "$ac_file" || continue
4580  case $ac_file in
4581    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4582    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4583	  break;;
4584    * ) break;;
4585  esac
4586done
4587else
4588  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4591See \`config.log' for more details" "$LINENO" 5; }
4592fi
4593rm -f conftest conftest$ac_cv_exeext
4594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4595$as_echo "$ac_cv_exeext" >&6; }
4596
4597rm -f conftest.$ac_ext
4598EXEEXT=$ac_cv_exeext
4599ac_exeext=$EXEEXT
4600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601/* end confdefs.h.  */
4602#include <stdio.h>
4603int
4604main ()
4605{
4606FILE *f = fopen ("conftest.out", "w");
4607 return ferror (f) || fclose (f) != 0;
4608
4609  ;
4610  return 0;
4611}
4612_ACEOF
4613ac_clean_files="$ac_clean_files conftest.out"
4614# Check that the compiler produces executables we can run.  If not, either
4615# the compiler is broken, or we cross compile.
4616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4617$as_echo_n "checking whether we are cross compiling... " >&6; }
4618if test "$cross_compiling" != yes; then
4619  { { ac_try="$ac_link"
4620case "(($ac_try" in
4621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4622  *) ac_try_echo=$ac_try;;
4623esac
4624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625$as_echo "$ac_try_echo"; } >&5
4626  (eval "$ac_link") 2>&5
4627  ac_status=$?
4628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629  test $ac_status = 0; }
4630  if { ac_try='./conftest$ac_cv_exeext'
4631  { { case "(($ac_try" in
4632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4633  *) ac_try_echo=$ac_try;;
4634esac
4635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4636$as_echo "$ac_try_echo"; } >&5
4637  (eval "$ac_try") 2>&5
4638  ac_status=$?
4639  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4640  test $ac_status = 0; }; }; then
4641    cross_compiling=no
4642  else
4643    if test "$cross_compiling" = maybe; then
4644	cross_compiling=yes
4645    else
4646	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648as_fn_error $? "cannot run C compiled programs.
4649If you meant to cross compile, use \`--host'.
4650See \`config.log' for more details" "$LINENO" 5; }
4651    fi
4652  fi
4653fi
4654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4655$as_echo "$cross_compiling" >&6; }
4656
4657rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4658ac_clean_files=$ac_clean_files_save
4659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4660$as_echo_n "checking for suffix of object files... " >&6; }
4661if ${ac_cv_objext+:} false; then :
4662  $as_echo_n "(cached) " >&6
4663else
4664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665/* end confdefs.h.  */
4666
4667int
4668main ()
4669{
4670
4671  ;
4672  return 0;
4673}
4674_ACEOF
4675rm -f conftest.o conftest.obj
4676if { { ac_try="$ac_compile"
4677case "(($ac_try" in
4678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4679  *) ac_try_echo=$ac_try;;
4680esac
4681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4682$as_echo "$ac_try_echo"; } >&5
4683  (eval "$ac_compile") 2>&5
4684  ac_status=$?
4685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4686  test $ac_status = 0; }; then :
4687  for ac_file in conftest.o conftest.obj conftest.*; do
4688  test -f "$ac_file" || continue;
4689  case $ac_file in
4690    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4691    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4692       break;;
4693  esac
4694done
4695else
4696  $as_echo "$as_me: failed program was:" >&5
4697sed 's/^/| /' conftest.$ac_ext >&5
4698
4699{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4700$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4701as_fn_error $? "cannot compute suffix of object files: cannot compile
4702See \`config.log' for more details" "$LINENO" 5; }
4703fi
4704rm -f conftest.$ac_cv_objext conftest.$ac_ext
4705fi
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4707$as_echo "$ac_cv_objext" >&6; }
4708OBJEXT=$ac_cv_objext
4709ac_objext=$OBJEXT
4710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4711$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4712if ${ac_cv_c_compiler_gnu+:} false; then :
4713  $as_echo_n "(cached) " >&6
4714else
4715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716/* end confdefs.h.  */
4717
4718int
4719main ()
4720{
4721#ifndef __GNUC__
4722       choke me
4723#endif
4724
4725  ;
4726  return 0;
4727}
4728_ACEOF
4729if ac_fn_c_try_compile "$LINENO"; then :
4730  ac_compiler_gnu=yes
4731else
4732  ac_compiler_gnu=no
4733fi
4734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735ac_cv_c_compiler_gnu=$ac_compiler_gnu
4736
4737fi
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4739$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4740if test $ac_compiler_gnu = yes; then
4741  GCC=yes
4742else
4743  GCC=
4744fi
4745ac_test_CFLAGS=${CFLAGS+set}
4746ac_save_CFLAGS=$CFLAGS
4747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4748$as_echo_n "checking whether $CC accepts -g... " >&6; }
4749if ${ac_cv_prog_cc_g+:} false; then :
4750  $as_echo_n "(cached) " >&6
4751else
4752  ac_save_c_werror_flag=$ac_c_werror_flag
4753   ac_c_werror_flag=yes
4754   ac_cv_prog_cc_g=no
4755   CFLAGS="-g"
4756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757/* end confdefs.h.  */
4758
4759int
4760main ()
4761{
4762
4763  ;
4764  return 0;
4765}
4766_ACEOF
4767if ac_fn_c_try_compile "$LINENO"; then :
4768  ac_cv_prog_cc_g=yes
4769else
4770  CFLAGS=""
4771      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772/* end confdefs.h.  */
4773
4774int
4775main ()
4776{
4777
4778  ;
4779  return 0;
4780}
4781_ACEOF
4782if ac_fn_c_try_compile "$LINENO"; then :
4783
4784else
4785  ac_c_werror_flag=$ac_save_c_werror_flag
4786	 CFLAGS="-g"
4787	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788/* end confdefs.h.  */
4789
4790int
4791main ()
4792{
4793
4794  ;
4795  return 0;
4796}
4797_ACEOF
4798if ac_fn_c_try_compile "$LINENO"; then :
4799  ac_cv_prog_cc_g=yes
4800fi
4801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802fi
4803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804fi
4805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806   ac_c_werror_flag=$ac_save_c_werror_flag
4807fi
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4809$as_echo "$ac_cv_prog_cc_g" >&6; }
4810if test "$ac_test_CFLAGS" = set; then
4811  CFLAGS=$ac_save_CFLAGS
4812elif test $ac_cv_prog_cc_g = yes; then
4813  if test "$GCC" = yes; then
4814    CFLAGS="-g -O2"
4815  else
4816    CFLAGS="-g"
4817  fi
4818else
4819  if test "$GCC" = yes; then
4820    CFLAGS="-O2"
4821  else
4822    CFLAGS=
4823  fi
4824fi
4825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4826$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4827if ${ac_cv_prog_cc_c89+:} false; then :
4828  $as_echo_n "(cached) " >&6
4829else
4830  ac_cv_prog_cc_c89=no
4831ac_save_CC=$CC
4832cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833/* end confdefs.h.  */
4834#include <stdarg.h>
4835#include <stdio.h>
4836struct stat;
4837/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4838struct buf { int x; };
4839FILE * (*rcsopen) (struct buf *, struct stat *, int);
4840static char *e (p, i)
4841     char **p;
4842     int i;
4843{
4844  return p[i];
4845}
4846static char *f (char * (*g) (char **, int), char **p, ...)
4847{
4848  char *s;
4849  va_list v;
4850  va_start (v,p);
4851  s = g (p, va_arg (v,int));
4852  va_end (v);
4853  return s;
4854}
4855
4856/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4857   function prototypes and stuff, but not '\xHH' hex character constants.
4858   These don't provoke an error unfortunately, instead are silently treated
4859   as 'x'.  The following induces an error, until -std is added to get
4860   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4861   array size at least.  It's necessary to write '\x00'==0 to get something
4862   that's true only with -std.  */
4863int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4864
4865/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4866   inside strings and character constants.  */
4867#define FOO(x) 'x'
4868int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4869
4870int test (int i, double x);
4871struct s1 {int (*f) (int a);};
4872struct s2 {int (*f) (double a);};
4873int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4874int argc;
4875char **argv;
4876int
4877main ()
4878{
4879return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4880  ;
4881  return 0;
4882}
4883_ACEOF
4884for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4885	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4886do
4887  CC="$ac_save_CC $ac_arg"
4888  if ac_fn_c_try_compile "$LINENO"; then :
4889  ac_cv_prog_cc_c89=$ac_arg
4890fi
4891rm -f core conftest.err conftest.$ac_objext
4892  test "x$ac_cv_prog_cc_c89" != "xno" && break
4893done
4894rm -f conftest.$ac_ext
4895CC=$ac_save_CC
4896
4897fi
4898# AC_CACHE_VAL
4899case "x$ac_cv_prog_cc_c89" in
4900  x)
4901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4902$as_echo "none needed" >&6; } ;;
4903  xno)
4904    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4905$as_echo "unsupported" >&6; } ;;
4906  *)
4907    CC="$CC $ac_cv_prog_cc_c89"
4908    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4909$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4910esac
4911if test "x$ac_cv_prog_cc_c89" != xno; then :
4912
4913fi
4914
4915ac_ext=c
4916ac_cpp='$CPP $CPPFLAGS'
4917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919ac_compiler_gnu=$ac_cv_c_compiler_gnu
4920
4921ac_ext=c
4922ac_cpp='$CPP $CPPFLAGS'
4923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4925ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4927$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4928if ${am_cv_prog_cc_c_o+:} false; then :
4929  $as_echo_n "(cached) " >&6
4930else
4931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932/* end confdefs.h.  */
4933
4934int
4935main ()
4936{
4937
4938  ;
4939  return 0;
4940}
4941_ACEOF
4942  # Make sure it works both with $CC and with simple cc.
4943  # Following AC_PROG_CC_C_O, we do the test twice because some
4944  # compilers refuse to overwrite an existing .o file with -o,
4945  # though they will create one.
4946  am_cv_prog_cc_c_o=yes
4947  for am_i in 1 2; do
4948    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4949   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4950   ac_status=$?
4951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952   (exit $ac_status); } \
4953         && test -f conftest2.$ac_objext; then
4954      : OK
4955    else
4956      am_cv_prog_cc_c_o=no
4957      break
4958    fi
4959  done
4960  rm -f core conftest*
4961  unset am_i
4962fi
4963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4964$as_echo "$am_cv_prog_cc_c_o" >&6; }
4965if test "$am_cv_prog_cc_c_o" != yes; then
4966   # Losing compiler, so override with the script.
4967   # FIXME: It is wrong to rewrite CC.
4968   # But if we don't then we get into trouble of one sort or another.
4969   # A longer-term fix would be to have automake use am__CC in this case,
4970   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4971   CC="$am_aux_dir/compile $CC"
4972fi
4973ac_ext=c
4974ac_cpp='$CPP $CPPFLAGS'
4975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977ac_compiler_gnu=$ac_cv_c_compiler_gnu
4978
4979DEPDIR="${am__leading_dot}deps"
4980
4981ac_config_commands="$ac_config_commands depfiles"
4982
4983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4984$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4985cat > confinc.mk << 'END'
4986am__doit:
4987	@echo this is the am__doit target >confinc.out
4988.PHONY: am__doit
4989END
4990am__include="#"
4991am__quote=
4992# BSD make does it like this.
4993echo '.include "confinc.mk" # ignored' > confmf.BSD
4994# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4995echo 'include confinc.mk # ignored' > confmf.GNU
4996_am_result=no
4997for s in GNU BSD; do
4998  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4999   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5000   ac_status=$?
5001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002   (exit $ac_status); }
5003  case $?:`cat confinc.out 2>/dev/null` in #(
5004  '0:this is the am__doit target') :
5005    case $s in #(
5006  BSD) :
5007    am__include='.include' am__quote='"' ;; #(
5008  *) :
5009    am__include='include' am__quote='' ;;
5010esac ;; #(
5011  *) :
5012     ;;
5013esac
5014  if test "$am__include" != "#"; then
5015    _am_result="yes ($s style)"
5016    break
5017  fi
5018done
5019rm -f confinc.* confmf.*
5020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5021$as_echo "${_am_result}" >&6; }
5022
5023# Check whether --enable-dependency-tracking was given.
5024if test "${enable_dependency_tracking+set}" = set; then :
5025  enableval=$enable_dependency_tracking;
5026fi
5027
5028if test "x$enable_dependency_tracking" != xno; then
5029  am_depcomp="$ac_aux_dir/depcomp"
5030  AMDEPBACKSLASH='\'
5031  am__nodep='_no'
5032fi
5033 if test "x$enable_dependency_tracking" != xno; then
5034  AMDEP_TRUE=
5035  AMDEP_FALSE='#'
5036else
5037  AMDEP_TRUE='#'
5038  AMDEP_FALSE=
5039fi
5040
5041
5042
5043depcc="$CC"   am_compiler_list=
5044
5045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5046$as_echo_n "checking dependency style of $depcc... " >&6; }
5047if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5048  $as_echo_n "(cached) " >&6
5049else
5050  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5051  # We make a subdir and do the tests there.  Otherwise we can end up
5052  # making bogus files that we don't know about and never remove.  For
5053  # instance it was reported that on HP-UX the gcc test will end up
5054  # making a dummy file named 'D' -- because '-MD' means "put the output
5055  # in D".
5056  rm -rf conftest.dir
5057  mkdir conftest.dir
5058  # Copy depcomp to subdir because otherwise we won't find it if we're
5059  # using a relative directory.
5060  cp "$am_depcomp" conftest.dir
5061  cd conftest.dir
5062  # We will build objects and dependencies in a subdirectory because
5063  # it helps to detect inapplicable dependency modes.  For instance
5064  # both Tru64's cc and ICC support -MD to output dependencies as a
5065  # side effect of compilation, but ICC will put the dependencies in
5066  # the current directory while Tru64 will put them in the object
5067  # directory.
5068  mkdir sub
5069
5070  am_cv_CC_dependencies_compiler_type=none
5071  if test "$am_compiler_list" = ""; then
5072     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5073  fi
5074  am__universal=false
5075  case " $depcc " in #(
5076     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5077     esac
5078
5079  for depmode in $am_compiler_list; do
5080    # Setup a source with many dependencies, because some compilers
5081    # like to wrap large dependency lists on column 80 (with \), and
5082    # we should not choose a depcomp mode which is confused by this.
5083    #
5084    # We need to recreate these files for each test, as the compiler may
5085    # overwrite some of them when testing with obscure command lines.
5086    # This happens at least with the AIX C compiler.
5087    : > sub/conftest.c
5088    for i in 1 2 3 4 5 6; do
5089      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5090      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5091      # Solaris 10 /bin/sh.
5092      echo '/* dummy */' > sub/conftst$i.h
5093    done
5094    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5095
5096    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5097    # mode.  It turns out that the SunPro C++ compiler does not properly
5098    # handle '-M -o', and we need to detect this.  Also, some Intel
5099    # versions had trouble with output in subdirs.
5100    am__obj=sub/conftest.${OBJEXT-o}
5101    am__minus_obj="-o $am__obj"
5102    case $depmode in
5103    gcc)
5104      # This depmode causes a compiler race in universal mode.
5105      test "$am__universal" = false || continue
5106      ;;
5107    nosideeffect)
5108      # After this tag, mechanisms are not by side-effect, so they'll
5109      # only be used when explicitly requested.
5110      if test "x$enable_dependency_tracking" = xyes; then
5111	continue
5112      else
5113	break
5114      fi
5115      ;;
5116    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5117      # This compiler won't grok '-c -o', but also, the minuso test has
5118      # not run yet.  These depmodes are late enough in the game, and
5119      # so weak that their functioning should not be impacted.
5120      am__obj=conftest.${OBJEXT-o}
5121      am__minus_obj=
5122      ;;
5123    none) break ;;
5124    esac
5125    if depmode=$depmode \
5126       source=sub/conftest.c object=$am__obj \
5127       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5128       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5129         >/dev/null 2>conftest.err &&
5130       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5131       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5132       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5133       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5134      # icc doesn't choke on unknown options, it will just issue warnings
5135      # or remarks (even with -Werror).  So we grep stderr for any message
5136      # that says an option was ignored or not supported.
5137      # When given -MP, icc 7.0 and 7.1 complain thusly:
5138      #   icc: Command line warning: ignoring option '-M'; no argument required
5139      # The diagnosis changed in icc 8.0:
5140      #   icc: Command line remark: option '-MP' not supported
5141      if (grep 'ignoring option' conftest.err ||
5142          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5143        am_cv_CC_dependencies_compiler_type=$depmode
5144        break
5145      fi
5146    fi
5147  done
5148
5149  cd ..
5150  rm -rf conftest.dir
5151else
5152  am_cv_CC_dependencies_compiler_type=none
5153fi
5154
5155fi
5156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5157$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5158CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5159
5160 if
5161  test "x$enable_dependency_tracking" != xno \
5162  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5163  am__fastdepCC_TRUE=
5164  am__fastdepCC_FALSE='#'
5165else
5166  am__fastdepCC_TRUE='#'
5167  am__fastdepCC_FALSE=
5168fi
5169
5170
5171
5172ac_ext=c
5173ac_cpp='$CPP $CPPFLAGS'
5174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5178$as_echo_n "checking how to run the C preprocessor... " >&6; }
5179# On Suns, sometimes $CPP names a directory.
5180if test -n "$CPP" && test -d "$CPP"; then
5181  CPP=
5182fi
5183if test -z "$CPP"; then
5184  if ${ac_cv_prog_CPP+:} false; then :
5185  $as_echo_n "(cached) " >&6
5186else
5187      # Double quotes because CPP needs to be expanded
5188    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5189    do
5190      ac_preproc_ok=false
5191for ac_c_preproc_warn_flag in '' yes
5192do
5193  # Use a header file that comes with gcc, so configuring glibc
5194  # with a fresh cross-compiler works.
5195  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196  # <limits.h> exists even on freestanding compilers.
5197  # On the NeXT, cc -E runs the code through the compiler's parser,
5198  # not just through cpp. "Syntax error" is here to catch this case.
5199  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200/* end confdefs.h.  */
5201#ifdef __STDC__
5202# include <limits.h>
5203#else
5204# include <assert.h>
5205#endif
5206		     Syntax error
5207_ACEOF
5208if ac_fn_c_try_cpp "$LINENO"; then :
5209
5210else
5211  # Broken: fails on valid input.
5212continue
5213fi
5214rm -f conftest.err conftest.i conftest.$ac_ext
5215
5216  # OK, works on sane cases.  Now check whether nonexistent headers
5217  # can be detected and how.
5218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219/* end confdefs.h.  */
5220#include <ac_nonexistent.h>
5221_ACEOF
5222if ac_fn_c_try_cpp "$LINENO"; then :
5223  # Broken: success on invalid input.
5224continue
5225else
5226  # Passes both tests.
5227ac_preproc_ok=:
5228break
5229fi
5230rm -f conftest.err conftest.i conftest.$ac_ext
5231
5232done
5233# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5234rm -f conftest.i conftest.err conftest.$ac_ext
5235if $ac_preproc_ok; then :
5236  break
5237fi
5238
5239    done
5240    ac_cv_prog_CPP=$CPP
5241
5242fi
5243  CPP=$ac_cv_prog_CPP
5244else
5245  ac_cv_prog_CPP=$CPP
5246fi
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5248$as_echo "$CPP" >&6; }
5249ac_preproc_ok=false
5250for ac_c_preproc_warn_flag in '' yes
5251do
5252  # Use a header file that comes with gcc, so configuring glibc
5253  # with a fresh cross-compiler works.
5254  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5255  # <limits.h> exists even on freestanding compilers.
5256  # On the NeXT, cc -E runs the code through the compiler's parser,
5257  # not just through cpp. "Syntax error" is here to catch this case.
5258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259/* end confdefs.h.  */
5260#ifdef __STDC__
5261# include <limits.h>
5262#else
5263# include <assert.h>
5264#endif
5265		     Syntax error
5266_ACEOF
5267if ac_fn_c_try_cpp "$LINENO"; then :
5268
5269else
5270  # Broken: fails on valid input.
5271continue
5272fi
5273rm -f conftest.err conftest.i conftest.$ac_ext
5274
5275  # OK, works on sane cases.  Now check whether nonexistent headers
5276  # can be detected and how.
5277  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278/* end confdefs.h.  */
5279#include <ac_nonexistent.h>
5280_ACEOF
5281if ac_fn_c_try_cpp "$LINENO"; then :
5282  # Broken: success on invalid input.
5283continue
5284else
5285  # Passes both tests.
5286ac_preproc_ok=:
5287break
5288fi
5289rm -f conftest.err conftest.i conftest.$ac_ext
5290
5291done
5292# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5293rm -f conftest.i conftest.err conftest.$ac_ext
5294if $ac_preproc_ok; then :
5295
5296else
5297  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5299as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5300See \`config.log' for more details" "$LINENO" 5; }
5301fi
5302
5303ac_ext=c
5304ac_cpp='$CPP $CPPFLAGS'
5305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5307ac_compiler_gnu=$ac_cv_c_compiler_gnu
5308
5309
5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5311$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5312if ${ac_cv_path_GREP+:} false; then :
5313  $as_echo_n "(cached) " >&6
5314else
5315  if test -z "$GREP"; then
5316  ac_path_GREP_found=false
5317  # Loop through the user's path and test for each of PROGNAME-LIST
5318  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5320do
5321  IFS=$as_save_IFS
5322  test -z "$as_dir" && as_dir=.
5323    for ac_prog in grep ggrep; do
5324    for ac_exec_ext in '' $ac_executable_extensions; do
5325      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5326      as_fn_executable_p "$ac_path_GREP" || continue
5327# Check for GNU ac_path_GREP and select it if it is found.
5328  # Check for GNU $ac_path_GREP
5329case `"$ac_path_GREP" --version 2>&1` in
5330*GNU*)
5331  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5332*)
5333  ac_count=0
5334  $as_echo_n 0123456789 >"conftest.in"
5335  while :
5336  do
5337    cat "conftest.in" "conftest.in" >"conftest.tmp"
5338    mv "conftest.tmp" "conftest.in"
5339    cp "conftest.in" "conftest.nl"
5340    $as_echo 'GREP' >> "conftest.nl"
5341    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5342    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5343    as_fn_arith $ac_count + 1 && ac_count=$as_val
5344    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5345      # Best one so far, save it but keep looking for a better one
5346      ac_cv_path_GREP="$ac_path_GREP"
5347      ac_path_GREP_max=$ac_count
5348    fi
5349    # 10*(2^10) chars as input seems more than enough
5350    test $ac_count -gt 10 && break
5351  done
5352  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5353esac
5354
5355      $ac_path_GREP_found && break 3
5356    done
5357  done
5358  done
5359IFS=$as_save_IFS
5360  if test -z "$ac_cv_path_GREP"; then
5361    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5362  fi
5363else
5364  ac_cv_path_GREP=$GREP
5365fi
5366
5367fi
5368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5369$as_echo "$ac_cv_path_GREP" >&6; }
5370 GREP="$ac_cv_path_GREP"
5371
5372
5373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5374$as_echo_n "checking for egrep... " >&6; }
5375if ${ac_cv_path_EGREP+:} false; then :
5376  $as_echo_n "(cached) " >&6
5377else
5378  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5379   then ac_cv_path_EGREP="$GREP -E"
5380   else
5381     if test -z "$EGREP"; then
5382  ac_path_EGREP_found=false
5383  # Loop through the user's path and test for each of PROGNAME-LIST
5384  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5386do
5387  IFS=$as_save_IFS
5388  test -z "$as_dir" && as_dir=.
5389    for ac_prog in egrep; do
5390    for ac_exec_ext in '' $ac_executable_extensions; do
5391      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5392      as_fn_executable_p "$ac_path_EGREP" || continue
5393# Check for GNU ac_path_EGREP and select it if it is found.
5394  # Check for GNU $ac_path_EGREP
5395case `"$ac_path_EGREP" --version 2>&1` in
5396*GNU*)
5397  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5398*)
5399  ac_count=0
5400  $as_echo_n 0123456789 >"conftest.in"
5401  while :
5402  do
5403    cat "conftest.in" "conftest.in" >"conftest.tmp"
5404    mv "conftest.tmp" "conftest.in"
5405    cp "conftest.in" "conftest.nl"
5406    $as_echo 'EGREP' >> "conftest.nl"
5407    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5408    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5409    as_fn_arith $ac_count + 1 && ac_count=$as_val
5410    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5411      # Best one so far, save it but keep looking for a better one
5412      ac_cv_path_EGREP="$ac_path_EGREP"
5413      ac_path_EGREP_max=$ac_count
5414    fi
5415    # 10*(2^10) chars as input seems more than enough
5416    test $ac_count -gt 10 && break
5417  done
5418  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5419esac
5420
5421      $ac_path_EGREP_found && break 3
5422    done
5423  done
5424  done
5425IFS=$as_save_IFS
5426  if test -z "$ac_cv_path_EGREP"; then
5427    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5428  fi
5429else
5430  ac_cv_path_EGREP=$EGREP
5431fi
5432
5433   fi
5434fi
5435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5436$as_echo "$ac_cv_path_EGREP" >&6; }
5437 EGREP="$ac_cv_path_EGREP"
5438
5439
5440if test $ac_cv_c_compiler_gnu = yes; then
5441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5442$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5443if ${ac_cv_prog_gcc_traditional+:} false; then :
5444  $as_echo_n "(cached) " >&6
5445else
5446    ac_pattern="Autoconf.*'x'"
5447  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448/* end confdefs.h.  */
5449#include <sgtty.h>
5450Autoconf TIOCGETP
5451_ACEOF
5452if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5453  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5454  ac_cv_prog_gcc_traditional=yes
5455else
5456  ac_cv_prog_gcc_traditional=no
5457fi
5458rm -f conftest*
5459
5460
5461  if test $ac_cv_prog_gcc_traditional = no; then
5462    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463/* end confdefs.h.  */
5464#include <termio.h>
5465Autoconf TCGETA
5466_ACEOF
5467if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5468  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5469  ac_cv_prog_gcc_traditional=yes
5470fi
5471rm -f conftest*
5472
5473  fi
5474fi
5475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5476$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5477  if test $ac_cv_prog_gcc_traditional = yes; then
5478    CC="$CC -traditional"
5479  fi
5480fi
5481
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5483$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5484set x ${MAKE-make}
5485ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5486if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5487  $as_echo_n "(cached) " >&6
5488else
5489  cat >conftest.make <<\_ACEOF
5490SHELL = /bin/sh
5491all:
5492	@echo '@@@%%%=$(MAKE)=@@@%%%'
5493_ACEOF
5494# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5495case `${MAKE-make} -f conftest.make 2>/dev/null` in
5496  *@@@%%%=?*=@@@%%%*)
5497    eval ac_cv_prog_make_${ac_make}_set=yes;;
5498  *)
5499    eval ac_cv_prog_make_${ac_make}_set=no;;
5500esac
5501rm -f conftest.make
5502fi
5503if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5505$as_echo "yes" >&6; }
5506  SET_MAKE=
5507else
5508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509$as_echo "no" >&6; }
5510  SET_MAKE="MAKE=${MAKE-make}"
5511fi
5512
5513
5514
5515case `pwd` in
5516  *\ * | *\	*)
5517    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5518$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5519esac
5520
5521
5522
5523macro_version='2.4.6'
5524macro_revision='2.4.6'
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538ltmain=$ac_aux_dir/ltmain.sh
5539
5540# Backslashify metacharacters that are still active within
5541# double-quoted strings.
5542sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5543
5544# Same as above, but do not quote variable references.
5545double_quote_subst='s/\(["`\\]\)/\\\1/g'
5546
5547# Sed substitution to delay expansion of an escaped shell variable in a
5548# double_quote_subst'ed string.
5549delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5550
5551# Sed substitution to delay expansion of an escaped single quote.
5552delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5553
5554# Sed substitution to avoid accidental globbing in evaled expressions
5555no_glob_subst='s/\*/\\\*/g'
5556
5557ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5558ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5559ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5560
5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5562$as_echo_n "checking how to print strings... " >&6; }
5563# Test print first, because it will be a builtin if present.
5564if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5565   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5566  ECHO='print -r --'
5567elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5568  ECHO='printf %s\n'
5569else
5570  # Use this function as a fallback that always works.
5571  func_fallback_echo ()
5572  {
5573    eval 'cat <<_LTECHO_EOF
5574$1
5575_LTECHO_EOF'
5576  }
5577  ECHO='func_fallback_echo'
5578fi
5579
5580# func_echo_all arg...
5581# Invoke $ECHO with all args, space-separated.
5582func_echo_all ()
5583{
5584    $ECHO ""
5585}
5586
5587case $ECHO in
5588  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5589$as_echo "printf" >&6; } ;;
5590  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5591$as_echo "print -r" >&6; } ;;
5592  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5593$as_echo "cat" >&6; } ;;
5594esac
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5610$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5611if ${ac_cv_path_SED+:} false; then :
5612  $as_echo_n "(cached) " >&6
5613else
5614            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5615     for ac_i in 1 2 3 4 5 6 7; do
5616       ac_script="$ac_script$as_nl$ac_script"
5617     done
5618     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5619     { ac_script=; unset ac_script;}
5620     if test -z "$SED"; then
5621  ac_path_SED_found=false
5622  # Loop through the user's path and test for each of PROGNAME-LIST
5623  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624for as_dir in $PATH
5625do
5626  IFS=$as_save_IFS
5627  test -z "$as_dir" && as_dir=.
5628    for ac_prog in sed gsed; do
5629    for ac_exec_ext in '' $ac_executable_extensions; do
5630      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5631      as_fn_executable_p "$ac_path_SED" || continue
5632# Check for GNU ac_path_SED and select it if it is found.
5633  # Check for GNU $ac_path_SED
5634case `"$ac_path_SED" --version 2>&1` in
5635*GNU*)
5636  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5637*)
5638  ac_count=0
5639  $as_echo_n 0123456789 >"conftest.in"
5640  while :
5641  do
5642    cat "conftest.in" "conftest.in" >"conftest.tmp"
5643    mv "conftest.tmp" "conftest.in"
5644    cp "conftest.in" "conftest.nl"
5645    $as_echo '' >> "conftest.nl"
5646    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5647    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5648    as_fn_arith $ac_count + 1 && ac_count=$as_val
5649    if test $ac_count -gt ${ac_path_SED_max-0}; then
5650      # Best one so far, save it but keep looking for a better one
5651      ac_cv_path_SED="$ac_path_SED"
5652      ac_path_SED_max=$ac_count
5653    fi
5654    # 10*(2^10) chars as input seems more than enough
5655    test $ac_count -gt 10 && break
5656  done
5657  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5658esac
5659
5660      $ac_path_SED_found && break 3
5661    done
5662  done
5663  done
5664IFS=$as_save_IFS
5665  if test -z "$ac_cv_path_SED"; then
5666    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5667  fi
5668else
5669  ac_cv_path_SED=$SED
5670fi
5671
5672fi
5673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5674$as_echo "$ac_cv_path_SED" >&6; }
5675 SED="$ac_cv_path_SED"
5676  rm -f conftest.sed
5677
5678test -z "$SED" && SED=sed
5679Xsed="$SED -e 1s/^X//"
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5692$as_echo_n "checking for fgrep... " >&6; }
5693if ${ac_cv_path_FGREP+:} false; then :
5694  $as_echo_n "(cached) " >&6
5695else
5696  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5697   then ac_cv_path_FGREP="$GREP -F"
5698   else
5699     if test -z "$FGREP"; then
5700  ac_path_FGREP_found=false
5701  # Loop through the user's path and test for each of PROGNAME-LIST
5702  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5704do
5705  IFS=$as_save_IFS
5706  test -z "$as_dir" && as_dir=.
5707    for ac_prog in fgrep; do
5708    for ac_exec_ext in '' $ac_executable_extensions; do
5709      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5710      as_fn_executable_p "$ac_path_FGREP" || continue
5711# Check for GNU ac_path_FGREP and select it if it is found.
5712  # Check for GNU $ac_path_FGREP
5713case `"$ac_path_FGREP" --version 2>&1` in
5714*GNU*)
5715  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5716*)
5717  ac_count=0
5718  $as_echo_n 0123456789 >"conftest.in"
5719  while :
5720  do
5721    cat "conftest.in" "conftest.in" >"conftest.tmp"
5722    mv "conftest.tmp" "conftest.in"
5723    cp "conftest.in" "conftest.nl"
5724    $as_echo 'FGREP' >> "conftest.nl"
5725    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5726    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5727    as_fn_arith $ac_count + 1 && ac_count=$as_val
5728    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5729      # Best one so far, save it but keep looking for a better one
5730      ac_cv_path_FGREP="$ac_path_FGREP"
5731      ac_path_FGREP_max=$ac_count
5732    fi
5733    # 10*(2^10) chars as input seems more than enough
5734    test $ac_count -gt 10 && break
5735  done
5736  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5737esac
5738
5739      $ac_path_FGREP_found && break 3
5740    done
5741  done
5742  done
5743IFS=$as_save_IFS
5744  if test -z "$ac_cv_path_FGREP"; then
5745    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5746  fi
5747else
5748  ac_cv_path_FGREP=$FGREP
5749fi
5750
5751   fi
5752fi
5753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5754$as_echo "$ac_cv_path_FGREP" >&6; }
5755 FGREP="$ac_cv_path_FGREP"
5756
5757
5758test -z "$GREP" && GREP=grep
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778# Check whether --with-gnu-ld was given.
5779if test "${with_gnu_ld+set}" = set; then :
5780  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5781else
5782  with_gnu_ld=no
5783fi
5784
5785ac_prog=ld
5786if test yes = "$GCC"; then
5787  # Check if gcc -print-prog-name=ld gives a path.
5788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5789$as_echo_n "checking for ld used by $CC... " >&6; }
5790  case $host in
5791  *-*-mingw*)
5792    # gcc leaves a trailing carriage return, which upsets mingw
5793    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5794  *)
5795    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5796  esac
5797  case $ac_prog in
5798    # Accept absolute paths.
5799    [\\/]* | ?:[\\/]*)
5800      re_direlt='/[^/][^/]*/\.\./'
5801      # Canonicalize the pathname of ld
5802      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5803      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5804	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5805      done
5806      test -z "$LD" && LD=$ac_prog
5807      ;;
5808  "")
5809    # If it fails, then pretend we aren't using GCC.
5810    ac_prog=ld
5811    ;;
5812  *)
5813    # If it is relative, then search for the first ld in PATH.
5814    with_gnu_ld=unknown
5815    ;;
5816  esac
5817elif test yes = "$with_gnu_ld"; then
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5819$as_echo_n "checking for GNU ld... " >&6; }
5820else
5821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5822$as_echo_n "checking for non-GNU ld... " >&6; }
5823fi
5824if ${lt_cv_path_LD+:} false; then :
5825  $as_echo_n "(cached) " >&6
5826else
5827  if test -z "$LD"; then
5828  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5829  for ac_dir in $PATH; do
5830    IFS=$lt_save_ifs
5831    test -z "$ac_dir" && ac_dir=.
5832    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5833      lt_cv_path_LD=$ac_dir/$ac_prog
5834      # Check to see if the program is GNU ld.  I'd rather use --version,
5835      # but apparently some variants of GNU ld only accept -v.
5836      # Break only if it was the GNU/non-GNU ld that we prefer.
5837      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5838      *GNU* | *'with BFD'*)
5839	test no != "$with_gnu_ld" && break
5840	;;
5841      *)
5842	test yes != "$with_gnu_ld" && break
5843	;;
5844      esac
5845    fi
5846  done
5847  IFS=$lt_save_ifs
5848else
5849  lt_cv_path_LD=$LD # Let the user override the test with a path.
5850fi
5851fi
5852
5853LD=$lt_cv_path_LD
5854if test -n "$LD"; then
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5856$as_echo "$LD" >&6; }
5857else
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859$as_echo "no" >&6; }
5860fi
5861test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5863$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5864if ${lt_cv_prog_gnu_ld+:} false; then :
5865  $as_echo_n "(cached) " >&6
5866else
5867  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5868case `$LD -v 2>&1 </dev/null` in
5869*GNU* | *'with BFD'*)
5870  lt_cv_prog_gnu_ld=yes
5871  ;;
5872*)
5873  lt_cv_prog_gnu_ld=no
5874  ;;
5875esac
5876fi
5877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5878$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5879with_gnu_ld=$lt_cv_prog_gnu_ld
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5890$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5891if ${lt_cv_path_NM+:} false; then :
5892  $as_echo_n "(cached) " >&6
5893else
5894  if test -n "$NM"; then
5895  # Let the user override the test.
5896  lt_cv_path_NM=$NM
5897else
5898  lt_nm_to_check=${ac_tool_prefix}nm
5899  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5900    lt_nm_to_check="$lt_nm_to_check nm"
5901  fi
5902  for lt_tmp_nm in $lt_nm_to_check; do
5903    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5904    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5905      IFS=$lt_save_ifs
5906      test -z "$ac_dir" && ac_dir=.
5907      tmp_nm=$ac_dir/$lt_tmp_nm
5908      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5909	# Check to see if the nm accepts a BSD-compat flag.
5910	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5911	#   nm: unknown option "B" ignored
5912	# Tru64's nm complains that /dev/null is an invalid object file
5913	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5914	case $build_os in
5915	mingw*) lt_bad_file=conftest.nm/nofile ;;
5916	*) lt_bad_file=/dev/null ;;
5917	esac
5918	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5919	*$lt_bad_file* | *'Invalid file or object type'*)
5920	  lt_cv_path_NM="$tmp_nm -B"
5921	  break 2
5922	  ;;
5923	*)
5924	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5925	  */dev/null*)
5926	    lt_cv_path_NM="$tmp_nm -p"
5927	    break 2
5928	    ;;
5929	  *)
5930	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5931	    continue # so that we can try to find one that supports BSD flags
5932	    ;;
5933	  esac
5934	  ;;
5935	esac
5936      fi
5937    done
5938    IFS=$lt_save_ifs
5939  done
5940  : ${lt_cv_path_NM=no}
5941fi
5942fi
5943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5944$as_echo "$lt_cv_path_NM" >&6; }
5945if test no != "$lt_cv_path_NM"; then
5946  NM=$lt_cv_path_NM
5947else
5948  # Didn't find any BSD compatible name lister, look for dumpbin.
5949  if test -n "$DUMPBIN"; then :
5950    # Let the user override the test.
5951  else
5952    if test -n "$ac_tool_prefix"; then
5953  for ac_prog in dumpbin "link -dump"
5954  do
5955    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5956set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958$as_echo_n "checking for $ac_word... " >&6; }
5959if ${ac_cv_prog_DUMPBIN+:} false; then :
5960  $as_echo_n "(cached) " >&6
5961else
5962  if test -n "$DUMPBIN"; then
5963  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5964else
5965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966for as_dir in $PATH
5967do
5968  IFS=$as_save_IFS
5969  test -z "$as_dir" && as_dir=.
5970    for ac_exec_ext in '' $ac_executable_extensions; do
5971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974    break 2
5975  fi
5976done
5977  done
5978IFS=$as_save_IFS
5979
5980fi
5981fi
5982DUMPBIN=$ac_cv_prog_DUMPBIN
5983if test -n "$DUMPBIN"; then
5984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5985$as_echo "$DUMPBIN" >&6; }
5986else
5987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988$as_echo "no" >&6; }
5989fi
5990
5991
5992    test -n "$DUMPBIN" && break
5993  done
5994fi
5995if test -z "$DUMPBIN"; then
5996  ac_ct_DUMPBIN=$DUMPBIN
5997  for ac_prog in dumpbin "link -dump"
5998do
5999  # Extract the first word of "$ac_prog", so it can be a program name with args.
6000set dummy $ac_prog; ac_word=$2
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002$as_echo_n "checking for $ac_word... " >&6; }
6003if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6004  $as_echo_n "(cached) " >&6
6005else
6006  if test -n "$ac_ct_DUMPBIN"; then
6007  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6008else
6009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010for as_dir in $PATH
6011do
6012  IFS=$as_save_IFS
6013  test -z "$as_dir" && as_dir=.
6014    for ac_exec_ext in '' $ac_executable_extensions; do
6015  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018    break 2
6019  fi
6020done
6021  done
6022IFS=$as_save_IFS
6023
6024fi
6025fi
6026ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6027if test -n "$ac_ct_DUMPBIN"; then
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6029$as_echo "$ac_ct_DUMPBIN" >&6; }
6030else
6031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032$as_echo "no" >&6; }
6033fi
6034
6035
6036  test -n "$ac_ct_DUMPBIN" && break
6037done
6038
6039  if test "x$ac_ct_DUMPBIN" = x; then
6040    DUMPBIN=":"
6041  else
6042    case $cross_compiling:$ac_tool_warned in
6043yes:)
6044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046ac_tool_warned=yes ;;
6047esac
6048    DUMPBIN=$ac_ct_DUMPBIN
6049  fi
6050fi
6051
6052    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6053    *COFF*)
6054      DUMPBIN="$DUMPBIN -symbols -headers"
6055      ;;
6056    *)
6057      DUMPBIN=:
6058      ;;
6059    esac
6060  fi
6061
6062  if test : != "$DUMPBIN"; then
6063    NM=$DUMPBIN
6064  fi
6065fi
6066test -z "$NM" && NM=nm
6067
6068
6069
6070
6071
6072
6073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6074$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6075if ${lt_cv_nm_interface+:} false; then :
6076  $as_echo_n "(cached) " >&6
6077else
6078  lt_cv_nm_interface="BSD nm"
6079  echo "int some_variable = 0;" > conftest.$ac_ext
6080  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6081  (eval "$ac_compile" 2>conftest.err)
6082  cat conftest.err >&5
6083  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6084  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6085  cat conftest.err >&5
6086  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6087  cat conftest.out >&5
6088  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6089    lt_cv_nm_interface="MS dumpbin"
6090  fi
6091  rm -f conftest*
6092fi
6093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6094$as_echo "$lt_cv_nm_interface" >&6; }
6095
6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6097$as_echo_n "checking whether ln -s works... " >&6; }
6098LN_S=$as_ln_s
6099if test "$LN_S" = "ln -s"; then
6100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6101$as_echo "yes" >&6; }
6102else
6103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6104$as_echo "no, using $LN_S" >&6; }
6105fi
6106
6107# find the maximum length of command line arguments
6108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6109$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6110if ${lt_cv_sys_max_cmd_len+:} false; then :
6111  $as_echo_n "(cached) " >&6
6112else
6113    i=0
6114  teststring=ABCD
6115
6116  case $build_os in
6117  msdosdjgpp*)
6118    # On DJGPP, this test can blow up pretty badly due to problems in libc
6119    # (any single argument exceeding 2000 bytes causes a buffer overrun
6120    # during glob expansion).  Even if it were fixed, the result of this
6121    # check would be larger than it should be.
6122    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6123    ;;
6124
6125  gnu*)
6126    # Under GNU Hurd, this test is not required because there is
6127    # no limit to the length of command line arguments.
6128    # Libtool will interpret -1 as no limit whatsoever
6129    lt_cv_sys_max_cmd_len=-1;
6130    ;;
6131
6132  cygwin* | mingw* | cegcc*)
6133    # On Win9x/ME, this test blows up -- it succeeds, but takes
6134    # about 5 minutes as the teststring grows exponentially.
6135    # Worse, since 9x/ME are not pre-emptively multitasking,
6136    # you end up with a "frozen" computer, even though with patience
6137    # the test eventually succeeds (with a max line length of 256k).
6138    # Instead, let's just punt: use the minimum linelength reported by
6139    # all of the supported platforms: 8192 (on NT/2K/XP).
6140    lt_cv_sys_max_cmd_len=8192;
6141    ;;
6142
6143  mint*)
6144    # On MiNT this can take a long time and run out of memory.
6145    lt_cv_sys_max_cmd_len=8192;
6146    ;;
6147
6148  amigaos*)
6149    # On AmigaOS with pdksh, this test takes hours, literally.
6150    # So we just punt and use a minimum line length of 8192.
6151    lt_cv_sys_max_cmd_len=8192;
6152    ;;
6153
6154  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6155    # This has been around since 386BSD, at least.  Likely further.
6156    if test -x /sbin/sysctl; then
6157      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6158    elif test -x /usr/sbin/sysctl; then
6159      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6160    else
6161      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6162    fi
6163    # And add a safety zone
6164    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6165    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6166    ;;
6167
6168  interix*)
6169    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6170    lt_cv_sys_max_cmd_len=196608
6171    ;;
6172
6173  os2*)
6174    # The test takes a long time on OS/2.
6175    lt_cv_sys_max_cmd_len=8192
6176    ;;
6177
6178  osf*)
6179    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6180    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6181    # nice to cause kernel panics so lets avoid the loop below.
6182    # First set a reasonable default.
6183    lt_cv_sys_max_cmd_len=16384
6184    #
6185    if test -x /sbin/sysconfig; then
6186      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6187        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6188      esac
6189    fi
6190    ;;
6191  sco3.2v5*)
6192    lt_cv_sys_max_cmd_len=102400
6193    ;;
6194  sysv5* | sco5v6* | sysv4.2uw2*)
6195    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6196    if test -n "$kargmax"; then
6197      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6198    else
6199      lt_cv_sys_max_cmd_len=32768
6200    fi
6201    ;;
6202  *)
6203    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6204    if test -n "$lt_cv_sys_max_cmd_len" && \
6205       test undefined != "$lt_cv_sys_max_cmd_len"; then
6206      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6207      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6208    else
6209      # Make teststring a little bigger before we do anything with it.
6210      # a 1K string should be a reasonable start.
6211      for i in 1 2 3 4 5 6 7 8; do
6212        teststring=$teststring$teststring
6213      done
6214      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6215      # If test is not a shell built-in, we'll probably end up computing a
6216      # maximum length that is only half of the actual maximum length, but
6217      # we can't tell.
6218      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6219	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6220	      test 17 != "$i" # 1/2 MB should be enough
6221      do
6222        i=`expr $i + 1`
6223        teststring=$teststring$teststring
6224      done
6225      # Only check the string length outside the loop.
6226      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6227      teststring=
6228      # Add a significant safety factor because C++ compilers can tack on
6229      # massive amounts of additional arguments before passing them to the
6230      # linker.  It appears as though 1/2 is a usable value.
6231      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6232    fi
6233    ;;
6234  esac
6235
6236fi
6237
6238if test -n "$lt_cv_sys_max_cmd_len"; then
6239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6240$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6241else
6242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6243$as_echo "none" >&6; }
6244fi
6245max_cmd_len=$lt_cv_sys_max_cmd_len
6246
6247
6248
6249
6250
6251
6252: ${CP="cp -f"}
6253: ${MV="mv -f"}
6254: ${RM="rm -f"}
6255
6256if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6257  lt_unset=unset
6258else
6259  lt_unset=false
6260fi
6261
6262
6263
6264
6265
6266# test EBCDIC or ASCII
6267case `echo X|tr X '\101'` in
6268 A) # ASCII based system
6269    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6270  lt_SP2NL='tr \040 \012'
6271  lt_NL2SP='tr \015\012 \040\040'
6272  ;;
6273 *) # EBCDIC based system
6274  lt_SP2NL='tr \100 \n'
6275  lt_NL2SP='tr \r\n \100\100'
6276  ;;
6277esac
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6288$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6289if ${lt_cv_to_host_file_cmd+:} false; then :
6290  $as_echo_n "(cached) " >&6
6291else
6292  case $host in
6293  *-*-mingw* )
6294    case $build in
6295      *-*-mingw* ) # actually msys
6296        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6297        ;;
6298      *-*-cygwin* )
6299        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6300        ;;
6301      * ) # otherwise, assume *nix
6302        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6303        ;;
6304    esac
6305    ;;
6306  *-*-cygwin* )
6307    case $build in
6308      *-*-mingw* ) # actually msys
6309        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6310        ;;
6311      *-*-cygwin* )
6312        lt_cv_to_host_file_cmd=func_convert_file_noop
6313        ;;
6314      * ) # otherwise, assume *nix
6315        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6316        ;;
6317    esac
6318    ;;
6319  * ) # unhandled hosts (and "normal" native builds)
6320    lt_cv_to_host_file_cmd=func_convert_file_noop
6321    ;;
6322esac
6323
6324fi
6325
6326to_host_file_cmd=$lt_cv_to_host_file_cmd
6327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6328$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6329
6330
6331
6332
6333
6334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6335$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6336if ${lt_cv_to_tool_file_cmd+:} false; then :
6337  $as_echo_n "(cached) " >&6
6338else
6339  #assume ordinary cross tools, or native build.
6340lt_cv_to_tool_file_cmd=func_convert_file_noop
6341case $host in
6342  *-*-mingw* )
6343    case $build in
6344      *-*-mingw* ) # actually msys
6345        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6346        ;;
6347    esac
6348    ;;
6349esac
6350
6351fi
6352
6353to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6355$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6356
6357
6358
6359
6360
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6362$as_echo_n "checking for $LD option to reload object files... " >&6; }
6363if ${lt_cv_ld_reload_flag+:} false; then :
6364  $as_echo_n "(cached) " >&6
6365else
6366  lt_cv_ld_reload_flag='-r'
6367fi
6368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6369$as_echo "$lt_cv_ld_reload_flag" >&6; }
6370reload_flag=$lt_cv_ld_reload_flag
6371case $reload_flag in
6372"" | " "*) ;;
6373*) reload_flag=" $reload_flag" ;;
6374esac
6375reload_cmds='$LD$reload_flag -o $output$reload_objs'
6376case $host_os in
6377  cygwin* | mingw* | pw32* | cegcc*)
6378    if test yes != "$GCC"; then
6379      reload_cmds=false
6380    fi
6381    ;;
6382  darwin*)
6383    if test yes = "$GCC"; then
6384      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6385    else
6386      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6387    fi
6388    ;;
6389esac
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399if test -n "$ac_tool_prefix"; then
6400  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6401set dummy ${ac_tool_prefix}objdump; ac_word=$2
6402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403$as_echo_n "checking for $ac_word... " >&6; }
6404if ${ac_cv_prog_OBJDUMP+:} false; then :
6405  $as_echo_n "(cached) " >&6
6406else
6407  if test -n "$OBJDUMP"; then
6408  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6409else
6410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411for as_dir in $PATH
6412do
6413  IFS=$as_save_IFS
6414  test -z "$as_dir" && as_dir=.
6415    for ac_exec_ext in '' $ac_executable_extensions; do
6416  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6417    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6418    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419    break 2
6420  fi
6421done
6422  done
6423IFS=$as_save_IFS
6424
6425fi
6426fi
6427OBJDUMP=$ac_cv_prog_OBJDUMP
6428if test -n "$OBJDUMP"; then
6429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6430$as_echo "$OBJDUMP" >&6; }
6431else
6432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433$as_echo "no" >&6; }
6434fi
6435
6436
6437fi
6438if test -z "$ac_cv_prog_OBJDUMP"; then
6439  ac_ct_OBJDUMP=$OBJDUMP
6440  # Extract the first word of "objdump", so it can be a program name with args.
6441set dummy objdump; ac_word=$2
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443$as_echo_n "checking for $ac_word... " >&6; }
6444if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6445  $as_echo_n "(cached) " >&6
6446else
6447  if test -n "$ac_ct_OBJDUMP"; then
6448  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6449else
6450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451for as_dir in $PATH
6452do
6453  IFS=$as_save_IFS
6454  test -z "$as_dir" && as_dir=.
6455    for ac_exec_ext in '' $ac_executable_extensions; do
6456  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6458    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459    break 2
6460  fi
6461done
6462  done
6463IFS=$as_save_IFS
6464
6465fi
6466fi
6467ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6468if test -n "$ac_ct_OBJDUMP"; then
6469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6470$as_echo "$ac_ct_OBJDUMP" >&6; }
6471else
6472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473$as_echo "no" >&6; }
6474fi
6475
6476  if test "x$ac_ct_OBJDUMP" = x; then
6477    OBJDUMP="false"
6478  else
6479    case $cross_compiling:$ac_tool_warned in
6480yes:)
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6482$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6483ac_tool_warned=yes ;;
6484esac
6485    OBJDUMP=$ac_ct_OBJDUMP
6486  fi
6487else
6488  OBJDUMP="$ac_cv_prog_OBJDUMP"
6489fi
6490
6491test -z "$OBJDUMP" && OBJDUMP=objdump
6492
6493
6494
6495
6496
6497
6498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6499$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6500if ${lt_cv_deplibs_check_method+:} false; then :
6501  $as_echo_n "(cached) " >&6
6502else
6503  lt_cv_file_magic_cmd='$MAGIC_CMD'
6504lt_cv_file_magic_test_file=
6505lt_cv_deplibs_check_method='unknown'
6506# Need to set the preceding variable on all platforms that support
6507# interlibrary dependencies.
6508# 'none' -- dependencies not supported.
6509# 'unknown' -- same as none, but documents that we really don't know.
6510# 'pass_all' -- all dependencies passed with no checks.
6511# 'test_compile' -- check by making test program.
6512# 'file_magic [[regex]]' -- check by looking for files in library path
6513# that responds to the $file_magic_cmd with a given extended regex.
6514# If you have 'file' or equivalent on your system and you're not sure
6515# whether 'pass_all' will *always* work, you probably want this one.
6516
6517case $host_os in
6518aix[4-9]*)
6519  lt_cv_deplibs_check_method=pass_all
6520  ;;
6521
6522beos*)
6523  lt_cv_deplibs_check_method=pass_all
6524  ;;
6525
6526bsdi[45]*)
6527  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6528  lt_cv_file_magic_cmd='/usr/bin/file -L'
6529  lt_cv_file_magic_test_file=/shlib/libc.so
6530  ;;
6531
6532cygwin*)
6533  # func_win32_libid is a shell function defined in ltmain.sh
6534  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6535  lt_cv_file_magic_cmd='func_win32_libid'
6536  ;;
6537
6538mingw* | pw32*)
6539  # Base MSYS/MinGW do not provide the 'file' command needed by
6540  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6541  # unless we find 'file', for example because we are cross-compiling.
6542  if ( file / ) >/dev/null 2>&1; then
6543    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6544    lt_cv_file_magic_cmd='func_win32_libid'
6545  else
6546    # Keep this pattern in sync with the one in func_win32_libid.
6547    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6548    lt_cv_file_magic_cmd='$OBJDUMP -f'
6549  fi
6550  ;;
6551
6552cegcc*)
6553  # use the weaker test based on 'objdump'. See mingw*.
6554  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6555  lt_cv_file_magic_cmd='$OBJDUMP -f'
6556  ;;
6557
6558darwin* | rhapsody*)
6559  lt_cv_deplibs_check_method=pass_all
6560  ;;
6561
6562freebsd* | dragonfly*)
6563  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6564    case $host_cpu in
6565    i*86 )
6566      # Not sure whether the presence of OpenBSD here was a mistake.
6567      # Let's accept both of them until this is cleared up.
6568      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6569      lt_cv_file_magic_cmd=/usr/bin/file
6570      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6571      ;;
6572    esac
6573  else
6574    lt_cv_deplibs_check_method=pass_all
6575  fi
6576  ;;
6577
6578haiku*)
6579  lt_cv_deplibs_check_method=pass_all
6580  ;;
6581
6582hpux10.20* | hpux11*)
6583  lt_cv_file_magic_cmd=/usr/bin/file
6584  case $host_cpu in
6585  ia64*)
6586    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6587    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6588    ;;
6589  hppa*64*)
6590    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]'
6591    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6592    ;;
6593  *)
6594    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6595    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6596    ;;
6597  esac
6598  ;;
6599
6600interix[3-9]*)
6601  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6602  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6603  ;;
6604
6605irix5* | irix6* | nonstopux*)
6606  case $LD in
6607  *-32|*"-32 ") libmagic=32-bit;;
6608  *-n32|*"-n32 ") libmagic=N32;;
6609  *-64|*"-64 ") libmagic=64-bit;;
6610  *) libmagic=never-match;;
6611  esac
6612  lt_cv_deplibs_check_method=pass_all
6613  ;;
6614
6615# This must be glibc/ELF.
6616linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6617  lt_cv_deplibs_check_method=pass_all
6618  ;;
6619
6620netbsd*)
6621  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6622    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6623  else
6624    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6625  fi
6626  ;;
6627
6628newos6*)
6629  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6630  lt_cv_file_magic_cmd=/usr/bin/file
6631  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6632  ;;
6633
6634*nto* | *qnx*)
6635  lt_cv_deplibs_check_method=pass_all
6636  ;;
6637
6638openbsd* | bitrig*)
6639  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6640    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6641  else
6642    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6643  fi
6644  ;;
6645
6646osf3* | osf4* | osf5*)
6647  lt_cv_deplibs_check_method=pass_all
6648  ;;
6649
6650rdos*)
6651  lt_cv_deplibs_check_method=pass_all
6652  ;;
6653
6654solaris*)
6655  lt_cv_deplibs_check_method=pass_all
6656  ;;
6657
6658sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6659  lt_cv_deplibs_check_method=pass_all
6660  ;;
6661
6662sysv4 | sysv4.3*)
6663  case $host_vendor in
6664  motorola)
6665    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]'
6666    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6667    ;;
6668  ncr)
6669    lt_cv_deplibs_check_method=pass_all
6670    ;;
6671  sequent)
6672    lt_cv_file_magic_cmd='/bin/file'
6673    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6674    ;;
6675  sni)
6676    lt_cv_file_magic_cmd='/bin/file'
6677    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6678    lt_cv_file_magic_test_file=/lib/libc.so
6679    ;;
6680  siemens)
6681    lt_cv_deplibs_check_method=pass_all
6682    ;;
6683  pc)
6684    lt_cv_deplibs_check_method=pass_all
6685    ;;
6686  esac
6687  ;;
6688
6689tpf*)
6690  lt_cv_deplibs_check_method=pass_all
6691  ;;
6692os2*)
6693  lt_cv_deplibs_check_method=pass_all
6694  ;;
6695esac
6696
6697fi
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6699$as_echo "$lt_cv_deplibs_check_method" >&6; }
6700
6701file_magic_glob=
6702want_nocaseglob=no
6703if test "$build" = "$host"; then
6704  case $host_os in
6705  mingw* | pw32*)
6706    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6707      want_nocaseglob=yes
6708    else
6709      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6710    fi
6711    ;;
6712  esac
6713fi
6714
6715file_magic_cmd=$lt_cv_file_magic_cmd
6716deplibs_check_method=$lt_cv_deplibs_check_method
6717test -z "$deplibs_check_method" && deplibs_check_method=unknown
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740if test -n "$ac_tool_prefix"; then
6741  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6742set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744$as_echo_n "checking for $ac_word... " >&6; }
6745if ${ac_cv_prog_DLLTOOL+:} false; then :
6746  $as_echo_n "(cached) " >&6
6747else
6748  if test -n "$DLLTOOL"; then
6749  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6750else
6751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752for as_dir in $PATH
6753do
6754  IFS=$as_save_IFS
6755  test -z "$as_dir" && as_dir=.
6756    for ac_exec_ext in '' $ac_executable_extensions; do
6757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760    break 2
6761  fi
6762done
6763  done
6764IFS=$as_save_IFS
6765
6766fi
6767fi
6768DLLTOOL=$ac_cv_prog_DLLTOOL
6769if test -n "$DLLTOOL"; then
6770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6771$as_echo "$DLLTOOL" >&6; }
6772else
6773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774$as_echo "no" >&6; }
6775fi
6776
6777
6778fi
6779if test -z "$ac_cv_prog_DLLTOOL"; then
6780  ac_ct_DLLTOOL=$DLLTOOL
6781  # Extract the first word of "dlltool", so it can be a program name with args.
6782set dummy dlltool; ac_word=$2
6783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784$as_echo_n "checking for $ac_word... " >&6; }
6785if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6786  $as_echo_n "(cached) " >&6
6787else
6788  if test -n "$ac_ct_DLLTOOL"; then
6789  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6790else
6791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792for as_dir in $PATH
6793do
6794  IFS=$as_save_IFS
6795  test -z "$as_dir" && as_dir=.
6796    for ac_exec_ext in '' $ac_executable_extensions; do
6797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800    break 2
6801  fi
6802done
6803  done
6804IFS=$as_save_IFS
6805
6806fi
6807fi
6808ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6809if test -n "$ac_ct_DLLTOOL"; then
6810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6811$as_echo "$ac_ct_DLLTOOL" >&6; }
6812else
6813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814$as_echo "no" >&6; }
6815fi
6816
6817  if test "x$ac_ct_DLLTOOL" = x; then
6818    DLLTOOL="false"
6819  else
6820    case $cross_compiling:$ac_tool_warned in
6821yes:)
6822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6824ac_tool_warned=yes ;;
6825esac
6826    DLLTOOL=$ac_ct_DLLTOOL
6827  fi
6828else
6829  DLLTOOL="$ac_cv_prog_DLLTOOL"
6830fi
6831
6832test -z "$DLLTOOL" && DLLTOOL=dlltool
6833
6834
6835
6836
6837
6838
6839
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6841$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6842if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6843  $as_echo_n "(cached) " >&6
6844else
6845  lt_cv_sharedlib_from_linklib_cmd='unknown'
6846
6847case $host_os in
6848cygwin* | mingw* | pw32* | cegcc*)
6849  # two different shell functions defined in ltmain.sh;
6850  # decide which one to use based on capabilities of $DLLTOOL
6851  case `$DLLTOOL --help 2>&1` in
6852  *--identify-strict*)
6853    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6854    ;;
6855  *)
6856    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6857    ;;
6858  esac
6859  ;;
6860*)
6861  # fallback: assume linklib IS sharedlib
6862  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6863  ;;
6864esac
6865
6866fi
6867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6868$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6869sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6870test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6871
6872
6873
6874
6875
6876
6877
6878if test -n "$ac_tool_prefix"; then
6879  for ac_prog in ar
6880  do
6881    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6882set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884$as_echo_n "checking for $ac_word... " >&6; }
6885if ${ac_cv_prog_AR+:} false; then :
6886  $as_echo_n "(cached) " >&6
6887else
6888  if test -n "$AR"; then
6889  ac_cv_prog_AR="$AR" # Let the user override the test.
6890else
6891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892for as_dir in $PATH
6893do
6894  IFS=$as_save_IFS
6895  test -z "$as_dir" && as_dir=.
6896    for ac_exec_ext in '' $ac_executable_extensions; do
6897  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900    break 2
6901  fi
6902done
6903  done
6904IFS=$as_save_IFS
6905
6906fi
6907fi
6908AR=$ac_cv_prog_AR
6909if test -n "$AR"; then
6910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6911$as_echo "$AR" >&6; }
6912else
6913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914$as_echo "no" >&6; }
6915fi
6916
6917
6918    test -n "$AR" && break
6919  done
6920fi
6921if test -z "$AR"; then
6922  ac_ct_AR=$AR
6923  for ac_prog in ar
6924do
6925  # Extract the first word of "$ac_prog", so it can be a program name with args.
6926set dummy $ac_prog; ac_word=$2
6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928$as_echo_n "checking for $ac_word... " >&6; }
6929if ${ac_cv_prog_ac_ct_AR+:} false; then :
6930  $as_echo_n "(cached) " >&6
6931else
6932  if test -n "$ac_ct_AR"; then
6933  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6934else
6935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936for as_dir in $PATH
6937do
6938  IFS=$as_save_IFS
6939  test -z "$as_dir" && as_dir=.
6940    for ac_exec_ext in '' $ac_executable_extensions; do
6941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942    ac_cv_prog_ac_ct_AR="$ac_prog"
6943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944    break 2
6945  fi
6946done
6947  done
6948IFS=$as_save_IFS
6949
6950fi
6951fi
6952ac_ct_AR=$ac_cv_prog_ac_ct_AR
6953if test -n "$ac_ct_AR"; then
6954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6955$as_echo "$ac_ct_AR" >&6; }
6956else
6957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958$as_echo "no" >&6; }
6959fi
6960
6961
6962  test -n "$ac_ct_AR" && break
6963done
6964
6965  if test "x$ac_ct_AR" = x; then
6966    AR="false"
6967  else
6968    case $cross_compiling:$ac_tool_warned in
6969yes:)
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972ac_tool_warned=yes ;;
6973esac
6974    AR=$ac_ct_AR
6975  fi
6976fi
6977
6978: ${AR=ar}
6979: ${AR_FLAGS=cru}
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6992$as_echo_n "checking for archiver @FILE support... " >&6; }
6993if ${lt_cv_ar_at_file+:} false; then :
6994  $as_echo_n "(cached) " >&6
6995else
6996  lt_cv_ar_at_file=no
6997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998/* end confdefs.h.  */
6999
7000int
7001main ()
7002{
7003
7004  ;
7005  return 0;
7006}
7007_ACEOF
7008if ac_fn_c_try_compile "$LINENO"; then :
7009  echo conftest.$ac_objext > conftest.lst
7010      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7011      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7012  (eval $lt_ar_try) 2>&5
7013  ac_status=$?
7014  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7015  test $ac_status = 0; }
7016      if test 0 -eq "$ac_status"; then
7017	# Ensure the archiver fails upon bogus file names.
7018	rm -f conftest.$ac_objext libconftest.a
7019	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7020  (eval $lt_ar_try) 2>&5
7021  ac_status=$?
7022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023  test $ac_status = 0; }
7024	if test 0 -ne "$ac_status"; then
7025          lt_cv_ar_at_file=@
7026        fi
7027      fi
7028      rm -f conftest.* libconftest.a
7029
7030fi
7031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032
7033fi
7034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7035$as_echo "$lt_cv_ar_at_file" >&6; }
7036
7037if test no = "$lt_cv_ar_at_file"; then
7038  archiver_list_spec=
7039else
7040  archiver_list_spec=$lt_cv_ar_at_file
7041fi
7042
7043
7044
7045
7046
7047
7048
7049if test -n "$ac_tool_prefix"; then
7050  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7051set dummy ${ac_tool_prefix}strip; ac_word=$2
7052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053$as_echo_n "checking for $ac_word... " >&6; }
7054if ${ac_cv_prog_STRIP+:} false; then :
7055  $as_echo_n "(cached) " >&6
7056else
7057  if test -n "$STRIP"; then
7058  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7059else
7060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061for as_dir in $PATH
7062do
7063  IFS=$as_save_IFS
7064  test -z "$as_dir" && as_dir=.
7065    for ac_exec_ext in '' $ac_executable_extensions; do
7066  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7068    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069    break 2
7070  fi
7071done
7072  done
7073IFS=$as_save_IFS
7074
7075fi
7076fi
7077STRIP=$ac_cv_prog_STRIP
7078if test -n "$STRIP"; then
7079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7080$as_echo "$STRIP" >&6; }
7081else
7082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083$as_echo "no" >&6; }
7084fi
7085
7086
7087fi
7088if test -z "$ac_cv_prog_STRIP"; then
7089  ac_ct_STRIP=$STRIP
7090  # Extract the first word of "strip", so it can be a program name with args.
7091set dummy strip; ac_word=$2
7092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093$as_echo_n "checking for $ac_word... " >&6; }
7094if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7095  $as_echo_n "(cached) " >&6
7096else
7097  if test -n "$ac_ct_STRIP"; then
7098  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7099else
7100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101for as_dir in $PATH
7102do
7103  IFS=$as_save_IFS
7104  test -z "$as_dir" && as_dir=.
7105    for ac_exec_ext in '' $ac_executable_extensions; do
7106  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7107    ac_cv_prog_ac_ct_STRIP="strip"
7108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109    break 2
7110  fi
7111done
7112  done
7113IFS=$as_save_IFS
7114
7115fi
7116fi
7117ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7118if test -n "$ac_ct_STRIP"; then
7119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7120$as_echo "$ac_ct_STRIP" >&6; }
7121else
7122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123$as_echo "no" >&6; }
7124fi
7125
7126  if test "x$ac_ct_STRIP" = x; then
7127    STRIP=":"
7128  else
7129    case $cross_compiling:$ac_tool_warned in
7130yes:)
7131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133ac_tool_warned=yes ;;
7134esac
7135    STRIP=$ac_ct_STRIP
7136  fi
7137else
7138  STRIP="$ac_cv_prog_STRIP"
7139fi
7140
7141test -z "$STRIP" && STRIP=:
7142
7143
7144
7145
7146
7147
7148if test -n "$ac_tool_prefix"; then
7149  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7150set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152$as_echo_n "checking for $ac_word... " >&6; }
7153if ${ac_cv_prog_RANLIB+:} false; then :
7154  $as_echo_n "(cached) " >&6
7155else
7156  if test -n "$RANLIB"; then
7157  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7158else
7159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160for as_dir in $PATH
7161do
7162  IFS=$as_save_IFS
7163  test -z "$as_dir" && as_dir=.
7164    for ac_exec_ext in '' $ac_executable_extensions; do
7165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7166    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168    break 2
7169  fi
7170done
7171  done
7172IFS=$as_save_IFS
7173
7174fi
7175fi
7176RANLIB=$ac_cv_prog_RANLIB
7177if test -n "$RANLIB"; then
7178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7179$as_echo "$RANLIB" >&6; }
7180else
7181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182$as_echo "no" >&6; }
7183fi
7184
7185
7186fi
7187if test -z "$ac_cv_prog_RANLIB"; then
7188  ac_ct_RANLIB=$RANLIB
7189  # Extract the first word of "ranlib", so it can be a program name with args.
7190set dummy ranlib; ac_word=$2
7191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192$as_echo_n "checking for $ac_word... " >&6; }
7193if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7194  $as_echo_n "(cached) " >&6
7195else
7196  if test -n "$ac_ct_RANLIB"; then
7197  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7198else
7199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200for as_dir in $PATH
7201do
7202  IFS=$as_save_IFS
7203  test -z "$as_dir" && as_dir=.
7204    for ac_exec_ext in '' $ac_executable_extensions; do
7205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206    ac_cv_prog_ac_ct_RANLIB="ranlib"
7207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208    break 2
7209  fi
7210done
7211  done
7212IFS=$as_save_IFS
7213
7214fi
7215fi
7216ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7217if test -n "$ac_ct_RANLIB"; then
7218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7219$as_echo "$ac_ct_RANLIB" >&6; }
7220else
7221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222$as_echo "no" >&6; }
7223fi
7224
7225  if test "x$ac_ct_RANLIB" = x; then
7226    RANLIB=":"
7227  else
7228    case $cross_compiling:$ac_tool_warned in
7229yes:)
7230{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7231$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7232ac_tool_warned=yes ;;
7233esac
7234    RANLIB=$ac_ct_RANLIB
7235  fi
7236else
7237  RANLIB="$ac_cv_prog_RANLIB"
7238fi
7239
7240test -z "$RANLIB" && RANLIB=:
7241
7242
7243
7244
7245
7246
7247# Determine commands to create old-style static archives.
7248old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7249old_postinstall_cmds='chmod 644 $oldlib'
7250old_postuninstall_cmds=
7251
7252if test -n "$RANLIB"; then
7253  case $host_os in
7254  bitrig* | openbsd*)
7255    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7256    ;;
7257  *)
7258    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7259    ;;
7260  esac
7261  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7262fi
7263
7264case $host_os in
7265  darwin*)
7266    lock_old_archive_extraction=yes ;;
7267  *)
7268    lock_old_archive_extraction=no ;;
7269esac
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309# If no C compiler was specified, use CC.
7310LTCC=${LTCC-"$CC"}
7311
7312# If no C compiler flags were specified, use CFLAGS.
7313LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7314
7315# Allow CC to be a program name with arguments.
7316compiler=$CC
7317
7318
7319# Check for command to grab the raw symbol name followed by C symbol from nm.
7320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7321$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7322if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7323  $as_echo_n "(cached) " >&6
7324else
7325
7326# These are sane defaults that work on at least a few old systems.
7327# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7328
7329# Character class describing NM global symbol codes.
7330symcode='[BCDEGRST]'
7331
7332# Regexp to match symbols that can be accessed directly from C.
7333sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7334
7335# Define system-specific variables.
7336case $host_os in
7337aix*)
7338  symcode='[BCDT]'
7339  ;;
7340cygwin* | mingw* | pw32* | cegcc*)
7341  symcode='[ABCDGISTW]'
7342  ;;
7343hpux*)
7344  if test ia64 = "$host_cpu"; then
7345    symcode='[ABCDEGRST]'
7346  fi
7347  ;;
7348irix* | nonstopux*)
7349  symcode='[BCDEGRST]'
7350  ;;
7351osf*)
7352  symcode='[BCDEGQRST]'
7353  ;;
7354solaris*)
7355  symcode='[BDRT]'
7356  ;;
7357sco3.2v5*)
7358  symcode='[DT]'
7359  ;;
7360sysv4.2uw2*)
7361  symcode='[DT]'
7362  ;;
7363sysv5* | sco5v6* | unixware* | OpenUNIX*)
7364  symcode='[ABDT]'
7365  ;;
7366sysv4)
7367  symcode='[DFNSTU]'
7368  ;;
7369esac
7370
7371# If we're using GNU nm, then use its standard symbol codes.
7372case `$NM -V 2>&1` in
7373*GNU* | *'with BFD'*)
7374  symcode='[ABCDGIRSTW]' ;;
7375esac
7376
7377if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7378  # Gets list of data symbols to import.
7379  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7380  # Adjust the below global symbol transforms to fixup imported variables.
7381  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7382  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7383  lt_c_name_lib_hook="\
7384  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7385  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7386else
7387  # Disable hooks by default.
7388  lt_cv_sys_global_symbol_to_import=
7389  lt_cdecl_hook=
7390  lt_c_name_hook=
7391  lt_c_name_lib_hook=
7392fi
7393
7394# Transform an extracted symbol line into a proper C declaration.
7395# Some systems (esp. on ia64) link data and code symbols differently,
7396# so use this general approach.
7397lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7398$lt_cdecl_hook\
7399" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7400" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7401
7402# Transform an extracted symbol line into symbol name and symbol address
7403lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7404$lt_c_name_hook\
7405" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7406" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7407
7408# Transform an extracted symbol line into symbol name with lib prefix and
7409# symbol address.
7410lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7411$lt_c_name_lib_hook\
7412" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7413" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7414" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7415
7416# Handle CRLF in mingw tool chain
7417opt_cr=
7418case $build_os in
7419mingw*)
7420  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7421  ;;
7422esac
7423
7424# Try without a prefix underscore, then with it.
7425for ac_symprfx in "" "_"; do
7426
7427  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7428  symxfrm="\\1 $ac_symprfx\\2 \\2"
7429
7430  # Write the raw and C identifiers.
7431  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7432    # Fake it for dumpbin and say T for any non-static function,
7433    # D for any global variable and I for any imported variable.
7434    # Also find C++ and __fastcall symbols from MSVC++,
7435    # which start with @ or ?.
7436    lt_cv_sys_global_symbol_pipe="$AWK '"\
7437"     {last_section=section; section=\$ 3};"\
7438"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7439"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7440"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7441"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7442"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7443"     \$ 0!~/External *\|/{next};"\
7444"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7445"     {if(hide[section]) next};"\
7446"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7447"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7448"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7449"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7450"     ' prfx=^$ac_symprfx"
7451  else
7452    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7453  fi
7454  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7455
7456  # Check to see that the pipe works correctly.
7457  pipe_works=no
7458
7459  rm -f conftest*
7460  cat > conftest.$ac_ext <<_LT_EOF
7461#ifdef __cplusplus
7462extern "C" {
7463#endif
7464char nm_test_var;
7465void nm_test_func(void);
7466void nm_test_func(void){}
7467#ifdef __cplusplus
7468}
7469#endif
7470int main(){nm_test_var='a';nm_test_func();return(0);}
7471_LT_EOF
7472
7473  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7474  (eval $ac_compile) 2>&5
7475  ac_status=$?
7476  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7477  test $ac_status = 0; }; then
7478    # Now try to grab the symbols.
7479    nlist=conftest.nm
7480    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7481  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7482  ac_status=$?
7483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7484  test $ac_status = 0; } && test -s "$nlist"; then
7485      # Try sorting and uniquifying the output.
7486      if sort "$nlist" | uniq > "$nlist"T; then
7487	mv -f "$nlist"T "$nlist"
7488      else
7489	rm -f "$nlist"T
7490      fi
7491
7492      # Make sure that we snagged all the symbols we need.
7493      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7494	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7495	  cat <<_LT_EOF > conftest.$ac_ext
7496/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7497#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7498/* DATA imports from DLLs on WIN32 can't be const, because runtime
7499   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7500# define LT_DLSYM_CONST
7501#elif defined __osf__
7502/* This system does not cope well with relocations in const data.  */
7503# define LT_DLSYM_CONST
7504#else
7505# define LT_DLSYM_CONST const
7506#endif
7507
7508#ifdef __cplusplus
7509extern "C" {
7510#endif
7511
7512_LT_EOF
7513	  # Now generate the symbol file.
7514	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7515
7516	  cat <<_LT_EOF >> conftest.$ac_ext
7517
7518/* The mapping between symbol names and symbols.  */
7519LT_DLSYM_CONST struct {
7520  const char *name;
7521  void       *address;
7522}
7523lt__PROGRAM__LTX_preloaded_symbols[] =
7524{
7525  { "@PROGRAM@", (void *) 0 },
7526_LT_EOF
7527	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7528	  cat <<\_LT_EOF >> conftest.$ac_ext
7529  {0, (void *) 0}
7530};
7531
7532/* This works around a problem in FreeBSD linker */
7533#ifdef FREEBSD_WORKAROUND
7534static const void *lt_preloaded_setup() {
7535  return lt__PROGRAM__LTX_preloaded_symbols;
7536}
7537#endif
7538
7539#ifdef __cplusplus
7540}
7541#endif
7542_LT_EOF
7543	  # Now try linking the two files.
7544	  mv conftest.$ac_objext conftstm.$ac_objext
7545	  lt_globsym_save_LIBS=$LIBS
7546	  lt_globsym_save_CFLAGS=$CFLAGS
7547	  LIBS=conftstm.$ac_objext
7548	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7549	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7550  (eval $ac_link) 2>&5
7551  ac_status=$?
7552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7553  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7554	    pipe_works=yes
7555	  fi
7556	  LIBS=$lt_globsym_save_LIBS
7557	  CFLAGS=$lt_globsym_save_CFLAGS
7558	else
7559	  echo "cannot find nm_test_func in $nlist" >&5
7560	fi
7561      else
7562	echo "cannot find nm_test_var in $nlist" >&5
7563      fi
7564    else
7565      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7566    fi
7567  else
7568    echo "$progname: failed program was:" >&5
7569    cat conftest.$ac_ext >&5
7570  fi
7571  rm -rf conftest* conftst*
7572
7573  # Do not use the global_symbol_pipe unless it works.
7574  if test yes = "$pipe_works"; then
7575    break
7576  else
7577    lt_cv_sys_global_symbol_pipe=
7578  fi
7579done
7580
7581fi
7582
7583if test -z "$lt_cv_sys_global_symbol_pipe"; then
7584  lt_cv_sys_global_symbol_to_cdecl=
7585fi
7586if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7588$as_echo "failed" >&6; }
7589else
7590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7591$as_echo "ok" >&6; }
7592fi
7593
7594# Response file support.
7595if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7596  nm_file_list_spec='@'
7597elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7598  nm_file_list_spec='@'
7599fi
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7638$as_echo_n "checking for sysroot... " >&6; }
7639
7640# Check whether --with-sysroot was given.
7641if test "${with_sysroot+set}" = set; then :
7642  withval=$with_sysroot;
7643else
7644  with_sysroot=no
7645fi
7646
7647
7648lt_sysroot=
7649case $with_sysroot in #(
7650 yes)
7651   if test yes = "$GCC"; then
7652     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7653   fi
7654   ;; #(
7655 /*)
7656   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7657   ;; #(
7658 no|'')
7659   ;; #(
7660 *)
7661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7662$as_echo "$with_sysroot" >&6; }
7663   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7664   ;;
7665esac
7666
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7668$as_echo "${lt_sysroot:-no}" >&6; }
7669
7670
7671
7672
7673
7674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7675$as_echo_n "checking for a working dd... " >&6; }
7676if ${ac_cv_path_lt_DD+:} false; then :
7677  $as_echo_n "(cached) " >&6
7678else
7679  printf 0123456789abcdef0123456789abcdef >conftest.i
7680cat conftest.i conftest.i >conftest2.i
7681: ${lt_DD:=$DD}
7682if test -z "$lt_DD"; then
7683  ac_path_lt_DD_found=false
7684  # Loop through the user's path and test for each of PROGNAME-LIST
7685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686for as_dir in $PATH
7687do
7688  IFS=$as_save_IFS
7689  test -z "$as_dir" && as_dir=.
7690    for ac_prog in dd; do
7691    for ac_exec_ext in '' $ac_executable_extensions; do
7692      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7693      as_fn_executable_p "$ac_path_lt_DD" || continue
7694if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7695  cmp -s conftest.i conftest.out \
7696  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7697fi
7698      $ac_path_lt_DD_found && break 3
7699    done
7700  done
7701  done
7702IFS=$as_save_IFS
7703  if test -z "$ac_cv_path_lt_DD"; then
7704    :
7705  fi
7706else
7707  ac_cv_path_lt_DD=$lt_DD
7708fi
7709
7710rm -f conftest.i conftest2.i conftest.out
7711fi
7712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7713$as_echo "$ac_cv_path_lt_DD" >&6; }
7714
7715
7716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7717$as_echo_n "checking how to truncate binary pipes... " >&6; }
7718if ${lt_cv_truncate_bin+:} false; then :
7719  $as_echo_n "(cached) " >&6
7720else
7721  printf 0123456789abcdef0123456789abcdef >conftest.i
7722cat conftest.i conftest.i >conftest2.i
7723lt_cv_truncate_bin=
7724if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7725  cmp -s conftest.i conftest.out \
7726  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7727fi
7728rm -f conftest.i conftest2.i conftest.out
7729test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7730fi
7731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7732$as_echo "$lt_cv_truncate_bin" >&6; }
7733
7734
7735
7736
7737
7738
7739
7740# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7741func_cc_basename ()
7742{
7743    for cc_temp in $*""; do
7744      case $cc_temp in
7745        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7746        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7747        \-*) ;;
7748        *) break;;
7749      esac
7750    done
7751    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7752}
7753
7754# Check whether --enable-libtool-lock was given.
7755if test "${enable_libtool_lock+set}" = set; then :
7756  enableval=$enable_libtool_lock;
7757fi
7758
7759test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7760
7761# Some flags need to be propagated to the compiler or linker for good
7762# libtool support.
7763case $host in
7764ia64-*-hpux*)
7765  # Find out what ABI is being produced by ac_compile, and set mode
7766  # options accordingly.
7767  echo 'int i;' > conftest.$ac_ext
7768  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7769  (eval $ac_compile) 2>&5
7770  ac_status=$?
7771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772  test $ac_status = 0; }; then
7773    case `/usr/bin/file conftest.$ac_objext` in
7774      *ELF-32*)
7775	HPUX_IA64_MODE=32
7776	;;
7777      *ELF-64*)
7778	HPUX_IA64_MODE=64
7779	;;
7780    esac
7781  fi
7782  rm -rf conftest*
7783  ;;
7784*-*-irix6*)
7785  # Find out what ABI is being produced by ac_compile, and set linker
7786  # options accordingly.
7787  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7788  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7789  (eval $ac_compile) 2>&5
7790  ac_status=$?
7791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7792  test $ac_status = 0; }; then
7793    if test yes = "$lt_cv_prog_gnu_ld"; then
7794      case `/usr/bin/file conftest.$ac_objext` in
7795	*32-bit*)
7796	  LD="${LD-ld} -melf32bsmip"
7797	  ;;
7798	*N32*)
7799	  LD="${LD-ld} -melf32bmipn32"
7800	  ;;
7801	*64-bit*)
7802	  LD="${LD-ld} -melf64bmip"
7803	;;
7804      esac
7805    else
7806      case `/usr/bin/file conftest.$ac_objext` in
7807	*32-bit*)
7808	  LD="${LD-ld} -32"
7809	  ;;
7810	*N32*)
7811	  LD="${LD-ld} -n32"
7812	  ;;
7813	*64-bit*)
7814	  LD="${LD-ld} -64"
7815	  ;;
7816      esac
7817    fi
7818  fi
7819  rm -rf conftest*
7820  ;;
7821
7822mips64*-*linux*)
7823  # Find out what ABI is being produced by ac_compile, and set linker
7824  # options accordingly.
7825  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7826  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7827  (eval $ac_compile) 2>&5
7828  ac_status=$?
7829  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7830  test $ac_status = 0; }; then
7831    emul=elf
7832    case `/usr/bin/file conftest.$ac_objext` in
7833      *32-bit*)
7834	emul="${emul}32"
7835	;;
7836      *64-bit*)
7837	emul="${emul}64"
7838	;;
7839    esac
7840    case `/usr/bin/file conftest.$ac_objext` in
7841      *MSB*)
7842	emul="${emul}btsmip"
7843	;;
7844      *LSB*)
7845	emul="${emul}ltsmip"
7846	;;
7847    esac
7848    case `/usr/bin/file conftest.$ac_objext` in
7849      *N32*)
7850	emul="${emul}n32"
7851	;;
7852    esac
7853    LD="${LD-ld} -m $emul"
7854  fi
7855  rm -rf conftest*
7856  ;;
7857
7858x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7859s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7860  # Find out what ABI is being produced by ac_compile, and set linker
7861  # options accordingly.  Note that the listed cases only cover the
7862  # situations where additional linker options are needed (such as when
7863  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7864  # vice versa); the common cases where no linker options are needed do
7865  # not appear in the list.
7866  echo 'int i;' > conftest.$ac_ext
7867  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7868  (eval $ac_compile) 2>&5
7869  ac_status=$?
7870  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7871  test $ac_status = 0; }; then
7872    case `/usr/bin/file conftest.o` in
7873      *32-bit*)
7874	case $host in
7875	  x86_64-*kfreebsd*-gnu)
7876	    LD="${LD-ld} -m elf_i386_fbsd"
7877	    ;;
7878	  x86_64-*linux*)
7879	    case `/usr/bin/file conftest.o` in
7880	      *x86-64*)
7881		LD="${LD-ld} -m elf32_x86_64"
7882		;;
7883	      *)
7884		LD="${LD-ld} -m elf_i386"
7885		;;
7886	    esac
7887	    ;;
7888	  powerpc64le-*linux*)
7889	    LD="${LD-ld} -m elf32lppclinux"
7890	    ;;
7891	  powerpc64-*linux*)
7892	    LD="${LD-ld} -m elf32ppclinux"
7893	    ;;
7894	  s390x-*linux*)
7895	    LD="${LD-ld} -m elf_s390"
7896	    ;;
7897	  sparc64-*linux*)
7898	    LD="${LD-ld} -m elf32_sparc"
7899	    ;;
7900	esac
7901	;;
7902      *64-bit*)
7903	case $host in
7904	  x86_64-*kfreebsd*-gnu)
7905	    LD="${LD-ld} -m elf_x86_64_fbsd"
7906	    ;;
7907	  x86_64-*linux*)
7908	    LD="${LD-ld} -m elf_x86_64"
7909	    ;;
7910	  powerpcle-*linux*)
7911	    LD="${LD-ld} -m elf64lppc"
7912	    ;;
7913	  powerpc-*linux*)
7914	    LD="${LD-ld} -m elf64ppc"
7915	    ;;
7916	  s390*-*linux*|s390*-*tpf*)
7917	    LD="${LD-ld} -m elf64_s390"
7918	    ;;
7919	  sparc*-*linux*)
7920	    LD="${LD-ld} -m elf64_sparc"
7921	    ;;
7922	esac
7923	;;
7924    esac
7925  fi
7926  rm -rf conftest*
7927  ;;
7928
7929*-*-sco3.2v5*)
7930  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7931  SAVE_CFLAGS=$CFLAGS
7932  CFLAGS="$CFLAGS -belf"
7933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7934$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7935if ${lt_cv_cc_needs_belf+:} false; then :
7936  $as_echo_n "(cached) " >&6
7937else
7938  ac_ext=c
7939ac_cpp='$CPP $CPPFLAGS'
7940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7942ac_compiler_gnu=$ac_cv_c_compiler_gnu
7943
7944     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945/* end confdefs.h.  */
7946
7947int
7948main ()
7949{
7950
7951  ;
7952  return 0;
7953}
7954_ACEOF
7955if ac_fn_c_try_link "$LINENO"; then :
7956  lt_cv_cc_needs_belf=yes
7957else
7958  lt_cv_cc_needs_belf=no
7959fi
7960rm -f core conftest.err conftest.$ac_objext \
7961    conftest$ac_exeext conftest.$ac_ext
7962     ac_ext=c
7963ac_cpp='$CPP $CPPFLAGS'
7964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966ac_compiler_gnu=$ac_cv_c_compiler_gnu
7967
7968fi
7969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7970$as_echo "$lt_cv_cc_needs_belf" >&6; }
7971  if test yes != "$lt_cv_cc_needs_belf"; then
7972    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7973    CFLAGS=$SAVE_CFLAGS
7974  fi
7975  ;;
7976*-*solaris*)
7977  # Find out what ABI is being produced by ac_compile, and set linker
7978  # options accordingly.
7979  echo 'int i;' > conftest.$ac_ext
7980  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7981  (eval $ac_compile) 2>&5
7982  ac_status=$?
7983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7984  test $ac_status = 0; }; then
7985    case `/usr/bin/file conftest.o` in
7986    *64-bit*)
7987      case $lt_cv_prog_gnu_ld in
7988      yes*)
7989        case $host in
7990        i?86-*-solaris*|x86_64-*-solaris*)
7991          LD="${LD-ld} -m elf_x86_64"
7992          ;;
7993        sparc*-*-solaris*)
7994          LD="${LD-ld} -m elf64_sparc"
7995          ;;
7996        esac
7997        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7998        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7999          LD=${LD-ld}_sol2
8000        fi
8001        ;;
8002      *)
8003	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8004	  LD="${LD-ld} -64"
8005	fi
8006	;;
8007      esac
8008      ;;
8009    esac
8010  fi
8011  rm -rf conftest*
8012  ;;
8013esac
8014
8015need_locks=$enable_libtool_lock
8016
8017if test -n "$ac_tool_prefix"; then
8018  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8019set dummy ${ac_tool_prefix}mt; ac_word=$2
8020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021$as_echo_n "checking for $ac_word... " >&6; }
8022if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8023  $as_echo_n "(cached) " >&6
8024else
8025  if test -n "$MANIFEST_TOOL"; then
8026  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8027else
8028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029for as_dir in $PATH
8030do
8031  IFS=$as_save_IFS
8032  test -z "$as_dir" && as_dir=.
8033    for ac_exec_ext in '' $ac_executable_extensions; do
8034  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8036    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037    break 2
8038  fi
8039done
8040  done
8041IFS=$as_save_IFS
8042
8043fi
8044fi
8045MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8046if test -n "$MANIFEST_TOOL"; then
8047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8048$as_echo "$MANIFEST_TOOL" >&6; }
8049else
8050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051$as_echo "no" >&6; }
8052fi
8053
8054
8055fi
8056if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8057  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8058  # Extract the first word of "mt", so it can be a program name with args.
8059set dummy mt; ac_word=$2
8060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8061$as_echo_n "checking for $ac_word... " >&6; }
8062if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8063  $as_echo_n "(cached) " >&6
8064else
8065  if test -n "$ac_ct_MANIFEST_TOOL"; then
8066  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8067else
8068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069for as_dir in $PATH
8070do
8071  IFS=$as_save_IFS
8072  test -z "$as_dir" && as_dir=.
8073    for ac_exec_ext in '' $ac_executable_extensions; do
8074  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8075    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8076    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077    break 2
8078  fi
8079done
8080  done
8081IFS=$as_save_IFS
8082
8083fi
8084fi
8085ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8086if test -n "$ac_ct_MANIFEST_TOOL"; then
8087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8088$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8089else
8090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091$as_echo "no" >&6; }
8092fi
8093
8094  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8095    MANIFEST_TOOL=":"
8096  else
8097    case $cross_compiling:$ac_tool_warned in
8098yes:)
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101ac_tool_warned=yes ;;
8102esac
8103    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8104  fi
8105else
8106  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8107fi
8108
8109test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8111$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8112if ${lt_cv_path_mainfest_tool+:} false; then :
8113  $as_echo_n "(cached) " >&6
8114else
8115  lt_cv_path_mainfest_tool=no
8116  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8117  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8118  cat conftest.err >&5
8119  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8120    lt_cv_path_mainfest_tool=yes
8121  fi
8122  rm -f conftest*
8123fi
8124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8125$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8126if test yes != "$lt_cv_path_mainfest_tool"; then
8127  MANIFEST_TOOL=:
8128fi
8129
8130
8131
8132
8133
8134
8135  case $host_os in
8136    rhapsody* | darwin*)
8137    if test -n "$ac_tool_prefix"; then
8138  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8139set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141$as_echo_n "checking for $ac_word... " >&6; }
8142if ${ac_cv_prog_DSYMUTIL+:} false; then :
8143  $as_echo_n "(cached) " >&6
8144else
8145  if test -n "$DSYMUTIL"; then
8146  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8147else
8148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149for as_dir in $PATH
8150do
8151  IFS=$as_save_IFS
8152  test -z "$as_dir" && as_dir=.
8153    for ac_exec_ext in '' $ac_executable_extensions; do
8154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157    break 2
8158  fi
8159done
8160  done
8161IFS=$as_save_IFS
8162
8163fi
8164fi
8165DSYMUTIL=$ac_cv_prog_DSYMUTIL
8166if test -n "$DSYMUTIL"; then
8167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8168$as_echo "$DSYMUTIL" >&6; }
8169else
8170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171$as_echo "no" >&6; }
8172fi
8173
8174
8175fi
8176if test -z "$ac_cv_prog_DSYMUTIL"; then
8177  ac_ct_DSYMUTIL=$DSYMUTIL
8178  # Extract the first word of "dsymutil", so it can be a program name with args.
8179set dummy dsymutil; ac_word=$2
8180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8181$as_echo_n "checking for $ac_word... " >&6; }
8182if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8183  $as_echo_n "(cached) " >&6
8184else
8185  if test -n "$ac_ct_DSYMUTIL"; then
8186  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8187else
8188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8189for as_dir in $PATH
8190do
8191  IFS=$as_save_IFS
8192  test -z "$as_dir" && as_dir=.
8193    for ac_exec_ext in '' $ac_executable_extensions; do
8194  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8195    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8196    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197    break 2
8198  fi
8199done
8200  done
8201IFS=$as_save_IFS
8202
8203fi
8204fi
8205ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8206if test -n "$ac_ct_DSYMUTIL"; then
8207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8208$as_echo "$ac_ct_DSYMUTIL" >&6; }
8209else
8210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211$as_echo "no" >&6; }
8212fi
8213
8214  if test "x$ac_ct_DSYMUTIL" = x; then
8215    DSYMUTIL=":"
8216  else
8217    case $cross_compiling:$ac_tool_warned in
8218yes:)
8219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8221ac_tool_warned=yes ;;
8222esac
8223    DSYMUTIL=$ac_ct_DSYMUTIL
8224  fi
8225else
8226  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8227fi
8228
8229    if test -n "$ac_tool_prefix"; then
8230  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8231set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233$as_echo_n "checking for $ac_word... " >&6; }
8234if ${ac_cv_prog_NMEDIT+:} false; then :
8235  $as_echo_n "(cached) " >&6
8236else
8237  if test -n "$NMEDIT"; then
8238  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8239else
8240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241for as_dir in $PATH
8242do
8243  IFS=$as_save_IFS
8244  test -z "$as_dir" && as_dir=.
8245    for ac_exec_ext in '' $ac_executable_extensions; do
8246  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8248    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249    break 2
8250  fi
8251done
8252  done
8253IFS=$as_save_IFS
8254
8255fi
8256fi
8257NMEDIT=$ac_cv_prog_NMEDIT
8258if test -n "$NMEDIT"; then
8259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8260$as_echo "$NMEDIT" >&6; }
8261else
8262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263$as_echo "no" >&6; }
8264fi
8265
8266
8267fi
8268if test -z "$ac_cv_prog_NMEDIT"; then
8269  ac_ct_NMEDIT=$NMEDIT
8270  # Extract the first word of "nmedit", so it can be a program name with args.
8271set dummy nmedit; ac_word=$2
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273$as_echo_n "checking for $ac_word... " >&6; }
8274if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8275  $as_echo_n "(cached) " >&6
8276else
8277  if test -n "$ac_ct_NMEDIT"; then
8278  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8279else
8280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281for as_dir in $PATH
8282do
8283  IFS=$as_save_IFS
8284  test -z "$as_dir" && as_dir=.
8285    for ac_exec_ext in '' $ac_executable_extensions; do
8286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289    break 2
8290  fi
8291done
8292  done
8293IFS=$as_save_IFS
8294
8295fi
8296fi
8297ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8298if test -n "$ac_ct_NMEDIT"; then
8299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8300$as_echo "$ac_ct_NMEDIT" >&6; }
8301else
8302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303$as_echo "no" >&6; }
8304fi
8305
8306  if test "x$ac_ct_NMEDIT" = x; then
8307    NMEDIT=":"
8308  else
8309    case $cross_compiling:$ac_tool_warned in
8310yes:)
8311{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8312$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8313ac_tool_warned=yes ;;
8314esac
8315    NMEDIT=$ac_ct_NMEDIT
8316  fi
8317else
8318  NMEDIT="$ac_cv_prog_NMEDIT"
8319fi
8320
8321    if test -n "$ac_tool_prefix"; then
8322  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8323set dummy ${ac_tool_prefix}lipo; ac_word=$2
8324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325$as_echo_n "checking for $ac_word... " >&6; }
8326if ${ac_cv_prog_LIPO+:} false; then :
8327  $as_echo_n "(cached) " >&6
8328else
8329  if test -n "$LIPO"; then
8330  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8331else
8332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333for as_dir in $PATH
8334do
8335  IFS=$as_save_IFS
8336  test -z "$as_dir" && as_dir=.
8337    for ac_exec_ext in '' $ac_executable_extensions; do
8338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341    break 2
8342  fi
8343done
8344  done
8345IFS=$as_save_IFS
8346
8347fi
8348fi
8349LIPO=$ac_cv_prog_LIPO
8350if test -n "$LIPO"; then
8351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8352$as_echo "$LIPO" >&6; }
8353else
8354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355$as_echo "no" >&6; }
8356fi
8357
8358
8359fi
8360if test -z "$ac_cv_prog_LIPO"; then
8361  ac_ct_LIPO=$LIPO
8362  # Extract the first word of "lipo", so it can be a program name with args.
8363set dummy lipo; ac_word=$2
8364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8365$as_echo_n "checking for $ac_word... " >&6; }
8366if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8367  $as_echo_n "(cached) " >&6
8368else
8369  if test -n "$ac_ct_LIPO"; then
8370  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8371else
8372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373for as_dir in $PATH
8374do
8375  IFS=$as_save_IFS
8376  test -z "$as_dir" && as_dir=.
8377    for ac_exec_ext in '' $ac_executable_extensions; do
8378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8379    ac_cv_prog_ac_ct_LIPO="lipo"
8380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381    break 2
8382  fi
8383done
8384  done
8385IFS=$as_save_IFS
8386
8387fi
8388fi
8389ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8390if test -n "$ac_ct_LIPO"; then
8391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8392$as_echo "$ac_ct_LIPO" >&6; }
8393else
8394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395$as_echo "no" >&6; }
8396fi
8397
8398  if test "x$ac_ct_LIPO" = x; then
8399    LIPO=":"
8400  else
8401    case $cross_compiling:$ac_tool_warned in
8402yes:)
8403{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8404$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8405ac_tool_warned=yes ;;
8406esac
8407    LIPO=$ac_ct_LIPO
8408  fi
8409else
8410  LIPO="$ac_cv_prog_LIPO"
8411fi
8412
8413    if test -n "$ac_tool_prefix"; then
8414  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8415set dummy ${ac_tool_prefix}otool; ac_word=$2
8416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417$as_echo_n "checking for $ac_word... " >&6; }
8418if ${ac_cv_prog_OTOOL+:} false; then :
8419  $as_echo_n "(cached) " >&6
8420else
8421  if test -n "$OTOOL"; then
8422  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8423else
8424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425for as_dir in $PATH
8426do
8427  IFS=$as_save_IFS
8428  test -z "$as_dir" && as_dir=.
8429    for ac_exec_ext in '' $ac_executable_extensions; do
8430  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433    break 2
8434  fi
8435done
8436  done
8437IFS=$as_save_IFS
8438
8439fi
8440fi
8441OTOOL=$ac_cv_prog_OTOOL
8442if test -n "$OTOOL"; then
8443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8444$as_echo "$OTOOL" >&6; }
8445else
8446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447$as_echo "no" >&6; }
8448fi
8449
8450
8451fi
8452if test -z "$ac_cv_prog_OTOOL"; then
8453  ac_ct_OTOOL=$OTOOL
8454  # Extract the first word of "otool", so it can be a program name with args.
8455set dummy otool; ac_word=$2
8456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8457$as_echo_n "checking for $ac_word... " >&6; }
8458if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8459  $as_echo_n "(cached) " >&6
8460else
8461  if test -n "$ac_ct_OTOOL"; then
8462  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8463else
8464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465for as_dir in $PATH
8466do
8467  IFS=$as_save_IFS
8468  test -z "$as_dir" && as_dir=.
8469    for ac_exec_ext in '' $ac_executable_extensions; do
8470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8471    ac_cv_prog_ac_ct_OTOOL="otool"
8472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473    break 2
8474  fi
8475done
8476  done
8477IFS=$as_save_IFS
8478
8479fi
8480fi
8481ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8482if test -n "$ac_ct_OTOOL"; then
8483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8484$as_echo "$ac_ct_OTOOL" >&6; }
8485else
8486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8487$as_echo "no" >&6; }
8488fi
8489
8490  if test "x$ac_ct_OTOOL" = x; then
8491    OTOOL=":"
8492  else
8493    case $cross_compiling:$ac_tool_warned in
8494yes:)
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8496$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8497ac_tool_warned=yes ;;
8498esac
8499    OTOOL=$ac_ct_OTOOL
8500  fi
8501else
8502  OTOOL="$ac_cv_prog_OTOOL"
8503fi
8504
8505    if test -n "$ac_tool_prefix"; then
8506  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8507set dummy ${ac_tool_prefix}otool64; ac_word=$2
8508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509$as_echo_n "checking for $ac_word... " >&6; }
8510if ${ac_cv_prog_OTOOL64+:} false; then :
8511  $as_echo_n "(cached) " >&6
8512else
8513  if test -n "$OTOOL64"; then
8514  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8515else
8516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517for as_dir in $PATH
8518do
8519  IFS=$as_save_IFS
8520  test -z "$as_dir" && as_dir=.
8521    for ac_exec_ext in '' $ac_executable_extensions; do
8522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525    break 2
8526  fi
8527done
8528  done
8529IFS=$as_save_IFS
8530
8531fi
8532fi
8533OTOOL64=$ac_cv_prog_OTOOL64
8534if test -n "$OTOOL64"; then
8535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8536$as_echo "$OTOOL64" >&6; }
8537else
8538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539$as_echo "no" >&6; }
8540fi
8541
8542
8543fi
8544if test -z "$ac_cv_prog_OTOOL64"; then
8545  ac_ct_OTOOL64=$OTOOL64
8546  # Extract the first word of "otool64", so it can be a program name with args.
8547set dummy otool64; ac_word=$2
8548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8549$as_echo_n "checking for $ac_word... " >&6; }
8550if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8551  $as_echo_n "(cached) " >&6
8552else
8553  if test -n "$ac_ct_OTOOL64"; then
8554  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8555else
8556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8557for as_dir in $PATH
8558do
8559  IFS=$as_save_IFS
8560  test -z "$as_dir" && as_dir=.
8561    for ac_exec_ext in '' $ac_executable_extensions; do
8562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8563    ac_cv_prog_ac_ct_OTOOL64="otool64"
8564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565    break 2
8566  fi
8567done
8568  done
8569IFS=$as_save_IFS
8570
8571fi
8572fi
8573ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8574if test -n "$ac_ct_OTOOL64"; then
8575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8576$as_echo "$ac_ct_OTOOL64" >&6; }
8577else
8578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8579$as_echo "no" >&6; }
8580fi
8581
8582  if test "x$ac_ct_OTOOL64" = x; then
8583    OTOOL64=":"
8584  else
8585    case $cross_compiling:$ac_tool_warned in
8586yes:)
8587{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8588$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8589ac_tool_warned=yes ;;
8590esac
8591    OTOOL64=$ac_ct_OTOOL64
8592  fi
8593else
8594  OTOOL64="$ac_cv_prog_OTOOL64"
8595fi
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8624$as_echo_n "checking for -single_module linker flag... " >&6; }
8625if ${lt_cv_apple_cc_single_mod+:} false; then :
8626  $as_echo_n "(cached) " >&6
8627else
8628  lt_cv_apple_cc_single_mod=no
8629      if test -z "$LT_MULTI_MODULE"; then
8630	# By default we will add the -single_module flag. You can override
8631	# by either setting the environment variable LT_MULTI_MODULE
8632	# non-empty at configure time, or by adding -multi_module to the
8633	# link flags.
8634	rm -rf libconftest.dylib*
8635	echo "int foo(void){return 1;}" > conftest.c
8636	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8637-dynamiclib -Wl,-single_module conftest.c" >&5
8638	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8639	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8640        _lt_result=$?
8641	# If there is a non-empty error log, and "single_module"
8642	# appears in it, assume the flag caused a linker warning
8643        if test -s conftest.err && $GREP single_module conftest.err; then
8644	  cat conftest.err >&5
8645	# Otherwise, if the output was created with a 0 exit code from
8646	# the compiler, it worked.
8647	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8648	  lt_cv_apple_cc_single_mod=yes
8649	else
8650	  cat conftest.err >&5
8651	fi
8652	rm -rf libconftest.dylib*
8653	rm -f conftest.*
8654      fi
8655fi
8656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8657$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8658
8659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8660$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8661if ${lt_cv_ld_exported_symbols_list+:} false; then :
8662  $as_echo_n "(cached) " >&6
8663else
8664  lt_cv_ld_exported_symbols_list=no
8665      save_LDFLAGS=$LDFLAGS
8666      echo "_main" > conftest.sym
8667      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8668      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669/* end confdefs.h.  */
8670
8671int
8672main ()
8673{
8674
8675  ;
8676  return 0;
8677}
8678_ACEOF
8679if ac_fn_c_try_link "$LINENO"; then :
8680  lt_cv_ld_exported_symbols_list=yes
8681else
8682  lt_cv_ld_exported_symbols_list=no
8683fi
8684rm -f core conftest.err conftest.$ac_objext \
8685    conftest$ac_exeext conftest.$ac_ext
8686	LDFLAGS=$save_LDFLAGS
8687
8688fi
8689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8690$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8691
8692    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8693$as_echo_n "checking for -force_load linker flag... " >&6; }
8694if ${lt_cv_ld_force_load+:} false; then :
8695  $as_echo_n "(cached) " >&6
8696else
8697  lt_cv_ld_force_load=no
8698      cat > conftest.c << _LT_EOF
8699int forced_loaded() { return 2;}
8700_LT_EOF
8701      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8702      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8703      echo "$AR cru libconftest.a conftest.o" >&5
8704      $AR cru libconftest.a conftest.o 2>&5
8705      echo "$RANLIB libconftest.a" >&5
8706      $RANLIB libconftest.a 2>&5
8707      cat > conftest.c << _LT_EOF
8708int main() { return 0;}
8709_LT_EOF
8710      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8711      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8712      _lt_result=$?
8713      if test -s conftest.err && $GREP force_load conftest.err; then
8714	cat conftest.err >&5
8715      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8716	lt_cv_ld_force_load=yes
8717      else
8718	cat conftest.err >&5
8719      fi
8720        rm -f conftest.err libconftest.a conftest conftest.c
8721        rm -rf conftest.dSYM
8722
8723fi
8724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8725$as_echo "$lt_cv_ld_force_load" >&6; }
8726    case $host_os in
8727    rhapsody* | darwin1.[012])
8728      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8729    darwin1.*)
8730      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8731    darwin*) # darwin 5.x on
8732      # if running on 10.5 or later, the deployment target defaults
8733      # to the OS version, if on x86, and 10.4, the deployment
8734      # target defaults to 10.4. Don't you love it?
8735      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8736	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8737	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8738	10.[012][,.]*)
8739	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8740	10.*)
8741	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8742      esac
8743    ;;
8744  esac
8745    if test yes = "$lt_cv_apple_cc_single_mod"; then
8746      _lt_dar_single_mod='$single_module'
8747    fi
8748    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8749      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8750    else
8751      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8752    fi
8753    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8754      _lt_dsymutil='~$DSYMUTIL $lib || :'
8755    else
8756      _lt_dsymutil=
8757    fi
8758    ;;
8759  esac
8760
8761# func_munge_path_list VARIABLE PATH
8762# -----------------------------------
8763# VARIABLE is name of variable containing _space_ separated list of
8764# directories to be munged by the contents of PATH, which is string
8765# having a format:
8766# "DIR[:DIR]:"
8767#       string "DIR[ DIR]" will be prepended to VARIABLE
8768# ":DIR[:DIR]"
8769#       string "DIR[ DIR]" will be appended to VARIABLE
8770# "DIRP[:DIRP]::[DIRA:]DIRA"
8771#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8772#       "DIRA[ DIRA]" will be appended to VARIABLE
8773# "DIR[:DIR]"
8774#       VARIABLE will be replaced by "DIR[ DIR]"
8775func_munge_path_list ()
8776{
8777    case x$2 in
8778    x)
8779        ;;
8780    *:)
8781        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8782        ;;
8783    x:*)
8784        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8785        ;;
8786    *::*)
8787        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8788        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8789        ;;
8790    *)
8791        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8792        ;;
8793    esac
8794}
8795
8796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8797$as_echo_n "checking for ANSI C header files... " >&6; }
8798if ${ac_cv_header_stdc+:} false; then :
8799  $as_echo_n "(cached) " >&6
8800else
8801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802/* end confdefs.h.  */
8803#include <stdlib.h>
8804#include <stdarg.h>
8805#include <string.h>
8806#include <float.h>
8807
8808int
8809main ()
8810{
8811
8812  ;
8813  return 0;
8814}
8815_ACEOF
8816if ac_fn_c_try_compile "$LINENO"; then :
8817  ac_cv_header_stdc=yes
8818else
8819  ac_cv_header_stdc=no
8820fi
8821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8822
8823if test $ac_cv_header_stdc = yes; then
8824  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826/* end confdefs.h.  */
8827#include <string.h>
8828
8829_ACEOF
8830if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8831  $EGREP "memchr" >/dev/null 2>&1; then :
8832
8833else
8834  ac_cv_header_stdc=no
8835fi
8836rm -f conftest*
8837
8838fi
8839
8840if test $ac_cv_header_stdc = yes; then
8841  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843/* end confdefs.h.  */
8844#include <stdlib.h>
8845
8846_ACEOF
8847if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8848  $EGREP "free" >/dev/null 2>&1; then :
8849
8850else
8851  ac_cv_header_stdc=no
8852fi
8853rm -f conftest*
8854
8855fi
8856
8857if test $ac_cv_header_stdc = yes; then
8858  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8859  if test "$cross_compiling" = yes; then :
8860  :
8861else
8862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863/* end confdefs.h.  */
8864#include <ctype.h>
8865#include <stdlib.h>
8866#if ((' ' & 0x0FF) == 0x020)
8867# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8868# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8869#else
8870# define ISLOWER(c) \
8871		   (('a' <= (c) && (c) <= 'i') \
8872		     || ('j' <= (c) && (c) <= 'r') \
8873		     || ('s' <= (c) && (c) <= 'z'))
8874# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8875#endif
8876
8877#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8878int
8879main ()
8880{
8881  int i;
8882  for (i = 0; i < 256; i++)
8883    if (XOR (islower (i), ISLOWER (i))
8884	|| toupper (i) != TOUPPER (i))
8885      return 2;
8886  return 0;
8887}
8888_ACEOF
8889if ac_fn_c_try_run "$LINENO"; then :
8890
8891else
8892  ac_cv_header_stdc=no
8893fi
8894rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8895  conftest.$ac_objext conftest.beam conftest.$ac_ext
8896fi
8897
8898fi
8899fi
8900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8901$as_echo "$ac_cv_header_stdc" >&6; }
8902if test $ac_cv_header_stdc = yes; then
8903
8904$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8905
8906fi
8907
8908# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8909for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8910		  inttypes.h stdint.h unistd.h
8911do :
8912  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8913ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8914"
8915if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8916  cat >>confdefs.h <<_ACEOF
8917#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8918_ACEOF
8919
8920fi
8921
8922done
8923
8924
8925for ac_header in dlfcn.h
8926do :
8927  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8928"
8929if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8930  cat >>confdefs.h <<_ACEOF
8931#define HAVE_DLFCN_H 1
8932_ACEOF
8933
8934fi
8935
8936done
8937
8938
8939
8940
8941
8942# Set options
8943
8944
8945
8946        enable_dlopen=no
8947
8948
8949
8950            # Check whether --enable-shared was given.
8951if test "${enable_shared+set}" = set; then :
8952  enableval=$enable_shared; p=${PACKAGE-default}
8953    case $enableval in
8954    yes) enable_shared=yes ;;
8955    no) enable_shared=no ;;
8956    *)
8957      enable_shared=no
8958      # Look at the argument we got.  We use all the common list separators.
8959      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8960      for pkg in $enableval; do
8961	IFS=$lt_save_ifs
8962	if test "X$pkg" = "X$p"; then
8963	  enable_shared=yes
8964	fi
8965      done
8966      IFS=$lt_save_ifs
8967      ;;
8968    esac
8969else
8970  enable_shared=yes
8971fi
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981  # Check whether --enable-static was given.
8982if test "${enable_static+set}" = set; then :
8983  enableval=$enable_static; p=${PACKAGE-default}
8984    case $enableval in
8985    yes) enable_static=yes ;;
8986    no) enable_static=no ;;
8987    *)
8988     enable_static=no
8989      # Look at the argument we got.  We use all the common list separators.
8990      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8991      for pkg in $enableval; do
8992	IFS=$lt_save_ifs
8993	if test "X$pkg" = "X$p"; then
8994	  enable_static=yes
8995	fi
8996      done
8997      IFS=$lt_save_ifs
8998      ;;
8999    esac
9000else
9001  enable_static=yes
9002fi
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013# Check whether --with-pic was given.
9014if test "${with_pic+set}" = set; then :
9015  withval=$with_pic; lt_p=${PACKAGE-default}
9016    case $withval in
9017    yes|no) pic_mode=$withval ;;
9018    *)
9019      pic_mode=default
9020      # Look at the argument we got.  We use all the common list separators.
9021      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9022      for lt_pkg in $withval; do
9023	IFS=$lt_save_ifs
9024	if test "X$lt_pkg" = "X$lt_p"; then
9025	  pic_mode=yes
9026	fi
9027      done
9028      IFS=$lt_save_ifs
9029      ;;
9030    esac
9031else
9032  pic_mode=default
9033fi
9034
9035
9036
9037
9038
9039
9040
9041
9042  # Check whether --enable-fast-install was given.
9043if test "${enable_fast_install+set}" = set; then :
9044  enableval=$enable_fast_install; p=${PACKAGE-default}
9045    case $enableval in
9046    yes) enable_fast_install=yes ;;
9047    no) enable_fast_install=no ;;
9048    *)
9049      enable_fast_install=no
9050      # Look at the argument we got.  We use all the common list separators.
9051      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9052      for pkg in $enableval; do
9053	IFS=$lt_save_ifs
9054	if test "X$pkg" = "X$p"; then
9055	  enable_fast_install=yes
9056	fi
9057      done
9058      IFS=$lt_save_ifs
9059      ;;
9060    esac
9061else
9062  enable_fast_install=yes
9063fi
9064
9065
9066
9067
9068
9069
9070
9071
9072  shared_archive_member_spec=
9073case $host,$enable_shared in
9074power*-*-aix[5-9]*,yes)
9075  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9076$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9077
9078# Check whether --with-aix-soname was given.
9079if test "${with_aix_soname+set}" = set; then :
9080  withval=$with_aix_soname; case $withval in
9081    aix|svr4|both)
9082      ;;
9083    *)
9084      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9085      ;;
9086    esac
9087    lt_cv_with_aix_soname=$with_aix_soname
9088else
9089  if ${lt_cv_with_aix_soname+:} false; then :
9090  $as_echo_n "(cached) " >&6
9091else
9092  lt_cv_with_aix_soname=aix
9093fi
9094
9095    with_aix_soname=$lt_cv_with_aix_soname
9096fi
9097
9098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9099$as_echo "$with_aix_soname" >&6; }
9100  if test aix != "$with_aix_soname"; then
9101    # For the AIX way of multilib, we name the shared archive member
9102    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9103    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9104    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9105    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9106    if test 64 = "${OBJECT_MODE-32}"; then
9107      shared_archive_member_spec=shr_64
9108    else
9109      shared_archive_member_spec=shr
9110    fi
9111  fi
9112  ;;
9113*)
9114  with_aix_soname=aix
9115  ;;
9116esac
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127# This can be used to rebuild libtool when needed
9128LIBTOOL_DEPS=$ltmain
9129
9130# Always use our own libtool.
9131LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162test -z "$LN_S" && LN_S="ln -s"
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177if test -n "${ZSH_VERSION+set}"; then
9178   setopt NO_GLOB_SUBST
9179fi
9180
9181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9182$as_echo_n "checking for objdir... " >&6; }
9183if ${lt_cv_objdir+:} false; then :
9184  $as_echo_n "(cached) " >&6
9185else
9186  rm -f .libs 2>/dev/null
9187mkdir .libs 2>/dev/null
9188if test -d .libs; then
9189  lt_cv_objdir=.libs
9190else
9191  # MS-DOS does not allow filenames that begin with a dot.
9192  lt_cv_objdir=_libs
9193fi
9194rmdir .libs 2>/dev/null
9195fi
9196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9197$as_echo "$lt_cv_objdir" >&6; }
9198objdir=$lt_cv_objdir
9199
9200
9201
9202
9203
9204cat >>confdefs.h <<_ACEOF
9205#define LT_OBJDIR "$lt_cv_objdir/"
9206_ACEOF
9207
9208
9209
9210
9211case $host_os in
9212aix3*)
9213  # AIX sometimes has problems with the GCC collect2 program.  For some
9214  # reason, if we set the COLLECT_NAMES environment variable, the problems
9215  # vanish in a puff of smoke.
9216  if test set != "${COLLECT_NAMES+set}"; then
9217    COLLECT_NAMES=
9218    export COLLECT_NAMES
9219  fi
9220  ;;
9221esac
9222
9223# Global variables:
9224ofile=libtool
9225can_build_shared=yes
9226
9227# All known linkers require a '.a' archive for static linking (except MSVC,
9228# which needs '.lib').
9229libext=a
9230
9231with_gnu_ld=$lt_cv_prog_gnu_ld
9232
9233old_CC=$CC
9234old_CFLAGS=$CFLAGS
9235
9236# Set sane defaults for various variables
9237test -z "$CC" && CC=cc
9238test -z "$LTCC" && LTCC=$CC
9239test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9240test -z "$LD" && LD=ld
9241test -z "$ac_objext" && ac_objext=o
9242
9243func_cc_basename $compiler
9244cc_basename=$func_cc_basename_result
9245
9246
9247# Only perform the check for file, if the check method requires it
9248test -z "$MAGIC_CMD" && MAGIC_CMD=file
9249case $deplibs_check_method in
9250file_magic*)
9251  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9253$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9254if ${lt_cv_path_MAGIC_CMD+:} false; then :
9255  $as_echo_n "(cached) " >&6
9256else
9257  case $MAGIC_CMD in
9258[\\/*] |  ?:[\\/]*)
9259  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9260  ;;
9261*)
9262  lt_save_MAGIC_CMD=$MAGIC_CMD
9263  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9264  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9265  for ac_dir in $ac_dummy; do
9266    IFS=$lt_save_ifs
9267    test -z "$ac_dir" && ac_dir=.
9268    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9269      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9270      if test -n "$file_magic_test_file"; then
9271	case $deplibs_check_method in
9272	"file_magic "*)
9273	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9274	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9275	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9276	    $EGREP "$file_magic_regex" > /dev/null; then
9277	    :
9278	  else
9279	    cat <<_LT_EOF 1>&2
9280
9281*** Warning: the command libtool uses to detect shared libraries,
9282*** $file_magic_cmd, produces output that libtool cannot recognize.
9283*** The result is that libtool may fail to recognize shared libraries
9284*** as such.  This will affect the creation of libtool libraries that
9285*** depend on shared libraries, but programs linked with such libtool
9286*** libraries will work regardless of this problem.  Nevertheless, you
9287*** may want to report the problem to your system manager and/or to
9288*** bug-libtool@gnu.org
9289
9290_LT_EOF
9291	  fi ;;
9292	esac
9293      fi
9294      break
9295    fi
9296  done
9297  IFS=$lt_save_ifs
9298  MAGIC_CMD=$lt_save_MAGIC_CMD
9299  ;;
9300esac
9301fi
9302
9303MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9304if test -n "$MAGIC_CMD"; then
9305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9306$as_echo "$MAGIC_CMD" >&6; }
9307else
9308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9309$as_echo "no" >&6; }
9310fi
9311
9312
9313
9314
9315
9316if test -z "$lt_cv_path_MAGIC_CMD"; then
9317  if test -n "$ac_tool_prefix"; then
9318    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9319$as_echo_n "checking for file... " >&6; }
9320if ${lt_cv_path_MAGIC_CMD+:} false; then :
9321  $as_echo_n "(cached) " >&6
9322else
9323  case $MAGIC_CMD in
9324[\\/*] |  ?:[\\/]*)
9325  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9326  ;;
9327*)
9328  lt_save_MAGIC_CMD=$MAGIC_CMD
9329  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9330  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9331  for ac_dir in $ac_dummy; do
9332    IFS=$lt_save_ifs
9333    test -z "$ac_dir" && ac_dir=.
9334    if test -f "$ac_dir/file"; then
9335      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9336      if test -n "$file_magic_test_file"; then
9337	case $deplibs_check_method in
9338	"file_magic "*)
9339	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9340	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9341	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9342	    $EGREP "$file_magic_regex" > /dev/null; then
9343	    :
9344	  else
9345	    cat <<_LT_EOF 1>&2
9346
9347*** Warning: the command libtool uses to detect shared libraries,
9348*** $file_magic_cmd, produces output that libtool cannot recognize.
9349*** The result is that libtool may fail to recognize shared libraries
9350*** as such.  This will affect the creation of libtool libraries that
9351*** depend on shared libraries, but programs linked with such libtool
9352*** libraries will work regardless of this problem.  Nevertheless, you
9353*** may want to report the problem to your system manager and/or to
9354*** bug-libtool@gnu.org
9355
9356_LT_EOF
9357	  fi ;;
9358	esac
9359      fi
9360      break
9361    fi
9362  done
9363  IFS=$lt_save_ifs
9364  MAGIC_CMD=$lt_save_MAGIC_CMD
9365  ;;
9366esac
9367fi
9368
9369MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9370if test -n "$MAGIC_CMD"; then
9371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9372$as_echo "$MAGIC_CMD" >&6; }
9373else
9374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9375$as_echo "no" >&6; }
9376fi
9377
9378
9379  else
9380    MAGIC_CMD=:
9381  fi
9382fi
9383
9384  fi
9385  ;;
9386esac
9387
9388# Use C for the default configuration in the libtool script
9389
9390lt_save_CC=$CC
9391ac_ext=c
9392ac_cpp='$CPP $CPPFLAGS'
9393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9395ac_compiler_gnu=$ac_cv_c_compiler_gnu
9396
9397
9398# Source file extension for C test sources.
9399ac_ext=c
9400
9401# Object file extension for compiled C test sources.
9402objext=o
9403objext=$objext
9404
9405# Code to be used in simple compile tests
9406lt_simple_compile_test_code="int some_variable = 0;"
9407
9408# Code to be used in simple link tests
9409lt_simple_link_test_code='int main(){return(0);}'
9410
9411
9412
9413
9414
9415
9416
9417# If no C compiler was specified, use CC.
9418LTCC=${LTCC-"$CC"}
9419
9420# If no C compiler flags were specified, use CFLAGS.
9421LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9422
9423# Allow CC to be a program name with arguments.
9424compiler=$CC
9425
9426# Save the default compiler, since it gets overwritten when the other
9427# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9428compiler_DEFAULT=$CC
9429
9430# save warnings/boilerplate of simple test code
9431ac_outfile=conftest.$ac_objext
9432echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9433eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9434_lt_compiler_boilerplate=`cat conftest.err`
9435$RM conftest*
9436
9437ac_outfile=conftest.$ac_objext
9438echo "$lt_simple_link_test_code" >conftest.$ac_ext
9439eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9440_lt_linker_boilerplate=`cat conftest.err`
9441$RM -r conftest*
9442
9443
9444## CAVEAT EMPTOR:
9445## There is no encapsulation within the following macros, do not change
9446## the running order or otherwise move them around unless you know exactly
9447## what you are doing...
9448if test -n "$compiler"; then
9449
9450lt_prog_compiler_no_builtin_flag=
9451
9452if test yes = "$GCC"; then
9453  case $cc_basename in
9454  nvcc*)
9455    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9456  *)
9457    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9458  esac
9459
9460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9461$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9462if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9463  $as_echo_n "(cached) " >&6
9464else
9465  lt_cv_prog_compiler_rtti_exceptions=no
9466   ac_outfile=conftest.$ac_objext
9467   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9468   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9469   # Insert the option either (1) after the last *FLAGS variable, or
9470   # (2) before a word containing "conftest.", or (3) at the end.
9471   # Note that $ac_compile itself does not contain backslashes and begins
9472   # with a dollar sign (not a hyphen), so the echo should work correctly.
9473   # The option is referenced via a variable to avoid confusing sed.
9474   lt_compile=`echo "$ac_compile" | $SED \
9475   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9476   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9477   -e 's:$: $lt_compiler_flag:'`
9478   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9479   (eval "$lt_compile" 2>conftest.err)
9480   ac_status=$?
9481   cat conftest.err >&5
9482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483   if (exit $ac_status) && test -s "$ac_outfile"; then
9484     # The compiler can only warn and ignore the option if not recognized
9485     # So say no if there are warnings other than the usual output.
9486     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9487     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9488     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9489       lt_cv_prog_compiler_rtti_exceptions=yes
9490     fi
9491   fi
9492   $RM conftest*
9493
9494fi
9495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9496$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9497
9498if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9499    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9500else
9501    :
9502fi
9503
9504fi
9505
9506
9507
9508
9509
9510
9511  lt_prog_compiler_wl=
9512lt_prog_compiler_pic=
9513lt_prog_compiler_static=
9514
9515
9516  if test yes = "$GCC"; then
9517    lt_prog_compiler_wl='-Wl,'
9518    lt_prog_compiler_static='-static'
9519
9520    case $host_os in
9521      aix*)
9522      # All AIX code is PIC.
9523      if test ia64 = "$host_cpu"; then
9524	# AIX 5 now supports IA64 processor
9525	lt_prog_compiler_static='-Bstatic'
9526      fi
9527      lt_prog_compiler_pic='-fPIC'
9528      ;;
9529
9530    amigaos*)
9531      case $host_cpu in
9532      powerpc)
9533            # see comment about AmigaOS4 .so support
9534            lt_prog_compiler_pic='-fPIC'
9535        ;;
9536      m68k)
9537            # FIXME: we need at least 68020 code to build shared libraries, but
9538            # adding the '-m68020' flag to GCC prevents building anything better,
9539            # like '-m68040'.
9540            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9541        ;;
9542      esac
9543      ;;
9544
9545    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9546      # PIC is the default for these OSes.
9547      ;;
9548
9549    mingw* | cygwin* | pw32* | os2* | cegcc*)
9550      # This hack is so that the source file can tell whether it is being
9551      # built for inclusion in a dll (and should export symbols for example).
9552      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9553      # (--disable-auto-import) libraries
9554      lt_prog_compiler_pic='-DDLL_EXPORT'
9555      case $host_os in
9556      os2*)
9557	lt_prog_compiler_static='$wl-static'
9558	;;
9559      esac
9560      ;;
9561
9562    darwin* | rhapsody*)
9563      # PIC is the default on this platform
9564      # Common symbols not allowed in MH_DYLIB files
9565      lt_prog_compiler_pic='-fno-common'
9566      ;;
9567
9568    haiku*)
9569      # PIC is the default for Haiku.
9570      # The "-static" flag exists, but is broken.
9571      lt_prog_compiler_static=
9572      ;;
9573
9574    hpux*)
9575      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9576      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9577      # sets the default TLS model and affects inlining.
9578      case $host_cpu in
9579      hppa*64*)
9580	# +Z the default
9581	;;
9582      *)
9583	lt_prog_compiler_pic='-fPIC'
9584	;;
9585      esac
9586      ;;
9587
9588    interix[3-9]*)
9589      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9590      # Instead, we relocate shared libraries at runtime.
9591      ;;
9592
9593    msdosdjgpp*)
9594      # Just because we use GCC doesn't mean we suddenly get shared libraries
9595      # on systems that don't support them.
9596      lt_prog_compiler_can_build_shared=no
9597      enable_shared=no
9598      ;;
9599
9600    *nto* | *qnx*)
9601      # QNX uses GNU C++, but need to define -shared option too, otherwise
9602      # it will coredump.
9603      lt_prog_compiler_pic='-fPIC -shared'
9604      ;;
9605
9606    sysv4*MP*)
9607      if test -d /usr/nec; then
9608	lt_prog_compiler_pic=-Kconform_pic
9609      fi
9610      ;;
9611
9612    *)
9613      lt_prog_compiler_pic='-fPIC'
9614      ;;
9615    esac
9616
9617    case $cc_basename in
9618    nvcc*) # Cuda Compiler Driver 2.2
9619      lt_prog_compiler_wl='-Xlinker '
9620      if test -n "$lt_prog_compiler_pic"; then
9621        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9622      fi
9623      ;;
9624    esac
9625  else
9626    # PORTME Check for flag to pass linker flags through the system compiler.
9627    case $host_os in
9628    aix*)
9629      lt_prog_compiler_wl='-Wl,'
9630      if test ia64 = "$host_cpu"; then
9631	# AIX 5 now supports IA64 processor
9632	lt_prog_compiler_static='-Bstatic'
9633      else
9634	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9635      fi
9636      ;;
9637
9638    darwin* | rhapsody*)
9639      # PIC is the default on this platform
9640      # Common symbols not allowed in MH_DYLIB files
9641      lt_prog_compiler_pic='-fno-common'
9642      case $cc_basename in
9643      nagfor*)
9644        # NAG Fortran compiler
9645        lt_prog_compiler_wl='-Wl,-Wl,,'
9646        lt_prog_compiler_pic='-PIC'
9647        lt_prog_compiler_static='-Bstatic'
9648        ;;
9649      esac
9650      ;;
9651
9652    mingw* | cygwin* | pw32* | os2* | cegcc*)
9653      # This hack is so that the source file can tell whether it is being
9654      # built for inclusion in a dll (and should export symbols for example).
9655      lt_prog_compiler_pic='-DDLL_EXPORT'
9656      case $host_os in
9657      os2*)
9658	lt_prog_compiler_static='$wl-static'
9659	;;
9660      esac
9661      ;;
9662
9663    hpux9* | hpux10* | hpux11*)
9664      lt_prog_compiler_wl='-Wl,'
9665      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9666      # not for PA HP-UX.
9667      case $host_cpu in
9668      hppa*64*|ia64*)
9669	# +Z the default
9670	;;
9671      *)
9672	lt_prog_compiler_pic='+Z'
9673	;;
9674      esac
9675      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9676      lt_prog_compiler_static='$wl-a ${wl}archive'
9677      ;;
9678
9679    irix5* | irix6* | nonstopux*)
9680      lt_prog_compiler_wl='-Wl,'
9681      # PIC (with -KPIC) is the default.
9682      lt_prog_compiler_static='-non_shared'
9683      ;;
9684
9685    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9686      case $cc_basename in
9687      # old Intel for x86_64, which still supported -KPIC.
9688      ecc*)
9689	lt_prog_compiler_wl='-Wl,'
9690	lt_prog_compiler_pic='-KPIC'
9691	lt_prog_compiler_static='-static'
9692        ;;
9693      # icc used to be incompatible with GCC.
9694      # ICC 10 doesn't accept -KPIC any more.
9695      icc* | ifort*)
9696	lt_prog_compiler_wl='-Wl,'
9697	lt_prog_compiler_pic='-fPIC'
9698	lt_prog_compiler_static='-static'
9699        ;;
9700      # Lahey Fortran 8.1.
9701      lf95*)
9702	lt_prog_compiler_wl='-Wl,'
9703	lt_prog_compiler_pic='--shared'
9704	lt_prog_compiler_static='--static'
9705	;;
9706      nagfor*)
9707	# NAG Fortran compiler
9708	lt_prog_compiler_wl='-Wl,-Wl,,'
9709	lt_prog_compiler_pic='-PIC'
9710	lt_prog_compiler_static='-Bstatic'
9711	;;
9712      tcc*)
9713	# Fabrice Bellard et al's Tiny C Compiler
9714	lt_prog_compiler_wl='-Wl,'
9715	lt_prog_compiler_pic='-fPIC'
9716	lt_prog_compiler_static='-static'
9717	;;
9718      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9719        # Portland Group compilers (*not* the Pentium gcc compiler,
9720	# which looks to be a dead project)
9721	lt_prog_compiler_wl='-Wl,'
9722	lt_prog_compiler_pic='-fpic'
9723	lt_prog_compiler_static='-Bstatic'
9724        ;;
9725      ccc*)
9726        lt_prog_compiler_wl='-Wl,'
9727        # All Alpha code is PIC.
9728        lt_prog_compiler_static='-non_shared'
9729        ;;
9730      xl* | bgxl* | bgf* | mpixl*)
9731	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9732	lt_prog_compiler_wl='-Wl,'
9733	lt_prog_compiler_pic='-qpic'
9734	lt_prog_compiler_static='-qstaticlink'
9735	;;
9736      *)
9737	case `$CC -V 2>&1 | sed 5q` in
9738	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9739	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9740	  lt_prog_compiler_pic='-KPIC'
9741	  lt_prog_compiler_static='-Bstatic'
9742	  lt_prog_compiler_wl=''
9743	  ;;
9744	*Sun\ F* | *Sun*Fortran*)
9745	  lt_prog_compiler_pic='-KPIC'
9746	  lt_prog_compiler_static='-Bstatic'
9747	  lt_prog_compiler_wl='-Qoption ld '
9748	  ;;
9749	*Sun\ C*)
9750	  # Sun C 5.9
9751	  lt_prog_compiler_pic='-KPIC'
9752	  lt_prog_compiler_static='-Bstatic'
9753	  lt_prog_compiler_wl='-Wl,'
9754	  ;;
9755        *Intel*\ [CF]*Compiler*)
9756	  lt_prog_compiler_wl='-Wl,'
9757	  lt_prog_compiler_pic='-fPIC'
9758	  lt_prog_compiler_static='-static'
9759	  ;;
9760	*Portland\ Group*)
9761	  lt_prog_compiler_wl='-Wl,'
9762	  lt_prog_compiler_pic='-fpic'
9763	  lt_prog_compiler_static='-Bstatic'
9764	  ;;
9765	esac
9766	;;
9767      esac
9768      ;;
9769
9770    newsos6)
9771      lt_prog_compiler_pic='-KPIC'
9772      lt_prog_compiler_static='-Bstatic'
9773      ;;
9774
9775    *nto* | *qnx*)
9776      # QNX uses GNU C++, but need to define -shared option too, otherwise
9777      # it will coredump.
9778      lt_prog_compiler_pic='-fPIC -shared'
9779      ;;
9780
9781    osf3* | osf4* | osf5*)
9782      lt_prog_compiler_wl='-Wl,'
9783      # All OSF/1 code is PIC.
9784      lt_prog_compiler_static='-non_shared'
9785      ;;
9786
9787    rdos*)
9788      lt_prog_compiler_static='-non_shared'
9789      ;;
9790
9791    solaris*)
9792      lt_prog_compiler_pic='-KPIC'
9793      lt_prog_compiler_static='-Bstatic'
9794      case $cc_basename in
9795      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9796	lt_prog_compiler_wl='-Qoption ld ';;
9797      *)
9798	lt_prog_compiler_wl='-Wl,';;
9799      esac
9800      ;;
9801
9802    sunos4*)
9803      lt_prog_compiler_wl='-Qoption ld '
9804      lt_prog_compiler_pic='-PIC'
9805      lt_prog_compiler_static='-Bstatic'
9806      ;;
9807
9808    sysv4 | sysv4.2uw2* | sysv4.3*)
9809      lt_prog_compiler_wl='-Wl,'
9810      lt_prog_compiler_pic='-KPIC'
9811      lt_prog_compiler_static='-Bstatic'
9812      ;;
9813
9814    sysv4*MP*)
9815      if test -d /usr/nec; then
9816	lt_prog_compiler_pic='-Kconform_pic'
9817	lt_prog_compiler_static='-Bstatic'
9818      fi
9819      ;;
9820
9821    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9822      lt_prog_compiler_wl='-Wl,'
9823      lt_prog_compiler_pic='-KPIC'
9824      lt_prog_compiler_static='-Bstatic'
9825      ;;
9826
9827    unicos*)
9828      lt_prog_compiler_wl='-Wl,'
9829      lt_prog_compiler_can_build_shared=no
9830      ;;
9831
9832    uts4*)
9833      lt_prog_compiler_pic='-pic'
9834      lt_prog_compiler_static='-Bstatic'
9835      ;;
9836
9837    *)
9838      lt_prog_compiler_can_build_shared=no
9839      ;;
9840    esac
9841  fi
9842
9843case $host_os in
9844  # For platforms that do not support PIC, -DPIC is meaningless:
9845  *djgpp*)
9846    lt_prog_compiler_pic=
9847    ;;
9848  *)
9849    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9850    ;;
9851esac
9852
9853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9854$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9855if ${lt_cv_prog_compiler_pic+:} false; then :
9856  $as_echo_n "(cached) " >&6
9857else
9858  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9859fi
9860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9861$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9862lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9863
9864#
9865# Check to make sure the PIC flag actually works.
9866#
9867if test -n "$lt_prog_compiler_pic"; then
9868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9869$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9870if ${lt_cv_prog_compiler_pic_works+:} false; then :
9871  $as_echo_n "(cached) " >&6
9872else
9873  lt_cv_prog_compiler_pic_works=no
9874   ac_outfile=conftest.$ac_objext
9875   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9876   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9877   # Insert the option either (1) after the last *FLAGS variable, or
9878   # (2) before a word containing "conftest.", or (3) at the end.
9879   # Note that $ac_compile itself does not contain backslashes and begins
9880   # with a dollar sign (not a hyphen), so the echo should work correctly.
9881   # The option is referenced via a variable to avoid confusing sed.
9882   lt_compile=`echo "$ac_compile" | $SED \
9883   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9884   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9885   -e 's:$: $lt_compiler_flag:'`
9886   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9887   (eval "$lt_compile" 2>conftest.err)
9888   ac_status=$?
9889   cat conftest.err >&5
9890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891   if (exit $ac_status) && test -s "$ac_outfile"; then
9892     # The compiler can only warn and ignore the option if not recognized
9893     # So say no if there are warnings other than the usual output.
9894     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9895     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9896     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9897       lt_cv_prog_compiler_pic_works=yes
9898     fi
9899   fi
9900   $RM conftest*
9901
9902fi
9903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9904$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9905
9906if test yes = "$lt_cv_prog_compiler_pic_works"; then
9907    case $lt_prog_compiler_pic in
9908     "" | " "*) ;;
9909     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9910     esac
9911else
9912    lt_prog_compiler_pic=
9913     lt_prog_compiler_can_build_shared=no
9914fi
9915
9916fi
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928#
9929# Check to make sure the static flag actually works.
9930#
9931wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9933$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9934if ${lt_cv_prog_compiler_static_works+:} false; then :
9935  $as_echo_n "(cached) " >&6
9936else
9937  lt_cv_prog_compiler_static_works=no
9938   save_LDFLAGS=$LDFLAGS
9939   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9940   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9941   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9942     # The linker can only warn and ignore the option if not recognized
9943     # So say no if there are warnings
9944     if test -s conftest.err; then
9945       # Append any errors to the config.log.
9946       cat conftest.err 1>&5
9947       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9948       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9949       if diff conftest.exp conftest.er2 >/dev/null; then
9950         lt_cv_prog_compiler_static_works=yes
9951       fi
9952     else
9953       lt_cv_prog_compiler_static_works=yes
9954     fi
9955   fi
9956   $RM -r conftest*
9957   LDFLAGS=$save_LDFLAGS
9958
9959fi
9960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9961$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9962
9963if test yes = "$lt_cv_prog_compiler_static_works"; then
9964    :
9965else
9966    lt_prog_compiler_static=
9967fi
9968
9969
9970
9971
9972
9973
9974
9975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9976$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9977if ${lt_cv_prog_compiler_c_o+:} false; then :
9978  $as_echo_n "(cached) " >&6
9979else
9980  lt_cv_prog_compiler_c_o=no
9981   $RM -r conftest 2>/dev/null
9982   mkdir conftest
9983   cd conftest
9984   mkdir out
9985   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9986
9987   lt_compiler_flag="-o out/conftest2.$ac_objext"
9988   # Insert the option either (1) after the last *FLAGS variable, or
9989   # (2) before a word containing "conftest.", or (3) at the end.
9990   # Note that $ac_compile itself does not contain backslashes and begins
9991   # with a dollar sign (not a hyphen), so the echo should work correctly.
9992   lt_compile=`echo "$ac_compile" | $SED \
9993   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9994   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9995   -e 's:$: $lt_compiler_flag:'`
9996   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9997   (eval "$lt_compile" 2>out/conftest.err)
9998   ac_status=$?
9999   cat out/conftest.err >&5
10000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10002   then
10003     # The compiler can only warn and ignore the option if not recognized
10004     # So say no if there are warnings
10005     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10006     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10007     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10008       lt_cv_prog_compiler_c_o=yes
10009     fi
10010   fi
10011   chmod u+w . 2>&5
10012   $RM conftest*
10013   # SGI C++ compiler will create directory out/ii_files/ for
10014   # template instantiation
10015   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10016   $RM out/* && rmdir out
10017   cd ..
10018   $RM -r conftest
10019   $RM conftest*
10020
10021fi
10022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10023$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10024
10025
10026
10027
10028
10029
10030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10031$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10032if ${lt_cv_prog_compiler_c_o+:} false; then :
10033  $as_echo_n "(cached) " >&6
10034else
10035  lt_cv_prog_compiler_c_o=no
10036   $RM -r conftest 2>/dev/null
10037   mkdir conftest
10038   cd conftest
10039   mkdir out
10040   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10041
10042   lt_compiler_flag="-o out/conftest2.$ac_objext"
10043   # Insert the option either (1) after the last *FLAGS variable, or
10044   # (2) before a word containing "conftest.", or (3) at the end.
10045   # Note that $ac_compile itself does not contain backslashes and begins
10046   # with a dollar sign (not a hyphen), so the echo should work correctly.
10047   lt_compile=`echo "$ac_compile" | $SED \
10048   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10049   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10050   -e 's:$: $lt_compiler_flag:'`
10051   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10052   (eval "$lt_compile" 2>out/conftest.err)
10053   ac_status=$?
10054   cat out/conftest.err >&5
10055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10057   then
10058     # The compiler can only warn and ignore the option if not recognized
10059     # So say no if there are warnings
10060     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10061     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10062     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10063       lt_cv_prog_compiler_c_o=yes
10064     fi
10065   fi
10066   chmod u+w . 2>&5
10067   $RM conftest*
10068   # SGI C++ compiler will create directory out/ii_files/ for
10069   # template instantiation
10070   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10071   $RM out/* && rmdir out
10072   cd ..
10073   $RM -r conftest
10074   $RM conftest*
10075
10076fi
10077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10078$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10079
10080
10081
10082
10083hard_links=nottested
10084if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10085  # do not overwrite the value of need_locks provided by the user
10086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10087$as_echo_n "checking if we can lock with hard links... " >&6; }
10088  hard_links=yes
10089  $RM conftest*
10090  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10091  touch conftest.a
10092  ln conftest.a conftest.b 2>&5 || hard_links=no
10093  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10095$as_echo "$hard_links" >&6; }
10096  if test no = "$hard_links"; then
10097    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10098$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10099    need_locks=warn
10100  fi
10101else
10102  need_locks=no
10103fi
10104
10105
10106
10107
10108
10109
10110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10111$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10112
10113  runpath_var=
10114  allow_undefined_flag=
10115  always_export_symbols=no
10116  archive_cmds=
10117  archive_expsym_cmds=
10118  compiler_needs_object=no
10119  enable_shared_with_static_runtimes=no
10120  export_dynamic_flag_spec=
10121  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10122  hardcode_automatic=no
10123  hardcode_direct=no
10124  hardcode_direct_absolute=no
10125  hardcode_libdir_flag_spec=
10126  hardcode_libdir_separator=
10127  hardcode_minus_L=no
10128  hardcode_shlibpath_var=unsupported
10129  inherit_rpath=no
10130  link_all_deplibs=unknown
10131  module_cmds=
10132  module_expsym_cmds=
10133  old_archive_from_new_cmds=
10134  old_archive_from_expsyms_cmds=
10135  thread_safe_flag_spec=
10136  whole_archive_flag_spec=
10137  # include_expsyms should be a list of space-separated symbols to be *always*
10138  # included in the symbol list
10139  include_expsyms=
10140  # exclude_expsyms can be an extended regexp of symbols to exclude
10141  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10142  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10143  # as well as any symbol that contains 'd'.
10144  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10145  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10146  # platforms (ab)use it in PIC code, but their linkers get confused if
10147  # the symbol is explicitly referenced.  Since portable code cannot
10148  # rely on this symbol name, it's probably fine to never include it in
10149  # preloaded symbol tables.
10150  # Exclude shared library initialization/finalization symbols.
10151  extract_expsyms_cmds=
10152
10153  case $host_os in
10154  cygwin* | mingw* | pw32* | cegcc*)
10155    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10156    # When not using gcc, we currently assume that we are using
10157    # Microsoft Visual C++.
10158    if test yes != "$GCC"; then
10159      with_gnu_ld=no
10160    fi
10161    ;;
10162  interix*)
10163    # we just hope/assume this is gcc and not c89 (= MSVC++)
10164    with_gnu_ld=yes
10165    ;;
10166  openbsd* | bitrig*)
10167    with_gnu_ld=no
10168    ;;
10169  esac
10170
10171  ld_shlibs=yes
10172
10173  # On some targets, GNU ld is compatible enough with the native linker
10174  # that we're better off using the native interface for both.
10175  lt_use_gnu_ld_interface=no
10176  if test yes = "$with_gnu_ld"; then
10177    case $host_os in
10178      aix*)
10179	# The AIX port of GNU ld has always aspired to compatibility
10180	# with the native linker.  However, as the warning in the GNU ld
10181	# block says, versions before 2.19.5* couldn't really create working
10182	# shared libraries, regardless of the interface used.
10183	case `$LD -v 2>&1` in
10184	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10185	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10186	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10187	  *)
10188	    lt_use_gnu_ld_interface=yes
10189	    ;;
10190	esac
10191	;;
10192      *)
10193	lt_use_gnu_ld_interface=yes
10194	;;
10195    esac
10196  fi
10197
10198  if test yes = "$lt_use_gnu_ld_interface"; then
10199    # If archive_cmds runs LD, not CC, wlarc should be empty
10200    wlarc='$wl'
10201
10202    # Set some defaults for GNU ld with shared library support. These
10203    # are reset later if shared libraries are not supported. Putting them
10204    # here allows them to be overridden if necessary.
10205    runpath_var=LD_RUN_PATH
10206    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10207    export_dynamic_flag_spec='$wl--export-dynamic'
10208    # ancient GNU ld didn't support --whole-archive et. al.
10209    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10210      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10211    else
10212      whole_archive_flag_spec=
10213    fi
10214    supports_anon_versioning=no
10215    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10216      *GNU\ gold*) supports_anon_versioning=yes ;;
10217      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10218      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10219      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10220      *\ 2.11.*) ;; # other 2.11 versions
10221      *) supports_anon_versioning=yes ;;
10222    esac
10223
10224    # See if GNU ld supports shared libraries.
10225    case $host_os in
10226    aix[3-9]*)
10227      # On AIX/PPC, the GNU linker is very broken
10228      if test ia64 != "$host_cpu"; then
10229	ld_shlibs=no
10230	cat <<_LT_EOF 1>&2
10231
10232*** Warning: the GNU linker, at least up to release 2.19, is reported
10233*** to be unable to reliably create shared libraries on AIX.
10234*** Therefore, libtool is disabling shared libraries support.  If you
10235*** really care for shared libraries, you may want to install binutils
10236*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10237*** You will then need to restart the configuration process.
10238
10239_LT_EOF
10240      fi
10241      ;;
10242
10243    amigaos*)
10244      case $host_cpu in
10245      powerpc)
10246            # see comment about AmigaOS4 .so support
10247            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10248            archive_expsym_cmds=''
10249        ;;
10250      m68k)
10251            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)'
10252            hardcode_libdir_flag_spec='-L$libdir'
10253            hardcode_minus_L=yes
10254        ;;
10255      esac
10256      ;;
10257
10258    beos*)
10259      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10260	allow_undefined_flag=unsupported
10261	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10262	# support --undefined.  This deserves some investigation.  FIXME
10263	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10264      else
10265	ld_shlibs=no
10266      fi
10267      ;;
10268
10269    cygwin* | mingw* | pw32* | cegcc*)
10270      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10271      # as there is no search path for DLLs.
10272      hardcode_libdir_flag_spec='-L$libdir'
10273      export_dynamic_flag_spec='$wl--export-all-symbols'
10274      allow_undefined_flag=unsupported
10275      always_export_symbols=no
10276      enable_shared_with_static_runtimes=yes
10277      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'
10278      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10279
10280      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10281        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10282	# If the export-symbols file already is a .def file, use it as
10283	# is; otherwise, prepend EXPORTS...
10284	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10285          cp $export_symbols $output_objdir/$soname.def;
10286        else
10287          echo EXPORTS > $output_objdir/$soname.def;
10288          cat $export_symbols >> $output_objdir/$soname.def;
10289        fi~
10290        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10291      else
10292	ld_shlibs=no
10293      fi
10294      ;;
10295
10296    haiku*)
10297      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10298      link_all_deplibs=yes
10299      ;;
10300
10301    os2*)
10302      hardcode_libdir_flag_spec='-L$libdir'
10303      hardcode_minus_L=yes
10304      allow_undefined_flag=unsupported
10305      shrext_cmds=.dll
10306      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10307	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10308	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10309	$ECHO EXPORTS >> $output_objdir/$libname.def~
10310	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10311	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10312	emximp -o $lib $output_objdir/$libname.def'
10313      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10314	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10315	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10316	$ECHO EXPORTS >> $output_objdir/$libname.def~
10317	prefix_cmds="$SED"~
10318	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10319	  prefix_cmds="$prefix_cmds -e 1d";
10320	fi~
10321	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10322	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10323	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10324	emximp -o $lib $output_objdir/$libname.def'
10325      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10326      enable_shared_with_static_runtimes=yes
10327      ;;
10328
10329    interix[3-9]*)
10330      hardcode_direct=no
10331      hardcode_shlibpath_var=no
10332      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10333      export_dynamic_flag_spec='$wl-E'
10334      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10335      # Instead, shared libraries are loaded at an image base (0x10000000 by
10336      # default) and relocated if they conflict, which is a slow very memory
10337      # consuming and fragmenting process.  To avoid this, we pick a random,
10338      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10339      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10340      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10341      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'
10342      ;;
10343
10344    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10345      tmp_diet=no
10346      if test linux-dietlibc = "$host_os"; then
10347	case $cc_basename in
10348	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10349	esac
10350      fi
10351      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10352	 && test no = "$tmp_diet"
10353      then
10354	tmp_addflag=' $pic_flag'
10355	tmp_sharedflag='-shared'
10356	case $cc_basename,$host_cpu in
10357        pgcc*)				# Portland Group C compiler
10358	  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'
10359	  tmp_addflag=' $pic_flag'
10360	  ;;
10361	pgf77* | pgf90* | pgf95* | pgfortran*)
10362					# Portland Group f77 and f90 compilers
10363	  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'
10364	  tmp_addflag=' $pic_flag -Mnomain' ;;
10365	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10366	  tmp_addflag=' -i_dynamic' ;;
10367	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10368	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10369	ifc* | ifort*)			# Intel Fortran compiler
10370	  tmp_addflag=' -nofor_main' ;;
10371	lf95*)				# Lahey Fortran 8.1
10372	  whole_archive_flag_spec=
10373	  tmp_sharedflag='--shared' ;;
10374        nagfor*)                        # NAGFOR 5.3
10375          tmp_sharedflag='-Wl,-shared' ;;
10376	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10377	  tmp_sharedflag='-qmkshrobj'
10378	  tmp_addflag= ;;
10379	nvcc*)	# Cuda Compiler Driver 2.2
10380	  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'
10381	  compiler_needs_object=yes
10382	  ;;
10383	esac
10384	case `$CC -V 2>&1 | sed 5q` in
10385	*Sun\ C*)			# Sun C 5.9
10386	  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'
10387	  compiler_needs_object=yes
10388	  tmp_sharedflag='-G' ;;
10389	*Sun\ F*)			# Sun Fortran 8.3
10390	  tmp_sharedflag='-G' ;;
10391	esac
10392	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10393
10394        if test yes = "$supports_anon_versioning"; then
10395          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10396            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10397            echo "local: *; };" >> $output_objdir/$libname.ver~
10398            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10399        fi
10400
10401	case $cc_basename in
10402	tcc*)
10403	  export_dynamic_flag_spec='-rdynamic'
10404	  ;;
10405	xlf* | bgf* | bgxlf* | mpixlf*)
10406	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10407	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10408	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10409	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10410	  if test yes = "$supports_anon_versioning"; then
10411	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10412              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10413              echo "local: *; };" >> $output_objdir/$libname.ver~
10414              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10415	  fi
10416	  ;;
10417	esac
10418      else
10419        ld_shlibs=no
10420      fi
10421      ;;
10422
10423    netbsd*)
10424      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10425	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10426	wlarc=
10427      else
10428	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10429	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10430      fi
10431      ;;
10432
10433    solaris*)
10434      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10435	ld_shlibs=no
10436	cat <<_LT_EOF 1>&2
10437
10438*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10439*** create shared libraries on Solaris systems.  Therefore, libtool
10440*** is disabling shared libraries support.  We urge you to upgrade GNU
10441*** binutils to release 2.9.1 or newer.  Another option is to modify
10442*** your PATH or compiler configuration so that the native linker is
10443*** used, and then restart.
10444
10445_LT_EOF
10446      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10447	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10448	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10449      else
10450	ld_shlibs=no
10451      fi
10452      ;;
10453
10454    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10455      case `$LD -v 2>&1` in
10456        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10457	ld_shlibs=no
10458	cat <<_LT_EOF 1>&2
10459
10460*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10461*** reliably create shared libraries on SCO systems.  Therefore, libtool
10462*** is disabling shared libraries support.  We urge you to upgrade GNU
10463*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10464*** your PATH or compiler configuration so that the native linker is
10465*** used, and then restart.
10466
10467_LT_EOF
10468	;;
10469	*)
10470	  # For security reasons, it is highly recommended that you always
10471	  # use absolute paths for naming shared libraries, and exclude the
10472	  # DT_RUNPATH tag from executables and libraries.  But doing so
10473	  # requires that you compile everything twice, which is a pain.
10474	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10475	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10476	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10477	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10478	  else
10479	    ld_shlibs=no
10480	  fi
10481	;;
10482      esac
10483      ;;
10484
10485    sunos4*)
10486      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10487      wlarc=
10488      hardcode_direct=yes
10489      hardcode_shlibpath_var=no
10490      ;;
10491
10492    *)
10493      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10494	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10495	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10496      else
10497	ld_shlibs=no
10498      fi
10499      ;;
10500    esac
10501
10502    if test no = "$ld_shlibs"; then
10503      runpath_var=
10504      hardcode_libdir_flag_spec=
10505      export_dynamic_flag_spec=
10506      whole_archive_flag_spec=
10507    fi
10508  else
10509    # PORTME fill in a description of your system's linker (not GNU ld)
10510    case $host_os in
10511    aix3*)
10512      allow_undefined_flag=unsupported
10513      always_export_symbols=yes
10514      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'
10515      # Note: this linker hardcodes the directories in LIBPATH if there
10516      # are no directories specified by -L.
10517      hardcode_minus_L=yes
10518      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10519	# Neither direct hardcoding nor static linking is supported with a
10520	# broken collect2.
10521	hardcode_direct=unsupported
10522      fi
10523      ;;
10524
10525    aix[4-9]*)
10526      if test ia64 = "$host_cpu"; then
10527	# On IA64, the linker does run time linking by default, so we don't
10528	# have to do anything special.
10529	aix_use_runtimelinking=no
10530	exp_sym_flag='-Bexport'
10531	no_entry_flag=
10532      else
10533	# If we're using GNU nm, then we don't want the "-C" option.
10534	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10535	# Without the "-l" option, or with the "-B" option, AIX nm treats
10536	# weak defined symbols like other global defined symbols, whereas
10537	# GNU nm marks them as "W".
10538	# While the 'weak' keyword is ignored in the Export File, we need
10539	# it in the Import File for the 'aix-soname' feature, so we have
10540	# to replace the "-B" option with "-P" for AIX nm.
10541	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10542	  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'
10543	else
10544	  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'
10545	fi
10546	aix_use_runtimelinking=no
10547
10548	# Test if we are trying to use run time linking or normal
10549	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10550	# have runtime linking enabled, and use it for executables.
10551	# For shared libraries, we enable/disable runtime linking
10552	# depending on the kind of the shared library created -
10553	# when "with_aix_soname,aix_use_runtimelinking" is:
10554	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10555	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10556	#            lib.a           static archive
10557	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10558	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10559	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10560	#            lib.a(lib.so.V) shared, rtl:no
10561	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10562	#            lib.a           static archive
10563	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10564	  for ld_flag in $LDFLAGS; do
10565	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10566	    aix_use_runtimelinking=yes
10567	    break
10568	  fi
10569	  done
10570	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10571	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10572	    # so we don't have lib.a shared libs to link our executables.
10573	    # We have to force runtime linking in this case.
10574	    aix_use_runtimelinking=yes
10575	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10576	  fi
10577	  ;;
10578	esac
10579
10580	exp_sym_flag='-bexport'
10581	no_entry_flag='-bnoentry'
10582      fi
10583
10584      # When large executables or shared objects are built, AIX ld can
10585      # have problems creating the table of contents.  If linking a library
10586      # or program results in "error TOC overflow" add -mminimal-toc to
10587      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10588      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10589
10590      archive_cmds=''
10591      hardcode_direct=yes
10592      hardcode_direct_absolute=yes
10593      hardcode_libdir_separator=':'
10594      link_all_deplibs=yes
10595      file_list_spec='$wl-f,'
10596      case $with_aix_soname,$aix_use_runtimelinking in
10597      aix,*) ;; # traditional, no import file
10598      svr4,* | *,yes) # use import file
10599	# The Import File defines what to hardcode.
10600	hardcode_direct=no
10601	hardcode_direct_absolute=no
10602	;;
10603      esac
10604
10605      if test yes = "$GCC"; then
10606	case $host_os in aix4.[012]|aix4.[012].*)
10607	# We only want to do this on AIX 4.2 and lower, the check
10608	# below for broken collect2 doesn't work under 4.3+
10609	  collect2name=`$CC -print-prog-name=collect2`
10610	  if test -f "$collect2name" &&
10611	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10612	  then
10613	  # We have reworked collect2
10614	  :
10615	  else
10616	  # We have old collect2
10617	  hardcode_direct=unsupported
10618	  # It fails to find uninstalled libraries when the uninstalled
10619	  # path is not listed in the libpath.  Setting hardcode_minus_L
10620	  # to unsupported forces relinking
10621	  hardcode_minus_L=yes
10622	  hardcode_libdir_flag_spec='-L$libdir'
10623	  hardcode_libdir_separator=
10624	  fi
10625	  ;;
10626	esac
10627	shared_flag='-shared'
10628	if test yes = "$aix_use_runtimelinking"; then
10629	  shared_flag="$shared_flag "'$wl-G'
10630	fi
10631	# Need to ensure runtime linking is disabled for the traditional
10632	# shared library, or the linker may eventually find shared libraries
10633	# /with/ Import File - we do not want to mix them.
10634	shared_flag_aix='-shared'
10635	shared_flag_svr4='-shared $wl-G'
10636      else
10637	# not using gcc
10638	if test ia64 = "$host_cpu"; then
10639	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10640	# chokes on -Wl,-G. The following line is correct:
10641	  shared_flag='-G'
10642	else
10643	  if test yes = "$aix_use_runtimelinking"; then
10644	    shared_flag='$wl-G'
10645	  else
10646	    shared_flag='$wl-bM:SRE'
10647	  fi
10648	  shared_flag_aix='$wl-bM:SRE'
10649	  shared_flag_svr4='$wl-G'
10650	fi
10651      fi
10652
10653      export_dynamic_flag_spec='$wl-bexpall'
10654      # It seems that -bexpall does not export symbols beginning with
10655      # underscore (_), so it is better to generate a list of symbols to export.
10656      always_export_symbols=yes
10657      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10658	# Warning - without using the other runtime loading flags (-brtl),
10659	# -berok will link without error, but may produce a broken library.
10660	allow_undefined_flag='-berok'
10661        # Determine the default libpath from the value encoded in an
10662        # empty executable.
10663        if test set = "${lt_cv_aix_libpath+set}"; then
10664  aix_libpath=$lt_cv_aix_libpath
10665else
10666  if ${lt_cv_aix_libpath_+:} false; then :
10667  $as_echo_n "(cached) " >&6
10668else
10669  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670/* end confdefs.h.  */
10671
10672int
10673main ()
10674{
10675
10676  ;
10677  return 0;
10678}
10679_ACEOF
10680if ac_fn_c_try_link "$LINENO"; then :
10681
10682  lt_aix_libpath_sed='
10683      /Import File Strings/,/^$/ {
10684	  /^0/ {
10685	      s/^0  *\([^ ]*\) *$/\1/
10686	      p
10687	  }
10688      }'
10689  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10690  # Check for a 64-bit object if we didn't find anything.
10691  if test -z "$lt_cv_aix_libpath_"; then
10692    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10693  fi
10694fi
10695rm -f core conftest.err conftest.$ac_objext \
10696    conftest$ac_exeext conftest.$ac_ext
10697  if test -z "$lt_cv_aix_libpath_"; then
10698    lt_cv_aix_libpath_=/usr/lib:/lib
10699  fi
10700
10701fi
10702
10703  aix_libpath=$lt_cv_aix_libpath_
10704fi
10705
10706        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10707        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
10708      else
10709	if test ia64 = "$host_cpu"; then
10710	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10711	  allow_undefined_flag="-z nodefs"
10712	  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"
10713	else
10714	 # Determine the default libpath from the value encoded in an
10715	 # empty executable.
10716	 if test set = "${lt_cv_aix_libpath+set}"; then
10717  aix_libpath=$lt_cv_aix_libpath
10718else
10719  if ${lt_cv_aix_libpath_+:} false; then :
10720  $as_echo_n "(cached) " >&6
10721else
10722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723/* end confdefs.h.  */
10724
10725int
10726main ()
10727{
10728
10729  ;
10730  return 0;
10731}
10732_ACEOF
10733if ac_fn_c_try_link "$LINENO"; then :
10734
10735  lt_aix_libpath_sed='
10736      /Import File Strings/,/^$/ {
10737	  /^0/ {
10738	      s/^0  *\([^ ]*\) *$/\1/
10739	      p
10740	  }
10741      }'
10742  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10743  # Check for a 64-bit object if we didn't find anything.
10744  if test -z "$lt_cv_aix_libpath_"; then
10745    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10746  fi
10747fi
10748rm -f core conftest.err conftest.$ac_objext \
10749    conftest$ac_exeext conftest.$ac_ext
10750  if test -z "$lt_cv_aix_libpath_"; then
10751    lt_cv_aix_libpath_=/usr/lib:/lib
10752  fi
10753
10754fi
10755
10756  aix_libpath=$lt_cv_aix_libpath_
10757fi
10758
10759	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10760	  # Warning - without using the other run time loading flags,
10761	  # -berok will link without error, but may produce a broken library.
10762	  no_undefined_flag=' $wl-bernotok'
10763	  allow_undefined_flag=' $wl-berok'
10764	  if test yes = "$with_gnu_ld"; then
10765	    # We only use this code for GNU lds that support --whole-archive.
10766	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10767	  else
10768	    # Exported symbols can be pulled into shared objects from archives
10769	    whole_archive_flag_spec='$convenience'
10770	  fi
10771	  archive_cmds_need_lc=yes
10772	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10773	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10774	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10775	  if test svr4 != "$with_aix_soname"; then
10776	    # This is similar to how AIX traditionally builds its shared libraries.
10777	    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'
10778	  fi
10779	  if test aix != "$with_aix_soname"; then
10780	    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'
10781	  else
10782	    # used by -dlpreopen to get the symbols
10783	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10784	  fi
10785	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10786	fi
10787      fi
10788      ;;
10789
10790    amigaos*)
10791      case $host_cpu in
10792      powerpc)
10793            # see comment about AmigaOS4 .so support
10794            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10795            archive_expsym_cmds=''
10796        ;;
10797      m68k)
10798            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)'
10799            hardcode_libdir_flag_spec='-L$libdir'
10800            hardcode_minus_L=yes
10801        ;;
10802      esac
10803      ;;
10804
10805    bsdi[45]*)
10806      export_dynamic_flag_spec=-rdynamic
10807      ;;
10808
10809    cygwin* | mingw* | pw32* | cegcc*)
10810      # When not using gcc, we currently assume that we are using
10811      # Microsoft Visual C++.
10812      # hardcode_libdir_flag_spec is actually meaningless, as there is
10813      # no search path for DLLs.
10814      case $cc_basename in
10815      cl*)
10816	# Native MSVC
10817	hardcode_libdir_flag_spec=' '
10818	allow_undefined_flag=unsupported
10819	always_export_symbols=yes
10820	file_list_spec='@'
10821	# Tell ltmain to make .lib files, not .a files.
10822	libext=lib
10823	# Tell ltmain to make .dll files, not .so files.
10824	shrext_cmds=.dll
10825	# FIXME: Setting linknames here is a bad hack.
10826	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10827	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10828            cp "$export_symbols" "$output_objdir/$soname.def";
10829            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10830          else
10831            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10832          fi~
10833          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10834          linknames='
10835	# The linker will not automatically build a static lib if we build a DLL.
10836	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10837	enable_shared_with_static_runtimes=yes
10838	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10839	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10840	# Don't use ranlib
10841	old_postinstall_cmds='chmod 644 $oldlib'
10842	postlink_cmds='lt_outputfile="@OUTPUT@"~
10843          lt_tool_outputfile="@TOOL_OUTPUT@"~
10844          case $lt_outputfile in
10845            *.exe|*.EXE) ;;
10846            *)
10847              lt_outputfile=$lt_outputfile.exe
10848              lt_tool_outputfile=$lt_tool_outputfile.exe
10849              ;;
10850          esac~
10851          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10852            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10853            $RM "$lt_outputfile.manifest";
10854          fi'
10855	;;
10856      *)
10857	# Assume MSVC wrapper
10858	hardcode_libdir_flag_spec=' '
10859	allow_undefined_flag=unsupported
10860	# Tell ltmain to make .lib files, not .a files.
10861	libext=lib
10862	# Tell ltmain to make .dll files, not .so files.
10863	shrext_cmds=.dll
10864	# FIXME: Setting linknames here is a bad hack.
10865	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10866	# The linker will automatically build a .lib file if we build a DLL.
10867	old_archive_from_new_cmds='true'
10868	# FIXME: Should let the user specify the lib program.
10869	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10870	enable_shared_with_static_runtimes=yes
10871	;;
10872      esac
10873      ;;
10874
10875    darwin* | rhapsody*)
10876
10877
10878  archive_cmds_need_lc=no
10879  hardcode_direct=no
10880  hardcode_automatic=yes
10881  hardcode_shlibpath_var=unsupported
10882  if test yes = "$lt_cv_ld_force_load"; then
10883    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\"`'
10884
10885  else
10886    whole_archive_flag_spec=''
10887  fi
10888  link_all_deplibs=yes
10889  allow_undefined_flag=$_lt_dar_allow_undefined
10890  case $cc_basename in
10891     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10892     *) _lt_dar_can_shared=$GCC ;;
10893  esac
10894  if test yes = "$_lt_dar_can_shared"; then
10895    output_verbose_link_cmd=func_echo_all
10896    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10897    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10898    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"
10899    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"
10900
10901  else
10902  ld_shlibs=no
10903  fi
10904
10905      ;;
10906
10907    dgux*)
10908      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10909      hardcode_libdir_flag_spec='-L$libdir'
10910      hardcode_shlibpath_var=no
10911      ;;
10912
10913    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10914    # support.  Future versions do this automatically, but an explicit c++rt0.o
10915    # does not break anything, and helps significantly (at the cost of a little
10916    # extra space).
10917    freebsd2.2*)
10918      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10919      hardcode_libdir_flag_spec='-R$libdir'
10920      hardcode_direct=yes
10921      hardcode_shlibpath_var=no
10922      ;;
10923
10924    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10925    freebsd2.*)
10926      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10927      hardcode_direct=yes
10928      hardcode_minus_L=yes
10929      hardcode_shlibpath_var=no
10930      ;;
10931
10932    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10933    freebsd* | dragonfly*)
10934      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10935      hardcode_libdir_flag_spec='-R$libdir'
10936      hardcode_direct=yes
10937      hardcode_shlibpath_var=no
10938      ;;
10939
10940    hpux9*)
10941      if test yes = "$GCC"; then
10942	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'
10943      else
10944	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'
10945      fi
10946      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10947      hardcode_libdir_separator=:
10948      hardcode_direct=yes
10949
10950      # hardcode_minus_L: Not really in the search PATH,
10951      # but as the default location of the library.
10952      hardcode_minus_L=yes
10953      export_dynamic_flag_spec='$wl-E'
10954      ;;
10955
10956    hpux10*)
10957      if test yes,no = "$GCC,$with_gnu_ld"; then
10958	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10959      else
10960	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10961      fi
10962      if test no = "$with_gnu_ld"; then
10963	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10964	hardcode_libdir_separator=:
10965	hardcode_direct=yes
10966	hardcode_direct_absolute=yes
10967	export_dynamic_flag_spec='$wl-E'
10968	# hardcode_minus_L: Not really in the search PATH,
10969	# but as the default location of the library.
10970	hardcode_minus_L=yes
10971      fi
10972      ;;
10973
10974    hpux11*)
10975      if test yes,no = "$GCC,$with_gnu_ld"; then
10976	case $host_cpu in
10977	hppa*64*)
10978	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10979	  ;;
10980	ia64*)
10981	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10982	  ;;
10983	*)
10984	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10985	  ;;
10986	esac
10987      else
10988	case $host_cpu in
10989	hppa*64*)
10990	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10991	  ;;
10992	ia64*)
10993	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10994	  ;;
10995	*)
10996
10997	  # Older versions of the 11.00 compiler do not understand -b yet
10998	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10999	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11000$as_echo_n "checking if $CC understands -b... " >&6; }
11001if ${lt_cv_prog_compiler__b+:} false; then :
11002  $as_echo_n "(cached) " >&6
11003else
11004  lt_cv_prog_compiler__b=no
11005   save_LDFLAGS=$LDFLAGS
11006   LDFLAGS="$LDFLAGS -b"
11007   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11008   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11009     # The linker can only warn and ignore the option if not recognized
11010     # So say no if there are warnings
11011     if test -s conftest.err; then
11012       # Append any errors to the config.log.
11013       cat conftest.err 1>&5
11014       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11015       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11016       if diff conftest.exp conftest.er2 >/dev/null; then
11017         lt_cv_prog_compiler__b=yes
11018       fi
11019     else
11020       lt_cv_prog_compiler__b=yes
11021     fi
11022   fi
11023   $RM -r conftest*
11024   LDFLAGS=$save_LDFLAGS
11025
11026fi
11027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11028$as_echo "$lt_cv_prog_compiler__b" >&6; }
11029
11030if test yes = "$lt_cv_prog_compiler__b"; then
11031    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11032else
11033    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11034fi
11035
11036	  ;;
11037	esac
11038      fi
11039      if test no = "$with_gnu_ld"; then
11040	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11041	hardcode_libdir_separator=:
11042
11043	case $host_cpu in
11044	hppa*64*|ia64*)
11045	  hardcode_direct=no
11046	  hardcode_shlibpath_var=no
11047	  ;;
11048	*)
11049	  hardcode_direct=yes
11050	  hardcode_direct_absolute=yes
11051	  export_dynamic_flag_spec='$wl-E'
11052
11053	  # hardcode_minus_L: Not really in the search PATH,
11054	  # but as the default location of the library.
11055	  hardcode_minus_L=yes
11056	  ;;
11057	esac
11058      fi
11059      ;;
11060
11061    irix5* | irix6* | nonstopux*)
11062      if test yes = "$GCC"; then
11063	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'
11064	# Try to use the -exported_symbol ld option, if it does not
11065	# work, assume that -exports_file does not work either and
11066	# implicitly export all symbols.
11067	# This should be the same for all languages, so no per-tag cache variable.
11068	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11069$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11070if ${lt_cv_irix_exported_symbol+:} false; then :
11071  $as_echo_n "(cached) " >&6
11072else
11073  save_LDFLAGS=$LDFLAGS
11074	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11075	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076/* end confdefs.h.  */
11077int foo (void) { return 0; }
11078_ACEOF
11079if ac_fn_c_try_link "$LINENO"; then :
11080  lt_cv_irix_exported_symbol=yes
11081else
11082  lt_cv_irix_exported_symbol=no
11083fi
11084rm -f core conftest.err conftest.$ac_objext \
11085    conftest$ac_exeext conftest.$ac_ext
11086           LDFLAGS=$save_LDFLAGS
11087fi
11088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11089$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11090	if test yes = "$lt_cv_irix_exported_symbol"; then
11091          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'
11092	fi
11093      else
11094	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'
11095	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'
11096      fi
11097      archive_cmds_need_lc='no'
11098      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11099      hardcode_libdir_separator=:
11100      inherit_rpath=yes
11101      link_all_deplibs=yes
11102      ;;
11103
11104    linux*)
11105      case $cc_basename in
11106      tcc*)
11107	# Fabrice Bellard et al's Tiny C Compiler
11108	ld_shlibs=yes
11109	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11110	;;
11111      esac
11112      ;;
11113
11114    netbsd*)
11115      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11116	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11117      else
11118	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11119      fi
11120      hardcode_libdir_flag_spec='-R$libdir'
11121      hardcode_direct=yes
11122      hardcode_shlibpath_var=no
11123      ;;
11124
11125    newsos6)
11126      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11127      hardcode_direct=yes
11128      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11129      hardcode_libdir_separator=:
11130      hardcode_shlibpath_var=no
11131      ;;
11132
11133    *nto* | *qnx*)
11134      ;;
11135
11136    openbsd* | bitrig*)
11137      if test -f /usr/libexec/ld.so; then
11138	hardcode_direct=yes
11139	hardcode_shlibpath_var=no
11140	hardcode_direct_absolute=yes
11141	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11142	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11143	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11144	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11145	  export_dynamic_flag_spec='$wl-E'
11146	else
11147	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11148	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11149	fi
11150      else
11151	ld_shlibs=no
11152      fi
11153      ;;
11154
11155    os2*)
11156      hardcode_libdir_flag_spec='-L$libdir'
11157      hardcode_minus_L=yes
11158      allow_undefined_flag=unsupported
11159      shrext_cmds=.dll
11160      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11161	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11162	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11163	$ECHO EXPORTS >> $output_objdir/$libname.def~
11164	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11165	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11166	emximp -o $lib $output_objdir/$libname.def'
11167      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11168	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11169	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11170	$ECHO EXPORTS >> $output_objdir/$libname.def~
11171	prefix_cmds="$SED"~
11172	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11173	  prefix_cmds="$prefix_cmds -e 1d";
11174	fi~
11175	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11176	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11177	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11178	emximp -o $lib $output_objdir/$libname.def'
11179      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11180      enable_shared_with_static_runtimes=yes
11181      ;;
11182
11183    osf3*)
11184      if test yes = "$GCC"; then
11185	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11186	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'
11187      else
11188	allow_undefined_flag=' -expect_unresolved \*'
11189	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'
11190      fi
11191      archive_cmds_need_lc='no'
11192      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11193      hardcode_libdir_separator=:
11194      ;;
11195
11196    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11197      if test yes = "$GCC"; then
11198	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11199	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'
11200	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11201      else
11202	allow_undefined_flag=' -expect_unresolved \*'
11203	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'
11204	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~
11205          $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'
11206
11207	# Both c and cxx compiler support -rpath directly
11208	hardcode_libdir_flag_spec='-rpath $libdir'
11209      fi
11210      archive_cmds_need_lc='no'
11211      hardcode_libdir_separator=:
11212      ;;
11213
11214    solaris*)
11215      no_undefined_flag=' -z defs'
11216      if test yes = "$GCC"; then
11217	wlarc='$wl'
11218	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11219	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11220          $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'
11221      else
11222	case `$CC -V 2>&1` in
11223	*"Compilers 5.0"*)
11224	  wlarc=''
11225	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11226	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11227            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11228	  ;;
11229	*)
11230	  wlarc='$wl'
11231	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11232	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11233            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11234	  ;;
11235	esac
11236      fi
11237      hardcode_libdir_flag_spec='-R$libdir'
11238      hardcode_shlibpath_var=no
11239      case $host_os in
11240      solaris2.[0-5] | solaris2.[0-5].*) ;;
11241      *)
11242	# The compiler driver will combine and reorder linker options,
11243	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11244	# but is careful enough not to reorder.
11245	# Supported since Solaris 2.6 (maybe 2.5.1?)
11246	if test yes = "$GCC"; then
11247	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11248	else
11249	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11250	fi
11251	;;
11252      esac
11253      link_all_deplibs=yes
11254      ;;
11255
11256    sunos4*)
11257      if test sequent = "$host_vendor"; then
11258	# Use $CC to link under sequent, because it throws in some extra .o
11259	# files that make .init and .fini sections work.
11260	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11261      else
11262	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11263      fi
11264      hardcode_libdir_flag_spec='-L$libdir'
11265      hardcode_direct=yes
11266      hardcode_minus_L=yes
11267      hardcode_shlibpath_var=no
11268      ;;
11269
11270    sysv4)
11271      case $host_vendor in
11272	sni)
11273	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11274	  hardcode_direct=yes # is this really true???
11275	;;
11276	siemens)
11277	  ## LD is ld it makes a PLAMLIB
11278	  ## CC just makes a GrossModule.
11279	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11280	  reload_cmds='$CC -r -o $output$reload_objs'
11281	  hardcode_direct=no
11282        ;;
11283	motorola)
11284	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11285	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11286	;;
11287      esac
11288      runpath_var='LD_RUN_PATH'
11289      hardcode_shlibpath_var=no
11290      ;;
11291
11292    sysv4.3*)
11293      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11294      hardcode_shlibpath_var=no
11295      export_dynamic_flag_spec='-Bexport'
11296      ;;
11297
11298    sysv4*MP*)
11299      if test -d /usr/nec; then
11300	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11301	hardcode_shlibpath_var=no
11302	runpath_var=LD_RUN_PATH
11303	hardcode_runpath_var=yes
11304	ld_shlibs=yes
11305      fi
11306      ;;
11307
11308    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11309      no_undefined_flag='$wl-z,text'
11310      archive_cmds_need_lc=no
11311      hardcode_shlibpath_var=no
11312      runpath_var='LD_RUN_PATH'
11313
11314      if test yes = "$GCC"; then
11315	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11316	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11317      else
11318	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11319	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11320      fi
11321      ;;
11322
11323    sysv5* | sco3.2v5* | sco5v6*)
11324      # Note: We CANNOT use -z defs as we might desire, because we do not
11325      # link with -lc, and that would cause any symbols used from libc to
11326      # always be unresolved, which means just about no library would
11327      # ever link correctly.  If we're not using GNU ld we use -z text
11328      # though, which does catch some bad symbols but isn't as heavy-handed
11329      # as -z defs.
11330      no_undefined_flag='$wl-z,text'
11331      allow_undefined_flag='$wl-z,nodefs'
11332      archive_cmds_need_lc=no
11333      hardcode_shlibpath_var=no
11334      hardcode_libdir_flag_spec='$wl-R,$libdir'
11335      hardcode_libdir_separator=':'
11336      link_all_deplibs=yes
11337      export_dynamic_flag_spec='$wl-Bexport'
11338      runpath_var='LD_RUN_PATH'
11339
11340      if test yes = "$GCC"; then
11341	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11342	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11343      else
11344	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11345	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11346      fi
11347      ;;
11348
11349    uts4*)
11350      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11351      hardcode_libdir_flag_spec='-L$libdir'
11352      hardcode_shlibpath_var=no
11353      ;;
11354
11355    *)
11356      ld_shlibs=no
11357      ;;
11358    esac
11359
11360    if test sni = "$host_vendor"; then
11361      case $host in
11362      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11363	export_dynamic_flag_spec='$wl-Blargedynsym'
11364	;;
11365      esac
11366    fi
11367  fi
11368
11369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11370$as_echo "$ld_shlibs" >&6; }
11371test no = "$ld_shlibs" && can_build_shared=no
11372
11373with_gnu_ld=$with_gnu_ld
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389#
11390# Do we need to explicitly link libc?
11391#
11392case "x$archive_cmds_need_lc" in
11393x|xyes)
11394  # Assume -lc should be added
11395  archive_cmds_need_lc=yes
11396
11397  if test yes,yes = "$GCC,$enable_shared"; then
11398    case $archive_cmds in
11399    *'~'*)
11400      # FIXME: we may have to deal with multi-command sequences.
11401      ;;
11402    '$CC '*)
11403      # Test whether the compiler implicitly links with -lc since on some
11404      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11405      # to ld, don't add -lc before -lgcc.
11406      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11407$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11408if ${lt_cv_archive_cmds_need_lc+:} false; then :
11409  $as_echo_n "(cached) " >&6
11410else
11411  $RM conftest*
11412	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11413
11414	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11415  (eval $ac_compile) 2>&5
11416  ac_status=$?
11417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11418  test $ac_status = 0; } 2>conftest.err; then
11419	  soname=conftest
11420	  lib=conftest
11421	  libobjs=conftest.$ac_objext
11422	  deplibs=
11423	  wl=$lt_prog_compiler_wl
11424	  pic_flag=$lt_prog_compiler_pic
11425	  compiler_flags=-v
11426	  linker_flags=-v
11427	  verstring=
11428	  output_objdir=.
11429	  libname=conftest
11430	  lt_save_allow_undefined_flag=$allow_undefined_flag
11431	  allow_undefined_flag=
11432	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11433  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11434  ac_status=$?
11435  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11436  test $ac_status = 0; }
11437	  then
11438	    lt_cv_archive_cmds_need_lc=no
11439	  else
11440	    lt_cv_archive_cmds_need_lc=yes
11441	  fi
11442	  allow_undefined_flag=$lt_save_allow_undefined_flag
11443	else
11444	  cat conftest.err 1>&5
11445	fi
11446	$RM conftest*
11447
11448fi
11449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11450$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11451      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11452      ;;
11453    esac
11454  fi
11455  ;;
11456esac
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11610$as_echo_n "checking dynamic linker characteristics... " >&6; }
11611
11612if test yes = "$GCC"; then
11613  case $host_os in
11614    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11615    *) lt_awk_arg='/^libraries:/' ;;
11616  esac
11617  case $host_os in
11618    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11619    *) lt_sed_strip_eq='s|=/|/|g' ;;
11620  esac
11621  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11622  case $lt_search_path_spec in
11623  *\;*)
11624    # if the path contains ";" then we assume it to be the separator
11625    # otherwise default to the standard path separator (i.e. ":") - it is
11626    # assumed that no part of a normal pathname contains ";" but that should
11627    # okay in the real world where ";" in dirpaths is itself problematic.
11628    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11629    ;;
11630  *)
11631    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11632    ;;
11633  esac
11634  # Ok, now we have the path, separated by spaces, we can step through it
11635  # and add multilib dir if necessary...
11636  lt_tmp_lt_search_path_spec=
11637  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11638  # ...but if some path component already ends with the multilib dir we assume
11639  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11640  case "$lt_multi_os_dir; $lt_search_path_spec " in
11641  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11642    lt_multi_os_dir=
11643    ;;
11644  esac
11645  for lt_sys_path in $lt_search_path_spec; do
11646    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11647      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11648    elif test -n "$lt_multi_os_dir"; then
11649      test -d "$lt_sys_path" && \
11650	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11651    fi
11652  done
11653  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11654BEGIN {RS = " "; FS = "/|\n";} {
11655  lt_foo = "";
11656  lt_count = 0;
11657  for (lt_i = NF; lt_i > 0; lt_i--) {
11658    if ($lt_i != "" && $lt_i != ".") {
11659      if ($lt_i == "..") {
11660        lt_count++;
11661      } else {
11662        if (lt_count == 0) {
11663          lt_foo = "/" $lt_i lt_foo;
11664        } else {
11665          lt_count--;
11666        }
11667      }
11668    }
11669  }
11670  if (lt_foo != "") { lt_freq[lt_foo]++; }
11671  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11672}'`
11673  # AWK program above erroneously prepends '/' to C:/dos/paths
11674  # for these hosts.
11675  case $host_os in
11676    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11677      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11678  esac
11679  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11680else
11681  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11682fi
11683library_names_spec=
11684libname_spec='lib$name'
11685soname_spec=
11686shrext_cmds=.so
11687postinstall_cmds=
11688postuninstall_cmds=
11689finish_cmds=
11690finish_eval=
11691shlibpath_var=
11692shlibpath_overrides_runpath=unknown
11693version_type=none
11694dynamic_linker="$host_os ld.so"
11695sys_lib_dlsearch_path_spec="/lib /usr/lib"
11696need_lib_prefix=unknown
11697hardcode_into_libs=no
11698
11699# when you set need_version to no, make sure it does not cause -set_version
11700# flags to be left without arguments
11701need_version=unknown
11702
11703
11704
11705case $host_os in
11706aix3*)
11707  version_type=linux # correct to gnu/linux during the next big refactor
11708  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11709  shlibpath_var=LIBPATH
11710
11711  # AIX 3 has no versioning support, so we append a major version to the name.
11712  soname_spec='$libname$release$shared_ext$major'
11713  ;;
11714
11715aix[4-9]*)
11716  version_type=linux # correct to gnu/linux during the next big refactor
11717  need_lib_prefix=no
11718  need_version=no
11719  hardcode_into_libs=yes
11720  if test ia64 = "$host_cpu"; then
11721    # AIX 5 supports IA64
11722    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11723    shlibpath_var=LD_LIBRARY_PATH
11724  else
11725    # With GCC up to 2.95.x, collect2 would create an import file
11726    # for dependence libraries.  The import file would start with
11727    # the line '#! .'.  This would cause the generated library to
11728    # depend on '.', always an invalid library.  This was fixed in
11729    # development snapshots of GCC prior to 3.0.
11730    case $host_os in
11731      aix4 | aix4.[01] | aix4.[01].*)
11732      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11733	   echo ' yes '
11734	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11735	:
11736      else
11737	can_build_shared=no
11738      fi
11739      ;;
11740    esac
11741    # Using Import Files as archive members, it is possible to support
11742    # filename-based versioning of shared library archives on AIX. While
11743    # this would work for both with and without runtime linking, it will
11744    # prevent static linking of such archives. So we do filename-based
11745    # shared library versioning with .so extension only, which is used
11746    # when both runtime linking and shared linking is enabled.
11747    # Unfortunately, runtime linking may impact performance, so we do
11748    # not want this to be the default eventually. Also, we use the
11749    # versioned .so libs for executables only if there is the -brtl
11750    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11751    # To allow for filename-based versioning support, we need to create
11752    # libNAME.so.V as an archive file, containing:
11753    # *) an Import File, referring to the versioned filename of the
11754    #    archive as well as the shared archive member, telling the
11755    #    bitwidth (32 or 64) of that shared object, and providing the
11756    #    list of exported symbols of that shared object, eventually
11757    #    decorated with the 'weak' keyword
11758    # *) the shared object with the F_LOADONLY flag set, to really avoid
11759    #    it being seen by the linker.
11760    # At run time we better use the real file rather than another symlink,
11761    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11762
11763    case $with_aix_soname,$aix_use_runtimelinking in
11764    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11765    # soname into executable. Probably we can add versioning support to
11766    # collect2, so additional links can be useful in future.
11767    aix,yes) # traditional libtool
11768      dynamic_linker='AIX unversionable lib.so'
11769      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11770      # instead of lib<name>.a to let people know that these are not
11771      # typical AIX shared libraries.
11772      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11773      ;;
11774    aix,no) # traditional AIX only
11775      dynamic_linker='AIX lib.a(lib.so.V)'
11776      # We preserve .a as extension for shared libraries through AIX4.2
11777      # and later when we are not doing run time linking.
11778      library_names_spec='$libname$release.a $libname.a'
11779      soname_spec='$libname$release$shared_ext$major'
11780      ;;
11781    svr4,*) # full svr4 only
11782      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11783      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11784      # We do not specify a path in Import Files, so LIBPATH fires.
11785      shlibpath_overrides_runpath=yes
11786      ;;
11787    *,yes) # both, prefer svr4
11788      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11789      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11790      # unpreferred sharedlib libNAME.a needs extra handling
11791      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"'
11792      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"'
11793      # We do not specify a path in Import Files, so LIBPATH fires.
11794      shlibpath_overrides_runpath=yes
11795      ;;
11796    *,no) # both, prefer aix
11797      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11798      library_names_spec='$libname$release.a $libname.a'
11799      soname_spec='$libname$release$shared_ext$major'
11800      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11801      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)'
11802      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"'
11803      ;;
11804    esac
11805    shlibpath_var=LIBPATH
11806  fi
11807  ;;
11808
11809amigaos*)
11810  case $host_cpu in
11811  powerpc)
11812    # Since July 2007 AmigaOS4 officially supports .so libraries.
11813    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11814    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11815    ;;
11816  m68k)
11817    library_names_spec='$libname.ixlibrary $libname.a'
11818    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11819    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'
11820    ;;
11821  esac
11822  ;;
11823
11824beos*)
11825  library_names_spec='$libname$shared_ext'
11826  dynamic_linker="$host_os ld.so"
11827  shlibpath_var=LIBRARY_PATH
11828  ;;
11829
11830bsdi[45]*)
11831  version_type=linux # correct to gnu/linux during the next big refactor
11832  need_version=no
11833  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11834  soname_spec='$libname$release$shared_ext$major'
11835  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11836  shlibpath_var=LD_LIBRARY_PATH
11837  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11838  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11839  # the default ld.so.conf also contains /usr/contrib/lib and
11840  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11841  # libtool to hard-code these into programs
11842  ;;
11843
11844cygwin* | mingw* | pw32* | cegcc*)
11845  version_type=windows
11846  shrext_cmds=.dll
11847  need_version=no
11848  need_lib_prefix=no
11849
11850  case $GCC,$cc_basename in
11851  yes,*)
11852    # gcc
11853    library_names_spec='$libname.dll.a'
11854    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11855    postinstall_cmds='base_file=`basename \$file`~
11856      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11857      dldir=$destdir/`dirname \$dlpath`~
11858      test -d \$dldir || mkdir -p \$dldir~
11859      $install_prog $dir/$dlname \$dldir/$dlname~
11860      chmod a+x \$dldir/$dlname~
11861      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11862        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11863      fi'
11864    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11865      dlpath=$dir/\$dldll~
11866       $RM \$dlpath'
11867    shlibpath_overrides_runpath=yes
11868
11869    case $host_os in
11870    cygwin*)
11871      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11872      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11873
11874      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11875      ;;
11876    mingw* | cegcc*)
11877      # MinGW DLLs use traditional 'lib' prefix
11878      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11879      ;;
11880    pw32*)
11881      # pw32 DLLs use 'pw' prefix rather than 'lib'
11882      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11883      ;;
11884    esac
11885    dynamic_linker='Win32 ld.exe'
11886    ;;
11887
11888  *,cl*)
11889    # Native MSVC
11890    libname_spec='$name'
11891    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11892    library_names_spec='$libname.dll.lib'
11893
11894    case $build_os in
11895    mingw*)
11896      sys_lib_search_path_spec=
11897      lt_save_ifs=$IFS
11898      IFS=';'
11899      for lt_path in $LIB
11900      do
11901        IFS=$lt_save_ifs
11902        # Let DOS variable expansion print the short 8.3 style file name.
11903        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11904        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11905      done
11906      IFS=$lt_save_ifs
11907      # Convert to MSYS style.
11908      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11909      ;;
11910    cygwin*)
11911      # Convert to unix form, then to dos form, then back to unix form
11912      # but this time dos style (no spaces!) so that the unix form looks
11913      # like /cygdrive/c/PROGRA~1:/cygdr...
11914      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11915      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11916      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11917      ;;
11918    *)
11919      sys_lib_search_path_spec=$LIB
11920      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11921        # It is most probably a Windows format PATH.
11922        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11923      else
11924        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11925      fi
11926      # FIXME: find the short name or the path components, as spaces are
11927      # common. (e.g. "Program Files" -> "PROGRA~1")
11928      ;;
11929    esac
11930
11931    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11932    postinstall_cmds='base_file=`basename \$file`~
11933      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11934      dldir=$destdir/`dirname \$dlpath`~
11935      test -d \$dldir || mkdir -p \$dldir~
11936      $install_prog $dir/$dlname \$dldir/$dlname'
11937    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11938      dlpath=$dir/\$dldll~
11939       $RM \$dlpath'
11940    shlibpath_overrides_runpath=yes
11941    dynamic_linker='Win32 link.exe'
11942    ;;
11943
11944  *)
11945    # Assume MSVC wrapper
11946    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11947    dynamic_linker='Win32 ld.exe'
11948    ;;
11949  esac
11950  # FIXME: first we should search . and the directory the executable is in
11951  shlibpath_var=PATH
11952  ;;
11953
11954darwin* | rhapsody*)
11955  dynamic_linker="$host_os dyld"
11956  version_type=darwin
11957  need_lib_prefix=no
11958  need_version=no
11959  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11960  soname_spec='$libname$release$major$shared_ext'
11961  shlibpath_overrides_runpath=yes
11962  shlibpath_var=DYLD_LIBRARY_PATH
11963  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11964
11965  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11966  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11967  ;;
11968
11969dgux*)
11970  version_type=linux # correct to gnu/linux during the next big refactor
11971  need_lib_prefix=no
11972  need_version=no
11973  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11974  soname_spec='$libname$release$shared_ext$major'
11975  shlibpath_var=LD_LIBRARY_PATH
11976  ;;
11977
11978freebsd* | dragonfly*)
11979  # DragonFly does not have aout.  When/if they implement a new
11980  # versioning mechanism, adjust this.
11981  if test -x /usr/bin/objformat; then
11982    objformat=`/usr/bin/objformat`
11983  else
11984    case $host_os in
11985    freebsd[23].*) objformat=aout ;;
11986    *) objformat=elf ;;
11987    esac
11988  fi
11989  version_type=freebsd-$objformat
11990  case $version_type in
11991    freebsd-elf*)
11992      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11993      soname_spec='$libname$release$shared_ext$major'
11994      need_version=no
11995      need_lib_prefix=no
11996      ;;
11997    freebsd-*)
11998      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11999      need_version=yes
12000      ;;
12001  esac
12002  shlibpath_var=LD_LIBRARY_PATH
12003  case $host_os in
12004  freebsd2.*)
12005    shlibpath_overrides_runpath=yes
12006    ;;
12007  freebsd3.[01]* | freebsdelf3.[01]*)
12008    shlibpath_overrides_runpath=yes
12009    hardcode_into_libs=yes
12010    ;;
12011  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12012  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12013    shlibpath_overrides_runpath=no
12014    hardcode_into_libs=yes
12015    ;;
12016  *) # from 4.6 on, and DragonFly
12017    shlibpath_overrides_runpath=yes
12018    hardcode_into_libs=yes
12019    ;;
12020  esac
12021  ;;
12022
12023haiku*)
12024  version_type=linux # correct to gnu/linux during the next big refactor
12025  need_lib_prefix=no
12026  need_version=no
12027  dynamic_linker="$host_os runtime_loader"
12028  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12029  soname_spec='$libname$release$shared_ext$major'
12030  shlibpath_var=LIBRARY_PATH
12031  shlibpath_overrides_runpath=no
12032  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12033  hardcode_into_libs=yes
12034  ;;
12035
12036hpux9* | hpux10* | hpux11*)
12037  # Give a soname corresponding to the major version so that dld.sl refuses to
12038  # link against other versions.
12039  version_type=sunos
12040  need_lib_prefix=no
12041  need_version=no
12042  case $host_cpu in
12043  ia64*)
12044    shrext_cmds='.so'
12045    hardcode_into_libs=yes
12046    dynamic_linker="$host_os dld.so"
12047    shlibpath_var=LD_LIBRARY_PATH
12048    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12049    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12050    soname_spec='$libname$release$shared_ext$major'
12051    if test 32 = "$HPUX_IA64_MODE"; then
12052      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12053      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12054    else
12055      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12056      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12057    fi
12058    ;;
12059  hppa*64*)
12060    shrext_cmds='.sl'
12061    hardcode_into_libs=yes
12062    dynamic_linker="$host_os dld.sl"
12063    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12064    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12065    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12066    soname_spec='$libname$release$shared_ext$major'
12067    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12068    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12069    ;;
12070  *)
12071    shrext_cmds='.sl'
12072    dynamic_linker="$host_os dld.sl"
12073    shlibpath_var=SHLIB_PATH
12074    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12075    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12076    soname_spec='$libname$release$shared_ext$major'
12077    ;;
12078  esac
12079  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12080  postinstall_cmds='chmod 555 $lib'
12081  # or fails outright, so override atomically:
12082  install_override_mode=555
12083  ;;
12084
12085interix[3-9]*)
12086  version_type=linux # correct to gnu/linux during the next big refactor
12087  need_lib_prefix=no
12088  need_version=no
12089  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12090  soname_spec='$libname$release$shared_ext$major'
12091  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12092  shlibpath_var=LD_LIBRARY_PATH
12093  shlibpath_overrides_runpath=no
12094  hardcode_into_libs=yes
12095  ;;
12096
12097irix5* | irix6* | nonstopux*)
12098  case $host_os in
12099    nonstopux*) version_type=nonstopux ;;
12100    *)
12101	if test yes = "$lt_cv_prog_gnu_ld"; then
12102		version_type=linux # correct to gnu/linux during the next big refactor
12103	else
12104		version_type=irix
12105	fi ;;
12106  esac
12107  need_lib_prefix=no
12108  need_version=no
12109  soname_spec='$libname$release$shared_ext$major'
12110  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12111  case $host_os in
12112  irix5* | nonstopux*)
12113    libsuff= shlibsuff=
12114    ;;
12115  *)
12116    case $LD in # libtool.m4 will add one of these switches to LD
12117    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12118      libsuff= shlibsuff= libmagic=32-bit;;
12119    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12120      libsuff=32 shlibsuff=N32 libmagic=N32;;
12121    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12122      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12123    *) libsuff= shlibsuff= libmagic=never-match;;
12124    esac
12125    ;;
12126  esac
12127  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12128  shlibpath_overrides_runpath=no
12129  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12130  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12131  hardcode_into_libs=yes
12132  ;;
12133
12134# No shared lib support for Linux oldld, aout, or coff.
12135linux*oldld* | linux*aout* | linux*coff*)
12136  dynamic_linker=no
12137  ;;
12138
12139linux*android*)
12140  version_type=none # Android doesn't support versioned libraries.
12141  need_lib_prefix=no
12142  need_version=no
12143  library_names_spec='$libname$release$shared_ext'
12144  soname_spec='$libname$release$shared_ext'
12145  finish_cmds=
12146  shlibpath_var=LD_LIBRARY_PATH
12147  shlibpath_overrides_runpath=yes
12148
12149  # This implies no fast_install, which is unacceptable.
12150  # Some rework will be needed to allow for fast_install
12151  # before this can be enabled.
12152  hardcode_into_libs=yes
12153
12154  dynamic_linker='Android linker'
12155  # Don't embed -rpath directories since the linker doesn't support them.
12156  hardcode_libdir_flag_spec='-L$libdir'
12157  ;;
12158
12159# This must be glibc/ELF.
12160linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12161  version_type=linux # correct to gnu/linux during the next big refactor
12162  need_lib_prefix=no
12163  need_version=no
12164  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12165  soname_spec='$libname$release$shared_ext$major'
12166  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12167  shlibpath_var=LD_LIBRARY_PATH
12168  shlibpath_overrides_runpath=no
12169
12170  # Some binutils ld are patched to set DT_RUNPATH
12171  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12172  $as_echo_n "(cached) " >&6
12173else
12174  lt_cv_shlibpath_overrides_runpath=no
12175    save_LDFLAGS=$LDFLAGS
12176    save_libdir=$libdir
12177    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12178	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180/* end confdefs.h.  */
12181
12182int
12183main ()
12184{
12185
12186  ;
12187  return 0;
12188}
12189_ACEOF
12190if ac_fn_c_try_link "$LINENO"; then :
12191  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12192  lt_cv_shlibpath_overrides_runpath=yes
12193fi
12194fi
12195rm -f core conftest.err conftest.$ac_objext \
12196    conftest$ac_exeext conftest.$ac_ext
12197    LDFLAGS=$save_LDFLAGS
12198    libdir=$save_libdir
12199
12200fi
12201
12202  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12203
12204  # This implies no fast_install, which is unacceptable.
12205  # Some rework will be needed to allow for fast_install
12206  # before this can be enabled.
12207  hardcode_into_libs=yes
12208
12209  # Add ABI-specific directories to the system library path.
12210  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12211
12212  # Ideally, we could use ldconfig to report *all* directores which are
12213  # searched for libraries, however this is still not possible.  Aside from not
12214  # being certain /sbin/ldconfig is available, command
12215  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12216  # even though it is searched at run-time.  Try to do the best guess by
12217  # appending ld.so.conf contents (and includes) to the search path.
12218  if test -f /etc/ld.so.conf; then
12219    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' ' '`
12220    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12221  fi
12222
12223  # We used to test for /lib/ld.so.1 and disable shared libraries on
12224  # powerpc, because MkLinux only supported shared libraries with the
12225  # GNU dynamic linker.  Since this was broken with cross compilers,
12226  # most powerpc-linux boxes support dynamic linking these days and
12227  # people can always --disable-shared, the test was removed, and we
12228  # assume the GNU/Linux dynamic linker is in use.
12229  dynamic_linker='GNU/Linux ld.so'
12230  ;;
12231
12232netbsd*)
12233  version_type=sunos
12234  need_lib_prefix=no
12235  need_version=no
12236  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12237    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12238    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12239    dynamic_linker='NetBSD (a.out) ld.so'
12240  else
12241    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12242    soname_spec='$libname$release$shared_ext$major'
12243    dynamic_linker='NetBSD ld.elf_so'
12244  fi
12245  shlibpath_var=LD_LIBRARY_PATH
12246  shlibpath_overrides_runpath=yes
12247  hardcode_into_libs=yes
12248  ;;
12249
12250newsos6)
12251  version_type=linux # correct to gnu/linux during the next big refactor
12252  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12253  shlibpath_var=LD_LIBRARY_PATH
12254  shlibpath_overrides_runpath=yes
12255  ;;
12256
12257*nto* | *qnx*)
12258  version_type=qnx
12259  need_lib_prefix=no
12260  need_version=no
12261  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12262  soname_spec='$libname$release$shared_ext$major'
12263  shlibpath_var=LD_LIBRARY_PATH
12264  shlibpath_overrides_runpath=no
12265  hardcode_into_libs=yes
12266  dynamic_linker='ldqnx.so'
12267  ;;
12268
12269openbsd* | bitrig*)
12270  version_type=sunos
12271  sys_lib_dlsearch_path_spec=/usr/lib
12272  need_lib_prefix=no
12273  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12274    need_version=no
12275  else
12276    need_version=yes
12277  fi
12278  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12279  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12280  shlibpath_var=LD_LIBRARY_PATH
12281  shlibpath_overrides_runpath=yes
12282  ;;
12283
12284os2*)
12285  libname_spec='$name'
12286  version_type=windows
12287  shrext_cmds=.dll
12288  need_version=no
12289  need_lib_prefix=no
12290  # OS/2 can only load a DLL with a base name of 8 characters or less.
12291  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12292    v=$($ECHO $release$versuffix | tr -d .-);
12293    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12294    $ECHO $n$v`$shared_ext'
12295  library_names_spec='${libname}_dll.$libext'
12296  dynamic_linker='OS/2 ld.exe'
12297  shlibpath_var=BEGINLIBPATH
12298  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12299  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12300  postinstall_cmds='base_file=`basename \$file`~
12301    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12302    dldir=$destdir/`dirname \$dlpath`~
12303    test -d \$dldir || mkdir -p \$dldir~
12304    $install_prog $dir/$dlname \$dldir/$dlname~
12305    chmod a+x \$dldir/$dlname~
12306    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12307      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12308    fi'
12309  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12310    dlpath=$dir/\$dldll~
12311    $RM \$dlpath'
12312  ;;
12313
12314osf3* | osf4* | osf5*)
12315  version_type=osf
12316  need_lib_prefix=no
12317  need_version=no
12318  soname_spec='$libname$release$shared_ext$major'
12319  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12320  shlibpath_var=LD_LIBRARY_PATH
12321  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12322  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12323  ;;
12324
12325rdos*)
12326  dynamic_linker=no
12327  ;;
12328
12329solaris*)
12330  version_type=linux # correct to gnu/linux during the next big refactor
12331  need_lib_prefix=no
12332  need_version=no
12333  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12334  soname_spec='$libname$release$shared_ext$major'
12335  shlibpath_var=LD_LIBRARY_PATH
12336  shlibpath_overrides_runpath=yes
12337  hardcode_into_libs=yes
12338  # ldd complains unless libraries are executable
12339  postinstall_cmds='chmod +x $lib'
12340  ;;
12341
12342sunos4*)
12343  version_type=sunos
12344  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12345  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12346  shlibpath_var=LD_LIBRARY_PATH
12347  shlibpath_overrides_runpath=yes
12348  if test yes = "$with_gnu_ld"; then
12349    need_lib_prefix=no
12350  fi
12351  need_version=yes
12352  ;;
12353
12354sysv4 | sysv4.3*)
12355  version_type=linux # correct to gnu/linux during the next big refactor
12356  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12357  soname_spec='$libname$release$shared_ext$major'
12358  shlibpath_var=LD_LIBRARY_PATH
12359  case $host_vendor in
12360    sni)
12361      shlibpath_overrides_runpath=no
12362      need_lib_prefix=no
12363      runpath_var=LD_RUN_PATH
12364      ;;
12365    siemens)
12366      need_lib_prefix=no
12367      ;;
12368    motorola)
12369      need_lib_prefix=no
12370      need_version=no
12371      shlibpath_overrides_runpath=no
12372      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12373      ;;
12374  esac
12375  ;;
12376
12377sysv4*MP*)
12378  if test -d /usr/nec; then
12379    version_type=linux # correct to gnu/linux during the next big refactor
12380    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12381    soname_spec='$libname$shared_ext.$major'
12382    shlibpath_var=LD_LIBRARY_PATH
12383  fi
12384  ;;
12385
12386sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12387  version_type=sco
12388  need_lib_prefix=no
12389  need_version=no
12390  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12391  soname_spec='$libname$release$shared_ext$major'
12392  shlibpath_var=LD_LIBRARY_PATH
12393  shlibpath_overrides_runpath=yes
12394  hardcode_into_libs=yes
12395  if test yes = "$with_gnu_ld"; then
12396    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12397  else
12398    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12399    case $host_os in
12400      sco3.2v5*)
12401        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12402	;;
12403    esac
12404  fi
12405  sys_lib_dlsearch_path_spec='/usr/lib'
12406  ;;
12407
12408tpf*)
12409  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12410  version_type=linux # correct to gnu/linux during the next big refactor
12411  need_lib_prefix=no
12412  need_version=no
12413  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12414  shlibpath_var=LD_LIBRARY_PATH
12415  shlibpath_overrides_runpath=no
12416  hardcode_into_libs=yes
12417  ;;
12418
12419uts4*)
12420  version_type=linux # correct to gnu/linux during the next big refactor
12421  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12422  soname_spec='$libname$release$shared_ext$major'
12423  shlibpath_var=LD_LIBRARY_PATH
12424  ;;
12425
12426*)
12427  dynamic_linker=no
12428  ;;
12429esac
12430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12431$as_echo "$dynamic_linker" >&6; }
12432test no = "$dynamic_linker" && can_build_shared=no
12433
12434variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12435if test yes = "$GCC"; then
12436  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12437fi
12438
12439if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12440  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12441fi
12442
12443if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12444  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12445fi
12446
12447# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12448configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12449
12450# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12451func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12452
12453# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12454configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12553$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12554hardcode_action=
12555if test -n "$hardcode_libdir_flag_spec" ||
12556   test -n "$runpath_var" ||
12557   test yes = "$hardcode_automatic"; then
12558
12559  # We can hardcode non-existent directories.
12560  if test no != "$hardcode_direct" &&
12561     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12562     # have to relink, otherwise we might link with an installed library
12563     # when we should be linking with a yet-to-be-installed one
12564     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12565     test no != "$hardcode_minus_L"; then
12566    # Linking always hardcodes the temporary library directory.
12567    hardcode_action=relink
12568  else
12569    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12570    hardcode_action=immediate
12571  fi
12572else
12573  # We cannot hardcode anything, or else we can only hardcode existing
12574  # directories.
12575  hardcode_action=unsupported
12576fi
12577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12578$as_echo "$hardcode_action" >&6; }
12579
12580if test relink = "$hardcode_action" ||
12581   test yes = "$inherit_rpath"; then
12582  # Fast installation is not supported
12583  enable_fast_install=no
12584elif test yes = "$shlibpath_overrides_runpath" ||
12585     test no = "$enable_shared"; then
12586  # Fast installation is not necessary
12587  enable_fast_install=needless
12588fi
12589
12590
12591
12592
12593
12594
12595  if test yes != "$enable_dlopen"; then
12596  enable_dlopen=unknown
12597  enable_dlopen_self=unknown
12598  enable_dlopen_self_static=unknown
12599else
12600  lt_cv_dlopen=no
12601  lt_cv_dlopen_libs=
12602
12603  case $host_os in
12604  beos*)
12605    lt_cv_dlopen=load_add_on
12606    lt_cv_dlopen_libs=
12607    lt_cv_dlopen_self=yes
12608    ;;
12609
12610  mingw* | pw32* | cegcc*)
12611    lt_cv_dlopen=LoadLibrary
12612    lt_cv_dlopen_libs=
12613    ;;
12614
12615  cygwin*)
12616    lt_cv_dlopen=dlopen
12617    lt_cv_dlopen_libs=
12618    ;;
12619
12620  darwin*)
12621    # if libdl is installed we need to link against it
12622    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12623$as_echo_n "checking for dlopen in -ldl... " >&6; }
12624if ${ac_cv_lib_dl_dlopen+:} false; then :
12625  $as_echo_n "(cached) " >&6
12626else
12627  ac_check_lib_save_LIBS=$LIBS
12628LIBS="-ldl  $LIBS"
12629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630/* end confdefs.h.  */
12631
12632/* Override any GCC internal prototype to avoid an error.
12633   Use char because int might match the return type of a GCC
12634   builtin and then its argument prototype would still apply.  */
12635#ifdef __cplusplus
12636extern "C"
12637#endif
12638char dlopen ();
12639int
12640main ()
12641{
12642return dlopen ();
12643  ;
12644  return 0;
12645}
12646_ACEOF
12647if ac_fn_c_try_link "$LINENO"; then :
12648  ac_cv_lib_dl_dlopen=yes
12649else
12650  ac_cv_lib_dl_dlopen=no
12651fi
12652rm -f core conftest.err conftest.$ac_objext \
12653    conftest$ac_exeext conftest.$ac_ext
12654LIBS=$ac_check_lib_save_LIBS
12655fi
12656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12657$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12658if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12659  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12660else
12661
12662    lt_cv_dlopen=dyld
12663    lt_cv_dlopen_libs=
12664    lt_cv_dlopen_self=yes
12665
12666fi
12667
12668    ;;
12669
12670  tpf*)
12671    # Don't try to run any link tests for TPF.  We know it's impossible
12672    # because TPF is a cross-compiler, and we know how we open DSOs.
12673    lt_cv_dlopen=dlopen
12674    lt_cv_dlopen_libs=
12675    lt_cv_dlopen_self=no
12676    ;;
12677
12678  *)
12679    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12680if test "x$ac_cv_func_shl_load" = xyes; then :
12681  lt_cv_dlopen=shl_load
12682else
12683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12684$as_echo_n "checking for shl_load in -ldld... " >&6; }
12685if ${ac_cv_lib_dld_shl_load+:} false; then :
12686  $as_echo_n "(cached) " >&6
12687else
12688  ac_check_lib_save_LIBS=$LIBS
12689LIBS="-ldld  $LIBS"
12690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691/* end confdefs.h.  */
12692
12693/* Override any GCC internal prototype to avoid an error.
12694   Use char because int might match the return type of a GCC
12695   builtin and then its argument prototype would still apply.  */
12696#ifdef __cplusplus
12697extern "C"
12698#endif
12699char shl_load ();
12700int
12701main ()
12702{
12703return shl_load ();
12704  ;
12705  return 0;
12706}
12707_ACEOF
12708if ac_fn_c_try_link "$LINENO"; then :
12709  ac_cv_lib_dld_shl_load=yes
12710else
12711  ac_cv_lib_dld_shl_load=no
12712fi
12713rm -f core conftest.err conftest.$ac_objext \
12714    conftest$ac_exeext conftest.$ac_ext
12715LIBS=$ac_check_lib_save_LIBS
12716fi
12717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12718$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12719if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12720  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12721else
12722  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12723if test "x$ac_cv_func_dlopen" = xyes; then :
12724  lt_cv_dlopen=dlopen
12725else
12726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12727$as_echo_n "checking for dlopen in -ldl... " >&6; }
12728if ${ac_cv_lib_dl_dlopen+:} false; then :
12729  $as_echo_n "(cached) " >&6
12730else
12731  ac_check_lib_save_LIBS=$LIBS
12732LIBS="-ldl  $LIBS"
12733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734/* end confdefs.h.  */
12735
12736/* Override any GCC internal prototype to avoid an error.
12737   Use char because int might match the return type of a GCC
12738   builtin and then its argument prototype would still apply.  */
12739#ifdef __cplusplus
12740extern "C"
12741#endif
12742char dlopen ();
12743int
12744main ()
12745{
12746return dlopen ();
12747  ;
12748  return 0;
12749}
12750_ACEOF
12751if ac_fn_c_try_link "$LINENO"; then :
12752  ac_cv_lib_dl_dlopen=yes
12753else
12754  ac_cv_lib_dl_dlopen=no
12755fi
12756rm -f core conftest.err conftest.$ac_objext \
12757    conftest$ac_exeext conftest.$ac_ext
12758LIBS=$ac_check_lib_save_LIBS
12759fi
12760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12761$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12762if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12763  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12764else
12765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12766$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12767if ${ac_cv_lib_svld_dlopen+:} false; then :
12768  $as_echo_n "(cached) " >&6
12769else
12770  ac_check_lib_save_LIBS=$LIBS
12771LIBS="-lsvld  $LIBS"
12772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773/* end confdefs.h.  */
12774
12775/* Override any GCC internal prototype to avoid an error.
12776   Use char because int might match the return type of a GCC
12777   builtin and then its argument prototype would still apply.  */
12778#ifdef __cplusplus
12779extern "C"
12780#endif
12781char dlopen ();
12782int
12783main ()
12784{
12785return dlopen ();
12786  ;
12787  return 0;
12788}
12789_ACEOF
12790if ac_fn_c_try_link "$LINENO"; then :
12791  ac_cv_lib_svld_dlopen=yes
12792else
12793  ac_cv_lib_svld_dlopen=no
12794fi
12795rm -f core conftest.err conftest.$ac_objext \
12796    conftest$ac_exeext conftest.$ac_ext
12797LIBS=$ac_check_lib_save_LIBS
12798fi
12799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12800$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12801if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12802  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12803else
12804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12805$as_echo_n "checking for dld_link in -ldld... " >&6; }
12806if ${ac_cv_lib_dld_dld_link+:} false; then :
12807  $as_echo_n "(cached) " >&6
12808else
12809  ac_check_lib_save_LIBS=$LIBS
12810LIBS="-ldld  $LIBS"
12811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812/* end confdefs.h.  */
12813
12814/* Override any GCC internal prototype to avoid an error.
12815   Use char because int might match the return type of a GCC
12816   builtin and then its argument prototype would still apply.  */
12817#ifdef __cplusplus
12818extern "C"
12819#endif
12820char dld_link ();
12821int
12822main ()
12823{
12824return dld_link ();
12825  ;
12826  return 0;
12827}
12828_ACEOF
12829if ac_fn_c_try_link "$LINENO"; then :
12830  ac_cv_lib_dld_dld_link=yes
12831else
12832  ac_cv_lib_dld_dld_link=no
12833fi
12834rm -f core conftest.err conftest.$ac_objext \
12835    conftest$ac_exeext conftest.$ac_ext
12836LIBS=$ac_check_lib_save_LIBS
12837fi
12838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12839$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12840if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12841  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12842fi
12843
12844
12845fi
12846
12847
12848fi
12849
12850
12851fi
12852
12853
12854fi
12855
12856
12857fi
12858
12859    ;;
12860  esac
12861
12862  if test no = "$lt_cv_dlopen"; then
12863    enable_dlopen=no
12864  else
12865    enable_dlopen=yes
12866  fi
12867
12868  case $lt_cv_dlopen in
12869  dlopen)
12870    save_CPPFLAGS=$CPPFLAGS
12871    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12872
12873    save_LDFLAGS=$LDFLAGS
12874    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12875
12876    save_LIBS=$LIBS
12877    LIBS="$lt_cv_dlopen_libs $LIBS"
12878
12879    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12880$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12881if ${lt_cv_dlopen_self+:} false; then :
12882  $as_echo_n "(cached) " >&6
12883else
12884  	  if test yes = "$cross_compiling"; then :
12885  lt_cv_dlopen_self=cross
12886else
12887  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12888  lt_status=$lt_dlunknown
12889  cat > conftest.$ac_ext <<_LT_EOF
12890#line $LINENO "configure"
12891#include "confdefs.h"
12892
12893#if HAVE_DLFCN_H
12894#include <dlfcn.h>
12895#endif
12896
12897#include <stdio.h>
12898
12899#ifdef RTLD_GLOBAL
12900#  define LT_DLGLOBAL		RTLD_GLOBAL
12901#else
12902#  ifdef DL_GLOBAL
12903#    define LT_DLGLOBAL		DL_GLOBAL
12904#  else
12905#    define LT_DLGLOBAL		0
12906#  endif
12907#endif
12908
12909/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12910   find out it does not work in some platform. */
12911#ifndef LT_DLLAZY_OR_NOW
12912#  ifdef RTLD_LAZY
12913#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12914#  else
12915#    ifdef DL_LAZY
12916#      define LT_DLLAZY_OR_NOW		DL_LAZY
12917#    else
12918#      ifdef RTLD_NOW
12919#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12920#      else
12921#        ifdef DL_NOW
12922#          define LT_DLLAZY_OR_NOW	DL_NOW
12923#        else
12924#          define LT_DLLAZY_OR_NOW	0
12925#        endif
12926#      endif
12927#    endif
12928#  endif
12929#endif
12930
12931/* When -fvisibility=hidden is used, assume the code has been annotated
12932   correspondingly for the symbols needed.  */
12933#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12934int fnord () __attribute__((visibility("default")));
12935#endif
12936
12937int fnord () { return 42; }
12938int main ()
12939{
12940  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12941  int status = $lt_dlunknown;
12942
12943  if (self)
12944    {
12945      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12946      else
12947        {
12948	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12949          else puts (dlerror ());
12950	}
12951      /* dlclose (self); */
12952    }
12953  else
12954    puts (dlerror ());
12955
12956  return status;
12957}
12958_LT_EOF
12959  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12960  (eval $ac_link) 2>&5
12961  ac_status=$?
12962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12963  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12964    (./conftest; exit; ) >&5 2>/dev/null
12965    lt_status=$?
12966    case x$lt_status in
12967      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12968      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12969      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12970    esac
12971  else :
12972    # compilation failed
12973    lt_cv_dlopen_self=no
12974  fi
12975fi
12976rm -fr conftest*
12977
12978
12979fi
12980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12981$as_echo "$lt_cv_dlopen_self" >&6; }
12982
12983    if test yes = "$lt_cv_dlopen_self"; then
12984      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12985      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12986$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12987if ${lt_cv_dlopen_self_static+:} false; then :
12988  $as_echo_n "(cached) " >&6
12989else
12990  	  if test yes = "$cross_compiling"; then :
12991  lt_cv_dlopen_self_static=cross
12992else
12993  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12994  lt_status=$lt_dlunknown
12995  cat > conftest.$ac_ext <<_LT_EOF
12996#line $LINENO "configure"
12997#include "confdefs.h"
12998
12999#if HAVE_DLFCN_H
13000#include <dlfcn.h>
13001#endif
13002
13003#include <stdio.h>
13004
13005#ifdef RTLD_GLOBAL
13006#  define LT_DLGLOBAL		RTLD_GLOBAL
13007#else
13008#  ifdef DL_GLOBAL
13009#    define LT_DLGLOBAL		DL_GLOBAL
13010#  else
13011#    define LT_DLGLOBAL		0
13012#  endif
13013#endif
13014
13015/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13016   find out it does not work in some platform. */
13017#ifndef LT_DLLAZY_OR_NOW
13018#  ifdef RTLD_LAZY
13019#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13020#  else
13021#    ifdef DL_LAZY
13022#      define LT_DLLAZY_OR_NOW		DL_LAZY
13023#    else
13024#      ifdef RTLD_NOW
13025#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13026#      else
13027#        ifdef DL_NOW
13028#          define LT_DLLAZY_OR_NOW	DL_NOW
13029#        else
13030#          define LT_DLLAZY_OR_NOW	0
13031#        endif
13032#      endif
13033#    endif
13034#  endif
13035#endif
13036
13037/* When -fvisibility=hidden is used, assume the code has been annotated
13038   correspondingly for the symbols needed.  */
13039#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13040int fnord () __attribute__((visibility("default")));
13041#endif
13042
13043int fnord () { return 42; }
13044int main ()
13045{
13046  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13047  int status = $lt_dlunknown;
13048
13049  if (self)
13050    {
13051      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13052      else
13053        {
13054	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13055          else puts (dlerror ());
13056	}
13057      /* dlclose (self); */
13058    }
13059  else
13060    puts (dlerror ());
13061
13062  return status;
13063}
13064_LT_EOF
13065  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13066  (eval $ac_link) 2>&5
13067  ac_status=$?
13068  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13070    (./conftest; exit; ) >&5 2>/dev/null
13071    lt_status=$?
13072    case x$lt_status in
13073      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13074      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13075      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13076    esac
13077  else :
13078    # compilation failed
13079    lt_cv_dlopen_self_static=no
13080  fi
13081fi
13082rm -fr conftest*
13083
13084
13085fi
13086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13087$as_echo "$lt_cv_dlopen_self_static" >&6; }
13088    fi
13089
13090    CPPFLAGS=$save_CPPFLAGS
13091    LDFLAGS=$save_LDFLAGS
13092    LIBS=$save_LIBS
13093    ;;
13094  esac
13095
13096  case $lt_cv_dlopen_self in
13097  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13098  *) enable_dlopen_self=unknown ;;
13099  esac
13100
13101  case $lt_cv_dlopen_self_static in
13102  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13103  *) enable_dlopen_self_static=unknown ;;
13104  esac
13105fi
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123striplib=
13124old_striplib=
13125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13126$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13127if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13128  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13129  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13131$as_echo "yes" >&6; }
13132else
13133# FIXME - insert some real tests, host_os isn't really good enough
13134  case $host_os in
13135  darwin*)
13136    if test -n "$STRIP"; then
13137      striplib="$STRIP -x"
13138      old_striplib="$STRIP -S"
13139      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13140$as_echo "yes" >&6; }
13141    else
13142      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143$as_echo "no" >&6; }
13144    fi
13145    ;;
13146  *)
13147    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148$as_echo "no" >&6; }
13149    ;;
13150  esac
13151fi
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164  # Report what library types will actually be built
13165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13166$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13168$as_echo "$can_build_shared" >&6; }
13169
13170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13171$as_echo_n "checking whether to build shared libraries... " >&6; }
13172  test no = "$can_build_shared" && enable_shared=no
13173
13174  # On AIX, shared libraries and static libraries use the same namespace, and
13175  # are all built from PIC.
13176  case $host_os in
13177  aix3*)
13178    test yes = "$enable_shared" && enable_static=no
13179    if test -n "$RANLIB"; then
13180      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13181      postinstall_cmds='$RANLIB $lib'
13182    fi
13183    ;;
13184
13185  aix[4-9]*)
13186    if test ia64 != "$host_cpu"; then
13187      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13188      yes,aix,yes) ;;			# shared object as lib.so file only
13189      yes,svr4,*) ;;			# shared object as lib.so archive member only
13190      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13191      esac
13192    fi
13193    ;;
13194  esac
13195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13196$as_echo "$enable_shared" >&6; }
13197
13198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13199$as_echo_n "checking whether to build static libraries... " >&6; }
13200  # Make sure either enable_shared or enable_static is yes.
13201  test yes = "$enable_shared" || enable_static=yes
13202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13203$as_echo "$enable_static" >&6; }
13204
13205
13206
13207
13208fi
13209ac_ext=c
13210ac_cpp='$CPP $CPPFLAGS'
13211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13213ac_compiler_gnu=$ac_cv_c_compiler_gnu
13214
13215CC=$lt_save_CC
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231        ac_config_commands="$ac_config_commands libtool"
13232
13233
13234
13235
13236# Only expand once:
13237
13238
13239
13240
13241# Extract the first word of "pkg-config", so it can be a program name with args.
13242set dummy pkg-config; ac_word=$2
13243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244$as_echo_n "checking for $ac_word... " >&6; }
13245if ${ac_cv_path_PKGCONFIG+:} false; then :
13246  $as_echo_n "(cached) " >&6
13247else
13248  case $PKGCONFIG in
13249  [\\/]* | ?:[\\/]*)
13250  ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
13251  ;;
13252  *)
13253  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13254for as_dir in $PATH
13255do
13256  IFS=$as_save_IFS
13257  test -z "$as_dir" && as_dir=.
13258    for ac_exec_ext in '' $ac_executable_extensions; do
13259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13260    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
13261    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262    break 2
13263  fi
13264done
13265  done
13266IFS=$as_save_IFS
13267
13268  ;;
13269esac
13270fi
13271PKGCONFIG=$ac_cv_path_PKGCONFIG
13272if test -n "$PKGCONFIG"; then
13273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
13274$as_echo "$PKGCONFIG" >&6; }
13275else
13276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277$as_echo "no" >&6; }
13278fi
13279
13280
13281
13282
13283mkdir_p="$MKDIR_P"
13284case $mkdir_p in
13285  [\\/$]* | ?:[\\/]*) ;;
13286  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
13287esac
13288
13289
13290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13291$as_echo_n "checking whether NLS is requested... " >&6; }
13292    # Check whether --enable-nls was given.
13293if test "${enable_nls+set}" = set; then :
13294  enableval=$enable_nls; USE_NLS=$enableval
13295else
13296  USE_NLS=yes
13297fi
13298
13299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13300$as_echo "$USE_NLS" >&6; }
13301
13302
13303
13304
13305      GETTEXT_MACRO_VERSION=0.18
13306
13307
13308
13309
13310# Prepare PATH_SEPARATOR.
13311# The user is always right.
13312if test "${PATH_SEPARATOR+set}" != set; then
13313  echo "#! /bin/sh" >conf$$.sh
13314  echo  "exit 0"   >>conf$$.sh
13315  chmod +x conf$$.sh
13316  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13317    PATH_SEPARATOR=';'
13318  else
13319    PATH_SEPARATOR=:
13320  fi
13321  rm -f conf$$.sh
13322fi
13323
13324# Find out how to test for executable files. Don't use a zero-byte file,
13325# as systems may use methods other than mode bits to determine executability.
13326cat >conf$$.file <<_ASEOF
13327#! /bin/sh
13328exit 0
13329_ASEOF
13330chmod +x conf$$.file
13331if test -x conf$$.file >/dev/null 2>&1; then
13332  ac_executable_p="test -x"
13333else
13334  ac_executable_p="test -f"
13335fi
13336rm -f conf$$.file
13337
13338# Extract the first word of "msgfmt", so it can be a program name with args.
13339set dummy msgfmt; ac_word=$2
13340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13341$as_echo_n "checking for $ac_word... " >&6; }
13342if ${ac_cv_path_MSGFMT+:} false; then :
13343  $as_echo_n "(cached) " >&6
13344else
13345  case "$MSGFMT" in
13346  [\\/]* | ?:[\\/]*)
13347    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13348    ;;
13349  *)
13350    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13351    for ac_dir in $PATH; do
13352      IFS="$ac_save_IFS"
13353      test -z "$ac_dir" && ac_dir=.
13354      for ac_exec_ext in '' $ac_executable_extensions; do
13355        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13356          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13357          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13358     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13359            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13360            break 2
13361          fi
13362        fi
13363      done
13364    done
13365    IFS="$ac_save_IFS"
13366  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13367    ;;
13368esac
13369fi
13370MSGFMT="$ac_cv_path_MSGFMT"
13371if test "$MSGFMT" != ":"; then
13372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13373$as_echo "$MSGFMT" >&6; }
13374else
13375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376$as_echo "no" >&6; }
13377fi
13378
13379  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13380set dummy gmsgfmt; ac_word=$2
13381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13382$as_echo_n "checking for $ac_word... " >&6; }
13383if ${ac_cv_path_GMSGFMT+:} false; then :
13384  $as_echo_n "(cached) " >&6
13385else
13386  case $GMSGFMT in
13387  [\\/]* | ?:[\\/]*)
13388  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13389  ;;
13390  *)
13391  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13392for as_dir in $PATH
13393do
13394  IFS=$as_save_IFS
13395  test -z "$as_dir" && as_dir=.
13396    for ac_exec_ext in '' $ac_executable_extensions; do
13397  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13398    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13399    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13400    break 2
13401  fi
13402done
13403  done
13404IFS=$as_save_IFS
13405
13406  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13407  ;;
13408esac
13409fi
13410GMSGFMT=$ac_cv_path_GMSGFMT
13411if test -n "$GMSGFMT"; then
13412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13413$as_echo "$GMSGFMT" >&6; }
13414else
13415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416$as_echo "no" >&6; }
13417fi
13418
13419
13420
13421    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13422    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13423    *) MSGFMT_015=$MSGFMT ;;
13424  esac
13425
13426  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13427    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13428    *) GMSGFMT_015=$GMSGFMT ;;
13429  esac
13430
13431
13432
13433# Prepare PATH_SEPARATOR.
13434# The user is always right.
13435if test "${PATH_SEPARATOR+set}" != set; then
13436  echo "#! /bin/sh" >conf$$.sh
13437  echo  "exit 0"   >>conf$$.sh
13438  chmod +x conf$$.sh
13439  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13440    PATH_SEPARATOR=';'
13441  else
13442    PATH_SEPARATOR=:
13443  fi
13444  rm -f conf$$.sh
13445fi
13446
13447# Find out how to test for executable files. Don't use a zero-byte file,
13448# as systems may use methods other than mode bits to determine executability.
13449cat >conf$$.file <<_ASEOF
13450#! /bin/sh
13451exit 0
13452_ASEOF
13453chmod +x conf$$.file
13454if test -x conf$$.file >/dev/null 2>&1; then
13455  ac_executable_p="test -x"
13456else
13457  ac_executable_p="test -f"
13458fi
13459rm -f conf$$.file
13460
13461# Extract the first word of "xgettext", so it can be a program name with args.
13462set dummy xgettext; ac_word=$2
13463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13464$as_echo_n "checking for $ac_word... " >&6; }
13465if ${ac_cv_path_XGETTEXT+:} false; then :
13466  $as_echo_n "(cached) " >&6
13467else
13468  case "$XGETTEXT" in
13469  [\\/]* | ?:[\\/]*)
13470    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13471    ;;
13472  *)
13473    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13474    for ac_dir in $PATH; do
13475      IFS="$ac_save_IFS"
13476      test -z "$ac_dir" && ac_dir=.
13477      for ac_exec_ext in '' $ac_executable_extensions; do
13478        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13479          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13480          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13481     (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
13482            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13483            break 2
13484          fi
13485        fi
13486      done
13487    done
13488    IFS="$ac_save_IFS"
13489  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13490    ;;
13491esac
13492fi
13493XGETTEXT="$ac_cv_path_XGETTEXT"
13494if test "$XGETTEXT" != ":"; then
13495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13496$as_echo "$XGETTEXT" >&6; }
13497else
13498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499$as_echo "no" >&6; }
13500fi
13501
13502    rm -f messages.po
13503
13504    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13505    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13506    *) XGETTEXT_015=$XGETTEXT ;;
13507  esac
13508
13509
13510
13511# Prepare PATH_SEPARATOR.
13512# The user is always right.
13513if test "${PATH_SEPARATOR+set}" != set; then
13514  echo "#! /bin/sh" >conf$$.sh
13515  echo  "exit 0"   >>conf$$.sh
13516  chmod +x conf$$.sh
13517  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13518    PATH_SEPARATOR=';'
13519  else
13520    PATH_SEPARATOR=:
13521  fi
13522  rm -f conf$$.sh
13523fi
13524
13525# Find out how to test for executable files. Don't use a zero-byte file,
13526# as systems may use methods other than mode bits to determine executability.
13527cat >conf$$.file <<_ASEOF
13528#! /bin/sh
13529exit 0
13530_ASEOF
13531chmod +x conf$$.file
13532if test -x conf$$.file >/dev/null 2>&1; then
13533  ac_executable_p="test -x"
13534else
13535  ac_executable_p="test -f"
13536fi
13537rm -f conf$$.file
13538
13539# Extract the first word of "msgmerge", so it can be a program name with args.
13540set dummy msgmerge; ac_word=$2
13541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13542$as_echo_n "checking for $ac_word... " >&6; }
13543if ${ac_cv_path_MSGMERGE+:} false; then :
13544  $as_echo_n "(cached) " >&6
13545else
13546  case "$MSGMERGE" in
13547  [\\/]* | ?:[\\/]*)
13548    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13549    ;;
13550  *)
13551    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13552    for ac_dir in $PATH; do
13553      IFS="$ac_save_IFS"
13554      test -z "$ac_dir" && ac_dir=.
13555      for ac_exec_ext in '' $ac_executable_extensions; do
13556        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13557          echo "$as_me: trying $ac_dir/$ac_word..." >&5
13558          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13559            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13560            break 2
13561          fi
13562        fi
13563      done
13564    done
13565    IFS="$ac_save_IFS"
13566  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13567    ;;
13568esac
13569fi
13570MSGMERGE="$ac_cv_path_MSGMERGE"
13571if test "$MSGMERGE" != ":"; then
13572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13573$as_echo "$MSGMERGE" >&6; }
13574else
13575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13576$as_echo "no" >&6; }
13577fi
13578
13579
13580        test -n "$localedir" || localedir='${datadir}/locale'
13581
13582
13583    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13584
13585
13586  ac_config_commands="$ac_config_commands po-directories"
13587
13588
13589
13590      if test "X$prefix" = "XNONE"; then
13591    acl_final_prefix="$ac_default_prefix"
13592  else
13593    acl_final_prefix="$prefix"
13594  fi
13595  if test "X$exec_prefix" = "XNONE"; then
13596    acl_final_exec_prefix='${prefix}'
13597  else
13598    acl_final_exec_prefix="$exec_prefix"
13599  fi
13600  acl_save_prefix="$prefix"
13601  prefix="$acl_final_prefix"
13602  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13603  prefix="$acl_save_prefix"
13604
13605
13606# Check whether --with-gnu-ld was given.
13607if test "${with_gnu_ld+set}" = set; then :
13608  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13609else
13610  with_gnu_ld=no
13611fi
13612
13613# Prepare PATH_SEPARATOR.
13614# The user is always right.
13615if test "${PATH_SEPARATOR+set}" != set; then
13616  echo "#! /bin/sh" >conf$$.sh
13617  echo  "exit 0"   >>conf$$.sh
13618  chmod +x conf$$.sh
13619  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13620    PATH_SEPARATOR=';'
13621  else
13622    PATH_SEPARATOR=:
13623  fi
13624  rm -f conf$$.sh
13625fi
13626ac_prog=ld
13627if test "$GCC" = yes; then
13628  # Check if gcc -print-prog-name=ld gives a path.
13629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13630$as_echo_n "checking for ld used by GCC... " >&6; }
13631  case $host in
13632  *-*-mingw*)
13633    # gcc leaves a trailing carriage return which upsets mingw
13634    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13635  *)
13636    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13637  esac
13638  case $ac_prog in
13639    # Accept absolute paths.
13640    [\\/]* | [A-Za-z]:[\\/]*)
13641      re_direlt='/[^/][^/]*/\.\./'
13642      # Canonicalize the path of ld
13643      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13644      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13645        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13646      done
13647      test -z "$LD" && LD="$ac_prog"
13648      ;;
13649  "")
13650    # If it fails, then pretend we aren't using GCC.
13651    ac_prog=ld
13652    ;;
13653  *)
13654    # If it is relative, then search for the first ld in PATH.
13655    with_gnu_ld=unknown
13656    ;;
13657  esac
13658elif test "$with_gnu_ld" = yes; then
13659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13660$as_echo_n "checking for GNU ld... " >&6; }
13661else
13662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13663$as_echo_n "checking for non-GNU ld... " >&6; }
13664fi
13665if ${acl_cv_path_LD+:} false; then :
13666  $as_echo_n "(cached) " >&6
13667else
13668  if test -z "$LD"; then
13669  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13670  for ac_dir in $PATH; do
13671    test -z "$ac_dir" && ac_dir=.
13672    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13673      acl_cv_path_LD="$ac_dir/$ac_prog"
13674      # Check to see if the program is GNU ld.  I'd rather use --version,
13675      # but apparently some GNU ld's only accept -v.
13676      # Break only if it was the GNU/non-GNU ld that we prefer.
13677      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13678      *GNU* | *'with BFD'*)
13679        test "$with_gnu_ld" != no && break ;;
13680      *)
13681        test "$with_gnu_ld" != yes && break ;;
13682      esac
13683    fi
13684  done
13685  IFS="$ac_save_ifs"
13686else
13687  acl_cv_path_LD="$LD" # Let the user override the test with a path.
13688fi
13689fi
13690
13691LD="$acl_cv_path_LD"
13692if test -n "$LD"; then
13693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13694$as_echo "$LD" >&6; }
13695else
13696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697$as_echo "no" >&6; }
13698fi
13699test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13701$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13702if ${acl_cv_prog_gnu_ld+:} false; then :
13703  $as_echo_n "(cached) " >&6
13704else
13705  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13706case `$LD -v 2>&1 </dev/null` in
13707*GNU* | *'with BFD'*)
13708  acl_cv_prog_gnu_ld=yes ;;
13709*)
13710  acl_cv_prog_gnu_ld=no ;;
13711esac
13712fi
13713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13714$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13715with_gnu_ld=$acl_cv_prog_gnu_ld
13716
13717
13718
13719
13720                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13721$as_echo_n "checking for shared library run path origin... " >&6; }
13722if ${acl_cv_rpath+:} false; then :
13723  $as_echo_n "(cached) " >&6
13724else
13725
13726    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13727    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13728    . ./conftest.sh
13729    rm -f ./conftest.sh
13730    acl_cv_rpath=done
13731
13732fi
13733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13734$as_echo "$acl_cv_rpath" >&6; }
13735  wl="$acl_cv_wl"
13736  acl_libext="$acl_cv_libext"
13737  acl_shlibext="$acl_cv_shlibext"
13738  acl_libname_spec="$acl_cv_libname_spec"
13739  acl_library_names_spec="$acl_cv_library_names_spec"
13740  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13741  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13742  acl_hardcode_direct="$acl_cv_hardcode_direct"
13743  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13744    # Check whether --enable-rpath was given.
13745if test "${enable_rpath+set}" = set; then :
13746  enableval=$enable_rpath; :
13747else
13748  enable_rpath=yes
13749fi
13750
13751
13752
13753
13754  acl_libdirstem=lib
13755  acl_libdirstem2=
13756  case "$host_os" in
13757    solaris*)
13758                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13759$as_echo_n "checking for 64-bit host... " >&6; }
13760if ${gl_cv_solaris_64bit+:} false; then :
13761  $as_echo_n "(cached) " >&6
13762else
13763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764/* end confdefs.h.  */
13765
13766#ifdef _LP64
13767sixtyfour bits
13768#endif
13769
13770_ACEOF
13771if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13772  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13773  gl_cv_solaris_64bit=yes
13774else
13775  gl_cv_solaris_64bit=no
13776fi
13777rm -f conftest*
13778
13779
13780fi
13781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13782$as_echo "$gl_cv_solaris_64bit" >&6; }
13783      if test $gl_cv_solaris_64bit = yes; then
13784        acl_libdirstem=lib/64
13785        case "$host_cpu" in
13786          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
13787          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13788        esac
13789      fi
13790      ;;
13791    *)
13792      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13793      if test -n "$searchpath"; then
13794        acl_save_IFS="${IFS= 	}"; IFS=":"
13795        for searchdir in $searchpath; do
13796          if test -d "$searchdir"; then
13797            case "$searchdir" in
13798              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13799              */../ | */.. )
13800                # Better ignore directories of this form. They are misleading.
13801                ;;
13802              *) searchdir=`cd "$searchdir" && pwd`
13803                 case "$searchdir" in
13804                   */lib64 ) acl_libdirstem=lib64 ;;
13805                 esac ;;
13806            esac
13807          fi
13808        done
13809        IFS="$acl_save_IFS"
13810      fi
13811      ;;
13812  esac
13813  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826    use_additional=yes
13827
13828  acl_save_prefix="$prefix"
13829  prefix="$acl_final_prefix"
13830  acl_save_exec_prefix="$exec_prefix"
13831  exec_prefix="$acl_final_exec_prefix"
13832
13833    eval additional_includedir=\"$includedir\"
13834    eval additional_libdir=\"$libdir\"
13835
13836  exec_prefix="$acl_save_exec_prefix"
13837  prefix="$acl_save_prefix"
13838
13839
13840# Check whether --with-libiconv-prefix was given.
13841if test "${with_libiconv_prefix+set}" = set; then :
13842  withval=$with_libiconv_prefix;
13843    if test "X$withval" = "Xno"; then
13844      use_additional=no
13845    else
13846      if test "X$withval" = "X"; then
13847
13848  acl_save_prefix="$prefix"
13849  prefix="$acl_final_prefix"
13850  acl_save_exec_prefix="$exec_prefix"
13851  exec_prefix="$acl_final_exec_prefix"
13852
13853          eval additional_includedir=\"$includedir\"
13854          eval additional_libdir=\"$libdir\"
13855
13856  exec_prefix="$acl_save_exec_prefix"
13857  prefix="$acl_save_prefix"
13858
13859      else
13860        additional_includedir="$withval/include"
13861        additional_libdir="$withval/$acl_libdirstem"
13862        if test "$acl_libdirstem2" != "$acl_libdirstem" \
13863           && ! test -d "$withval/$acl_libdirstem"; then
13864          additional_libdir="$withval/$acl_libdirstem2"
13865        fi
13866      fi
13867    fi
13868
13869fi
13870
13871      LIBICONV=
13872  LTLIBICONV=
13873  INCICONV=
13874  LIBICONV_PREFIX=
13875      HAVE_LIBICONV=
13876  rpathdirs=
13877  ltrpathdirs=
13878  names_already_handled=
13879  names_next_round='iconv '
13880  while test -n "$names_next_round"; do
13881    names_this_round="$names_next_round"
13882    names_next_round=
13883    for name in $names_this_round; do
13884      already_handled=
13885      for n in $names_already_handled; do
13886        if test "$n" = "$name"; then
13887          already_handled=yes
13888          break
13889        fi
13890      done
13891      if test -z "$already_handled"; then
13892        names_already_handled="$names_already_handled $name"
13893                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13894        eval value=\"\$HAVE_LIB$uppername\"
13895        if test -n "$value"; then
13896          if test "$value" = yes; then
13897            eval value=\"\$LIB$uppername\"
13898            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13899            eval value=\"\$LTLIB$uppername\"
13900            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13901          else
13902                                    :
13903          fi
13904        else
13905                              found_dir=
13906          found_la=
13907          found_so=
13908          found_a=
13909          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13910          if test -n "$acl_shlibext"; then
13911            shrext=".$acl_shlibext"             # typically: shrext=.so
13912          else
13913            shrext=
13914          fi
13915          if test $use_additional = yes; then
13916            dir="$additional_libdir"
13917                                    if test -n "$acl_shlibext"; then
13918              if test -f "$dir/$libname$shrext"; then
13919                found_dir="$dir"
13920                found_so="$dir/$libname$shrext"
13921              else
13922                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13923                  ver=`(cd "$dir" && \
13924                        for f in "$libname$shrext".*; do echo "$f"; done \
13925                        | sed -e "s,^$libname$shrext\\\\.,," \
13926                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13927                        | sed 1q ) 2>/dev/null`
13928                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13929                    found_dir="$dir"
13930                    found_so="$dir/$libname$shrext.$ver"
13931                  fi
13932                else
13933                  eval library_names=\"$acl_library_names_spec\"
13934                  for f in $library_names; do
13935                    if test -f "$dir/$f"; then
13936                      found_dir="$dir"
13937                      found_so="$dir/$f"
13938                      break
13939                    fi
13940                  done
13941                fi
13942              fi
13943            fi
13944                        if test "X$found_dir" = "X"; then
13945              if test -f "$dir/$libname.$acl_libext"; then
13946                found_dir="$dir"
13947                found_a="$dir/$libname.$acl_libext"
13948              fi
13949            fi
13950            if test "X$found_dir" != "X"; then
13951              if test -f "$dir/$libname.la"; then
13952                found_la="$dir/$libname.la"
13953              fi
13954            fi
13955          fi
13956          if test "X$found_dir" = "X"; then
13957            for x in $LDFLAGS $LTLIBICONV; do
13958
13959  acl_save_prefix="$prefix"
13960  prefix="$acl_final_prefix"
13961  acl_save_exec_prefix="$exec_prefix"
13962  exec_prefix="$acl_final_exec_prefix"
13963  eval x=\"$x\"
13964  exec_prefix="$acl_save_exec_prefix"
13965  prefix="$acl_save_prefix"
13966
13967              case "$x" in
13968                -L*)
13969                  dir=`echo "X$x" | sed -e 's/^X-L//'`
13970                                    if test -n "$acl_shlibext"; then
13971                    if test -f "$dir/$libname$shrext"; then
13972                      found_dir="$dir"
13973                      found_so="$dir/$libname$shrext"
13974                    else
13975                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13976                        ver=`(cd "$dir" && \
13977                              for f in "$libname$shrext".*; do echo "$f"; done \
13978                              | sed -e "s,^$libname$shrext\\\\.,," \
13979                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13980                              | sed 1q ) 2>/dev/null`
13981                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13982                          found_dir="$dir"
13983                          found_so="$dir/$libname$shrext.$ver"
13984                        fi
13985                      else
13986                        eval library_names=\"$acl_library_names_spec\"
13987                        for f in $library_names; do
13988                          if test -f "$dir/$f"; then
13989                            found_dir="$dir"
13990                            found_so="$dir/$f"
13991                            break
13992                          fi
13993                        done
13994                      fi
13995                    fi
13996                  fi
13997                                    if test "X$found_dir" = "X"; then
13998                    if test -f "$dir/$libname.$acl_libext"; then
13999                      found_dir="$dir"
14000                      found_a="$dir/$libname.$acl_libext"
14001                    fi
14002                  fi
14003                  if test "X$found_dir" != "X"; then
14004                    if test -f "$dir/$libname.la"; then
14005                      found_la="$dir/$libname.la"
14006                    fi
14007                  fi
14008                  ;;
14009              esac
14010              if test "X$found_dir" != "X"; then
14011                break
14012              fi
14013            done
14014          fi
14015          if test "X$found_dir" != "X"; then
14016                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14017            if test "X$found_so" != "X"; then
14018                                                        if test "$enable_rpath" = no \
14019                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14020                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14021                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14022              else
14023                                                                                haveit=
14024                for x in $ltrpathdirs; do
14025                  if test "X$x" = "X$found_dir"; then
14026                    haveit=yes
14027                    break
14028                  fi
14029                done
14030                if test -z "$haveit"; then
14031                  ltrpathdirs="$ltrpathdirs $found_dir"
14032                fi
14033                                if test "$acl_hardcode_direct" = yes; then
14034                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14035                else
14036                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14037                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14038                                                            haveit=
14039                    for x in $rpathdirs; do
14040                      if test "X$x" = "X$found_dir"; then
14041                        haveit=yes
14042                        break
14043                      fi
14044                    done
14045                    if test -z "$haveit"; then
14046                      rpathdirs="$rpathdirs $found_dir"
14047                    fi
14048                  else
14049                                                                                haveit=
14050                    for x in $LDFLAGS $LIBICONV; do
14051
14052  acl_save_prefix="$prefix"
14053  prefix="$acl_final_prefix"
14054  acl_save_exec_prefix="$exec_prefix"
14055  exec_prefix="$acl_final_exec_prefix"
14056  eval x=\"$x\"
14057  exec_prefix="$acl_save_exec_prefix"
14058  prefix="$acl_save_prefix"
14059
14060                      if test "X$x" = "X-L$found_dir"; then
14061                        haveit=yes
14062                        break
14063                      fi
14064                    done
14065                    if test -z "$haveit"; then
14066                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14067                    fi
14068                    if test "$acl_hardcode_minus_L" != no; then
14069                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14070                    else
14071                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14072                    fi
14073                  fi
14074                fi
14075              fi
14076            else
14077              if test "X$found_a" != "X"; then
14078                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14079              else
14080                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14081              fi
14082            fi
14083                        additional_includedir=
14084            case "$found_dir" in
14085              */$acl_libdirstem | */$acl_libdirstem/)
14086                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14087                if test "$name" = 'iconv'; then
14088                  LIBICONV_PREFIX="$basedir"
14089                fi
14090                additional_includedir="$basedir/include"
14091                ;;
14092              */$acl_libdirstem2 | */$acl_libdirstem2/)
14093                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14094                if test "$name" = 'iconv'; then
14095                  LIBICONV_PREFIX="$basedir"
14096                fi
14097                additional_includedir="$basedir/include"
14098                ;;
14099            esac
14100            if test "X$additional_includedir" != "X"; then
14101                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14102                haveit=
14103                if test "X$additional_includedir" = "X/usr/local/include"; then
14104                  if test -n "$GCC"; then
14105                    case $host_os in
14106                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14107                    esac
14108                  fi
14109                fi
14110                if test -z "$haveit"; then
14111                  for x in $CPPFLAGS $INCICONV; do
14112
14113  acl_save_prefix="$prefix"
14114  prefix="$acl_final_prefix"
14115  acl_save_exec_prefix="$exec_prefix"
14116  exec_prefix="$acl_final_exec_prefix"
14117  eval x=\"$x\"
14118  exec_prefix="$acl_save_exec_prefix"
14119  prefix="$acl_save_prefix"
14120
14121                    if test "X$x" = "X-I$additional_includedir"; then
14122                      haveit=yes
14123                      break
14124                    fi
14125                  done
14126                  if test -z "$haveit"; then
14127                    if test -d "$additional_includedir"; then
14128                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14129                    fi
14130                  fi
14131                fi
14132              fi
14133            fi
14134                        if test -n "$found_la"; then
14135                                                        save_libdir="$libdir"
14136              case "$found_la" in
14137                */* | *\\*) . "$found_la" ;;
14138                *) . "./$found_la" ;;
14139              esac
14140              libdir="$save_libdir"
14141                            for dep in $dependency_libs; do
14142                case "$dep" in
14143                  -L*)
14144                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14145                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14146                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14147                      haveit=
14148                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14149                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14150                        if test -n "$GCC"; then
14151                          case $host_os in
14152                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14153                          esac
14154                        fi
14155                      fi
14156                      if test -z "$haveit"; then
14157                        haveit=
14158                        for x in $LDFLAGS $LIBICONV; do
14159
14160  acl_save_prefix="$prefix"
14161  prefix="$acl_final_prefix"
14162  acl_save_exec_prefix="$exec_prefix"
14163  exec_prefix="$acl_final_exec_prefix"
14164  eval x=\"$x\"
14165  exec_prefix="$acl_save_exec_prefix"
14166  prefix="$acl_save_prefix"
14167
14168                          if test "X$x" = "X-L$additional_libdir"; then
14169                            haveit=yes
14170                            break
14171                          fi
14172                        done
14173                        if test -z "$haveit"; then
14174                          if test -d "$additional_libdir"; then
14175                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14176                          fi
14177                        fi
14178                        haveit=
14179                        for x in $LDFLAGS $LTLIBICONV; do
14180
14181  acl_save_prefix="$prefix"
14182  prefix="$acl_final_prefix"
14183  acl_save_exec_prefix="$exec_prefix"
14184  exec_prefix="$acl_final_exec_prefix"
14185  eval x=\"$x\"
14186  exec_prefix="$acl_save_exec_prefix"
14187  prefix="$acl_save_prefix"
14188
14189                          if test "X$x" = "X-L$additional_libdir"; then
14190                            haveit=yes
14191                            break
14192                          fi
14193                        done
14194                        if test -z "$haveit"; then
14195                          if test -d "$additional_libdir"; then
14196                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14197                          fi
14198                        fi
14199                      fi
14200                    fi
14201                    ;;
14202                  -R*)
14203                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14204                    if test "$enable_rpath" != no; then
14205                                                                  haveit=
14206                      for x in $rpathdirs; do
14207                        if test "X$x" = "X$dir"; then
14208                          haveit=yes
14209                          break
14210                        fi
14211                      done
14212                      if test -z "$haveit"; then
14213                        rpathdirs="$rpathdirs $dir"
14214                      fi
14215                                                                  haveit=
14216                      for x in $ltrpathdirs; do
14217                        if test "X$x" = "X$dir"; then
14218                          haveit=yes
14219                          break
14220                        fi
14221                      done
14222                      if test -z "$haveit"; then
14223                        ltrpathdirs="$ltrpathdirs $dir"
14224                      fi
14225                    fi
14226                    ;;
14227                  -l*)
14228                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14229                    ;;
14230                  *.la)
14231                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14232                    ;;
14233                  *)
14234                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14235                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14236                    ;;
14237                esac
14238              done
14239            fi
14240          else
14241                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14242            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14243          fi
14244        fi
14245      fi
14246    done
14247  done
14248  if test "X$rpathdirs" != "X"; then
14249    if test -n "$acl_hardcode_libdir_separator"; then
14250                        alldirs=
14251      for found_dir in $rpathdirs; do
14252        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14253      done
14254            acl_save_libdir="$libdir"
14255      libdir="$alldirs"
14256      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14257      libdir="$acl_save_libdir"
14258      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14259    else
14260            for found_dir in $rpathdirs; do
14261        acl_save_libdir="$libdir"
14262        libdir="$found_dir"
14263        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14264        libdir="$acl_save_libdir"
14265        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14266      done
14267    fi
14268  fi
14269  if test "X$ltrpathdirs" != "X"; then
14270            for found_dir in $ltrpathdirs; do
14271      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14272    done
14273  fi
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14306$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14307if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14308  $as_echo_n "(cached) " >&6
14309else
14310  gt_save_LIBS="$LIBS"
14311     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14312     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313/* end confdefs.h.  */
14314#include <CoreFoundation/CFPreferences.h>
14315int
14316main ()
14317{
14318CFPreferencesCopyAppValue(NULL, NULL)
14319  ;
14320  return 0;
14321}
14322_ACEOF
14323if ac_fn_c_try_link "$LINENO"; then :
14324  gt_cv_func_CFPreferencesCopyAppValue=yes
14325else
14326  gt_cv_func_CFPreferencesCopyAppValue=no
14327fi
14328rm -f core conftest.err conftest.$ac_objext \
14329    conftest$ac_exeext conftest.$ac_ext
14330     LIBS="$gt_save_LIBS"
14331fi
14332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14333$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14334  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14335
14336$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14337
14338  fi
14339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14340$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14341if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14342  $as_echo_n "(cached) " >&6
14343else
14344  gt_save_LIBS="$LIBS"
14345     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14346     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347/* end confdefs.h.  */
14348#include <CoreFoundation/CFLocale.h>
14349int
14350main ()
14351{
14352CFLocaleCopyCurrent();
14353  ;
14354  return 0;
14355}
14356_ACEOF
14357if ac_fn_c_try_link "$LINENO"; then :
14358  gt_cv_func_CFLocaleCopyCurrent=yes
14359else
14360  gt_cv_func_CFLocaleCopyCurrent=no
14361fi
14362rm -f core conftest.err conftest.$ac_objext \
14363    conftest$ac_exeext conftest.$ac_ext
14364     LIBS="$gt_save_LIBS"
14365fi
14366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14367$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14368  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14369
14370$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14371
14372  fi
14373  INTL_MACOSX_LIBS=
14374  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14375    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14376  fi
14377
14378
14379
14380
14381
14382
14383  LIBINTL=
14384  LTLIBINTL=
14385  POSUB=
14386
14387    case " $gt_needs " in
14388    *" need-formatstring-macros "*) gt_api_version=3 ;;
14389    *" need-ngettext "*) gt_api_version=2 ;;
14390    *) gt_api_version=1 ;;
14391  esac
14392  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14393  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14394
14395    if test "$USE_NLS" = "yes"; then
14396    gt_use_preinstalled_gnugettext=no
14397
14398
14399        if test $gt_api_version -ge 3; then
14400          gt_revision_test_code='
14401#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14402#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14403#endif
14404typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14405'
14406        else
14407          gt_revision_test_code=
14408        fi
14409        if test $gt_api_version -ge 2; then
14410          gt_expression_test_code=' + * ngettext ("", "", 0)'
14411        else
14412          gt_expression_test_code=
14413        fi
14414
14415        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14416$as_echo_n "checking for GNU gettext in libc... " >&6; }
14417if eval \${$gt_func_gnugettext_libc+:} false; then :
14418  $as_echo_n "(cached) " >&6
14419else
14420  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421/* end confdefs.h.  */
14422#include <libintl.h>
14423$gt_revision_test_code
14424extern int _nl_msg_cat_cntr;
14425extern int *_nl_domain_bindings;
14426int
14427main ()
14428{
14429bindtextdomain ("", "");
14430return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14431  ;
14432  return 0;
14433}
14434_ACEOF
14435if ac_fn_c_try_link "$LINENO"; then :
14436  eval "$gt_func_gnugettext_libc=yes"
14437else
14438  eval "$gt_func_gnugettext_libc=no"
14439fi
14440rm -f core conftest.err conftest.$ac_objext \
14441    conftest$ac_exeext conftest.$ac_ext
14442fi
14443eval ac_res=\$$gt_func_gnugettext_libc
14444	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14445$as_echo "$ac_res" >&6; }
14446
14447        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14448
14449
14450
14451
14452
14453          am_save_CPPFLAGS="$CPPFLAGS"
14454
14455  for element in $INCICONV; do
14456    haveit=
14457    for x in $CPPFLAGS; do
14458
14459  acl_save_prefix="$prefix"
14460  prefix="$acl_final_prefix"
14461  acl_save_exec_prefix="$exec_prefix"
14462  exec_prefix="$acl_final_exec_prefix"
14463  eval x=\"$x\"
14464  exec_prefix="$acl_save_exec_prefix"
14465  prefix="$acl_save_prefix"
14466
14467      if test "X$x" = "X$element"; then
14468        haveit=yes
14469        break
14470      fi
14471    done
14472    if test -z "$haveit"; then
14473      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14474    fi
14475  done
14476
14477
14478  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14479$as_echo_n "checking for iconv... " >&6; }
14480if ${am_cv_func_iconv+:} false; then :
14481  $as_echo_n "(cached) " >&6
14482else
14483
14484    am_cv_func_iconv="no, consider installing GNU libiconv"
14485    am_cv_lib_iconv=no
14486    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487/* end confdefs.h.  */
14488#include <stdlib.h>
14489#include <iconv.h>
14490int
14491main ()
14492{
14493iconv_t cd = iconv_open("","");
14494       iconv(cd,NULL,NULL,NULL,NULL);
14495       iconv_close(cd);
14496  ;
14497  return 0;
14498}
14499_ACEOF
14500if ac_fn_c_try_link "$LINENO"; then :
14501  am_cv_func_iconv=yes
14502fi
14503rm -f core conftest.err conftest.$ac_objext \
14504    conftest$ac_exeext conftest.$ac_ext
14505    if test "$am_cv_func_iconv" != yes; then
14506      am_save_LIBS="$LIBS"
14507      LIBS="$LIBS $LIBICONV"
14508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509/* end confdefs.h.  */
14510#include <stdlib.h>
14511#include <iconv.h>
14512int
14513main ()
14514{
14515iconv_t cd = iconv_open("","");
14516         iconv(cd,NULL,NULL,NULL,NULL);
14517         iconv_close(cd);
14518  ;
14519  return 0;
14520}
14521_ACEOF
14522if ac_fn_c_try_link "$LINENO"; then :
14523  am_cv_lib_iconv=yes
14524        am_cv_func_iconv=yes
14525fi
14526rm -f core conftest.err conftest.$ac_objext \
14527    conftest$ac_exeext conftest.$ac_ext
14528      LIBS="$am_save_LIBS"
14529    fi
14530
14531fi
14532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14533$as_echo "$am_cv_func_iconv" >&6; }
14534  if test "$am_cv_func_iconv" = yes; then
14535    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14536$as_echo_n "checking for working iconv... " >&6; }
14537if ${am_cv_func_iconv_works+:} false; then :
14538  $as_echo_n "(cached) " >&6
14539else
14540
14541            am_save_LIBS="$LIBS"
14542      if test $am_cv_lib_iconv = yes; then
14543        LIBS="$LIBS $LIBICONV"
14544      fi
14545      if test "$cross_compiling" = yes; then :
14546  case "$host_os" in
14547           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14548           *)            am_cv_func_iconv_works="guessing yes" ;;
14549         esac
14550else
14551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552/* end confdefs.h.  */
14553
14554#include <iconv.h>
14555#include <string.h>
14556int main ()
14557{
14558  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14559     returns.  */
14560  {
14561    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14562    if (cd_utf8_to_88591 != (iconv_t)(-1))
14563      {
14564        static const char input[] = "\342\202\254"; /* EURO SIGN */
14565        char buf[10];
14566        const char *inptr = input;
14567        size_t inbytesleft = strlen (input);
14568        char *outptr = buf;
14569        size_t outbytesleft = sizeof (buf);
14570        size_t res = iconv (cd_utf8_to_88591,
14571                            (char **) &inptr, &inbytesleft,
14572                            &outptr, &outbytesleft);
14573        if (res == 0)
14574          return 1;
14575      }
14576  }
14577  /* Test against Solaris 10 bug: Failures are not distinguishable from
14578     successful returns.  */
14579  {
14580    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14581    if (cd_ascii_to_88591 != (iconv_t)(-1))
14582      {
14583        static const char input[] = "\263";
14584        char buf[10];
14585        const char *inptr = input;
14586        size_t inbytesleft = strlen (input);
14587        char *outptr = buf;
14588        size_t outbytesleft = sizeof (buf);
14589        size_t res = iconv (cd_ascii_to_88591,
14590                            (char **) &inptr, &inbytesleft,
14591                            &outptr, &outbytesleft);
14592        if (res == 0)
14593          return 1;
14594      }
14595  }
14596#if 0 /* This bug could be worked around by the caller.  */
14597  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14598  {
14599    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14600    if (cd_88591_to_utf8 != (iconv_t)(-1))
14601      {
14602        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14603        char buf[50];
14604        const char *inptr = input;
14605        size_t inbytesleft = strlen (input);
14606        char *outptr = buf;
14607        size_t outbytesleft = sizeof (buf);
14608        size_t res = iconv (cd_88591_to_utf8,
14609                            (char **) &inptr, &inbytesleft,
14610                            &outptr, &outbytesleft);
14611        if ((int)res > 0)
14612          return 1;
14613      }
14614  }
14615#endif
14616  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14617     provided.  */
14618  if (/* Try standardized names.  */
14619      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14620      /* Try IRIX, OSF/1 names.  */
14621      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14622      /* Try AIX names.  */
14623      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14624      /* Try HP-UX names.  */
14625      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14626    return 1;
14627  return 0;
14628}
14629_ACEOF
14630if ac_fn_c_try_run "$LINENO"; then :
14631  am_cv_func_iconv_works=yes
14632else
14633  am_cv_func_iconv_works=no
14634fi
14635rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14636  conftest.$ac_objext conftest.beam conftest.$ac_ext
14637fi
14638
14639      LIBS="$am_save_LIBS"
14640
14641fi
14642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14643$as_echo "$am_cv_func_iconv_works" >&6; }
14644    case "$am_cv_func_iconv_works" in
14645      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14646      *)   am_func_iconv=yes ;;
14647    esac
14648  else
14649    am_func_iconv=no am_cv_lib_iconv=no
14650  fi
14651  if test "$am_func_iconv" = yes; then
14652
14653$as_echo "#define HAVE_ICONV 1" >>confdefs.h
14654
14655  fi
14656  if test "$am_cv_lib_iconv" = yes; then
14657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14658$as_echo_n "checking how to link with libiconv... " >&6; }
14659    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14660$as_echo "$LIBICONV" >&6; }
14661  else
14662            CPPFLAGS="$am_save_CPPFLAGS"
14663    LIBICONV=
14664    LTLIBICONV=
14665  fi
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677    use_additional=yes
14678
14679  acl_save_prefix="$prefix"
14680  prefix="$acl_final_prefix"
14681  acl_save_exec_prefix="$exec_prefix"
14682  exec_prefix="$acl_final_exec_prefix"
14683
14684    eval additional_includedir=\"$includedir\"
14685    eval additional_libdir=\"$libdir\"
14686
14687  exec_prefix="$acl_save_exec_prefix"
14688  prefix="$acl_save_prefix"
14689
14690
14691# Check whether --with-libintl-prefix was given.
14692if test "${with_libintl_prefix+set}" = set; then :
14693  withval=$with_libintl_prefix;
14694    if test "X$withval" = "Xno"; then
14695      use_additional=no
14696    else
14697      if test "X$withval" = "X"; then
14698
14699  acl_save_prefix="$prefix"
14700  prefix="$acl_final_prefix"
14701  acl_save_exec_prefix="$exec_prefix"
14702  exec_prefix="$acl_final_exec_prefix"
14703
14704          eval additional_includedir=\"$includedir\"
14705          eval additional_libdir=\"$libdir\"
14706
14707  exec_prefix="$acl_save_exec_prefix"
14708  prefix="$acl_save_prefix"
14709
14710      else
14711        additional_includedir="$withval/include"
14712        additional_libdir="$withval/$acl_libdirstem"
14713        if test "$acl_libdirstem2" != "$acl_libdirstem" \
14714           && ! test -d "$withval/$acl_libdirstem"; then
14715          additional_libdir="$withval/$acl_libdirstem2"
14716        fi
14717      fi
14718    fi
14719
14720fi
14721
14722      LIBINTL=
14723  LTLIBINTL=
14724  INCINTL=
14725  LIBINTL_PREFIX=
14726      HAVE_LIBINTL=
14727  rpathdirs=
14728  ltrpathdirs=
14729  names_already_handled=
14730  names_next_round='intl '
14731  while test -n "$names_next_round"; do
14732    names_this_round="$names_next_round"
14733    names_next_round=
14734    for name in $names_this_round; do
14735      already_handled=
14736      for n in $names_already_handled; do
14737        if test "$n" = "$name"; then
14738          already_handled=yes
14739          break
14740        fi
14741      done
14742      if test -z "$already_handled"; then
14743        names_already_handled="$names_already_handled $name"
14744                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14745        eval value=\"\$HAVE_LIB$uppername\"
14746        if test -n "$value"; then
14747          if test "$value" = yes; then
14748            eval value=\"\$LIB$uppername\"
14749            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14750            eval value=\"\$LTLIB$uppername\"
14751            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14752          else
14753                                    :
14754          fi
14755        else
14756                              found_dir=
14757          found_la=
14758          found_so=
14759          found_a=
14760          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14761          if test -n "$acl_shlibext"; then
14762            shrext=".$acl_shlibext"             # typically: shrext=.so
14763          else
14764            shrext=
14765          fi
14766          if test $use_additional = yes; then
14767            dir="$additional_libdir"
14768                                    if test -n "$acl_shlibext"; then
14769              if test -f "$dir/$libname$shrext"; then
14770                found_dir="$dir"
14771                found_so="$dir/$libname$shrext"
14772              else
14773                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14774                  ver=`(cd "$dir" && \
14775                        for f in "$libname$shrext".*; do echo "$f"; done \
14776                        | sed -e "s,^$libname$shrext\\\\.,," \
14777                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14778                        | sed 1q ) 2>/dev/null`
14779                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14780                    found_dir="$dir"
14781                    found_so="$dir/$libname$shrext.$ver"
14782                  fi
14783                else
14784                  eval library_names=\"$acl_library_names_spec\"
14785                  for f in $library_names; do
14786                    if test -f "$dir/$f"; then
14787                      found_dir="$dir"
14788                      found_so="$dir/$f"
14789                      break
14790                    fi
14791                  done
14792                fi
14793              fi
14794            fi
14795                        if test "X$found_dir" = "X"; then
14796              if test -f "$dir/$libname.$acl_libext"; then
14797                found_dir="$dir"
14798                found_a="$dir/$libname.$acl_libext"
14799              fi
14800            fi
14801            if test "X$found_dir" != "X"; then
14802              if test -f "$dir/$libname.la"; then
14803                found_la="$dir/$libname.la"
14804              fi
14805            fi
14806          fi
14807          if test "X$found_dir" = "X"; then
14808            for x in $LDFLAGS $LTLIBINTL; do
14809
14810  acl_save_prefix="$prefix"
14811  prefix="$acl_final_prefix"
14812  acl_save_exec_prefix="$exec_prefix"
14813  exec_prefix="$acl_final_exec_prefix"
14814  eval x=\"$x\"
14815  exec_prefix="$acl_save_exec_prefix"
14816  prefix="$acl_save_prefix"
14817
14818              case "$x" in
14819                -L*)
14820                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14821                                    if test -n "$acl_shlibext"; then
14822                    if test -f "$dir/$libname$shrext"; then
14823                      found_dir="$dir"
14824                      found_so="$dir/$libname$shrext"
14825                    else
14826                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14827                        ver=`(cd "$dir" && \
14828                              for f in "$libname$shrext".*; do echo "$f"; done \
14829                              | sed -e "s,^$libname$shrext\\\\.,," \
14830                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14831                              | sed 1q ) 2>/dev/null`
14832                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14833                          found_dir="$dir"
14834                          found_so="$dir/$libname$shrext.$ver"
14835                        fi
14836                      else
14837                        eval library_names=\"$acl_library_names_spec\"
14838                        for f in $library_names; do
14839                          if test -f "$dir/$f"; then
14840                            found_dir="$dir"
14841                            found_so="$dir/$f"
14842                            break
14843                          fi
14844                        done
14845                      fi
14846                    fi
14847                  fi
14848                                    if test "X$found_dir" = "X"; then
14849                    if test -f "$dir/$libname.$acl_libext"; then
14850                      found_dir="$dir"
14851                      found_a="$dir/$libname.$acl_libext"
14852                    fi
14853                  fi
14854                  if test "X$found_dir" != "X"; then
14855                    if test -f "$dir/$libname.la"; then
14856                      found_la="$dir/$libname.la"
14857                    fi
14858                  fi
14859                  ;;
14860              esac
14861              if test "X$found_dir" != "X"; then
14862                break
14863              fi
14864            done
14865          fi
14866          if test "X$found_dir" != "X"; then
14867                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14868            if test "X$found_so" != "X"; then
14869                                                        if test "$enable_rpath" = no \
14870                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14871                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14872                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14873              else
14874                                                                                haveit=
14875                for x in $ltrpathdirs; do
14876                  if test "X$x" = "X$found_dir"; then
14877                    haveit=yes
14878                    break
14879                  fi
14880                done
14881                if test -z "$haveit"; then
14882                  ltrpathdirs="$ltrpathdirs $found_dir"
14883                fi
14884                                if test "$acl_hardcode_direct" = yes; then
14885                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14886                else
14887                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14888                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14889                                                            haveit=
14890                    for x in $rpathdirs; do
14891                      if test "X$x" = "X$found_dir"; then
14892                        haveit=yes
14893                        break
14894                      fi
14895                    done
14896                    if test -z "$haveit"; then
14897                      rpathdirs="$rpathdirs $found_dir"
14898                    fi
14899                  else
14900                                                                                haveit=
14901                    for x in $LDFLAGS $LIBINTL; do
14902
14903  acl_save_prefix="$prefix"
14904  prefix="$acl_final_prefix"
14905  acl_save_exec_prefix="$exec_prefix"
14906  exec_prefix="$acl_final_exec_prefix"
14907  eval x=\"$x\"
14908  exec_prefix="$acl_save_exec_prefix"
14909  prefix="$acl_save_prefix"
14910
14911                      if test "X$x" = "X-L$found_dir"; then
14912                        haveit=yes
14913                        break
14914                      fi
14915                    done
14916                    if test -z "$haveit"; then
14917                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14918                    fi
14919                    if test "$acl_hardcode_minus_L" != no; then
14920                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14921                    else
14922                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14923                    fi
14924                  fi
14925                fi
14926              fi
14927            else
14928              if test "X$found_a" != "X"; then
14929                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14930              else
14931                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14932              fi
14933            fi
14934                        additional_includedir=
14935            case "$found_dir" in
14936              */$acl_libdirstem | */$acl_libdirstem/)
14937                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14938                if test "$name" = 'intl'; then
14939                  LIBINTL_PREFIX="$basedir"
14940                fi
14941                additional_includedir="$basedir/include"
14942                ;;
14943              */$acl_libdirstem2 | */$acl_libdirstem2/)
14944                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14945                if test "$name" = 'intl'; then
14946                  LIBINTL_PREFIX="$basedir"
14947                fi
14948                additional_includedir="$basedir/include"
14949                ;;
14950            esac
14951            if test "X$additional_includedir" != "X"; then
14952                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14953                haveit=
14954                if test "X$additional_includedir" = "X/usr/local/include"; then
14955                  if test -n "$GCC"; then
14956                    case $host_os in
14957                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14958                    esac
14959                  fi
14960                fi
14961                if test -z "$haveit"; then
14962                  for x in $CPPFLAGS $INCINTL; do
14963
14964  acl_save_prefix="$prefix"
14965  prefix="$acl_final_prefix"
14966  acl_save_exec_prefix="$exec_prefix"
14967  exec_prefix="$acl_final_exec_prefix"
14968  eval x=\"$x\"
14969  exec_prefix="$acl_save_exec_prefix"
14970  prefix="$acl_save_prefix"
14971
14972                    if test "X$x" = "X-I$additional_includedir"; then
14973                      haveit=yes
14974                      break
14975                    fi
14976                  done
14977                  if test -z "$haveit"; then
14978                    if test -d "$additional_includedir"; then
14979                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14980                    fi
14981                  fi
14982                fi
14983              fi
14984            fi
14985                        if test -n "$found_la"; then
14986                                                        save_libdir="$libdir"
14987              case "$found_la" in
14988                */* | *\\*) . "$found_la" ;;
14989                *) . "./$found_la" ;;
14990              esac
14991              libdir="$save_libdir"
14992                            for dep in $dependency_libs; do
14993                case "$dep" in
14994                  -L*)
14995                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14996                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14997                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14998                      haveit=
14999                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15000                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15001                        if test -n "$GCC"; then
15002                          case $host_os in
15003                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15004                          esac
15005                        fi
15006                      fi
15007                      if test -z "$haveit"; then
15008                        haveit=
15009                        for x in $LDFLAGS $LIBINTL; do
15010
15011  acl_save_prefix="$prefix"
15012  prefix="$acl_final_prefix"
15013  acl_save_exec_prefix="$exec_prefix"
15014  exec_prefix="$acl_final_exec_prefix"
15015  eval x=\"$x\"
15016  exec_prefix="$acl_save_exec_prefix"
15017  prefix="$acl_save_prefix"
15018
15019                          if test "X$x" = "X-L$additional_libdir"; then
15020                            haveit=yes
15021                            break
15022                          fi
15023                        done
15024                        if test -z "$haveit"; then
15025                          if test -d "$additional_libdir"; then
15026                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15027                          fi
15028                        fi
15029                        haveit=
15030                        for x in $LDFLAGS $LTLIBINTL; do
15031
15032  acl_save_prefix="$prefix"
15033  prefix="$acl_final_prefix"
15034  acl_save_exec_prefix="$exec_prefix"
15035  exec_prefix="$acl_final_exec_prefix"
15036  eval x=\"$x\"
15037  exec_prefix="$acl_save_exec_prefix"
15038  prefix="$acl_save_prefix"
15039
15040                          if test "X$x" = "X-L$additional_libdir"; then
15041                            haveit=yes
15042                            break
15043                          fi
15044                        done
15045                        if test -z "$haveit"; then
15046                          if test -d "$additional_libdir"; then
15047                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15048                          fi
15049                        fi
15050                      fi
15051                    fi
15052                    ;;
15053                  -R*)
15054                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15055                    if test "$enable_rpath" != no; then
15056                                                                  haveit=
15057                      for x in $rpathdirs; do
15058                        if test "X$x" = "X$dir"; then
15059                          haveit=yes
15060                          break
15061                        fi
15062                      done
15063                      if test -z "$haveit"; then
15064                        rpathdirs="$rpathdirs $dir"
15065                      fi
15066                                                                  haveit=
15067                      for x in $ltrpathdirs; do
15068                        if test "X$x" = "X$dir"; then
15069                          haveit=yes
15070                          break
15071                        fi
15072                      done
15073                      if test -z "$haveit"; then
15074                        ltrpathdirs="$ltrpathdirs $dir"
15075                      fi
15076                    fi
15077                    ;;
15078                  -l*)
15079                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15080                    ;;
15081                  *.la)
15082                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15083                    ;;
15084                  *)
15085                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15086                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15087                    ;;
15088                esac
15089              done
15090            fi
15091          else
15092                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15093            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15094          fi
15095        fi
15096      fi
15097    done
15098  done
15099  if test "X$rpathdirs" != "X"; then
15100    if test -n "$acl_hardcode_libdir_separator"; then
15101                        alldirs=
15102      for found_dir in $rpathdirs; do
15103        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15104      done
15105            acl_save_libdir="$libdir"
15106      libdir="$alldirs"
15107      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15108      libdir="$acl_save_libdir"
15109      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15110    else
15111            for found_dir in $rpathdirs; do
15112        acl_save_libdir="$libdir"
15113        libdir="$found_dir"
15114        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15115        libdir="$acl_save_libdir"
15116        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15117      done
15118    fi
15119  fi
15120  if test "X$ltrpathdirs" != "X"; then
15121            for found_dir in $ltrpathdirs; do
15122      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15123    done
15124  fi
15125
15126
15127
15128
15129
15130
15131          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15132$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15133if eval \${$gt_func_gnugettext_libintl+:} false; then :
15134  $as_echo_n "(cached) " >&6
15135else
15136  gt_save_CPPFLAGS="$CPPFLAGS"
15137            CPPFLAGS="$CPPFLAGS $INCINTL"
15138            gt_save_LIBS="$LIBS"
15139            LIBS="$LIBS $LIBINTL"
15140                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141/* end confdefs.h.  */
15142#include <libintl.h>
15143$gt_revision_test_code
15144extern int _nl_msg_cat_cntr;
15145extern
15146#ifdef __cplusplus
15147"C"
15148#endif
15149const char *_nl_expand_alias (const char *);
15150int
15151main ()
15152{
15153bindtextdomain ("", "");
15154return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15155  ;
15156  return 0;
15157}
15158_ACEOF
15159if ac_fn_c_try_link "$LINENO"; then :
15160  eval "$gt_func_gnugettext_libintl=yes"
15161else
15162  eval "$gt_func_gnugettext_libintl=no"
15163fi
15164rm -f core conftest.err conftest.$ac_objext \
15165    conftest$ac_exeext conftest.$ac_ext
15166                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15167              LIBS="$LIBS $LIBICONV"
15168              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169/* end confdefs.h.  */
15170#include <libintl.h>
15171$gt_revision_test_code
15172extern int _nl_msg_cat_cntr;
15173extern
15174#ifdef __cplusplus
15175"C"
15176#endif
15177const char *_nl_expand_alias (const char *);
15178int
15179main ()
15180{
15181bindtextdomain ("", "");
15182return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15183  ;
15184  return 0;
15185}
15186_ACEOF
15187if ac_fn_c_try_link "$LINENO"; then :
15188  LIBINTL="$LIBINTL $LIBICONV"
15189                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15190                eval "$gt_func_gnugettext_libintl=yes"
15191
15192fi
15193rm -f core conftest.err conftest.$ac_objext \
15194    conftest$ac_exeext conftest.$ac_ext
15195            fi
15196            CPPFLAGS="$gt_save_CPPFLAGS"
15197            LIBS="$gt_save_LIBS"
15198fi
15199eval ac_res=\$$gt_func_gnugettext_libintl
15200	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15201$as_echo "$ac_res" >&6; }
15202        fi
15203
15204                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15205           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15206                && test "$PACKAGE" != gettext-runtime \
15207                && test "$PACKAGE" != gettext-tools; }; then
15208          gt_use_preinstalled_gnugettext=yes
15209        else
15210                    LIBINTL=
15211          LTLIBINTL=
15212          INCINTL=
15213        fi
15214
15215
15216
15217    if test -n "$INTL_MACOSX_LIBS"; then
15218      if test "$gt_use_preinstalled_gnugettext" = "yes" \
15219         || test "$nls_cv_use_gnu_gettext" = "yes"; then
15220                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15221        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15222      fi
15223    fi
15224
15225    if test "$gt_use_preinstalled_gnugettext" = "yes" \
15226       || test "$nls_cv_use_gnu_gettext" = "yes"; then
15227
15228$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15229
15230    else
15231      USE_NLS=no
15232    fi
15233  fi
15234
15235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15236$as_echo_n "checking whether to use NLS... " >&6; }
15237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15238$as_echo "$USE_NLS" >&6; }
15239  if test "$USE_NLS" = "yes"; then
15240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15241$as_echo_n "checking where the gettext function comes from... " >&6; }
15242    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15243      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15244        gt_source="external libintl"
15245      else
15246        gt_source="libc"
15247      fi
15248    else
15249      gt_source="included intl directory"
15250    fi
15251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15252$as_echo "$gt_source" >&6; }
15253  fi
15254
15255  if test "$USE_NLS" = "yes"; then
15256
15257    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15258      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15259        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15260$as_echo_n "checking how to link with libintl... " >&6; }
15261        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15262$as_echo "$LIBINTL" >&6; }
15263
15264  for element in $INCINTL; do
15265    haveit=
15266    for x in $CPPFLAGS; do
15267
15268  acl_save_prefix="$prefix"
15269  prefix="$acl_final_prefix"
15270  acl_save_exec_prefix="$exec_prefix"
15271  exec_prefix="$acl_final_exec_prefix"
15272  eval x=\"$x\"
15273  exec_prefix="$acl_save_exec_prefix"
15274  prefix="$acl_save_prefix"
15275
15276      if test "X$x" = "X$element"; then
15277        haveit=yes
15278        break
15279      fi
15280    done
15281    if test -z "$haveit"; then
15282      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15283    fi
15284  done
15285
15286      fi
15287
15288
15289$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15290
15291
15292$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15293
15294    fi
15295
15296        POSUB=po
15297  fi
15298
15299
15300
15301    INTLLIBS="$LIBINTL"
15302
15303
15304
15305
15306
15307
15308
15309
15310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15311$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15312if ${ac_cv_c_const+:} false; then :
15313  $as_echo_n "(cached) " >&6
15314else
15315  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316/* end confdefs.h.  */
15317
15318int
15319main ()
15320{
15321
15322#ifndef __cplusplus
15323  /* Ultrix mips cc rejects this sort of thing.  */
15324  typedef int charset[2];
15325  const charset cs = { 0, 0 };
15326  /* SunOS 4.1.1 cc rejects this.  */
15327  char const *const *pcpcc;
15328  char **ppc;
15329  /* NEC SVR4.0.2 mips cc rejects this.  */
15330  struct point {int x, y;};
15331  static struct point const zero = {0,0};
15332  /* AIX XL C 1.02.0.0 rejects this.
15333     It does not let you subtract one const X* pointer from another in
15334     an arm of an if-expression whose if-part is not a constant
15335     expression */
15336  const char *g = "string";
15337  pcpcc = &g + (g ? g-g : 0);
15338  /* HPUX 7.0 cc rejects these. */
15339  ++pcpcc;
15340  ppc = (char**) pcpcc;
15341  pcpcc = (char const *const *) ppc;
15342  { /* SCO 3.2v4 cc rejects this sort of thing.  */
15343    char tx;
15344    char *t = &tx;
15345    char const *s = 0 ? (char *) 0 : (char const *) 0;
15346
15347    *t++ = 0;
15348    if (s) return 0;
15349  }
15350  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15351    int x[] = {25, 17};
15352    const int *foo = &x[0];
15353    ++foo;
15354  }
15355  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15356    typedef const int *iptr;
15357    iptr p = 0;
15358    ++p;
15359  }
15360  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15361       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15362    struct s { int j; const int *ap[3]; } bx;
15363    struct s *b = &bx; b->j = 5;
15364  }
15365  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15366    const int foo = 10;
15367    if (!foo) return 0;
15368  }
15369  return !cs[0] && !zero.x;
15370#endif
15371
15372  ;
15373  return 0;
15374}
15375_ACEOF
15376if ac_fn_c_try_compile "$LINENO"; then :
15377  ac_cv_c_const=yes
15378else
15379  ac_cv_c_const=no
15380fi
15381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15382fi
15383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15384$as_echo "$ac_cv_c_const" >&6; }
15385if test $ac_cv_c_const = no; then
15386
15387$as_echo "#define const /**/" >>confdefs.h
15388
15389fi
15390
15391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
15392$as_echo_n "checking for working volatile... " >&6; }
15393if ${ac_cv_c_volatile+:} false; then :
15394  $as_echo_n "(cached) " >&6
15395else
15396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397/* end confdefs.h.  */
15398
15399int
15400main ()
15401{
15402
15403volatile int x;
15404int * volatile y = (int *) 0;
15405return !x && !y;
15406  ;
15407  return 0;
15408}
15409_ACEOF
15410if ac_fn_c_try_compile "$LINENO"; then :
15411  ac_cv_c_volatile=yes
15412else
15413  ac_cv_c_volatile=no
15414fi
15415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416fi
15417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
15418$as_echo "$ac_cv_c_volatile" >&6; }
15419if test $ac_cv_c_volatile = no; then
15420
15421$as_echo "#define volatile /**/" >>confdefs.h
15422
15423fi
15424
15425
15426# Check whether --enable-largefile was given.
15427if test "${enable_largefile+set}" = set; then :
15428  enableval=$enable_largefile;
15429fi
15430
15431if test "$enable_largefile" != no; then
15432
15433  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15434$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15435if ${ac_cv_sys_largefile_CC+:} false; then :
15436  $as_echo_n "(cached) " >&6
15437else
15438  ac_cv_sys_largefile_CC=no
15439     if test "$GCC" != yes; then
15440       ac_save_CC=$CC
15441       while :; do
15442	 # IRIX 6.2 and later do not support large files by default,
15443	 # so use the C compiler's -n32 option if that helps.
15444	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15445/* end confdefs.h.  */
15446#include <sys/types.h>
15447 /* Check that off_t can represent 2**63 - 1 correctly.
15448    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15449    since some C++ compilers masquerading as C compilers
15450    incorrectly reject 9223372036854775807.  */
15451#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15452  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15453		       && LARGE_OFF_T % 2147483647 == 1)
15454		      ? 1 : -1];
15455int
15456main ()
15457{
15458
15459  ;
15460  return 0;
15461}
15462_ACEOF
15463	 if ac_fn_c_try_compile "$LINENO"; then :
15464  break
15465fi
15466rm -f core conftest.err conftest.$ac_objext
15467	 CC="$CC -n32"
15468	 if ac_fn_c_try_compile "$LINENO"; then :
15469  ac_cv_sys_largefile_CC=' -n32'; break
15470fi
15471rm -f core conftest.err conftest.$ac_objext
15472	 break
15473       done
15474       CC=$ac_save_CC
15475       rm -f conftest.$ac_ext
15476    fi
15477fi
15478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15479$as_echo "$ac_cv_sys_largefile_CC" >&6; }
15480  if test "$ac_cv_sys_largefile_CC" != no; then
15481    CC=$CC$ac_cv_sys_largefile_CC
15482  fi
15483
15484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15485$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15486if ${ac_cv_sys_file_offset_bits+:} false; then :
15487  $as_echo_n "(cached) " >&6
15488else
15489  while :; do
15490  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491/* end confdefs.h.  */
15492#include <sys/types.h>
15493 /* Check that off_t can represent 2**63 - 1 correctly.
15494    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15495    since some C++ compilers masquerading as C compilers
15496    incorrectly reject 9223372036854775807.  */
15497#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15498  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15499		       && LARGE_OFF_T % 2147483647 == 1)
15500		      ? 1 : -1];
15501int
15502main ()
15503{
15504
15505  ;
15506  return 0;
15507}
15508_ACEOF
15509if ac_fn_c_try_compile "$LINENO"; then :
15510  ac_cv_sys_file_offset_bits=no; break
15511fi
15512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15513  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514/* end confdefs.h.  */
15515#define _FILE_OFFSET_BITS 64
15516#include <sys/types.h>
15517 /* Check that off_t can represent 2**63 - 1 correctly.
15518    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15519    since some C++ compilers masquerading as C compilers
15520    incorrectly reject 9223372036854775807.  */
15521#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15522  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15523		       && LARGE_OFF_T % 2147483647 == 1)
15524		      ? 1 : -1];
15525int
15526main ()
15527{
15528
15529  ;
15530  return 0;
15531}
15532_ACEOF
15533if ac_fn_c_try_compile "$LINENO"; then :
15534  ac_cv_sys_file_offset_bits=64; break
15535fi
15536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15537  ac_cv_sys_file_offset_bits=unknown
15538  break
15539done
15540fi
15541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15542$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15543case $ac_cv_sys_file_offset_bits in #(
15544  no | unknown) ;;
15545  *)
15546cat >>confdefs.h <<_ACEOF
15547#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15548_ACEOF
15549;;
15550esac
15551rm -rf conftest*
15552  if test $ac_cv_sys_file_offset_bits = unknown; then
15553    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15554$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15555if ${ac_cv_sys_large_files+:} false; then :
15556  $as_echo_n "(cached) " >&6
15557else
15558  while :; do
15559  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560/* end confdefs.h.  */
15561#include <sys/types.h>
15562 /* Check that off_t can represent 2**63 - 1 correctly.
15563    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15564    since some C++ compilers masquerading as C compilers
15565    incorrectly reject 9223372036854775807.  */
15566#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15567  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15568		       && LARGE_OFF_T % 2147483647 == 1)
15569		      ? 1 : -1];
15570int
15571main ()
15572{
15573
15574  ;
15575  return 0;
15576}
15577_ACEOF
15578if ac_fn_c_try_compile "$LINENO"; then :
15579  ac_cv_sys_large_files=no; break
15580fi
15581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583/* end confdefs.h.  */
15584#define _LARGE_FILES 1
15585#include <sys/types.h>
15586 /* Check that off_t can represent 2**63 - 1 correctly.
15587    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15588    since some C++ compilers masquerading as C compilers
15589    incorrectly reject 9223372036854775807.  */
15590#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15591  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15592		       && LARGE_OFF_T % 2147483647 == 1)
15593		      ? 1 : -1];
15594int
15595main ()
15596{
15597
15598  ;
15599  return 0;
15600}
15601_ACEOF
15602if ac_fn_c_try_compile "$LINENO"; then :
15603  ac_cv_sys_large_files=1; break
15604fi
15605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15606  ac_cv_sys_large_files=unknown
15607  break
15608done
15609fi
15610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15611$as_echo "$ac_cv_sys_large_files" >&6; }
15612case $ac_cv_sys_large_files in #(
15613  no | unknown) ;;
15614  *)
15615cat >>confdefs.h <<_ACEOF
15616#define _LARGE_FILES $ac_cv_sys_large_files
15617_ACEOF
15618;;
15619esac
15620rm -rf conftest*
15621  fi
15622
15623
15624fi
15625
15626
15627
15628
15629  # Check whether --enable-shared-libs was given.
15630if test "${enable_shared_libs+set}" = set; then :
15631  enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval
15632else
15633  ac_cv_enable_shared_libs="yes"
15634fi
15635
15636    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5
15637$as_echo_n "checking whether to disable disable shared library support... " >&6; }
15638if ${ac_cv_enable_shared_libs+:} false; then :
15639  $as_echo_n "(cached) " >&6
15640else
15641  ac_cv_enable_shared_libs="yes"
15642fi
15643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5
15644$as_echo "$ac_cv_enable_shared_libs" >&6; }
15645
15646
15647
15648
15649  # Check whether --enable-winapi was given.
15650if test "${enable_winapi+set}" = set; then :
15651  enableval=$enable_winapi; ac_cv_enable_winapi=$enableval
15652else
15653  ac_cv_enable_winapi=auto-detect
15654fi
15655
15656    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5
15657$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; }
15658if ${ac_cv_enable_winapi+:} false; then :
15659  $as_echo_n "(cached) " >&6
15660else
15661  ac_cv_enable_winapi=auto-detect
15662fi
15663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5
15664$as_echo "$ac_cv_enable_winapi" >&6; }
15665
15666  if test "x$ac_cv_enable_winapi" = xauto-detect; then :
15667  ac_common_check_winapi_target_string="$target"
15668
15669    if test "x$ac_common_check_winapi_target_string" = x; then :
15670  ac_common_check_winapi_target_string="$host"
15671fi
15672
15673    case $ac_common_check_winapi_target_string in #(
15674  *mingw*) :
15675    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5
15676$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;}
15677        ac_cv_enable_winapi=yes ;; #(
15678  *msys*) :
15679    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5
15680$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;}
15681        ac_cv_enable_winapi=yes ;; #(
15682  *) :
15683    ac_cv_enable_winapi=no ;; #(
15684  *) :
15685     ;;
15686esac
15687
15688fi
15689
15690
15691
15692
15693  # Check whether --enable-wide-character-type was given.
15694if test "${enable_wide_character_type+set}" = set; then :
15695  enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval
15696else
15697  ac_cv_enable_wide_character_type=no
15698fi
15699
15700    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5
15701$as_echo_n "checking whether to enable enable wide character type support... " >&6; }
15702if ${ac_cv_enable_wide_character_type+:} false; then :
15703  $as_echo_n "(cached) " >&6
15704else
15705  ac_cv_enable_wide_character_type=no
15706fi
15707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5
15708$as_echo "$ac_cv_enable_wide_character_type" >&6; }
15709
15710
15711
15712
15713  # Check whether --enable-verbose-output was given.
15714if test "${enable_verbose_output+set}" = set; then :
15715  enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval
15716else
15717  ac_cv_enable_verbose_output=no
15718fi
15719
15720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5
15721$as_echo_n "checking whether to enable enable verbose output... " >&6; }
15722if ${ac_cv_enable_verbose_output+:} false; then :
15723  $as_echo_n "(cached) " >&6
15724else
15725  ac_cv_enable_verbose_output=no
15726fi
15727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5
15728$as_echo "$ac_cv_enable_verbose_output" >&6; }
15729
15730  if test "x$ac_cv_enable_verbose_output" != xno ; then :
15731
15732$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h
15733
15734
15735    ac_cv_enable_verbose_output=yes
15736fi
15737
15738
15739
15740
15741  # Check whether --enable-debug-output was given.
15742if test "${enable_debug_output+set}" = set; then :
15743  enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval
15744else
15745  ac_cv_enable_debug_output=no
15746fi
15747
15748    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5
15749$as_echo_n "checking whether to enable enable debug output... " >&6; }
15750if ${ac_cv_enable_debug_output+:} false; then :
15751  $as_echo_n "(cached) " >&6
15752else
15753  ac_cv_enable_debug_output=no
15754fi
15755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5
15756$as_echo "$ac_cv_enable_debug_output" >&6; }
15757
15758  if test "x$ac_cv_enable_debug_output" != xno ; then :
15759
15760$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h
15761
15762
15763    ac_cv_enable_debug_output=yes
15764fi
15765
15766
15767if test "x$ac_cv_enable_winapi" = xyes; then :
15768  ac_cv_enable_wide_character_type=yes
15769fi
15770
15771 if test "x$ac_cv_enable_wide_character_type" = xyes; then :
15772
15773$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h
15774
15775  HAVE_WIDE_CHARACTER_TYPE=1
15776
15777else
15778  HAVE_WIDE_CHARACTER_TYPE=0
15779
15780
15781fi
15782
15783 for ac_header in sys/types.h inttypes.h stdint.h wchar.h
15784do :
15785  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15786ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15787if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15788  cat >>confdefs.h <<_ACEOF
15789#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15790_ACEOF
15791
15792fi
15793
15794done
15795
15796
15797 if test "x$ac_cv_header_sys_types_h" = xyes; then :
15798  HAVE_SYS_TYPES_H=1
15799
15800else
15801  HAVE_SYS_TYPES_H=0
15802
15803
15804fi
15805
15806 if test "x$ac_cv_header_inttypes_h" = xyes; then :
15807  HAVE_INTTYPES_H=1
15808
15809else
15810  HAVE_INTTYPES_H=0
15811
15812
15813fi
15814
15815 if test "x$ac_cv_header_stdint_h" = xyes; then :
15816  HAVE_STDINT_H=1
15817
15818else
15819  HAVE_STDINT_H=0
15820
15821
15822fi
15823
15824 if test "x$ac_cv_header_wchar_h" = xyes; then :
15825  HAVE_WCHAR_H=1
15826
15827else
15828  HAVE_WCHAR_H=0
15829
15830
15831fi
15832
15833 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15834if test "x$ac_cv_type_mode_t" = xyes; then :
15835
15836else
15837
15838cat >>confdefs.h <<_ACEOF
15839#define mode_t int
15840_ACEOF
15841
15842fi
15843
15844 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15845if test "x$ac_cv_type_off_t" = xyes; then :
15846
15847else
15848
15849cat >>confdefs.h <<_ACEOF
15850#define off_t long int
15851_ACEOF
15852
15853fi
15854
15855 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15856if test "x$ac_cv_type_size_t" = xyes; then :
15857
15858else
15859
15860cat >>confdefs.h <<_ACEOF
15861#define size_t unsigned int
15862_ACEOF
15863
15864fi
15865
15866
15867 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default"
15868if test "x$ac_cv_type_size32_t" = xyes; then :
15869  HAVE_SIZE32_T=1
15870
15871else
15872  HAVE_SIZE32_T=0
15873
15874
15875fi
15876
15877
15878 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default"
15879if test "x$ac_cv_type_ssize32_t" = xyes; then :
15880  HAVE_SSIZE32_T=1
15881
15882else
15883  HAVE_SSIZE32_T=0
15884
15885
15886fi
15887
15888
15889 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default"
15890if test "x$ac_cv_type_size64_t" = xyes; then :
15891  HAVE_SIZE64_T=1
15892
15893else
15894  HAVE_SIZE64_T=0
15895
15896
15897fi
15898
15899
15900 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default"
15901if test "x$ac_cv_type_ssize64_t" = xyes; then :
15902  HAVE_SSIZE64_T=1
15903
15904else
15905  HAVE_SSIZE64_T=0
15906
15907
15908fi
15909
15910
15911 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15912if test "x$ac_cv_type_off64_t" = xyes; then :
15913  HAVE_OFF64_T=1
15914
15915else
15916  HAVE_OFF64_T=0
15917
15918
15919fi
15920
15921
15922 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15923if test "x$ac_cv_type_ssize_t" = xyes; then :
15924
15925fi
15926
15927 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default"
15928if test "x$ac_cv_type_u64" = xyes; then :
15929
15930fi
15931
15932
15933 # The cast to long int works around a bug in the HP C Compiler
15934# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15935# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15936# This bug is HP SR number 8606223364.
15937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15938$as_echo_n "checking size of int... " >&6; }
15939if ${ac_cv_sizeof_int+:} false; then :
15940  $as_echo_n "(cached) " >&6
15941else
15942  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15943
15944else
15945  if test "$ac_cv_type_int" = yes; then
15946     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15947$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15948as_fn_error 77 "cannot compute sizeof (int)
15949See \`config.log' for more details" "$LINENO" 5; }
15950   else
15951     ac_cv_sizeof_int=0
15952   fi
15953fi
15954
15955fi
15956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15957$as_echo "$ac_cv_sizeof_int" >&6; }
15958
15959
15960
15961cat >>confdefs.h <<_ACEOF
15962#define SIZEOF_INT $ac_cv_sizeof_int
15963_ACEOF
15964
15965
15966 # The cast to long int works around a bug in the HP C Compiler
15967# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15968# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15969# This bug is HP SR number 8606223364.
15970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15971$as_echo_n "checking size of long... " >&6; }
15972if ${ac_cv_sizeof_long+:} false; then :
15973  $as_echo_n "(cached) " >&6
15974else
15975  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15976
15977else
15978  if test "$ac_cv_type_long" = yes; then
15979     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15981as_fn_error 77 "cannot compute sizeof (long)
15982See \`config.log' for more details" "$LINENO" 5; }
15983   else
15984     ac_cv_sizeof_long=0
15985   fi
15986fi
15987
15988fi
15989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15990$as_echo "$ac_cv_sizeof_long" >&6; }
15991
15992
15993
15994cat >>confdefs.h <<_ACEOF
15995#define SIZEOF_LONG $ac_cv_sizeof_long
15996_ACEOF
15997
15998
15999 # The cast to long int works around a bug in the HP C Compiler
16000# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16001# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16002# This bug is HP SR number 8606223364.
16003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
16004$as_echo_n "checking size of off_t... " >&6; }
16005if ${ac_cv_sizeof_off_t+:} false; then :
16006  $as_echo_n "(cached) " >&6
16007else
16008  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
16009
16010else
16011  if test "$ac_cv_type_off_t" = yes; then
16012     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16014as_fn_error 77 "cannot compute sizeof (off_t)
16015See \`config.log' for more details" "$LINENO" 5; }
16016   else
16017     ac_cv_sizeof_off_t=0
16018   fi
16019fi
16020
16021fi
16022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
16023$as_echo "$ac_cv_sizeof_off_t" >&6; }
16024
16025
16026
16027cat >>confdefs.h <<_ACEOF
16028#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
16029_ACEOF
16030
16031
16032 # The cast to long int works around a bug in the HP C Compiler
16033# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16034# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16035# This bug is HP SR number 8606223364.
16036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
16037$as_echo_n "checking size of size_t... " >&6; }
16038if ${ac_cv_sizeof_size_t+:} false; then :
16039  $as_echo_n "(cached) " >&6
16040else
16041  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
16042
16043else
16044  if test "$ac_cv_type_size_t" = yes; then
16045     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16047as_fn_error 77 "cannot compute sizeof (size_t)
16048See \`config.log' for more details" "$LINENO" 5; }
16049   else
16050     ac_cv_sizeof_size_t=0
16051   fi
16052fi
16053
16054fi
16055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
16056$as_echo "$ac_cv_sizeof_size_t" >&6; }
16057
16058
16059
16060cat >>confdefs.h <<_ACEOF
16061#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16062_ACEOF
16063
16064
16065
16066 if test "x$ac_cv_header_wchar_h" = xyes; then :
16067  # The cast to long int works around a bug in the HP C Compiler
16068# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16069# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16070# This bug is HP SR number 8606223364.
16071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
16072$as_echo_n "checking size of wchar_t... " >&6; }
16073if ${ac_cv_sizeof_wchar_t+:} false; then :
16074  $as_echo_n "(cached) " >&6
16075else
16076  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "$ac_includes_default"; then :
16077
16078else
16079  if test "$ac_cv_type_wchar_t" = yes; then
16080     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16082as_fn_error 77 "cannot compute sizeof (wchar_t)
16083See \`config.log' for more details" "$LINENO" 5; }
16084   else
16085     ac_cv_sizeof_wchar_t=0
16086   fi
16087fi
16088
16089fi
16090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
16091$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
16092
16093
16094
16095cat >>confdefs.h <<_ACEOF
16096#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
16097_ACEOF
16098
16099
16100fi
16101
16102
16103
16104    if test "x$ac_cv_enable_winapi" = xyes; then :
16105  for ac_header in windows.h
16106do :
16107  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
16108if test "x$ac_cv_header_windows_h" = xyes; then :
16109  cat >>confdefs.h <<_ACEOF
16110#define HAVE_WINDOWS_H 1
16111_ACEOF
16112
16113fi
16114
16115done
16116
16117
16118    if test "x$ac_cv_header_windows_h" = xno; then :
16119  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16121as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support
16122See \`config.log' for more details" "$LINENO" 5; }
16123
16124fi
16125
16126fi
16127
16128  if test "x$ac_cv_enable_winapi" = xno; then :
16129  for ac_header in libintl.h
16130do :
16131  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16132if test "x$ac_cv_header_libintl_h" = xyes; then :
16133  cat >>confdefs.h <<_ACEOF
16134#define HAVE_LIBINTL_H 1
16135_ACEOF
16136
16137fi
16138
16139done
16140
16141
16142fi
16143
16144    for ac_header in limits.h
16145do :
16146  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
16147if test "x$ac_cv_header_limits_h" = xyes; then :
16148  cat >>confdefs.h <<_ACEOF
16149#define HAVE_LIMITS_H 1
16150_ACEOF
16151
16152fi
16153
16154done
16155
16156
16157    for ac_header in stdlib.h string.h
16158do :
16159  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16160ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16161if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16162  cat >>confdefs.h <<_ACEOF
16163#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16164_ACEOF
16165
16166fi
16167
16168done
16169
16170
16171    for ac_header in wchar.h wctype.h
16172do :
16173  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16174ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16175if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16176  cat >>confdefs.h <<_ACEOF
16177#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16178_ACEOF
16179
16180fi
16181
16182done
16183
16184
16185    for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf
16186do :
16187  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16188ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16189if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16190  cat >>confdefs.h <<_ACEOF
16191#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16192_ACEOF
16193
16194fi
16195done
16196
16197
16198  if test "x$ac_cv_func_fclose" != xyes; then :
16199  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16201as_fn_error 1 "Missing function: fclose
16202See \`config.log' for more details" "$LINENO" 5; }
16203
16204fi
16205
16206  if test "x$ac_cv_func_feof" != xyes; then :
16207  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16209as_fn_error 1 "Missing function: feof
16210See \`config.log' for more details" "$LINENO" 5; }
16211
16212fi
16213
16214  if test "x$ac_cv_func_fgets" != xyes; then :
16215  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16217as_fn_error 1 "Missing function: fgets
16218See \`config.log' for more details" "$LINENO" 5; }
16219
16220fi
16221
16222  if test "x$ac_cv_func_fopen" != xyes; then :
16223  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16225as_fn_error 1 "Missing function: fopen
16226See \`config.log' for more details" "$LINENO" 5; }
16227
16228fi
16229
16230  if test "x$ac_cv_func_fread" != xyes; then :
16231  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16233as_fn_error 1 "Missing function: fread
16234See \`config.log' for more details" "$LINENO" 5; }
16235
16236fi
16237
16238  if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then :
16239  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16241as_fn_error 1 "Missing function: fseeko and fseeko64
16242See \`config.log' for more details" "$LINENO" 5; }
16243
16244fi
16245
16246  if test "x$ac_cv_func_fwrite" != xyes; then :
16247  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16249as_fn_error 1 "Missing function: fwrite
16250See \`config.log' for more details" "$LINENO" 5; }
16251
16252fi
16253
16254  if test "x$ac_cv_func_vfprintf" != xyes; then :
16255  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16257as_fn_error 1 "Missing function: vfprintf
16258See \`config.log' for more details" "$LINENO" 5; }
16259
16260fi
16261
16262  if test "x$ac_cv_enable_wide_character_type" != xno; then :
16263  for ac_func in fgetws
16264do :
16265  ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws"
16266if test "x$ac_cv_func_fgetws" = xyes; then :
16267  cat >>confdefs.h <<_ACEOF
16268#define HAVE_FGETWS 1
16269_ACEOF
16270
16271fi
16272done
16273
16274
16275    if test "x$ac_cv_func_fgetws" != xyes; then :
16276  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16277$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16278as_fn_error 1 "Missing function: fgetws
16279See \`config.log' for more details" "$LINENO" 5; }
16280
16281fi
16282
16283fi
16284
16285    for ac_func in free malloc memcmp memcpy memset realloc
16286do :
16287  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16288ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16289if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16290  cat >>confdefs.h <<_ACEOF
16291#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16292_ACEOF
16293
16294fi
16295done
16296
16297
16298  if test "x$ac_cv_func_free" != xyes; then :
16299  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16301as_fn_error 1 "Missing function: free
16302See \`config.log' for more details" "$LINENO" 5; }
16303
16304fi
16305
16306  if test "x$ac_cv_func_malloc" != xyes; then :
16307  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16309as_fn_error 1 "Missing function: malloc
16310See \`config.log' for more details" "$LINENO" 5; }
16311
16312fi
16313
16314  if test "x$ac_cv_func_memcmp" != xyes; then :
16315  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16317as_fn_error 1 "Missing function: memcmp
16318See \`config.log' for more details" "$LINENO" 5; }
16319
16320fi
16321
16322  if test "x$ac_cv_func_memcpy" != xyes; then :
16323  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16325as_fn_error 1 "Missing function: memcpy
16326See \`config.log' for more details" "$LINENO" 5; }
16327
16328fi
16329
16330  if test "x$ac_cv_func_memset" != xyes; then :
16331  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16333as_fn_error 1 "Missing function: memset
16334See \`config.log' for more details" "$LINENO" 5; }
16335
16336fi
16337
16338  if test "x$ac_cv_func_realloc" != xyes; then :
16339  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16341as_fn_error 1 "Missing function: realloc
16342See \`config.log' for more details" "$LINENO" 5; }
16343
16344fi
16345
16346    for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf
16347do :
16348  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16349ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16350if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16351  cat >>confdefs.h <<_ACEOF
16352#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16353_ACEOF
16354
16355fi
16356done
16357
16358
16359  if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then :
16360  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16362as_fn_error 1 "Missing functions: memchr and strchr
16363See \`config.log' for more details" "$LINENO" 5; }
16364
16365fi
16366
16367  if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then :
16368  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16369$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16370as_fn_error 1 "Missing functions: memcmp and strncmp
16371See \`config.log' for more details" "$LINENO" 5; }
16372
16373fi
16374
16375  if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then :
16376  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16378as_fn_error 1 "Missing functions: memcpy and strncpy
16379See \`config.log' for more details" "$LINENO" 5; }
16380
16381fi
16382
16383  if test "x$ac_cv_func_memrchr" = xyes; then :
16384  ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
16385if test "x$ac_cv_have_decl_memrchr" = xyes; then :
16386  ac_have_decl=1
16387else
16388  ac_have_decl=0
16389fi
16390
16391cat >>confdefs.h <<_ACEOF
16392#define HAVE_DECL_MEMRCHR $ac_have_decl
16393_ACEOF
16394
16395
16396    if test "x$ac_cv_decl_memrchr" != xyes; then :
16397  ac_cv_func_memrchr=no
16398fi
16399
16400fi
16401
16402  if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then :
16403  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16405as_fn_error 1 "Missing functions: strrchr and memrchr
16406See \`config.log' for more details" "$LINENO" 5; }
16407
16408fi
16409
16410  if test "x$ac_cv_func_snprintf" != xyes; then :
16411  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16413as_fn_error 1 "Missing function: snprintf
16414See \`config.log' for more details" "$LINENO" 5; }
16415
16416fi
16417
16418  if test "x$ac_cv_func_sscanf" != xyes; then :
16419  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16421as_fn_error 1 "Missing function: sscanf
16422See \`config.log' for more details" "$LINENO" 5; }
16423
16424fi
16425
16426  if test "x$ac_cv_func_strlen" != xyes; then :
16427  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16429as_fn_error 1 "Missing function: strlen
16430See \`config.log' for more details" "$LINENO" 5; }
16431
16432fi
16433
16434  if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then :
16435  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16437as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp
16438See \`config.log' for more details" "$LINENO" 5; }
16439
16440fi
16441
16442  if test "x$ac_cv_func_strstr" != xyes; then :
16443  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16444$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16445as_fn_error 1 "Missing function: strstr
16446See \`config.log' for more details" "$LINENO" 5; }
16447
16448fi
16449
16450  if test "x$ac_cv_func_vsnprintf" != xyes; then :
16451  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16453as_fn_error 1 "Missing function: vsnprintf
16454See \`config.log' for more details" "$LINENO" 5; }
16455
16456fi
16457
16458    if test "x$ac_cv_enable_wide_character_type" != xno; then :
16459  for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr
16460do :
16461  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16462ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16463if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16464  cat >>confdefs.h <<_ACEOF
16465#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16466_ACEOF
16467
16468fi
16469done
16470
16471
16472    if test "x$ac_cv_func_swprintf" != xyes; then :
16473  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16474$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16475as_fn_error 1 "Missing function: swprintf
16476See \`config.log' for more details" "$LINENO" 5; }
16477
16478fi
16479
16480    if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then :
16481  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16482$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16483as_fn_error 1 "Missing functions: wmemchr and wcschr
16484See \`config.log' for more details" "$LINENO" 5; }
16485
16486fi
16487
16488    if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then :
16489  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16491as_fn_error 1 "Missing functions: wmemcmp and wcsncmp
16492See \`config.log' for more details" "$LINENO" 5; }
16493
16494fi
16495
16496    if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then :
16497  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16499as_fn_error 1 "Missing functions: wmemcpy and wcsncpy
16500See \`config.log' for more details" "$LINENO" 5; }
16501
16502fi
16503
16504    if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then :
16505  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16506$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16507as_fn_error 1 "Missing functions: wmemrchr and wcsrchr
16508See \`config.log' for more details" "$LINENO" 5; }
16509
16510fi
16511
16512    if test "x$ac_cv_func_wcslen" != xyes; then :
16513  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16515as_fn_error 1 "Missing function: wcslen
16516See \`config.log' for more details" "$LINENO" 5; }
16517
16518fi
16519
16520    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 :
16521  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16523as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower
16524See \`config.log' for more details" "$LINENO" 5; }
16525
16526fi
16527
16528    if test "x$ac_cv_func_wcsstr" != xyes; then :
16529  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16530$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16531as_fn_error 1 "Missing function: wcsstr
16532See \`config.log' for more details" "$LINENO" 5; }
16533
16534fi
16535
16536fi
16537
16538
16539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5
16540$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; }
16541
16542  SAVE_CFLAGS="$CFLAGS"
16543  CFLAGS="$CFLAGS -Wall -Werror"
16544  ac_ext=c
16545ac_cpp='$CPP $CPPFLAGS'
16546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549
16550
16551    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552/* end confdefs.h.  */
16553#include <stdio.h>
16554int
16555main ()
16556{
16557printf( "%jd" );
16558  ;
16559  return 0;
16560}
16561_ACEOF
16562if ac_fn_c_try_link "$LINENO"; then :
16563  ac_cv_cv_have_printf_jd=no
16564else
16565  ac_cv_cv_have_printf_jd=yes
16566fi
16567rm -f core conftest.err conftest.$ac_objext \
16568    conftest$ac_exeext conftest.$ac_ext
16569
16570    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
16571  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572/* end confdefs.h.  */
16573#include <sys/types.h>
16574#include <stdio.h>
16575int
16576main ()
16577{
16578printf( "%jd", (off_t) 10 );
16579  ;
16580  return 0;
16581}
16582_ACEOF
16583if ac_fn_c_try_link "$LINENO"; then :
16584  ac_cv_cv_have_printf_jd=yes
16585else
16586  ac_cv_cv_have_printf_jd=no
16587fi
16588rm -f core conftest.err conftest.$ac_objext \
16589    conftest$ac_exeext conftest.$ac_ext
16590
16591fi
16592
16593    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
16594  if test "$cross_compiling" = yes; then :
16595  ac_cv_cv_have_printf_jd=undetermined
16596else
16597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598/* end confdefs.h.  */
16599#include <sys/types.h>
16600#include <stdio.h>
16601int
16602main ()
16603{
16604char string[ 3 ];
16605if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 );
16606if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
16607  ;
16608  return 0;
16609}
16610_ACEOF
16611if ac_fn_c_try_run "$LINENO"; then :
16612  ac_cv_cv_have_printf_jd=yes
16613else
16614  ac_cv_cv_have_printf_jd=no
16615fi
16616rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16617  conftest.$ac_objext conftest.beam conftest.$ac_ext
16618fi
16619
16620
16621fi
16622
16623  ac_ext=c
16624ac_cpp='$CPP $CPPFLAGS'
16625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16627ac_compiler_gnu=$ac_cv_c_compiler_gnu
16628
16629  CFLAGS="$SAVE_CFLAGS"
16630
16631  if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
16632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16633$as_echo "yes" >&6; }
16634
16635$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h
16636
16637else
16638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5
16639$as_echo "$ac_cv_cv_have_printf_jd" >&6; }
16640
16641fi
16642
16643
16644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5
16645$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; }
16646
16647  SAVE_CFLAGS="$CFLAGS"
16648  CFLAGS="$CFLAGS -Wall -Werror"
16649  ac_ext=c
16650ac_cpp='$CPP $CPPFLAGS'
16651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16653ac_compiler_gnu=$ac_cv_c_compiler_gnu
16654
16655
16656    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657/* end confdefs.h.  */
16658#include <stdio.h>
16659int
16660main ()
16661{
16662printf( "%zd" );
16663  ;
16664  return 0;
16665}
16666_ACEOF
16667if ac_fn_c_try_link "$LINENO"; then :
16668  ac_cv_cv_have_printf_zd=no
16669else
16670  ac_cv_cv_have_printf_zd=yes
16671fi
16672rm -f core conftest.err conftest.$ac_objext \
16673    conftest$ac_exeext conftest.$ac_ext
16674
16675    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
16676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677/* end confdefs.h.  */
16678#include <sys/types.h>
16679#include <stdio.h>
16680int
16681main ()
16682{
16683printf( "%zd", (size_t) 10 );
16684  ;
16685  return 0;
16686}
16687_ACEOF
16688if ac_fn_c_try_link "$LINENO"; then :
16689  ac_cv_cv_have_printf_zd=yes
16690else
16691  ac_cv_cv_have_printf_zd=no
16692fi
16693rm -f core conftest.err conftest.$ac_objext \
16694    conftest$ac_exeext conftest.$ac_ext
16695
16696fi
16697
16698    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
16699  if test "$cross_compiling" = yes; then :
16700  ac_cv_cv_have_printf_zd=undetermined
16701else
16702  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703/* end confdefs.h.  */
16704#include <sys/types.h>
16705#include <stdio.h>
16706int
16707main ()
16708{
16709char string[ 3 ];
16710if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 );
16711if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
16712  ;
16713  return 0;
16714}
16715_ACEOF
16716if ac_fn_c_try_run "$LINENO"; then :
16717  ac_cv_cv_have_printf_zd=yes
16718else
16719  ac_cv_cv_have_printf_zd=no
16720fi
16721rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16722  conftest.$ac_objext conftest.beam conftest.$ac_ext
16723fi
16724
16725
16726fi
16727
16728  ac_ext=c
16729ac_cpp='$CPP $CPPFLAGS'
16730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16732ac_compiler_gnu=$ac_cv_c_compiler_gnu
16733
16734  CFLAGS="$SAVE_CFLAGS"
16735
16736  if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
16737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16738$as_echo "yes" >&6; }
16739
16740$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h
16741
16742else
16743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5
16744$as_echo "$ac_cv_cv_have_printf_zd" >&6; }
16745
16746fi
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16758	if test -n "$ac_tool_prefix"; then
16759  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16760set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16762$as_echo_n "checking for $ac_word... " >&6; }
16763if ${ac_cv_path_PKG_CONFIG+:} false; then :
16764  $as_echo_n "(cached) " >&6
16765else
16766  case $PKG_CONFIG in
16767  [\\/]* | ?:[\\/]*)
16768  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16769  ;;
16770  *)
16771  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16772for as_dir in $PATH
16773do
16774  IFS=$as_save_IFS
16775  test -z "$as_dir" && as_dir=.
16776    for ac_exec_ext in '' $ac_executable_extensions; do
16777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16778    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16780    break 2
16781  fi
16782done
16783  done
16784IFS=$as_save_IFS
16785
16786  ;;
16787esac
16788fi
16789PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16790if test -n "$PKG_CONFIG"; then
16791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16792$as_echo "$PKG_CONFIG" >&6; }
16793else
16794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16795$as_echo "no" >&6; }
16796fi
16797
16798
16799fi
16800if test -z "$ac_cv_path_PKG_CONFIG"; then
16801  ac_pt_PKG_CONFIG=$PKG_CONFIG
16802  # Extract the first word of "pkg-config", so it can be a program name with args.
16803set dummy pkg-config; ac_word=$2
16804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16805$as_echo_n "checking for $ac_word... " >&6; }
16806if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16807  $as_echo_n "(cached) " >&6
16808else
16809  case $ac_pt_PKG_CONFIG in
16810  [\\/]* | ?:[\\/]*)
16811  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16812  ;;
16813  *)
16814  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16815for as_dir in $PATH
16816do
16817  IFS=$as_save_IFS
16818  test -z "$as_dir" && as_dir=.
16819    for ac_exec_ext in '' $ac_executable_extensions; do
16820  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16821    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16823    break 2
16824  fi
16825done
16826  done
16827IFS=$as_save_IFS
16828
16829  ;;
16830esac
16831fi
16832ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16833if test -n "$ac_pt_PKG_CONFIG"; then
16834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16835$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16836else
16837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16838$as_echo "no" >&6; }
16839fi
16840
16841  if test "x$ac_pt_PKG_CONFIG" = x; then
16842    PKG_CONFIG=""
16843  else
16844    case $cross_compiling:$ac_tool_warned in
16845yes:)
16846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16848ac_tool_warned=yes ;;
16849esac
16850    PKG_CONFIG=$ac_pt_PKG_CONFIG
16851  fi
16852else
16853  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16854fi
16855
16856fi
16857if test -n "$PKG_CONFIG"; then
16858	_pkg_min_version=0.9.0
16859	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16860$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16861	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16862		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16863$as_echo "yes" >&6; }
16864	else
16865		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16866$as_echo "no" >&6; }
16867		PKG_CONFIG=""
16868	fi
16869fi
16870
16871
16872# Check whether --with-libcerror was given.
16873if test "${with_libcerror+set}" = set; then :
16874  withval=$with_libcerror; ac_cv_with_libcerror=$withval
16875else
16876  ac_cv_with_libcerror=auto-detect
16877fi
16878
16879    { $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
16880$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; }
16881if ${ac_cv_with_libcerror+:} false; then :
16882  $as_echo_n "(cached) " >&6
16883else
16884  ac_cv_with_libcerror=auto-detect
16885fi
16886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5
16887$as_echo "$ac_cv_with_libcerror" >&6; }
16888
16889    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then :
16890  ac_cv_libcerror=no
16891else
16892  ac_cv_libcerror=check
16893        if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then :
16894  if test -d "$ac_cv_with_libcerror"; then :
16895  CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include"
16896        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib"
16897else
16898  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16900as_fn_error 1 "no such directory: $ac_cv_with_libcerror
16901See \`config.log' for more details" "$LINENO" 5; }
16902
16903fi
16904
16905else
16906        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
16907
16908pkg_failed=no
16909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5
16910$as_echo_n "checking for libcerror... " >&6; }
16911
16912if test -n "$libcerror_CFLAGS"; then
16913    pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS"
16914 elif test -n "$PKG_CONFIG"; then
16915    if test -n "$PKG_CONFIG" && \
16916    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
16917  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
16918  ac_status=$?
16919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16920  test $ac_status = 0; }; then
16921  pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null`
16922		      test "x$?" != "x0" && pkg_failed=yes
16923else
16924  pkg_failed=yes
16925fi
16926 else
16927    pkg_failed=untried
16928fi
16929if test -n "$libcerror_LIBS"; then
16930    pkg_cv_libcerror_LIBS="$libcerror_LIBS"
16931 elif test -n "$PKG_CONFIG"; then
16932    if test -n "$PKG_CONFIG" && \
16933    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
16934  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
16935  ac_status=$?
16936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16937  test $ac_status = 0; }; then
16938  pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null`
16939		      test "x$?" != "x0" && pkg_failed=yes
16940else
16941  pkg_failed=yes
16942fi
16943 else
16944    pkg_failed=untried
16945fi
16946
16947
16948
16949if test $pkg_failed = yes; then
16950   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16951$as_echo "no" >&6; }
16952
16953if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16954        _pkg_short_errors_supported=yes
16955else
16956        _pkg_short_errors_supported=no
16957fi
16958        if test $_pkg_short_errors_supported = yes; then
16959	        libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
16960        else
16961	        libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
16962        fi
16963	# Put the nasty error message in config.log where it belongs
16964	echo "$libcerror_PKG_ERRORS" >&5
16965
16966	ac_cv_libcerror=check
16967elif test $pkg_failed = untried; then
16968     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16969$as_echo "no" >&6; }
16970	ac_cv_libcerror=check
16971else
16972	libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS
16973	libcerror_LIBS=$pkg_cv_libcerror_LIBS
16974        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16975$as_echo "yes" >&6; }
16976	ac_cv_libcerror=yes
16977fi
16978
16979fi
16980      if test "x$ac_cv_libcerror" = xyes; then :
16981  ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS"
16982        ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS"
16983fi
16984
16985fi
16986
16987    if test "x$ac_cv_libcerror" = xcheck; then :
16988        for ac_header in libcerror.h
16989do :
16990  ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default"
16991if test "x$ac_cv_header_libcerror_h" = xyes; then :
16992  cat >>confdefs.h <<_ACEOF
16993#define HAVE_LIBCERROR_H 1
16994_ACEOF
16995
16996fi
16997
16998done
16999
17000
17001      if test "x$ac_cv_header_libcerror_h" = xno; then :
17002  ac_cv_libcerror=no
17003else
17004          ac_cv_libcerror=yes
17005
17006        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5
17007$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; }
17008if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then :
17009  $as_echo_n "(cached) " >&6
17010else
17011  ac_check_lib_save_LIBS=$LIBS
17012LIBS="-lcerror  $LIBS"
17013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014/* end confdefs.h.  */
17015
17016/* Override any GCC internal prototype to avoid an error.
17017   Use char because int might match the return type of a GCC
17018   builtin and then its argument prototype would still apply.  */
17019#ifdef __cplusplus
17020extern "C"
17021#endif
17022char libcerror_get_version ();
17023int
17024main ()
17025{
17026return libcerror_get_version ();
17027  ;
17028  return 0;
17029}
17030_ACEOF
17031if ac_fn_c_try_link "$LINENO"; then :
17032  ac_cv_lib_cerror_libcerror_get_version=yes
17033else
17034  ac_cv_lib_cerror_libcerror_get_version=no
17035fi
17036rm -f core conftest.err conftest.$ac_objext \
17037    conftest$ac_exeext conftest.$ac_ext
17038LIBS=$ac_check_lib_save_LIBS
17039fi
17040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5
17041$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; }
17042if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then :
17043  ac_cv_libcerror_dummy=yes
17044else
17045  ac_cv_libcerror=no
17046fi
17047
17048
17049                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5
17050$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; }
17051if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then :
17052  $as_echo_n "(cached) " >&6
17053else
17054  ac_check_lib_save_LIBS=$LIBS
17055LIBS="-lcerror  $LIBS"
17056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057/* end confdefs.h.  */
17058
17059/* Override any GCC internal prototype to avoid an error.
17060   Use char because int might match the return type of a GCC
17061   builtin and then its argument prototype would still apply.  */
17062#ifdef __cplusplus
17063extern "C"
17064#endif
17065char libcerror_error_free ();
17066int
17067main ()
17068{
17069return libcerror_error_free ();
17070  ;
17071  return 0;
17072}
17073_ACEOF
17074if ac_fn_c_try_link "$LINENO"; then :
17075  ac_cv_lib_cerror_libcerror_error_free=yes
17076else
17077  ac_cv_lib_cerror_libcerror_error_free=no
17078fi
17079rm -f core conftest.err conftest.$ac_objext \
17080    conftest$ac_exeext conftest.$ac_ext
17081LIBS=$ac_check_lib_save_LIBS
17082fi
17083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5
17084$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; }
17085if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then :
17086  ac_cv_libcerror_dummy=yes
17087else
17088  ac_cv_libcerror=no
17089fi
17090
17091        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5
17092$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; }
17093if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then :
17094  $as_echo_n "(cached) " >&6
17095else
17096  ac_check_lib_save_LIBS=$LIBS
17097LIBS="-lcerror  $LIBS"
17098cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099/* end confdefs.h.  */
17100
17101/* Override any GCC internal prototype to avoid an error.
17102   Use char because int might match the return type of a GCC
17103   builtin and then its argument prototype would still apply.  */
17104#ifdef __cplusplus
17105extern "C"
17106#endif
17107char libcerror_error_set ();
17108int
17109main ()
17110{
17111return libcerror_error_set ();
17112  ;
17113  return 0;
17114}
17115_ACEOF
17116if ac_fn_c_try_link "$LINENO"; then :
17117  ac_cv_lib_cerror_libcerror_error_set=yes
17118else
17119  ac_cv_lib_cerror_libcerror_error_set=no
17120fi
17121rm -f core conftest.err conftest.$ac_objext \
17122    conftest$ac_exeext conftest.$ac_ext
17123LIBS=$ac_check_lib_save_LIBS
17124fi
17125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5
17126$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; }
17127if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then :
17128  ac_cv_libcerror_dummy=yes
17129else
17130  ac_cv_libcerror=no
17131fi
17132
17133        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5
17134$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; }
17135if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then :
17136  $as_echo_n "(cached) " >&6
17137else
17138  ac_check_lib_save_LIBS=$LIBS
17139LIBS="-lcerror  $LIBS"
17140cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141/* end confdefs.h.  */
17142
17143/* Override any GCC internal prototype to avoid an error.
17144   Use char because int might match the return type of a GCC
17145   builtin and then its argument prototype would still apply.  */
17146#ifdef __cplusplus
17147extern "C"
17148#endif
17149char libcerror_error_matches ();
17150int
17151main ()
17152{
17153return libcerror_error_matches ();
17154  ;
17155  return 0;
17156}
17157_ACEOF
17158if ac_fn_c_try_link "$LINENO"; then :
17159  ac_cv_lib_cerror_libcerror_error_matches=yes
17160else
17161  ac_cv_lib_cerror_libcerror_error_matches=no
17162fi
17163rm -f core conftest.err conftest.$ac_objext \
17164    conftest$ac_exeext conftest.$ac_ext
17165LIBS=$ac_check_lib_save_LIBS
17166fi
17167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5
17168$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; }
17169if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then :
17170  ac_cv_libcerror_dummy=yes
17171else
17172  ac_cv_libcerror=no
17173fi
17174
17175        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5
17176$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; }
17177if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then :
17178  $as_echo_n "(cached) " >&6
17179else
17180  ac_check_lib_save_LIBS=$LIBS
17181LIBS="-lcerror  $LIBS"
17182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183/* end confdefs.h.  */
17184
17185/* Override any GCC internal prototype to avoid an error.
17186   Use char because int might match the return type of a GCC
17187   builtin and then its argument prototype would still apply.  */
17188#ifdef __cplusplus
17189extern "C"
17190#endif
17191char libcerror_error_fprint ();
17192int
17193main ()
17194{
17195return libcerror_error_fprint ();
17196  ;
17197  return 0;
17198}
17199_ACEOF
17200if ac_fn_c_try_link "$LINENO"; then :
17201  ac_cv_lib_cerror_libcerror_error_fprint=yes
17202else
17203  ac_cv_lib_cerror_libcerror_error_fprint=no
17204fi
17205rm -f core conftest.err conftest.$ac_objext \
17206    conftest$ac_exeext conftest.$ac_ext
17207LIBS=$ac_check_lib_save_LIBS
17208fi
17209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5
17210$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; }
17211if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then :
17212  ac_cv_libcerror_dummy=yes
17213else
17214  ac_cv_libcerror=no
17215fi
17216
17217        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5
17218$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; }
17219if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then :
17220  $as_echo_n "(cached) " >&6
17221else
17222  ac_check_lib_save_LIBS=$LIBS
17223LIBS="-lcerror  $LIBS"
17224cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225/* end confdefs.h.  */
17226
17227/* Override any GCC internal prototype to avoid an error.
17228   Use char because int might match the return type of a GCC
17229   builtin and then its argument prototype would still apply.  */
17230#ifdef __cplusplus
17231extern "C"
17232#endif
17233char libcerror_error_sprint ();
17234int
17235main ()
17236{
17237return libcerror_error_sprint ();
17238  ;
17239  return 0;
17240}
17241_ACEOF
17242if ac_fn_c_try_link "$LINENO"; then :
17243  ac_cv_lib_cerror_libcerror_error_sprint=yes
17244else
17245  ac_cv_lib_cerror_libcerror_error_sprint=no
17246fi
17247rm -f core conftest.err conftest.$ac_objext \
17248    conftest$ac_exeext conftest.$ac_ext
17249LIBS=$ac_check_lib_save_LIBS
17250fi
17251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5
17252$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; }
17253if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then :
17254  ac_cv_libcerror_dummy=yes
17255else
17256  ac_cv_libcerror=no
17257fi
17258
17259        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5
17260$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; }
17261if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then :
17262  $as_echo_n "(cached) " >&6
17263else
17264  ac_check_lib_save_LIBS=$LIBS
17265LIBS="-lcerror  $LIBS"
17266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267/* end confdefs.h.  */
17268
17269/* Override any GCC internal prototype to avoid an error.
17270   Use char because int might match the return type of a GCC
17271   builtin and then its argument prototype would still apply.  */
17272#ifdef __cplusplus
17273extern "C"
17274#endif
17275char libcerror_error_backtrace_fprint ();
17276int
17277main ()
17278{
17279return libcerror_error_backtrace_fprint ();
17280  ;
17281  return 0;
17282}
17283_ACEOF
17284if ac_fn_c_try_link "$LINENO"; then :
17285  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes
17286else
17287  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no
17288fi
17289rm -f core conftest.err conftest.$ac_objext \
17290    conftest$ac_exeext conftest.$ac_ext
17291LIBS=$ac_check_lib_save_LIBS
17292fi
17293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5
17294$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; }
17295if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then :
17296  ac_cv_libcerror_dummy=yes
17297else
17298  ac_cv_libcerror=no
17299fi
17300
17301        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5
17302$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; }
17303if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then :
17304  $as_echo_n "(cached) " >&6
17305else
17306  ac_check_lib_save_LIBS=$LIBS
17307LIBS="-lcerror  $LIBS"
17308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309/* end confdefs.h.  */
17310
17311/* Override any GCC internal prototype to avoid an error.
17312   Use char because int might match the return type of a GCC
17313   builtin and then its argument prototype would still apply.  */
17314#ifdef __cplusplus
17315extern "C"
17316#endif
17317char libcerror_error_backtrace_sprint ();
17318int
17319main ()
17320{
17321return libcerror_error_backtrace_sprint ();
17322  ;
17323  return 0;
17324}
17325_ACEOF
17326if ac_fn_c_try_link "$LINENO"; then :
17327  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes
17328else
17329  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no
17330fi
17331rm -f core conftest.err conftest.$ac_objext \
17332    conftest$ac_exeext conftest.$ac_ext
17333LIBS=$ac_check_lib_save_LIBS
17334fi
17335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5
17336$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; }
17337if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then :
17338  ac_cv_libcerror_dummy=yes
17339else
17340  ac_cv_libcerror=no
17341fi
17342
17343
17344                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5
17345$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; }
17346if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then :
17347  $as_echo_n "(cached) " >&6
17348else
17349  ac_check_lib_save_LIBS=$LIBS
17350LIBS="-lcerror  $LIBS"
17351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352/* end confdefs.h.  */
17353
17354/* Override any GCC internal prototype to avoid an error.
17355   Use char because int might match the return type of a GCC
17356   builtin and then its argument prototype would still apply.  */
17357#ifdef __cplusplus
17358extern "C"
17359#endif
17360char libcerror_system_set_error ();
17361int
17362main ()
17363{
17364return libcerror_system_set_error ();
17365  ;
17366  return 0;
17367}
17368_ACEOF
17369if ac_fn_c_try_link "$LINENO"; then :
17370  ac_cv_lib_cerror_libcerror_system_set_error=yes
17371else
17372  ac_cv_lib_cerror_libcerror_system_set_error=no
17373fi
17374rm -f core conftest.err conftest.$ac_objext \
17375    conftest$ac_exeext conftest.$ac_ext
17376LIBS=$ac_check_lib_save_LIBS
17377fi
17378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5
17379$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; }
17380if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then :
17381  ac_cv_libcerror_dummy=yes
17382else
17383  ac_cv_libcerror=no
17384fi
17385
17386
17387        ac_cv_libcerror_LIBADD="-lcerror"
17388fi
17389
17390fi
17391    if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then :
17392  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17394as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror
17395See \`config.log' for more details" "$LINENO" 5; }
17396
17397fi
17398
17399fi
17400
17401  if test "x$ac_cv_libcerror" = xyes; then :
17402
17403$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h
17404
17405
17406fi
17407
17408  if test "x$ac_cv_libcerror" = xyes; then :
17409  HAVE_LIBCERROR=1
17410
17411else
17412  HAVE_LIBCERROR=0
17413
17414
17415fi
17416
17417
17418    if test "x$ac_cv_libcerror" != xyes; then :
17419    for ac_header in stdarg.h varargs.h
17420do :
17421  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17422ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17423if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17424  cat >>confdefs.h <<_ACEOF
17425#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17426_ACEOF
17427
17428fi
17429
17430done
17431
17432
17433  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
17434  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436as_fn_error 1 "Missing headers: stdarg.h and varargs.h
17437See \`config.log' for more details" "$LINENO" 5; }
17438
17439fi
17440
17441    if test "x$ac_cv_enable_wide_character_type" != xno; then :
17442  for ac_func in wcstombs
17443do :
17444  ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs"
17445if test "x$ac_cv_func_wcstombs" = xyes; then :
17446  cat >>confdefs.h <<_ACEOF
17447#define HAVE_WCSTOMBS 1
17448_ACEOF
17449
17450fi
17451done
17452
17453
17454    if test "x$ac_cv_func_wcstombs" != xyes; then :
17455  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17457as_fn_error 1 "Missing function: wcstombs
17458See \`config.log' for more details" "$LINENO" 5; }
17459
17460fi
17461
17462fi
17463
17464    ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17465if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
17466  ac_have_decl=1
17467else
17468  ac_have_decl=0
17469fi
17470
17471cat >>confdefs.h <<_ACEOF
17472#define HAVE_DECL_STRERROR_R $ac_have_decl
17473_ACEOF
17474
17475for ac_func in strerror_r
17476do :
17477  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17478if test "x$ac_cv_func_strerror_r" = xyes; then :
17479  cat >>confdefs.h <<_ACEOF
17480#define HAVE_STRERROR_R 1
17481_ACEOF
17482
17483fi
17484done
17485
17486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17487$as_echo_n "checking whether strerror_r returns char *... " >&6; }
17488if ${ac_cv_func_strerror_r_char_p+:} false; then :
17489  $as_echo_n "(cached) " >&6
17490else
17491
17492    ac_cv_func_strerror_r_char_p=no
17493    if test $ac_cv_have_decl_strerror_r = yes; then
17494      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495/* end confdefs.h.  */
17496$ac_includes_default
17497int
17498main ()
17499{
17500
17501	  char buf[100];
17502	  char x = *strerror_r (0, buf, sizeof buf);
17503	  char *p = strerror_r (0, buf, sizeof buf);
17504	  return !p || x;
17505
17506  ;
17507  return 0;
17508}
17509_ACEOF
17510if ac_fn_c_try_compile "$LINENO"; then :
17511  ac_cv_func_strerror_r_char_p=yes
17512fi
17513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514    else
17515      # strerror_r is not declared.  Choose between
17516      # systems that have relatively inaccessible declarations for the
17517      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
17518      # former has a strerror_r that returns char*, while the latter
17519      # has a strerror_r that returns `int'.
17520      # This test should segfault on the DEC system.
17521      if test "$cross_compiling" = yes; then :
17522  :
17523else
17524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525/* end confdefs.h.  */
17526$ac_includes_default
17527	extern char *strerror_r ();
17528int
17529main ()
17530{
17531char buf[100];
17532	  char x = *strerror_r (0, buf, sizeof buf);
17533	  return ! isalpha (x);
17534  ;
17535  return 0;
17536}
17537_ACEOF
17538if ac_fn_c_try_run "$LINENO"; then :
17539  ac_cv_func_strerror_r_char_p=yes
17540fi
17541rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17542  conftest.$ac_objext conftest.beam conftest.$ac_ext
17543fi
17544
17545    fi
17546
17547fi
17548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
17549$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
17550if test $ac_cv_func_strerror_r_char_p = yes; then
17551
17552$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
17553
17554fi
17555
17556
17557  if test "x$ac_cv_have_decl_strerror_r" != xyes; then :
17558  for ac_func in strerror
17559do :
17560  ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
17561if test "x$ac_cv_func_strerror" = xyes; then :
17562  cat >>confdefs.h <<_ACEOF
17563#define HAVE_STRERROR 1
17564_ACEOF
17565
17566fi
17567done
17568
17569
17570    if test "x$ac_cv_func_strerror" != xyes; then :
17571  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17572$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17573as_fn_error 1 "Missing functions: strerror_r and strerror
17574See \`config.log' for more details" "$LINENO" 5; }
17575
17576fi
17577
17578fi
17579
17580  ac_cv_libcerror_CPPFLAGS="-I../libcerror";
17581  ac_cv_libcerror_LIBADD="../libcerror/libcerror.la";
17582
17583  ac_cv_libcerror=local
17584
17585
17586
17587$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h
17588
17589    HAVE_LOCAL_LIBCERROR=1
17590
17591
17592fi
17593
17594   if test "x$ac_cv_libcerror" = xlocal; then
17595  HAVE_LOCAL_LIBCERROR_TRUE=
17596  HAVE_LOCAL_LIBCERROR_FALSE='#'
17597else
17598  HAVE_LOCAL_LIBCERROR_TRUE='#'
17599  HAVE_LOCAL_LIBCERROR_FALSE=
17600fi
17601
17602  if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then :
17603  LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS
17604
17605
17606fi
17607  if test "x$ac_cv_libcerror_LIBADD" != "x"; then :
17608  LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD
17609
17610
17611fi
17612
17613  if test "x$ac_cv_libcerror" = xyes; then :
17614  ax_libcerror_pc_libs_private=-lcerror
17615
17616
17617fi
17618
17619  if test "x$ac_cv_libcerror" = xyes; then :
17620  ax_libcerror_spec_requires=libcerror
17621
17622    ax_libcerror_spec_build_requires=libcerror-devel
17623
17624
17625fi
17626
17627
17628
17629  # Check whether --enable-multi-threading-support was given.
17630if test "${enable_multi_threading_support+set}" = set; then :
17631  enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval
17632else
17633  ac_cv_enable_multi_threading_support=yes
17634fi
17635
17636    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5
17637$as_echo_n "checking whether to enable enable multi-threading support... " >&6; }
17638if ${ac_cv_enable_multi_threading_support+:} false; then :
17639  $as_echo_n "(cached) " >&6
17640else
17641  ac_cv_enable_multi_threading_support=yes
17642fi
17643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5
17644$as_echo "$ac_cv_enable_multi_threading_support" >&6; }
17645
17646
17647# Check whether --with-libcthreads was given.
17648if test "${with_libcthreads+set}" = set; then :
17649  withval=$with_libcthreads; ac_cv_with_libcthreads=$withval
17650else
17651  ac_cv_with_libcthreads=auto-detect
17652fi
17653
17654    { $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
17655$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; }
17656if ${ac_cv_with_libcthreads+:} false; then :
17657  $as_echo_n "(cached) " >&6
17658else
17659  ac_cv_with_libcthreads=auto-detect
17660fi
17661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5
17662$as_echo "$ac_cv_with_libcthreads" >&6; }
17663
17664  if test "x$ac_cv_enable_multi_threading_support" = xno; then :
17665  ac_cv_libcthreads="no"
17666    ac_cv_libcthreads_multi_threading="no"
17667else
17668      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then :
17669  ac_cv_libcthreads=no
17670else
17671  ac_cv_libcthreads=check
17672        if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then :
17673  if test -d "$ac_cv_with_libcthreads"; then :
17674  CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include"
17675        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib"
17676else
17677  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17679as_fn_error 1 "no such directory: $ac_cv_with_libcthreads
17680See \`config.log' for more details" "$LINENO" 5; }
17681
17682fi
17683
17684else
17685        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
17686
17687pkg_failed=no
17688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5
17689$as_echo_n "checking for libcthreads... " >&6; }
17690
17691if test -n "$libcthreads_CFLAGS"; then
17692    pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS"
17693 elif test -n "$PKG_CONFIG"; then
17694    if test -n "$PKG_CONFIG" && \
17695    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
17696  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
17697  ac_status=$?
17698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17699  test $ac_status = 0; }; then
17700  pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null`
17701		      test "x$?" != "x0" && pkg_failed=yes
17702else
17703  pkg_failed=yes
17704fi
17705 else
17706    pkg_failed=untried
17707fi
17708if test -n "$libcthreads_LIBS"; then
17709    pkg_cv_libcthreads_LIBS="$libcthreads_LIBS"
17710 elif test -n "$PKG_CONFIG"; then
17711    if test -n "$PKG_CONFIG" && \
17712    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
17713  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
17714  ac_status=$?
17715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17716  test $ac_status = 0; }; then
17717  pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null`
17718		      test "x$?" != "x0" && pkg_failed=yes
17719else
17720  pkg_failed=yes
17721fi
17722 else
17723    pkg_failed=untried
17724fi
17725
17726
17727
17728if test $pkg_failed = yes; then
17729   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17730$as_echo "no" >&6; }
17731
17732if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17733        _pkg_short_errors_supported=yes
17734else
17735        _pkg_short_errors_supported=no
17736fi
17737        if test $_pkg_short_errors_supported = yes; then
17738	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
17739        else
17740	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
17741        fi
17742	# Put the nasty error message in config.log where it belongs
17743	echo "$libcthreads_PKG_ERRORS" >&5
17744
17745	ac_cv_libcthreads=check
17746elif test $pkg_failed = untried; then
17747     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17748$as_echo "no" >&6; }
17749	ac_cv_libcthreads=check
17750else
17751	libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS
17752	libcthreads_LIBS=$pkg_cv_libcthreads_LIBS
17753        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17754$as_echo "yes" >&6; }
17755	ac_cv_libcthreads=yes
17756fi
17757
17758fi
17759      if test "x$ac_cv_libcthreads" = xyes; then :
17760  ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS"
17761        ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS"
17762fi
17763
17764fi
17765
17766    if test "x$ac_cv_libcthreads" = xcheck; then :
17767        for ac_header in libcthreads.h
17768do :
17769  ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default"
17770if test "x$ac_cv_header_libcthreads_h" = xyes; then :
17771  cat >>confdefs.h <<_ACEOF
17772#define HAVE_LIBCTHREADS_H 1
17773_ACEOF
17774
17775fi
17776
17777done
17778
17779
17780      if test "x$ac_cv_header_libcthreads_h" = xno; then :
17781  ac_cv_libcthreads=no
17782else
17783          ac_cv_libcthreads=yes
17784
17785        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5
17786$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; }
17787if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then :
17788  $as_echo_n "(cached) " >&6
17789else
17790  ac_check_lib_save_LIBS=$LIBS
17791LIBS="-lcthreads  $LIBS"
17792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793/* end confdefs.h.  */
17794
17795/* Override any GCC internal prototype to avoid an error.
17796   Use char because int might match the return type of a GCC
17797   builtin and then its argument prototype would still apply.  */
17798#ifdef __cplusplus
17799extern "C"
17800#endif
17801char libcthreads_get_version ();
17802int
17803main ()
17804{
17805return libcthreads_get_version ();
17806  ;
17807  return 0;
17808}
17809_ACEOF
17810if ac_fn_c_try_link "$LINENO"; then :
17811  ac_cv_lib_cthreads_libcthreads_get_version=yes
17812else
17813  ac_cv_lib_cthreads_libcthreads_get_version=no
17814fi
17815rm -f core conftest.err conftest.$ac_objext \
17816    conftest$ac_exeext conftest.$ac_ext
17817LIBS=$ac_check_lib_save_LIBS
17818fi
17819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5
17820$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; }
17821if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then :
17822  ac_cv_libcthreads_dummy=yes
17823else
17824  ac_cv_libcthreads=no
17825fi
17826
17827
17828                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5
17829$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; }
17830if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then :
17831  $as_echo_n "(cached) " >&6
17832else
17833  ac_check_lib_save_LIBS=$LIBS
17834LIBS="-lcthreads  $LIBS"
17835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836/* end confdefs.h.  */
17837
17838/* Override any GCC internal prototype to avoid an error.
17839   Use char because int might match the return type of a GCC
17840   builtin and then its argument prototype would still apply.  */
17841#ifdef __cplusplus
17842extern "C"
17843#endif
17844char libcthreads_thread_create ();
17845int
17846main ()
17847{
17848return libcthreads_thread_create ();
17849  ;
17850  return 0;
17851}
17852_ACEOF
17853if ac_fn_c_try_link "$LINENO"; then :
17854  ac_cv_lib_cthreads_libcthreads_thread_create=yes
17855else
17856  ac_cv_lib_cthreads_libcthreads_thread_create=no
17857fi
17858rm -f core conftest.err conftest.$ac_objext \
17859    conftest$ac_exeext conftest.$ac_ext
17860LIBS=$ac_check_lib_save_LIBS
17861fi
17862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5
17863$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; }
17864if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then :
17865  ac_cv_libcthreads_dummy=yes
17866else
17867  ac_cv_libcthreads=no
17868fi
17869
17870        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5
17871$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; }
17872if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then :
17873  $as_echo_n "(cached) " >&6
17874else
17875  ac_check_lib_save_LIBS=$LIBS
17876LIBS="-lcthreads  $LIBS"
17877cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878/* end confdefs.h.  */
17879
17880/* Override any GCC internal prototype to avoid an error.
17881   Use char because int might match the return type of a GCC
17882   builtin and then its argument prototype would still apply.  */
17883#ifdef __cplusplus
17884extern "C"
17885#endif
17886char libcthreads_thread_join ();
17887int
17888main ()
17889{
17890return libcthreads_thread_join ();
17891  ;
17892  return 0;
17893}
17894_ACEOF
17895if ac_fn_c_try_link "$LINENO"; then :
17896  ac_cv_lib_cthreads_libcthreads_thread_join=yes
17897else
17898  ac_cv_lib_cthreads_libcthreads_thread_join=no
17899fi
17900rm -f core conftest.err conftest.$ac_objext \
17901    conftest$ac_exeext conftest.$ac_ext
17902LIBS=$ac_check_lib_save_LIBS
17903fi
17904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5
17905$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; }
17906if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then :
17907  ac_cv_libcthreads_dummy=yes
17908else
17909  ac_cv_libcthreads=no
17910fi
17911
17912
17913                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5
17914$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; }
17915if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then :
17916  $as_echo_n "(cached) " >&6
17917else
17918  ac_check_lib_save_LIBS=$LIBS
17919LIBS="-lcthreads  $LIBS"
17920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921/* end confdefs.h.  */
17922
17923/* Override any GCC internal prototype to avoid an error.
17924   Use char because int might match the return type of a GCC
17925   builtin and then its argument prototype would still apply.  */
17926#ifdef __cplusplus
17927extern "C"
17928#endif
17929char libcthreads_thread_attributes_initialize ();
17930int
17931main ()
17932{
17933return libcthreads_thread_attributes_initialize ();
17934  ;
17935  return 0;
17936}
17937_ACEOF
17938if ac_fn_c_try_link "$LINENO"; then :
17939  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes
17940else
17941  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no
17942fi
17943rm -f core conftest.err conftest.$ac_objext \
17944    conftest$ac_exeext conftest.$ac_ext
17945LIBS=$ac_check_lib_save_LIBS
17946fi
17947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5
17948$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; }
17949if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then :
17950  ac_cv_libcthreads_dummy=yes
17951else
17952  ac_cv_libcthreads=no
17953fi
17954
17955        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5
17956$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; }
17957if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then :
17958  $as_echo_n "(cached) " >&6
17959else
17960  ac_check_lib_save_LIBS=$LIBS
17961LIBS="-lcthreads  $LIBS"
17962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963/* end confdefs.h.  */
17964
17965/* Override any GCC internal prototype to avoid an error.
17966   Use char because int might match the return type of a GCC
17967   builtin and then its argument prototype would still apply.  */
17968#ifdef __cplusplus
17969extern "C"
17970#endif
17971char libcthreads_thread_attributes_free ();
17972int
17973main ()
17974{
17975return libcthreads_thread_attributes_free ();
17976  ;
17977  return 0;
17978}
17979_ACEOF
17980if ac_fn_c_try_link "$LINENO"; then :
17981  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes
17982else
17983  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no
17984fi
17985rm -f core conftest.err conftest.$ac_objext \
17986    conftest$ac_exeext conftest.$ac_ext
17987LIBS=$ac_check_lib_save_LIBS
17988fi
17989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5
17990$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; }
17991if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then :
17992  ac_cv_libcthreads_dummy=yes
17993else
17994  ac_cv_libcthreads=no
17995fi
17996
17997
17998                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5
17999$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; }
18000if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then :
18001  $as_echo_n "(cached) " >&6
18002else
18003  ac_check_lib_save_LIBS=$LIBS
18004LIBS="-lcthreads  $LIBS"
18005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006/* end confdefs.h.  */
18007
18008/* Override any GCC internal prototype to avoid an error.
18009   Use char because int might match the return type of a GCC
18010   builtin and then its argument prototype would still apply.  */
18011#ifdef __cplusplus
18012extern "C"
18013#endif
18014char libcthreads_condition_initialize ();
18015int
18016main ()
18017{
18018return libcthreads_condition_initialize ();
18019  ;
18020  return 0;
18021}
18022_ACEOF
18023if ac_fn_c_try_link "$LINENO"; then :
18024  ac_cv_lib_cthreads_libcthreads_condition_initialize=yes
18025else
18026  ac_cv_lib_cthreads_libcthreads_condition_initialize=no
18027fi
18028rm -f core conftest.err conftest.$ac_objext \
18029    conftest$ac_exeext conftest.$ac_ext
18030LIBS=$ac_check_lib_save_LIBS
18031fi
18032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5
18033$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; }
18034if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then :
18035  ac_cv_libcthreads_dummy=yes
18036else
18037  ac_cv_libcthreads=no
18038fi
18039
18040        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5
18041$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; }
18042if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then :
18043  $as_echo_n "(cached) " >&6
18044else
18045  ac_check_lib_save_LIBS=$LIBS
18046LIBS="-lcthreads  $LIBS"
18047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048/* end confdefs.h.  */
18049
18050/* Override any GCC internal prototype to avoid an error.
18051   Use char because int might match the return type of a GCC
18052   builtin and then its argument prototype would still apply.  */
18053#ifdef __cplusplus
18054extern "C"
18055#endif
18056char libcthreads_condition_free ();
18057int
18058main ()
18059{
18060return libcthreads_condition_free ();
18061  ;
18062  return 0;
18063}
18064_ACEOF
18065if ac_fn_c_try_link "$LINENO"; then :
18066  ac_cv_lib_cthreads_libcthreads_condition_free=yes
18067else
18068  ac_cv_lib_cthreads_libcthreads_condition_free=no
18069fi
18070rm -f core conftest.err conftest.$ac_objext \
18071    conftest$ac_exeext conftest.$ac_ext
18072LIBS=$ac_check_lib_save_LIBS
18073fi
18074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5
18075$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; }
18076if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then :
18077  ac_cv_libcthreads_dummy=yes
18078else
18079  ac_cv_libcthreads=no
18080fi
18081
18082        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5
18083$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; }
18084if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then :
18085  $as_echo_n "(cached) " >&6
18086else
18087  ac_check_lib_save_LIBS=$LIBS
18088LIBS="-lcthreads  $LIBS"
18089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090/* end confdefs.h.  */
18091
18092/* Override any GCC internal prototype to avoid an error.
18093   Use char because int might match the return type of a GCC
18094   builtin and then its argument prototype would still apply.  */
18095#ifdef __cplusplus
18096extern "C"
18097#endif
18098char libcthreads_condition_broadcast ();
18099int
18100main ()
18101{
18102return libcthreads_condition_broadcast ();
18103  ;
18104  return 0;
18105}
18106_ACEOF
18107if ac_fn_c_try_link "$LINENO"; then :
18108  ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes
18109else
18110  ac_cv_lib_cthreads_libcthreads_condition_broadcast=no
18111fi
18112rm -f core conftest.err conftest.$ac_objext \
18113    conftest$ac_exeext conftest.$ac_ext
18114LIBS=$ac_check_lib_save_LIBS
18115fi
18116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5
18117$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; }
18118if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then :
18119  ac_cv_libcthreads_dummy=yes
18120else
18121  ac_cv_libcthreads=no
18122fi
18123
18124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5
18125$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; }
18126if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then :
18127  $as_echo_n "(cached) " >&6
18128else
18129  ac_check_lib_save_LIBS=$LIBS
18130LIBS="-lcthreads  $LIBS"
18131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132/* end confdefs.h.  */
18133
18134/* Override any GCC internal prototype to avoid an error.
18135   Use char because int might match the return type of a GCC
18136   builtin and then its argument prototype would still apply.  */
18137#ifdef __cplusplus
18138extern "C"
18139#endif
18140char libcthreads_condition_signal ();
18141int
18142main ()
18143{
18144return libcthreads_condition_signal ();
18145  ;
18146  return 0;
18147}
18148_ACEOF
18149if ac_fn_c_try_link "$LINENO"; then :
18150  ac_cv_lib_cthreads_libcthreads_condition_signal=yes
18151else
18152  ac_cv_lib_cthreads_libcthreads_condition_signal=no
18153fi
18154rm -f core conftest.err conftest.$ac_objext \
18155    conftest$ac_exeext conftest.$ac_ext
18156LIBS=$ac_check_lib_save_LIBS
18157fi
18158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5
18159$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; }
18160if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then :
18161  ac_cv_libcthreads_dummy=yes
18162else
18163  ac_cv_libcthreads=no
18164fi
18165
18166        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5
18167$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; }
18168if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then :
18169  $as_echo_n "(cached) " >&6
18170else
18171  ac_check_lib_save_LIBS=$LIBS
18172LIBS="-lcthreads  $LIBS"
18173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174/* end confdefs.h.  */
18175
18176/* Override any GCC internal prototype to avoid an error.
18177   Use char because int might match the return type of a GCC
18178   builtin and then its argument prototype would still apply.  */
18179#ifdef __cplusplus
18180extern "C"
18181#endif
18182char libcthreads_condition_wait ();
18183int
18184main ()
18185{
18186return libcthreads_condition_wait ();
18187  ;
18188  return 0;
18189}
18190_ACEOF
18191if ac_fn_c_try_link "$LINENO"; then :
18192  ac_cv_lib_cthreads_libcthreads_condition_wait=yes
18193else
18194  ac_cv_lib_cthreads_libcthreads_condition_wait=no
18195fi
18196rm -f core conftest.err conftest.$ac_objext \
18197    conftest$ac_exeext conftest.$ac_ext
18198LIBS=$ac_check_lib_save_LIBS
18199fi
18200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5
18201$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; }
18202if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then :
18203  ac_cv_libcthreads_dummy=yes
18204else
18205  ac_cv_libcthreads=no
18206fi
18207
18208
18209                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5
18210$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; }
18211if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then :
18212  $as_echo_n "(cached) " >&6
18213else
18214  ac_check_lib_save_LIBS=$LIBS
18215LIBS="-lcthreads  $LIBS"
18216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217/* end confdefs.h.  */
18218
18219/* Override any GCC internal prototype to avoid an error.
18220   Use char because int might match the return type of a GCC
18221   builtin and then its argument prototype would still apply.  */
18222#ifdef __cplusplus
18223extern "C"
18224#endif
18225char libcthreads_lock_initialize ();
18226int
18227main ()
18228{
18229return libcthreads_lock_initialize ();
18230  ;
18231  return 0;
18232}
18233_ACEOF
18234if ac_fn_c_try_link "$LINENO"; then :
18235  ac_cv_lib_cthreads_libcthreads_lock_initialize=yes
18236else
18237  ac_cv_lib_cthreads_libcthreads_lock_initialize=no
18238fi
18239rm -f core conftest.err conftest.$ac_objext \
18240    conftest$ac_exeext conftest.$ac_ext
18241LIBS=$ac_check_lib_save_LIBS
18242fi
18243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5
18244$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; }
18245if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then :
18246  ac_cv_libcthreads_dummy=yes
18247else
18248  ac_cv_libcthreads=no
18249fi
18250
18251        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5
18252$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; }
18253if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then :
18254  $as_echo_n "(cached) " >&6
18255else
18256  ac_check_lib_save_LIBS=$LIBS
18257LIBS="-lcthreads  $LIBS"
18258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259/* end confdefs.h.  */
18260
18261/* Override any GCC internal prototype to avoid an error.
18262   Use char because int might match the return type of a GCC
18263   builtin and then its argument prototype would still apply.  */
18264#ifdef __cplusplus
18265extern "C"
18266#endif
18267char libcthreads_lock_free ();
18268int
18269main ()
18270{
18271return libcthreads_lock_free ();
18272  ;
18273  return 0;
18274}
18275_ACEOF
18276if ac_fn_c_try_link "$LINENO"; then :
18277  ac_cv_lib_cthreads_libcthreads_lock_free=yes
18278else
18279  ac_cv_lib_cthreads_libcthreads_lock_free=no
18280fi
18281rm -f core conftest.err conftest.$ac_objext \
18282    conftest$ac_exeext conftest.$ac_ext
18283LIBS=$ac_check_lib_save_LIBS
18284fi
18285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5
18286$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; }
18287if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then :
18288  ac_cv_libcthreads_dummy=yes
18289else
18290  ac_cv_libcthreads=no
18291fi
18292
18293        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5
18294$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; }
18295if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then :
18296  $as_echo_n "(cached) " >&6
18297else
18298  ac_check_lib_save_LIBS=$LIBS
18299LIBS="-lcthreads  $LIBS"
18300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301/* end confdefs.h.  */
18302
18303/* Override any GCC internal prototype to avoid an error.
18304   Use char because int might match the return type of a GCC
18305   builtin and then its argument prototype would still apply.  */
18306#ifdef __cplusplus
18307extern "C"
18308#endif
18309char libcthreads_lock_grab ();
18310int
18311main ()
18312{
18313return libcthreads_lock_grab ();
18314  ;
18315  return 0;
18316}
18317_ACEOF
18318if ac_fn_c_try_link "$LINENO"; then :
18319  ac_cv_lib_cthreads_libcthreads_lock_grab=yes
18320else
18321  ac_cv_lib_cthreads_libcthreads_lock_grab=no
18322fi
18323rm -f core conftest.err conftest.$ac_objext \
18324    conftest$ac_exeext conftest.$ac_ext
18325LIBS=$ac_check_lib_save_LIBS
18326fi
18327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5
18328$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; }
18329if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then :
18330  ac_cv_libcthreads_dummy=yes
18331else
18332  ac_cv_libcthreads=no
18333fi
18334
18335        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5
18336$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; }
18337if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then :
18338  $as_echo_n "(cached) " >&6
18339else
18340  ac_check_lib_save_LIBS=$LIBS
18341LIBS="-lcthreads  $LIBS"
18342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343/* end confdefs.h.  */
18344
18345/* Override any GCC internal prototype to avoid an error.
18346   Use char because int might match the return type of a GCC
18347   builtin and then its argument prototype would still apply.  */
18348#ifdef __cplusplus
18349extern "C"
18350#endif
18351char libcthreads_lock_release ();
18352int
18353main ()
18354{
18355return libcthreads_lock_release ();
18356  ;
18357  return 0;
18358}
18359_ACEOF
18360if ac_fn_c_try_link "$LINENO"; then :
18361  ac_cv_lib_cthreads_libcthreads_lock_release=yes
18362else
18363  ac_cv_lib_cthreads_libcthreads_lock_release=no
18364fi
18365rm -f core conftest.err conftest.$ac_objext \
18366    conftest$ac_exeext conftest.$ac_ext
18367LIBS=$ac_check_lib_save_LIBS
18368fi
18369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5
18370$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; }
18371if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then :
18372  ac_cv_libcthreads_dummy=yes
18373else
18374  ac_cv_libcthreads=no
18375fi
18376
18377
18378                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5
18379$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; }
18380if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then :
18381  $as_echo_n "(cached) " >&6
18382else
18383  ac_check_lib_save_LIBS=$LIBS
18384LIBS="-lcthreads  $LIBS"
18385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386/* end confdefs.h.  */
18387
18388/* Override any GCC internal prototype to avoid an error.
18389   Use char because int might match the return type of a GCC
18390   builtin and then its argument prototype would still apply.  */
18391#ifdef __cplusplus
18392extern "C"
18393#endif
18394char libcthreads_mutex_initialize ();
18395int
18396main ()
18397{
18398return libcthreads_mutex_initialize ();
18399  ;
18400  return 0;
18401}
18402_ACEOF
18403if ac_fn_c_try_link "$LINENO"; then :
18404  ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes
18405else
18406  ac_cv_lib_cthreads_libcthreads_mutex_initialize=no
18407fi
18408rm -f core conftest.err conftest.$ac_objext \
18409    conftest$ac_exeext conftest.$ac_ext
18410LIBS=$ac_check_lib_save_LIBS
18411fi
18412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5
18413$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; }
18414if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then :
18415  ac_cv_libcthreads_dummy=yes
18416else
18417  ac_cv_libcthreads=no
18418fi
18419
18420        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5
18421$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; }
18422if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then :
18423  $as_echo_n "(cached) " >&6
18424else
18425  ac_check_lib_save_LIBS=$LIBS
18426LIBS="-lcthreads  $LIBS"
18427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428/* end confdefs.h.  */
18429
18430/* Override any GCC internal prototype to avoid an error.
18431   Use char because int might match the return type of a GCC
18432   builtin and then its argument prototype would still apply.  */
18433#ifdef __cplusplus
18434extern "C"
18435#endif
18436char libcthreads_mutex_free ();
18437int
18438main ()
18439{
18440return libcthreads_mutex_free ();
18441  ;
18442  return 0;
18443}
18444_ACEOF
18445if ac_fn_c_try_link "$LINENO"; then :
18446  ac_cv_lib_cthreads_libcthreads_mutex_free=yes
18447else
18448  ac_cv_lib_cthreads_libcthreads_mutex_free=no
18449fi
18450rm -f core conftest.err conftest.$ac_objext \
18451    conftest$ac_exeext conftest.$ac_ext
18452LIBS=$ac_check_lib_save_LIBS
18453fi
18454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5
18455$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; }
18456if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then :
18457  ac_cv_libcthreads_dummy=yes
18458else
18459  ac_cv_libcthreads=no
18460fi
18461
18462        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5
18463$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; }
18464if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then :
18465  $as_echo_n "(cached) " >&6
18466else
18467  ac_check_lib_save_LIBS=$LIBS
18468LIBS="-lcthreads  $LIBS"
18469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470/* end confdefs.h.  */
18471
18472/* Override any GCC internal prototype to avoid an error.
18473   Use char because int might match the return type of a GCC
18474   builtin and then its argument prototype would still apply.  */
18475#ifdef __cplusplus
18476extern "C"
18477#endif
18478char libcthreads_mutex_grab ();
18479int
18480main ()
18481{
18482return libcthreads_mutex_grab ();
18483  ;
18484  return 0;
18485}
18486_ACEOF
18487if ac_fn_c_try_link "$LINENO"; then :
18488  ac_cv_lib_cthreads_libcthreads_mutex_grab=yes
18489else
18490  ac_cv_lib_cthreads_libcthreads_mutex_grab=no
18491fi
18492rm -f core conftest.err conftest.$ac_objext \
18493    conftest$ac_exeext conftest.$ac_ext
18494LIBS=$ac_check_lib_save_LIBS
18495fi
18496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5
18497$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; }
18498if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then :
18499  ac_cv_libcthreads_dummy=yes
18500else
18501  ac_cv_libcthreads=no
18502fi
18503
18504        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5
18505$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; }
18506if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then :
18507  $as_echo_n "(cached) " >&6
18508else
18509  ac_check_lib_save_LIBS=$LIBS
18510LIBS="-lcthreads  $LIBS"
18511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512/* end confdefs.h.  */
18513
18514/* Override any GCC internal prototype to avoid an error.
18515   Use char because int might match the return type of a GCC
18516   builtin and then its argument prototype would still apply.  */
18517#ifdef __cplusplus
18518extern "C"
18519#endif
18520char libcthreads_mutex_try_grab ();
18521int
18522main ()
18523{
18524return libcthreads_mutex_try_grab ();
18525  ;
18526  return 0;
18527}
18528_ACEOF
18529if ac_fn_c_try_link "$LINENO"; then :
18530  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes
18531else
18532  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no
18533fi
18534rm -f core conftest.err conftest.$ac_objext \
18535    conftest$ac_exeext conftest.$ac_ext
18536LIBS=$ac_check_lib_save_LIBS
18537fi
18538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5
18539$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; }
18540if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then :
18541  ac_cv_libcthreads_dummy=yes
18542else
18543  ac_cv_libcthreads=no
18544fi
18545
18546        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5
18547$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; }
18548if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then :
18549  $as_echo_n "(cached) " >&6
18550else
18551  ac_check_lib_save_LIBS=$LIBS
18552LIBS="-lcthreads  $LIBS"
18553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554/* end confdefs.h.  */
18555
18556/* Override any GCC internal prototype to avoid an error.
18557   Use char because int might match the return type of a GCC
18558   builtin and then its argument prototype would still apply.  */
18559#ifdef __cplusplus
18560extern "C"
18561#endif
18562char libcthreads_mutex_release ();
18563int
18564main ()
18565{
18566return libcthreads_mutex_release ();
18567  ;
18568  return 0;
18569}
18570_ACEOF
18571if ac_fn_c_try_link "$LINENO"; then :
18572  ac_cv_lib_cthreads_libcthreads_mutex_release=yes
18573else
18574  ac_cv_lib_cthreads_libcthreads_mutex_release=no
18575fi
18576rm -f core conftest.err conftest.$ac_objext \
18577    conftest$ac_exeext conftest.$ac_ext
18578LIBS=$ac_check_lib_save_LIBS
18579fi
18580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5
18581$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; }
18582if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then :
18583  ac_cv_libcthreads_dummy=yes
18584else
18585  ac_cv_libcthreads=no
18586fi
18587
18588
18589                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5
18590$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; }
18591if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then :
18592  $as_echo_n "(cached) " >&6
18593else
18594  ac_check_lib_save_LIBS=$LIBS
18595LIBS="-lcthreads  $LIBS"
18596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597/* end confdefs.h.  */
18598
18599/* Override any GCC internal prototype to avoid an error.
18600   Use char because int might match the return type of a GCC
18601   builtin and then its argument prototype would still apply.  */
18602#ifdef __cplusplus
18603extern "C"
18604#endif
18605char libcthreads_read_write_lock_initialize ();
18606int
18607main ()
18608{
18609return libcthreads_read_write_lock_initialize ();
18610  ;
18611  return 0;
18612}
18613_ACEOF
18614if ac_fn_c_try_link "$LINENO"; then :
18615  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes
18616else
18617  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no
18618fi
18619rm -f core conftest.err conftest.$ac_objext \
18620    conftest$ac_exeext conftest.$ac_ext
18621LIBS=$ac_check_lib_save_LIBS
18622fi
18623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5
18624$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; }
18625if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then :
18626  ac_cv_libcthreads_dummy=yes
18627else
18628  ac_cv_libcthreads=no
18629fi
18630
18631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5
18632$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; }
18633if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then :
18634  $as_echo_n "(cached) " >&6
18635else
18636  ac_check_lib_save_LIBS=$LIBS
18637LIBS="-lcthreads  $LIBS"
18638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639/* end confdefs.h.  */
18640
18641/* Override any GCC internal prototype to avoid an error.
18642   Use char because int might match the return type of a GCC
18643   builtin and then its argument prototype would still apply.  */
18644#ifdef __cplusplus
18645extern "C"
18646#endif
18647char libcthreads_read_write_lock_free ();
18648int
18649main ()
18650{
18651return libcthreads_read_write_lock_free ();
18652  ;
18653  return 0;
18654}
18655_ACEOF
18656if ac_fn_c_try_link "$LINENO"; then :
18657  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes
18658else
18659  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no
18660fi
18661rm -f core conftest.err conftest.$ac_objext \
18662    conftest$ac_exeext conftest.$ac_ext
18663LIBS=$ac_check_lib_save_LIBS
18664fi
18665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5
18666$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; }
18667if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then :
18668  ac_cv_libcthreads_dummy=yes
18669else
18670  ac_cv_libcthreads=no
18671fi
18672
18673        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5
18674$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; }
18675if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then :
18676  $as_echo_n "(cached) " >&6
18677else
18678  ac_check_lib_save_LIBS=$LIBS
18679LIBS="-lcthreads  $LIBS"
18680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681/* end confdefs.h.  */
18682
18683/* Override any GCC internal prototype to avoid an error.
18684   Use char because int might match the return type of a GCC
18685   builtin and then its argument prototype would still apply.  */
18686#ifdef __cplusplus
18687extern "C"
18688#endif
18689char libcthreads_read_write_lock_grab_for_read ();
18690int
18691main ()
18692{
18693return libcthreads_read_write_lock_grab_for_read ();
18694  ;
18695  return 0;
18696}
18697_ACEOF
18698if ac_fn_c_try_link "$LINENO"; then :
18699  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes
18700else
18701  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no
18702fi
18703rm -f core conftest.err conftest.$ac_objext \
18704    conftest$ac_exeext conftest.$ac_ext
18705LIBS=$ac_check_lib_save_LIBS
18706fi
18707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5
18708$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; }
18709if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then :
18710  ac_cv_libcthreads_dummy=yes
18711else
18712  ac_cv_libcthreads=no
18713fi
18714
18715        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5
18716$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; }
18717if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then :
18718  $as_echo_n "(cached) " >&6
18719else
18720  ac_check_lib_save_LIBS=$LIBS
18721LIBS="-lcthreads  $LIBS"
18722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723/* end confdefs.h.  */
18724
18725/* Override any GCC internal prototype to avoid an error.
18726   Use char because int might match the return type of a GCC
18727   builtin and then its argument prototype would still apply.  */
18728#ifdef __cplusplus
18729extern "C"
18730#endif
18731char libcthreads_read_write_lock_grab_for_write ();
18732int
18733main ()
18734{
18735return libcthreads_read_write_lock_grab_for_write ();
18736  ;
18737  return 0;
18738}
18739_ACEOF
18740if ac_fn_c_try_link "$LINENO"; then :
18741  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes
18742else
18743  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no
18744fi
18745rm -f core conftest.err conftest.$ac_objext \
18746    conftest$ac_exeext conftest.$ac_ext
18747LIBS=$ac_check_lib_save_LIBS
18748fi
18749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5
18750$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; }
18751if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then :
18752  ac_cv_libcthreads_dummy=yes
18753else
18754  ac_cv_libcthreads=no
18755fi
18756
18757        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5
18758$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; }
18759if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then :
18760  $as_echo_n "(cached) " >&6
18761else
18762  ac_check_lib_save_LIBS=$LIBS
18763LIBS="-lcthreads  $LIBS"
18764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765/* end confdefs.h.  */
18766
18767/* Override any GCC internal prototype to avoid an error.
18768   Use char because int might match the return type of a GCC
18769   builtin and then its argument prototype would still apply.  */
18770#ifdef __cplusplus
18771extern "C"
18772#endif
18773char libcthreads_read_write_lock_release_for_read ();
18774int
18775main ()
18776{
18777return libcthreads_read_write_lock_release_for_read ();
18778  ;
18779  return 0;
18780}
18781_ACEOF
18782if ac_fn_c_try_link "$LINENO"; then :
18783  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes
18784else
18785  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no
18786fi
18787rm -f core conftest.err conftest.$ac_objext \
18788    conftest$ac_exeext conftest.$ac_ext
18789LIBS=$ac_check_lib_save_LIBS
18790fi
18791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5
18792$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; }
18793if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then :
18794  ac_cv_libcthreads_dummy=yes
18795else
18796  ac_cv_libcthreads=no
18797fi
18798
18799        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5
18800$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; }
18801if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then :
18802  $as_echo_n "(cached) " >&6
18803else
18804  ac_check_lib_save_LIBS=$LIBS
18805LIBS="-lcthreads  $LIBS"
18806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807/* end confdefs.h.  */
18808
18809/* Override any GCC internal prototype to avoid an error.
18810   Use char because int might match the return type of a GCC
18811   builtin and then its argument prototype would still apply.  */
18812#ifdef __cplusplus
18813extern "C"
18814#endif
18815char libcthreads_read_write_lock_release_for_write ();
18816int
18817main ()
18818{
18819return libcthreads_read_write_lock_release_for_write ();
18820  ;
18821  return 0;
18822}
18823_ACEOF
18824if ac_fn_c_try_link "$LINENO"; then :
18825  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes
18826else
18827  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no
18828fi
18829rm -f core conftest.err conftest.$ac_objext \
18830    conftest$ac_exeext conftest.$ac_ext
18831LIBS=$ac_check_lib_save_LIBS
18832fi
18833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5
18834$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; }
18835if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then :
18836  ac_cv_libcthreads_dummy=yes
18837else
18838  ac_cv_libcthreads=no
18839fi
18840
18841
18842                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5
18843$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; }
18844if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then :
18845  $as_echo_n "(cached) " >&6
18846else
18847  ac_check_lib_save_LIBS=$LIBS
18848LIBS="-lcthreads  $LIBS"
18849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850/* end confdefs.h.  */
18851
18852/* Override any GCC internal prototype to avoid an error.
18853   Use char because int might match the return type of a GCC
18854   builtin and then its argument prototype would still apply.  */
18855#ifdef __cplusplus
18856extern "C"
18857#endif
18858char libcthreads_queue_initialize ();
18859int
18860main ()
18861{
18862return libcthreads_queue_initialize ();
18863  ;
18864  return 0;
18865}
18866_ACEOF
18867if ac_fn_c_try_link "$LINENO"; then :
18868  ac_cv_lib_cthreads_libcthreads_queue_initialize=yes
18869else
18870  ac_cv_lib_cthreads_libcthreads_queue_initialize=no
18871fi
18872rm -f core conftest.err conftest.$ac_objext \
18873    conftest$ac_exeext conftest.$ac_ext
18874LIBS=$ac_check_lib_save_LIBS
18875fi
18876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5
18877$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; }
18878if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then :
18879  ac_cv_libcthreads_dummy=yes
18880else
18881  ac_cv_libcthreads=no
18882fi
18883
18884        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5
18885$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; }
18886if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then :
18887  $as_echo_n "(cached) " >&6
18888else
18889  ac_check_lib_save_LIBS=$LIBS
18890LIBS="-lcthreads  $LIBS"
18891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892/* end confdefs.h.  */
18893
18894/* Override any GCC internal prototype to avoid an error.
18895   Use char because int might match the return type of a GCC
18896   builtin and then its argument prototype would still apply.  */
18897#ifdef __cplusplus
18898extern "C"
18899#endif
18900char libcthreads_queue_free ();
18901int
18902main ()
18903{
18904return libcthreads_queue_free ();
18905  ;
18906  return 0;
18907}
18908_ACEOF
18909if ac_fn_c_try_link "$LINENO"; then :
18910  ac_cv_lib_cthreads_libcthreads_queue_free=yes
18911else
18912  ac_cv_lib_cthreads_libcthreads_queue_free=no
18913fi
18914rm -f core conftest.err conftest.$ac_objext \
18915    conftest$ac_exeext conftest.$ac_ext
18916LIBS=$ac_check_lib_save_LIBS
18917fi
18918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5
18919$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; }
18920if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then :
18921  ac_cv_libcthreads_dummy=yes
18922else
18923  ac_cv_libcthreads=no
18924fi
18925
18926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5
18927$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; }
18928if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then :
18929  $as_echo_n "(cached) " >&6
18930else
18931  ac_check_lib_save_LIBS=$LIBS
18932LIBS="-lcthreads  $LIBS"
18933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934/* end confdefs.h.  */
18935
18936/* Override any GCC internal prototype to avoid an error.
18937   Use char because int might match the return type of a GCC
18938   builtin and then its argument prototype would still apply.  */
18939#ifdef __cplusplus
18940extern "C"
18941#endif
18942char libcthreads_queue_type_pop ();
18943int
18944main ()
18945{
18946return libcthreads_queue_type_pop ();
18947  ;
18948  return 0;
18949}
18950_ACEOF
18951if ac_fn_c_try_link "$LINENO"; then :
18952  ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes
18953else
18954  ac_cv_lib_cthreads_libcthreads_queue_type_pop=no
18955fi
18956rm -f core conftest.err conftest.$ac_objext \
18957    conftest$ac_exeext conftest.$ac_ext
18958LIBS=$ac_check_lib_save_LIBS
18959fi
18960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5
18961$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; }
18962if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then :
18963  ac_cv_libcthreads_dummy=yes
18964else
18965  ac_cv_libcthreads=no
18966fi
18967
18968        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5
18969$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; }
18970if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then :
18971  $as_echo_n "(cached) " >&6
18972else
18973  ac_check_lib_save_LIBS=$LIBS
18974LIBS="-lcthreads  $LIBS"
18975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976/* end confdefs.h.  */
18977
18978/* Override any GCC internal prototype to avoid an error.
18979   Use char because int might match the return type of a GCC
18980   builtin and then its argument prototype would still apply.  */
18981#ifdef __cplusplus
18982extern "C"
18983#endif
18984char libcthreads_queue_pop ();
18985int
18986main ()
18987{
18988return libcthreads_queue_pop ();
18989  ;
18990  return 0;
18991}
18992_ACEOF
18993if ac_fn_c_try_link "$LINENO"; then :
18994  ac_cv_lib_cthreads_libcthreads_queue_pop=yes
18995else
18996  ac_cv_lib_cthreads_libcthreads_queue_pop=no
18997fi
18998rm -f core conftest.err conftest.$ac_objext \
18999    conftest$ac_exeext conftest.$ac_ext
19000LIBS=$ac_check_lib_save_LIBS
19001fi
19002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5
19003$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; }
19004if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then :
19005  ac_cv_libcthreads_dummy=yes
19006else
19007  ac_cv_libcthreads=no
19008fi
19009
19010        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5
19011$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; }
19012if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then :
19013  $as_echo_n "(cached) " >&6
19014else
19015  ac_check_lib_save_LIBS=$LIBS
19016LIBS="-lcthreads  $LIBS"
19017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018/* end confdefs.h.  */
19019
19020/* Override any GCC internal prototype to avoid an error.
19021   Use char because int might match the return type of a GCC
19022   builtin and then its argument prototype would still apply.  */
19023#ifdef __cplusplus
19024extern "C"
19025#endif
19026char libcthreads_queue_try_push ();
19027int
19028main ()
19029{
19030return libcthreads_queue_try_push ();
19031  ;
19032  return 0;
19033}
19034_ACEOF
19035if ac_fn_c_try_link "$LINENO"; then :
19036  ac_cv_lib_cthreads_libcthreads_queue_try_push=yes
19037else
19038  ac_cv_lib_cthreads_libcthreads_queue_try_push=no
19039fi
19040rm -f core conftest.err conftest.$ac_objext \
19041    conftest$ac_exeext conftest.$ac_ext
19042LIBS=$ac_check_lib_save_LIBS
19043fi
19044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5
19045$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; }
19046if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then :
19047  ac_cv_libcthreads_dummy=yes
19048else
19049  ac_cv_libcthreads=no
19050fi
19051
19052        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5
19053$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; }
19054if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then :
19055  $as_echo_n "(cached) " >&6
19056else
19057  ac_check_lib_save_LIBS=$LIBS
19058LIBS="-lcthreads  $LIBS"
19059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060/* end confdefs.h.  */
19061
19062/* Override any GCC internal prototype to avoid an error.
19063   Use char because int might match the return type of a GCC
19064   builtin and then its argument prototype would still apply.  */
19065#ifdef __cplusplus
19066extern "C"
19067#endif
19068char libcthreads_queue_push ();
19069int
19070main ()
19071{
19072return libcthreads_queue_push ();
19073  ;
19074  return 0;
19075}
19076_ACEOF
19077if ac_fn_c_try_link "$LINENO"; then :
19078  ac_cv_lib_cthreads_libcthreads_queue_push=yes
19079else
19080  ac_cv_lib_cthreads_libcthreads_queue_push=no
19081fi
19082rm -f core conftest.err conftest.$ac_objext \
19083    conftest$ac_exeext conftest.$ac_ext
19084LIBS=$ac_check_lib_save_LIBS
19085fi
19086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5
19087$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; }
19088if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then :
19089  ac_cv_libcthreads_dummy=yes
19090else
19091  ac_cv_libcthreads=no
19092fi
19093
19094        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5
19095$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; }
19096if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then :
19097  $as_echo_n "(cached) " >&6
19098else
19099  ac_check_lib_save_LIBS=$LIBS
19100LIBS="-lcthreads  $LIBS"
19101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102/* end confdefs.h.  */
19103
19104/* Override any GCC internal prototype to avoid an error.
19105   Use char because int might match the return type of a GCC
19106   builtin and then its argument prototype would still apply.  */
19107#ifdef __cplusplus
19108extern "C"
19109#endif
19110char libcthreads_queue_push_sorted ();
19111int
19112main ()
19113{
19114return libcthreads_queue_push_sorted ();
19115  ;
19116  return 0;
19117}
19118_ACEOF
19119if ac_fn_c_try_link "$LINENO"; then :
19120  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes
19121else
19122  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no
19123fi
19124rm -f core conftest.err conftest.$ac_objext \
19125    conftest$ac_exeext conftest.$ac_ext
19126LIBS=$ac_check_lib_save_LIBS
19127fi
19128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5
19129$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; }
19130if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then :
19131  ac_cv_libcthreads_dummy=yes
19132else
19133  ac_cv_libcthreads=no
19134fi
19135
19136
19137                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5
19138$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; }
19139if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then :
19140  $as_echo_n "(cached) " >&6
19141else
19142  ac_check_lib_save_LIBS=$LIBS
19143LIBS="-lcthreads  $LIBS"
19144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145/* end confdefs.h.  */
19146
19147/* Override any GCC internal prototype to avoid an error.
19148   Use char because int might match the return type of a GCC
19149   builtin and then its argument prototype would still apply.  */
19150#ifdef __cplusplus
19151extern "C"
19152#endif
19153char libcthreads_thread_pool_create ();
19154int
19155main ()
19156{
19157return libcthreads_thread_pool_create ();
19158  ;
19159  return 0;
19160}
19161_ACEOF
19162if ac_fn_c_try_link "$LINENO"; then :
19163  ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes
19164else
19165  ac_cv_lib_cthreads_libcthreads_thread_pool_create=no
19166fi
19167rm -f core conftest.err conftest.$ac_objext \
19168    conftest$ac_exeext conftest.$ac_ext
19169LIBS=$ac_check_lib_save_LIBS
19170fi
19171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5
19172$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; }
19173if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then :
19174  ac_cv_libcthreads_dummy=yes
19175else
19176  ac_cv_libcthreads=no
19177fi
19178
19179        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5
19180$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; }
19181if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then :
19182  $as_echo_n "(cached) " >&6
19183else
19184  ac_check_lib_save_LIBS=$LIBS
19185LIBS="-lcthreads  $LIBS"
19186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187/* end confdefs.h.  */
19188
19189/* Override any GCC internal prototype to avoid an error.
19190   Use char because int might match the return type of a GCC
19191   builtin and then its argument prototype would still apply.  */
19192#ifdef __cplusplus
19193extern "C"
19194#endif
19195char libcthreads_thread_pool_push ();
19196int
19197main ()
19198{
19199return libcthreads_thread_pool_push ();
19200  ;
19201  return 0;
19202}
19203_ACEOF
19204if ac_fn_c_try_link "$LINENO"; then :
19205  ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes
19206else
19207  ac_cv_lib_cthreads_libcthreads_thread_pool_push=no
19208fi
19209rm -f core conftest.err conftest.$ac_objext \
19210    conftest$ac_exeext conftest.$ac_ext
19211LIBS=$ac_check_lib_save_LIBS
19212fi
19213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5
19214$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; }
19215if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then :
19216  ac_cv_libcthreads_dummy=yes
19217else
19218  ac_cv_libcthreads=no
19219fi
19220
19221        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5
19222$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; }
19223if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then :
19224  $as_echo_n "(cached) " >&6
19225else
19226  ac_check_lib_save_LIBS=$LIBS
19227LIBS="-lcthreads  $LIBS"
19228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229/* end confdefs.h.  */
19230
19231/* Override any GCC internal prototype to avoid an error.
19232   Use char because int might match the return type of a GCC
19233   builtin and then its argument prototype would still apply.  */
19234#ifdef __cplusplus
19235extern "C"
19236#endif
19237char libcthreads_thread_pool_push_sorted ();
19238int
19239main ()
19240{
19241return libcthreads_thread_pool_push_sorted ();
19242  ;
19243  return 0;
19244}
19245_ACEOF
19246if ac_fn_c_try_link "$LINENO"; then :
19247  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes
19248else
19249  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no
19250fi
19251rm -f core conftest.err conftest.$ac_objext \
19252    conftest$ac_exeext conftest.$ac_ext
19253LIBS=$ac_check_lib_save_LIBS
19254fi
19255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5
19256$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; }
19257if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then :
19258  ac_cv_libcthreads_dummy=yes
19259else
19260  ac_cv_libcthreads=no
19261fi
19262
19263        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5
19264$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; }
19265if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then :
19266  $as_echo_n "(cached) " >&6
19267else
19268  ac_check_lib_save_LIBS=$LIBS
19269LIBS="-lcthreads  $LIBS"
19270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271/* end confdefs.h.  */
19272
19273/* Override any GCC internal prototype to avoid an error.
19274   Use char because int might match the return type of a GCC
19275   builtin and then its argument prototype would still apply.  */
19276#ifdef __cplusplus
19277extern "C"
19278#endif
19279char libcthreads_thread_pool_join ();
19280int
19281main ()
19282{
19283return libcthreads_thread_pool_join ();
19284  ;
19285  return 0;
19286}
19287_ACEOF
19288if ac_fn_c_try_link "$LINENO"; then :
19289  ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes
19290else
19291  ac_cv_lib_cthreads_libcthreads_thread_pool_join=no
19292fi
19293rm -f core conftest.err conftest.$ac_objext \
19294    conftest$ac_exeext conftest.$ac_ext
19295LIBS=$ac_check_lib_save_LIBS
19296fi
19297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5
19298$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; }
19299if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then :
19300  ac_cv_libcthreads_dummy=yes
19301else
19302  ac_cv_libcthreads=no
19303fi
19304
19305
19306        ac_cv_libcthreads_LIBADD="-lcthreads"
19307fi
19308
19309fi
19310
19311    if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then :
19312  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19314as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads
19315See \`config.log' for more details" "$LINENO" 5; }
19316
19317fi
19318
19319fi
19320
19321  if test "x$ac_cv_libcthreads" = xyes; then :
19322
19323$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h
19324
19325
19326fi
19327
19328  if test "x$ac_cv_libcthreads" = xyes; then :
19329  ac_cv_libcthreads_multi_threading=libcthreads
19330else
19331  ac_cv_libcthreads_multi_threading=no
19332fi
19333
19334  if test "x$ac_cv_libcthreads" = xyes; then :
19335  HAVE_LIBCTHREADS=1
19336
19337else
19338  HAVE_LIBCTHREADS=0
19339
19340
19341fi
19342
19343
19344        if test "x$ac_cv_libcthreads" != xyes; then :
19345  if test "x$ac_cv_enable_winapi" = xno; then :
19346
19347
19348# Check whether --with-pthread was given.
19349if test "${with_pthread+set}" = set; then :
19350  withval=$with_pthread; ac_cv_with_pthread=$withval
19351else
19352  ac_cv_with_pthread=auto-detect
19353fi
19354
19355    { $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
19356$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; }
19357if ${ac_cv_with_pthread+:} false; then :
19358  $as_echo_n "(cached) " >&6
19359else
19360  ac_cv_with_pthread=auto-detect
19361fi
19362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5
19363$as_echo "$ac_cv_with_pthread" >&6; }
19364
19365   if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then :
19366  if test -d "$ac_cv_with_pthread"; then :
19367  CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include"
19368   LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"
19369else
19370  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5
19371$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;}
19372
19373fi
19374
19375fi
19376
19377 if test "x$ac_cv_with_pthread" = xno; then :
19378  ac_cv_pthread=no
19379else
19380    for ac_header in pthread.h
19381do :
19382  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
19383if test "x$ac_cv_header_pthread_h" = xyes; then :
19384  cat >>confdefs.h <<_ACEOF
19385#define HAVE_PTHREAD_H 1
19386_ACEOF
19387
19388fi
19389
19390done
19391
19392
19393  if test "x$ac_cv_header_pthread_h" = xno; then :
19394  ac_cv_pthread=no
19395else
19396     ac_cv_pthread=pthread
19397
19398      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
19399$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
19400if ${ac_cv_lib_pthread_pthread_create+:} false; then :
19401  $as_echo_n "(cached) " >&6
19402else
19403  ac_check_lib_save_LIBS=$LIBS
19404LIBS="-lpthread  $LIBS"
19405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406/* end confdefs.h.  */
19407
19408/* Override any GCC internal prototype to avoid an error.
19409   Use char because int might match the return type of a GCC
19410   builtin and then its argument prototype would still apply.  */
19411#ifdef __cplusplus
19412extern "C"
19413#endif
19414char pthread_create ();
19415int
19416main ()
19417{
19418return pthread_create ();
19419  ;
19420  return 0;
19421}
19422_ACEOF
19423if ac_fn_c_try_link "$LINENO"; then :
19424  ac_cv_lib_pthread_pthread_create=yes
19425else
19426  ac_cv_lib_pthread_pthread_create=no
19427fi
19428rm -f core conftest.err conftest.$ac_objext \
19429    conftest$ac_exeext conftest.$ac_ext
19430LIBS=$ac_check_lib_save_LIBS
19431fi
19432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
19433$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
19434if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
19435  ac_pthread_dummy=yes
19436else
19437  ac_cv_pthread=no
19438fi
19439
19440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5
19441$as_echo_n "checking for pthread_exit in -lpthread... " >&6; }
19442if ${ac_cv_lib_pthread_pthread_exit+:} false; then :
19443  $as_echo_n "(cached) " >&6
19444else
19445  ac_check_lib_save_LIBS=$LIBS
19446LIBS="-lpthread  $LIBS"
19447cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448/* end confdefs.h.  */
19449
19450/* Override any GCC internal prototype to avoid an error.
19451   Use char because int might match the return type of a GCC
19452   builtin and then its argument prototype would still apply.  */
19453#ifdef __cplusplus
19454extern "C"
19455#endif
19456char pthread_exit ();
19457int
19458main ()
19459{
19460return pthread_exit ();
19461  ;
19462  return 0;
19463}
19464_ACEOF
19465if ac_fn_c_try_link "$LINENO"; then :
19466  ac_cv_lib_pthread_pthread_exit=yes
19467else
19468  ac_cv_lib_pthread_pthread_exit=no
19469fi
19470rm -f core conftest.err conftest.$ac_objext \
19471    conftest$ac_exeext conftest.$ac_ext
19472LIBS=$ac_check_lib_save_LIBS
19473fi
19474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5
19475$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; }
19476if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then :
19477  ac_pthread_dummy=yes
19478else
19479  ac_cv_pthread=no
19480fi
19481
19482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
19483$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
19484if ${ac_cv_lib_pthread_pthread_join+:} false; then :
19485  $as_echo_n "(cached) " >&6
19486else
19487  ac_check_lib_save_LIBS=$LIBS
19488LIBS="-lpthread  $LIBS"
19489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490/* end confdefs.h.  */
19491
19492/* Override any GCC internal prototype to avoid an error.
19493   Use char because int might match the return type of a GCC
19494   builtin and then its argument prototype would still apply.  */
19495#ifdef __cplusplus
19496extern "C"
19497#endif
19498char pthread_join ();
19499int
19500main ()
19501{
19502return pthread_join ();
19503  ;
19504  return 0;
19505}
19506_ACEOF
19507if ac_fn_c_try_link "$LINENO"; then :
19508  ac_cv_lib_pthread_pthread_join=yes
19509else
19510  ac_cv_lib_pthread_pthread_join=no
19511fi
19512rm -f core conftest.err conftest.$ac_objext \
19513    conftest$ac_exeext conftest.$ac_ext
19514LIBS=$ac_check_lib_save_LIBS
19515fi
19516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
19517$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
19518if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
19519  ac_pthread_dummy=yes
19520else
19521  ac_cv_pthread=no
19522fi
19523
19524
19525      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5
19526$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; }
19527if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then :
19528  $as_echo_n "(cached) " >&6
19529else
19530  ac_check_lib_save_LIBS=$LIBS
19531LIBS="-lpthread  $LIBS"
19532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19533/* end confdefs.h.  */
19534
19535/* Override any GCC internal prototype to avoid an error.
19536   Use char because int might match the return type of a GCC
19537   builtin and then its argument prototype would still apply.  */
19538#ifdef __cplusplus
19539extern "C"
19540#endif
19541char pthread_cond_init ();
19542int
19543main ()
19544{
19545return pthread_cond_init ();
19546  ;
19547  return 0;
19548}
19549_ACEOF
19550if ac_fn_c_try_link "$LINENO"; then :
19551  ac_cv_lib_pthread_pthread_cond_init=yes
19552else
19553  ac_cv_lib_pthread_pthread_cond_init=no
19554fi
19555rm -f core conftest.err conftest.$ac_objext \
19556    conftest$ac_exeext conftest.$ac_ext
19557LIBS=$ac_check_lib_save_LIBS
19558fi
19559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5
19560$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; }
19561if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then :
19562  ac_pthread_dummy=yes
19563else
19564  ac_cv_pthread=no
19565fi
19566
19567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5
19568$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; }
19569if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then :
19570  $as_echo_n "(cached) " >&6
19571else
19572  ac_check_lib_save_LIBS=$LIBS
19573LIBS="-lpthread  $LIBS"
19574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575/* end confdefs.h.  */
19576
19577/* Override any GCC internal prototype to avoid an error.
19578   Use char because int might match the return type of a GCC
19579   builtin and then its argument prototype would still apply.  */
19580#ifdef __cplusplus
19581extern "C"
19582#endif
19583char pthread_cond_destroy ();
19584int
19585main ()
19586{
19587return pthread_cond_destroy ();
19588  ;
19589  return 0;
19590}
19591_ACEOF
19592if ac_fn_c_try_link "$LINENO"; then :
19593  ac_cv_lib_pthread_pthread_cond_destroy=yes
19594else
19595  ac_cv_lib_pthread_pthread_cond_destroy=no
19596fi
19597rm -f core conftest.err conftest.$ac_objext \
19598    conftest$ac_exeext conftest.$ac_ext
19599LIBS=$ac_check_lib_save_LIBS
19600fi
19601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5
19602$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; }
19603if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then :
19604  ac_pthread_dummy=yes
19605else
19606  ac_cv_pthread=no
19607fi
19608
19609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5
19610$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; }
19611if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then :
19612  $as_echo_n "(cached) " >&6
19613else
19614  ac_check_lib_save_LIBS=$LIBS
19615LIBS="-lpthread  $LIBS"
19616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617/* end confdefs.h.  */
19618
19619/* Override any GCC internal prototype to avoid an error.
19620   Use char because int might match the return type of a GCC
19621   builtin and then its argument prototype would still apply.  */
19622#ifdef __cplusplus
19623extern "C"
19624#endif
19625char pthread_cond_broadcast ();
19626int
19627main ()
19628{
19629return pthread_cond_broadcast ();
19630  ;
19631  return 0;
19632}
19633_ACEOF
19634if ac_fn_c_try_link "$LINENO"; then :
19635  ac_cv_lib_pthread_pthread_cond_broadcast=yes
19636else
19637  ac_cv_lib_pthread_pthread_cond_broadcast=no
19638fi
19639rm -f core conftest.err conftest.$ac_objext \
19640    conftest$ac_exeext conftest.$ac_ext
19641LIBS=$ac_check_lib_save_LIBS
19642fi
19643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5
19644$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; }
19645if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then :
19646  ac_pthread_dummy=yes
19647else
19648  ac_cv_pthread=no
19649fi
19650
19651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5
19652$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; }
19653if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then :
19654  $as_echo_n "(cached) " >&6
19655else
19656  ac_check_lib_save_LIBS=$LIBS
19657LIBS="-lpthread  $LIBS"
19658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659/* end confdefs.h.  */
19660
19661/* Override any GCC internal prototype to avoid an error.
19662   Use char because int might match the return type of a GCC
19663   builtin and then its argument prototype would still apply.  */
19664#ifdef __cplusplus
19665extern "C"
19666#endif
19667char pthread_cond_signal ();
19668int
19669main ()
19670{
19671return pthread_cond_signal ();
19672  ;
19673  return 0;
19674}
19675_ACEOF
19676if ac_fn_c_try_link "$LINENO"; then :
19677  ac_cv_lib_pthread_pthread_cond_signal=yes
19678else
19679  ac_cv_lib_pthread_pthread_cond_signal=no
19680fi
19681rm -f core conftest.err conftest.$ac_objext \
19682    conftest$ac_exeext conftest.$ac_ext
19683LIBS=$ac_check_lib_save_LIBS
19684fi
19685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5
19686$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; }
19687if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then :
19688  ac_pthread_dummy=yes
19689else
19690  ac_cv_pthread=no
19691fi
19692
19693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5
19694$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; }
19695if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then :
19696  $as_echo_n "(cached) " >&6
19697else
19698  ac_check_lib_save_LIBS=$LIBS
19699LIBS="-lpthread  $LIBS"
19700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701/* end confdefs.h.  */
19702
19703/* Override any GCC internal prototype to avoid an error.
19704   Use char because int might match the return type of a GCC
19705   builtin and then its argument prototype would still apply.  */
19706#ifdef __cplusplus
19707extern "C"
19708#endif
19709char pthread_cond_wait ();
19710int
19711main ()
19712{
19713return pthread_cond_wait ();
19714  ;
19715  return 0;
19716}
19717_ACEOF
19718if ac_fn_c_try_link "$LINENO"; then :
19719  ac_cv_lib_pthread_pthread_cond_wait=yes
19720else
19721  ac_cv_lib_pthread_pthread_cond_wait=no
19722fi
19723rm -f core conftest.err conftest.$ac_objext \
19724    conftest$ac_exeext conftest.$ac_ext
19725LIBS=$ac_check_lib_save_LIBS
19726fi
19727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5
19728$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; }
19729if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then :
19730  ac_pthread_dummy=yes
19731else
19732  ac_cv_pthread=no
19733fi
19734
19735
19736      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
19737$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
19738if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
19739  $as_echo_n "(cached) " >&6
19740else
19741  ac_check_lib_save_LIBS=$LIBS
19742LIBS="-lpthread  $LIBS"
19743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744/* end confdefs.h.  */
19745
19746/* Override any GCC internal prototype to avoid an error.
19747   Use char because int might match the return type of a GCC
19748   builtin and then its argument prototype would still apply.  */
19749#ifdef __cplusplus
19750extern "C"
19751#endif
19752char pthread_mutex_init ();
19753int
19754main ()
19755{
19756return pthread_mutex_init ();
19757  ;
19758  return 0;
19759}
19760_ACEOF
19761if ac_fn_c_try_link "$LINENO"; then :
19762  ac_cv_lib_pthread_pthread_mutex_init=yes
19763else
19764  ac_cv_lib_pthread_pthread_mutex_init=no
19765fi
19766rm -f core conftest.err conftest.$ac_objext \
19767    conftest$ac_exeext conftest.$ac_ext
19768LIBS=$ac_check_lib_save_LIBS
19769fi
19770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
19771$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
19772if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
19773  ac_pthread_dummy=yes
19774else
19775  ac_cv_pthread=no
19776fi
19777
19778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5
19779$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; }
19780if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then :
19781  $as_echo_n "(cached) " >&6
19782else
19783  ac_check_lib_save_LIBS=$LIBS
19784LIBS="-lpthread  $LIBS"
19785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786/* end confdefs.h.  */
19787
19788/* Override any GCC internal prototype to avoid an error.
19789   Use char because int might match the return type of a GCC
19790   builtin and then its argument prototype would still apply.  */
19791#ifdef __cplusplus
19792extern "C"
19793#endif
19794char pthread_mutex_destroy ();
19795int
19796main ()
19797{
19798return pthread_mutex_destroy ();
19799  ;
19800  return 0;
19801}
19802_ACEOF
19803if ac_fn_c_try_link "$LINENO"; then :
19804  ac_cv_lib_pthread_pthread_mutex_destroy=yes
19805else
19806  ac_cv_lib_pthread_pthread_mutex_destroy=no
19807fi
19808rm -f core conftest.err conftest.$ac_objext \
19809    conftest$ac_exeext conftest.$ac_ext
19810LIBS=$ac_check_lib_save_LIBS
19811fi
19812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5
19813$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; }
19814if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then :
19815  ac_pthread_dummy=yes
19816else
19817  ac_cv_pthread=no
19818fi
19819
19820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
19821$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
19822if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then :
19823  $as_echo_n "(cached) " >&6
19824else
19825  ac_check_lib_save_LIBS=$LIBS
19826LIBS="-lpthread  $LIBS"
19827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828/* end confdefs.h.  */
19829
19830/* Override any GCC internal prototype to avoid an error.
19831   Use char because int might match the return type of a GCC
19832   builtin and then its argument prototype would still apply.  */
19833#ifdef __cplusplus
19834extern "C"
19835#endif
19836char pthread_mutex_lock ();
19837int
19838main ()
19839{
19840return pthread_mutex_lock ();
19841  ;
19842  return 0;
19843}
19844_ACEOF
19845if ac_fn_c_try_link "$LINENO"; then :
19846  ac_cv_lib_pthread_pthread_mutex_lock=yes
19847else
19848  ac_cv_lib_pthread_pthread_mutex_lock=no
19849fi
19850rm -f core conftest.err conftest.$ac_objext \
19851    conftest$ac_exeext conftest.$ac_ext
19852LIBS=$ac_check_lib_save_LIBS
19853fi
19854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
19855$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
19856if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then :
19857  ac_pthread_dummy=yes
19858else
19859  ac_cv_pthread=no
19860fi
19861
19862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5
19863$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; }
19864if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then :
19865  $as_echo_n "(cached) " >&6
19866else
19867  ac_check_lib_save_LIBS=$LIBS
19868LIBS="-lpthread  $LIBS"
19869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870/* end confdefs.h.  */
19871
19872/* Override any GCC internal prototype to avoid an error.
19873   Use char because int might match the return type of a GCC
19874   builtin and then its argument prototype would still apply.  */
19875#ifdef __cplusplus
19876extern "C"
19877#endif
19878char pthread_mutex_trylock ();
19879int
19880main ()
19881{
19882return pthread_mutex_trylock ();
19883  ;
19884  return 0;
19885}
19886_ACEOF
19887if ac_fn_c_try_link "$LINENO"; then :
19888  ac_cv_lib_pthread_pthread_mutex_trylock=yes
19889else
19890  ac_cv_lib_pthread_pthread_mutex_trylock=no
19891fi
19892rm -f core conftest.err conftest.$ac_objext \
19893    conftest$ac_exeext conftest.$ac_ext
19894LIBS=$ac_check_lib_save_LIBS
19895fi
19896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5
19897$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; }
19898if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then :
19899  ac_pthread_dummy=yes
19900else
19901  ac_cv_pthread=no
19902fi
19903
19904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5
19905$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; }
19906if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then :
19907  $as_echo_n "(cached) " >&6
19908else
19909  ac_check_lib_save_LIBS=$LIBS
19910LIBS="-lpthread  $LIBS"
19911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912/* end confdefs.h.  */
19913
19914/* Override any GCC internal prototype to avoid an error.
19915   Use char because int might match the return type of a GCC
19916   builtin and then its argument prototype would still apply.  */
19917#ifdef __cplusplus
19918extern "C"
19919#endif
19920char pthread_mutex_unlock ();
19921int
19922main ()
19923{
19924return pthread_mutex_unlock ();
19925  ;
19926  return 0;
19927}
19928_ACEOF
19929if ac_fn_c_try_link "$LINENO"; then :
19930  ac_cv_lib_pthread_pthread_mutex_unlock=yes
19931else
19932  ac_cv_lib_pthread_pthread_mutex_unlock=no
19933fi
19934rm -f core conftest.err conftest.$ac_objext \
19935    conftest$ac_exeext conftest.$ac_ext
19936LIBS=$ac_check_lib_save_LIBS
19937fi
19938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5
19939$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; }
19940if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then :
19941  ac_pthread_dummy=yes
19942else
19943  ac_cv_pthread=no
19944fi
19945
19946
19947      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5
19948$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; }
19949if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then :
19950  $as_echo_n "(cached) " >&6
19951else
19952  ac_check_lib_save_LIBS=$LIBS
19953LIBS="-lpthread  $LIBS"
19954cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955/* end confdefs.h.  */
19956
19957/* Override any GCC internal prototype to avoid an error.
19958   Use char because int might match the return type of a GCC
19959   builtin and then its argument prototype would still apply.  */
19960#ifdef __cplusplus
19961extern "C"
19962#endif
19963char pthread_rwlock_init ();
19964int
19965main ()
19966{
19967return pthread_rwlock_init ();
19968  ;
19969  return 0;
19970}
19971_ACEOF
19972if ac_fn_c_try_link "$LINENO"; then :
19973  ac_cv_lib_pthread_pthread_rwlock_init=yes
19974else
19975  ac_cv_lib_pthread_pthread_rwlock_init=no
19976fi
19977rm -f core conftest.err conftest.$ac_objext \
19978    conftest$ac_exeext conftest.$ac_ext
19979LIBS=$ac_check_lib_save_LIBS
19980fi
19981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5
19982$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; }
19983if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then :
19984  ac_pthread_dummy=yes
19985else
19986  ac_cv_pthread=no
19987fi
19988
19989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5
19990$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; }
19991if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then :
19992  $as_echo_n "(cached) " >&6
19993else
19994  ac_check_lib_save_LIBS=$LIBS
19995LIBS="-lpthread  $LIBS"
19996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997/* end confdefs.h.  */
19998
19999/* Override any GCC internal prototype to avoid an error.
20000   Use char because int might match the return type of a GCC
20001   builtin and then its argument prototype would still apply.  */
20002#ifdef __cplusplus
20003extern "C"
20004#endif
20005char pthread_rwlock_destroy ();
20006int
20007main ()
20008{
20009return pthread_rwlock_destroy ();
20010  ;
20011  return 0;
20012}
20013_ACEOF
20014if ac_fn_c_try_link "$LINENO"; then :
20015  ac_cv_lib_pthread_pthread_rwlock_destroy=yes
20016else
20017  ac_cv_lib_pthread_pthread_rwlock_destroy=no
20018fi
20019rm -f core conftest.err conftest.$ac_objext \
20020    conftest$ac_exeext conftest.$ac_ext
20021LIBS=$ac_check_lib_save_LIBS
20022fi
20023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5
20024$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; }
20025if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then :
20026  ac_pthread_dummy=yes
20027else
20028  ac_cv_pthread=no
20029fi
20030
20031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5
20032$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; }
20033if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then :
20034  $as_echo_n "(cached) " >&6
20035else
20036  ac_check_lib_save_LIBS=$LIBS
20037LIBS="-lpthread  $LIBS"
20038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039/* end confdefs.h.  */
20040
20041/* Override any GCC internal prototype to avoid an error.
20042   Use char because int might match the return type of a GCC
20043   builtin and then its argument prototype would still apply.  */
20044#ifdef __cplusplus
20045extern "C"
20046#endif
20047char pthread_rwlock_rdlock ();
20048int
20049main ()
20050{
20051return pthread_rwlock_rdlock ();
20052  ;
20053  return 0;
20054}
20055_ACEOF
20056if ac_fn_c_try_link "$LINENO"; then :
20057  ac_cv_lib_pthread_pthread_rwlock_rdlock=yes
20058else
20059  ac_cv_lib_pthread_pthread_rwlock_rdlock=no
20060fi
20061rm -f core conftest.err conftest.$ac_objext \
20062    conftest$ac_exeext conftest.$ac_ext
20063LIBS=$ac_check_lib_save_LIBS
20064fi
20065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5
20066$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; }
20067if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then :
20068  ac_pthread_dummy=yes
20069else
20070  ac_cv_pthread=no
20071fi
20072
20073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5
20074$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; }
20075if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then :
20076  $as_echo_n "(cached) " >&6
20077else
20078  ac_check_lib_save_LIBS=$LIBS
20079LIBS="-lpthread  $LIBS"
20080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20081/* end confdefs.h.  */
20082
20083/* Override any GCC internal prototype to avoid an error.
20084   Use char because int might match the return type of a GCC
20085   builtin and then its argument prototype would still apply.  */
20086#ifdef __cplusplus
20087extern "C"
20088#endif
20089char pthread_rwlock_wrlock ();
20090int
20091main ()
20092{
20093return pthread_rwlock_wrlock ();
20094  ;
20095  return 0;
20096}
20097_ACEOF
20098if ac_fn_c_try_link "$LINENO"; then :
20099  ac_cv_lib_pthread_pthread_rwlock_wrlock=yes
20100else
20101  ac_cv_lib_pthread_pthread_rwlock_wrlock=no
20102fi
20103rm -f core conftest.err conftest.$ac_objext \
20104    conftest$ac_exeext conftest.$ac_ext
20105LIBS=$ac_check_lib_save_LIBS
20106fi
20107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5
20108$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; }
20109if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then :
20110  ac_pthread_dummy=yes
20111else
20112  ac_cv_pthread=no
20113fi
20114
20115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5
20116$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; }
20117if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then :
20118  $as_echo_n "(cached) " >&6
20119else
20120  ac_check_lib_save_LIBS=$LIBS
20121LIBS="-lpthread  $LIBS"
20122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123/* end confdefs.h.  */
20124
20125/* Override any GCC internal prototype to avoid an error.
20126   Use char because int might match the return type of a GCC
20127   builtin and then its argument prototype would still apply.  */
20128#ifdef __cplusplus
20129extern "C"
20130#endif
20131char pthread_rwlock_unlock ();
20132int
20133main ()
20134{
20135return pthread_rwlock_unlock ();
20136  ;
20137  return 0;
20138}
20139_ACEOF
20140if ac_fn_c_try_link "$LINENO"; then :
20141  ac_cv_lib_pthread_pthread_rwlock_unlock=yes
20142else
20143  ac_cv_lib_pthread_pthread_rwlock_unlock=no
20144fi
20145rm -f core conftest.err conftest.$ac_objext \
20146    conftest$ac_exeext conftest.$ac_ext
20147LIBS=$ac_check_lib_save_LIBS
20148fi
20149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5
20150$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; }
20151if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then :
20152  ac_pthread_dummy=yes
20153else
20154  ac_cv_pthread=no
20155fi
20156
20157
20158   ac_cv_pthread_LIBADD="-lpthread";
20159
20160fi
20161
20162fi
20163
20164 if test "x$ac_cv_pthread" = xpthread; then :
20165
20166$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20167
20168
20169fi
20170
20171 if test "x$ac_cv_pthread" != xno; then :
20172  HAVE_PTHREAD=1
20173
20174else
20175  HAVE_PTHREAD=0
20176
20177
20178fi
20179
20180
20181 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then :
20182  PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS
20183
20184
20185fi
20186 if test "x$ac_cv_pthread_LIBADD" != "x"; then :
20187  PTHREAD_LIBADD=$ac_cv_pthread_LIBADD
20188
20189
20190fi
20191
20192 if test "x$ac_cv_pthread" = xpthread; then :
20193  ax_pthread_pc_libs_private=-lpthread
20194
20195
20196fi
20197
20198      ac_cv_libcthreads_multi_threading=$ac_cv_pthread
20199else
20200  ac_cv_libcthreads_multi_threading="winapi"
20201fi
20202
20203  if test "x$ac_cv_libcthreads_multi_threading" != xno; then :
20204  ac_cv_libcthreads_CPPFLAGS="-I../libcthreads";
20205    ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la";
20206
20207    ac_cv_libcthreads=local
20208else
20209  ac_cv_libcthreads=no
20210fi
20211
20212
20213
20214$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h
20215
20216      HAVE_LOCAL_LIBCTHREADS=1
20217
20218
20219fi
20220
20221fi
20222
20223   if test "x$ac_cv_libcthreads" = xlocal; then
20224  HAVE_LOCAL_LIBCTHREADS_TRUE=
20225  HAVE_LOCAL_LIBCTHREADS_FALSE='#'
20226else
20227  HAVE_LOCAL_LIBCTHREADS_TRUE='#'
20228  HAVE_LOCAL_LIBCTHREADS_FALSE=
20229fi
20230
20231  if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then :
20232  LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS
20233
20234
20235fi
20236  if test "x$ac_cv_libcthreads_LIBADD" != "x"; then :
20237  LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD
20238
20239
20240fi
20241
20242  if test "x$ac_cv_libcthreads" != xno; then :
20243
20244$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h
20245
20246    HAVE_MULTI_THREAD_SUPPORT=1
20247
20248else
20249  HAVE_MULTI_THREAD_SUPPORT=0
20250
20251
20252fi
20253
20254  if test "x$ac_cv_libcthreads" = xyes; then :
20255  ax_libcthreads_pc_libs_private=-lcthreads
20256
20257
20258fi
20259
20260  if test "x$ac_cv_libcthreads" = xyes; then :
20261  ax_libcthreads_spec_requires=libcthreads
20262
20263    ax_libcthreads_spec_build_requires=libcthreads-devel
20264
20265
20266fi
20267
20268
20269
20270
20271# Check whether --with-libcdata was given.
20272if test "${with_libcdata+set}" = set; then :
20273  withval=$with_libcdata; ac_cv_with_libcdata=$withval
20274else
20275  ac_cv_with_libcdata=auto-detect
20276fi
20277
20278    { $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
20279$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; }
20280if ${ac_cv_with_libcdata+:} false; then :
20281  $as_echo_n "(cached) " >&6
20282else
20283  ac_cv_with_libcdata=auto-detect
20284fi
20285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5
20286$as_echo "$ac_cv_with_libcdata" >&6; }
20287
20288    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then :
20289  ac_cv_libcdata=no
20290else
20291  ac_cv_libcdata=check
20292        if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then :
20293  if test -d "$ac_cv_with_libcdata"; then :
20294  CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include"
20295        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib"
20296else
20297  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20298$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20299as_fn_error 1 "no such directory: $ac_cv_with_libcdata
20300See \`config.log' for more details" "$LINENO" 5; }
20301
20302fi
20303
20304else
20305        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
20306
20307pkg_failed=no
20308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5
20309$as_echo_n "checking for libcdata... " >&6; }
20310
20311if test -n "$libcdata_CFLAGS"; then
20312    pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS"
20313 elif test -n "$PKG_CONFIG"; then
20314    if test -n "$PKG_CONFIG" && \
20315    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
20316  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
20317  ac_status=$?
20318  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20319  test $ac_status = 0; }; then
20320  pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null`
20321		      test "x$?" != "x0" && pkg_failed=yes
20322else
20323  pkg_failed=yes
20324fi
20325 else
20326    pkg_failed=untried
20327fi
20328if test -n "$libcdata_LIBS"; then
20329    pkg_cv_libcdata_LIBS="$libcdata_LIBS"
20330 elif test -n "$PKG_CONFIG"; then
20331    if test -n "$PKG_CONFIG" && \
20332    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
20333  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
20334  ac_status=$?
20335  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20336  test $ac_status = 0; }; then
20337  pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null`
20338		      test "x$?" != "x0" && pkg_failed=yes
20339else
20340  pkg_failed=yes
20341fi
20342 else
20343    pkg_failed=untried
20344fi
20345
20346
20347
20348if test $pkg_failed = yes; then
20349   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20350$as_echo "no" >&6; }
20351
20352if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20353        _pkg_short_errors_supported=yes
20354else
20355        _pkg_short_errors_supported=no
20356fi
20357        if test $_pkg_short_errors_supported = yes; then
20358	        libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
20359        else
20360	        libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
20361        fi
20362	# Put the nasty error message in config.log where it belongs
20363	echo "$libcdata_PKG_ERRORS" >&5
20364
20365	ac_cv_libcdata=check
20366elif test $pkg_failed = untried; then
20367     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20368$as_echo "no" >&6; }
20369	ac_cv_libcdata=check
20370else
20371	libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS
20372	libcdata_LIBS=$pkg_cv_libcdata_LIBS
20373        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20374$as_echo "yes" >&6; }
20375	ac_cv_libcdata=yes
20376fi
20377
20378fi
20379      if test "x$ac_cv_libcdata" = xyes; then :
20380  ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS"
20381        ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS"
20382fi
20383
20384fi
20385
20386    if test "x$ac_cv_libcdata" = xcheck; then :
20387        for ac_header in libcdata.h
20388do :
20389  ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default"
20390if test "x$ac_cv_header_libcdata_h" = xyes; then :
20391  cat >>confdefs.h <<_ACEOF
20392#define HAVE_LIBCDATA_H 1
20393_ACEOF
20394
20395fi
20396
20397done
20398
20399
20400      if test "x$ac_cv_header_libcdata_h" = xno; then :
20401  ac_cv_libcdata=no
20402else
20403          ac_cv_libcdata=yes
20404
20405        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5
20406$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; }
20407if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then :
20408  $as_echo_n "(cached) " >&6
20409else
20410  ac_check_lib_save_LIBS=$LIBS
20411LIBS="-lcdata  $LIBS"
20412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20413/* end confdefs.h.  */
20414
20415/* Override any GCC internal prototype to avoid an error.
20416   Use char because int might match the return type of a GCC
20417   builtin and then its argument prototype would still apply.  */
20418#ifdef __cplusplus
20419extern "C"
20420#endif
20421char libcdata_get_version ();
20422int
20423main ()
20424{
20425return libcdata_get_version ();
20426  ;
20427  return 0;
20428}
20429_ACEOF
20430if ac_fn_c_try_link "$LINENO"; then :
20431  ac_cv_lib_cdata_libcdata_get_version=yes
20432else
20433  ac_cv_lib_cdata_libcdata_get_version=no
20434fi
20435rm -f core conftest.err conftest.$ac_objext \
20436    conftest$ac_exeext conftest.$ac_ext
20437LIBS=$ac_check_lib_save_LIBS
20438fi
20439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5
20440$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; }
20441if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then :
20442  ac_cv_libcdata_dummy=yes
20443else
20444  ac_cv_libcdata=no
20445fi
20446
20447
20448                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5
20449$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; }
20450if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then :
20451  $as_echo_n "(cached) " >&6
20452else
20453  ac_check_lib_save_LIBS=$LIBS
20454LIBS="-lcdata  $LIBS"
20455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456/* end confdefs.h.  */
20457
20458/* Override any GCC internal prototype to avoid an error.
20459   Use char because int might match the return type of a GCC
20460   builtin and then its argument prototype would still apply.  */
20461#ifdef __cplusplus
20462extern "C"
20463#endif
20464char libcdata_array_initialize ();
20465int
20466main ()
20467{
20468return libcdata_array_initialize ();
20469  ;
20470  return 0;
20471}
20472_ACEOF
20473if ac_fn_c_try_link "$LINENO"; then :
20474  ac_cv_lib_cdata_libcdata_array_initialize=yes
20475else
20476  ac_cv_lib_cdata_libcdata_array_initialize=no
20477fi
20478rm -f core conftest.err conftest.$ac_objext \
20479    conftest$ac_exeext conftest.$ac_ext
20480LIBS=$ac_check_lib_save_LIBS
20481fi
20482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5
20483$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; }
20484if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then :
20485  ac_cv_libcdata_dummy=yes
20486else
20487  ac_cv_libcdata=no
20488fi
20489
20490        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5
20491$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; }
20492if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then :
20493  $as_echo_n "(cached) " >&6
20494else
20495  ac_check_lib_save_LIBS=$LIBS
20496LIBS="-lcdata  $LIBS"
20497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20498/* end confdefs.h.  */
20499
20500/* Override any GCC internal prototype to avoid an error.
20501   Use char because int might match the return type of a GCC
20502   builtin and then its argument prototype would still apply.  */
20503#ifdef __cplusplus
20504extern "C"
20505#endif
20506char libcdata_array_free ();
20507int
20508main ()
20509{
20510return libcdata_array_free ();
20511  ;
20512  return 0;
20513}
20514_ACEOF
20515if ac_fn_c_try_link "$LINENO"; then :
20516  ac_cv_lib_cdata_libcdata_array_free=yes
20517else
20518  ac_cv_lib_cdata_libcdata_array_free=no
20519fi
20520rm -f core conftest.err conftest.$ac_objext \
20521    conftest$ac_exeext conftest.$ac_ext
20522LIBS=$ac_check_lib_save_LIBS
20523fi
20524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5
20525$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; }
20526if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then :
20527  ac_cv_libcdata_dummy=yes
20528else
20529  ac_cv_libcdata=no
20530fi
20531
20532        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5
20533$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; }
20534if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then :
20535  $as_echo_n "(cached) " >&6
20536else
20537  ac_check_lib_save_LIBS=$LIBS
20538LIBS="-lcdata  $LIBS"
20539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540/* end confdefs.h.  */
20541
20542/* Override any GCC internal prototype to avoid an error.
20543   Use char because int might match the return type of a GCC
20544   builtin and then its argument prototype would still apply.  */
20545#ifdef __cplusplus
20546extern "C"
20547#endif
20548char libcdata_array_empty ();
20549int
20550main ()
20551{
20552return libcdata_array_empty ();
20553  ;
20554  return 0;
20555}
20556_ACEOF
20557if ac_fn_c_try_link "$LINENO"; then :
20558  ac_cv_lib_cdata_libcdata_array_empty=yes
20559else
20560  ac_cv_lib_cdata_libcdata_array_empty=no
20561fi
20562rm -f core conftest.err conftest.$ac_objext \
20563    conftest$ac_exeext conftest.$ac_ext
20564LIBS=$ac_check_lib_save_LIBS
20565fi
20566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5
20567$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; }
20568if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then :
20569  ac_cv_libcdata_dummy=yes
20570else
20571  ac_cv_libcdata=no
20572fi
20573
20574        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5
20575$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; }
20576if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then :
20577  $as_echo_n "(cached) " >&6
20578else
20579  ac_check_lib_save_LIBS=$LIBS
20580LIBS="-lcdata  $LIBS"
20581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20582/* end confdefs.h.  */
20583
20584/* Override any GCC internal prototype to avoid an error.
20585   Use char because int might match the return type of a GCC
20586   builtin and then its argument prototype would still apply.  */
20587#ifdef __cplusplus
20588extern "C"
20589#endif
20590char libcdata_array_clone ();
20591int
20592main ()
20593{
20594return libcdata_array_clone ();
20595  ;
20596  return 0;
20597}
20598_ACEOF
20599if ac_fn_c_try_link "$LINENO"; then :
20600  ac_cv_lib_cdata_libcdata_array_clone=yes
20601else
20602  ac_cv_lib_cdata_libcdata_array_clone=no
20603fi
20604rm -f core conftest.err conftest.$ac_objext \
20605    conftest$ac_exeext conftest.$ac_ext
20606LIBS=$ac_check_lib_save_LIBS
20607fi
20608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5
20609$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; }
20610if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then :
20611  ac_cv_libcdata_dummy=yes
20612else
20613  ac_cv_libcdata=no
20614fi
20615
20616        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5
20617$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; }
20618if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then :
20619  $as_echo_n "(cached) " >&6
20620else
20621  ac_check_lib_save_LIBS=$LIBS
20622LIBS="-lcdata  $LIBS"
20623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624/* end confdefs.h.  */
20625
20626/* Override any GCC internal prototype to avoid an error.
20627   Use char because int might match the return type of a GCC
20628   builtin and then its argument prototype would still apply.  */
20629#ifdef __cplusplus
20630extern "C"
20631#endif
20632char libcdata_array_resize ();
20633int
20634main ()
20635{
20636return libcdata_array_resize ();
20637  ;
20638  return 0;
20639}
20640_ACEOF
20641if ac_fn_c_try_link "$LINENO"; then :
20642  ac_cv_lib_cdata_libcdata_array_resize=yes
20643else
20644  ac_cv_lib_cdata_libcdata_array_resize=no
20645fi
20646rm -f core conftest.err conftest.$ac_objext \
20647    conftest$ac_exeext conftest.$ac_ext
20648LIBS=$ac_check_lib_save_LIBS
20649fi
20650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5
20651$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; }
20652if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then :
20653  ac_cv_libcdata_dummy=yes
20654else
20655  ac_cv_libcdata=no
20656fi
20657
20658        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5
20659$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; }
20660if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then :
20661  $as_echo_n "(cached) " >&6
20662else
20663  ac_check_lib_save_LIBS=$LIBS
20664LIBS="-lcdata  $LIBS"
20665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666/* end confdefs.h.  */
20667
20668/* Override any GCC internal prototype to avoid an error.
20669   Use char because int might match the return type of a GCC
20670   builtin and then its argument prototype would still apply.  */
20671#ifdef __cplusplus
20672extern "C"
20673#endif
20674char libcdata_array_reverse ();
20675int
20676main ()
20677{
20678return libcdata_array_reverse ();
20679  ;
20680  return 0;
20681}
20682_ACEOF
20683if ac_fn_c_try_link "$LINENO"; then :
20684  ac_cv_lib_cdata_libcdata_array_reverse=yes
20685else
20686  ac_cv_lib_cdata_libcdata_array_reverse=no
20687fi
20688rm -f core conftest.err conftest.$ac_objext \
20689    conftest$ac_exeext conftest.$ac_ext
20690LIBS=$ac_check_lib_save_LIBS
20691fi
20692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5
20693$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; }
20694if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then :
20695  ac_cv_libcdata_dummy=yes
20696else
20697  ac_cv_libcdata=no
20698fi
20699
20700        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5
20701$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; }
20702if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then :
20703  $as_echo_n "(cached) " >&6
20704else
20705  ac_check_lib_save_LIBS=$LIBS
20706LIBS="-lcdata  $LIBS"
20707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20708/* end confdefs.h.  */
20709
20710/* Override any GCC internal prototype to avoid an error.
20711   Use char because int might match the return type of a GCC
20712   builtin and then its argument prototype would still apply.  */
20713#ifdef __cplusplus
20714extern "C"
20715#endif
20716char libcdata_array_get_number_of_entries ();
20717int
20718main ()
20719{
20720return libcdata_array_get_number_of_entries ();
20721  ;
20722  return 0;
20723}
20724_ACEOF
20725if ac_fn_c_try_link "$LINENO"; then :
20726  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes
20727else
20728  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no
20729fi
20730rm -f core conftest.err conftest.$ac_objext \
20731    conftest$ac_exeext conftest.$ac_ext
20732LIBS=$ac_check_lib_save_LIBS
20733fi
20734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5
20735$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; }
20736if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then :
20737  ac_cv_libcdata_dummy=yes
20738else
20739  ac_cv_libcdata=no
20740fi
20741
20742        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5
20743$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; }
20744if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then :
20745  $as_echo_n "(cached) " >&6
20746else
20747  ac_check_lib_save_LIBS=$LIBS
20748LIBS="-lcdata  $LIBS"
20749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20750/* end confdefs.h.  */
20751
20752/* Override any GCC internal prototype to avoid an error.
20753   Use char because int might match the return type of a GCC
20754   builtin and then its argument prototype would still apply.  */
20755#ifdef __cplusplus
20756extern "C"
20757#endif
20758char libcdata_array_get_entry_by_index ();
20759int
20760main ()
20761{
20762return libcdata_array_get_entry_by_index ();
20763  ;
20764  return 0;
20765}
20766_ACEOF
20767if ac_fn_c_try_link "$LINENO"; then :
20768  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes
20769else
20770  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no
20771fi
20772rm -f core conftest.err conftest.$ac_objext \
20773    conftest$ac_exeext conftest.$ac_ext
20774LIBS=$ac_check_lib_save_LIBS
20775fi
20776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5
20777$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; }
20778if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then :
20779  ac_cv_libcdata_dummy=yes
20780else
20781  ac_cv_libcdata=no
20782fi
20783
20784        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5
20785$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; }
20786if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then :
20787  $as_echo_n "(cached) " >&6
20788else
20789  ac_check_lib_save_LIBS=$LIBS
20790LIBS="-lcdata  $LIBS"
20791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792/* end confdefs.h.  */
20793
20794/* Override any GCC internal prototype to avoid an error.
20795   Use char because int might match the return type of a GCC
20796   builtin and then its argument prototype would still apply.  */
20797#ifdef __cplusplus
20798extern "C"
20799#endif
20800char libcdata_array_get_entry_by_value ();
20801int
20802main ()
20803{
20804return libcdata_array_get_entry_by_value ();
20805  ;
20806  return 0;
20807}
20808_ACEOF
20809if ac_fn_c_try_link "$LINENO"; then :
20810  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes
20811else
20812  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no
20813fi
20814rm -f core conftest.err conftest.$ac_objext \
20815    conftest$ac_exeext conftest.$ac_ext
20816LIBS=$ac_check_lib_save_LIBS
20817fi
20818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5
20819$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; }
20820if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then :
20821  ac_cv_libcdata_dummy=yes
20822else
20823  ac_cv_libcdata=no
20824fi
20825
20826        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5
20827$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; }
20828if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then :
20829  $as_echo_n "(cached) " >&6
20830else
20831  ac_check_lib_save_LIBS=$LIBS
20832LIBS="-lcdata  $LIBS"
20833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834/* end confdefs.h.  */
20835
20836/* Override any GCC internal prototype to avoid an error.
20837   Use char because int might match the return type of a GCC
20838   builtin and then its argument prototype would still apply.  */
20839#ifdef __cplusplus
20840extern "C"
20841#endif
20842char libcdata_array_set_entry_by_index ();
20843int
20844main ()
20845{
20846return libcdata_array_set_entry_by_index ();
20847  ;
20848  return 0;
20849}
20850_ACEOF
20851if ac_fn_c_try_link "$LINENO"; then :
20852  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes
20853else
20854  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no
20855fi
20856rm -f core conftest.err conftest.$ac_objext \
20857    conftest$ac_exeext conftest.$ac_ext
20858LIBS=$ac_check_lib_save_LIBS
20859fi
20860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5
20861$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; }
20862if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then :
20863  ac_cv_libcdata_dummy=yes
20864else
20865  ac_cv_libcdata=no
20866fi
20867
20868        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5
20869$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; }
20870if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then :
20871  $as_echo_n "(cached) " >&6
20872else
20873  ac_check_lib_save_LIBS=$LIBS
20874LIBS="-lcdata  $LIBS"
20875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876/* end confdefs.h.  */
20877
20878/* Override any GCC internal prototype to avoid an error.
20879   Use char because int might match the return type of a GCC
20880   builtin and then its argument prototype would still apply.  */
20881#ifdef __cplusplus
20882extern "C"
20883#endif
20884char libcdata_array_prepend_entry ();
20885int
20886main ()
20887{
20888return libcdata_array_prepend_entry ();
20889  ;
20890  return 0;
20891}
20892_ACEOF
20893if ac_fn_c_try_link "$LINENO"; then :
20894  ac_cv_lib_cdata_libcdata_array_prepend_entry=yes
20895else
20896  ac_cv_lib_cdata_libcdata_array_prepend_entry=no
20897fi
20898rm -f core conftest.err conftest.$ac_objext \
20899    conftest$ac_exeext conftest.$ac_ext
20900LIBS=$ac_check_lib_save_LIBS
20901fi
20902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5
20903$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; }
20904if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then :
20905  ac_cv_libcdata_dummy=yes
20906else
20907  ac_cv_libcdata=no
20908fi
20909
20910        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5
20911$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; }
20912if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then :
20913  $as_echo_n "(cached) " >&6
20914else
20915  ac_check_lib_save_LIBS=$LIBS
20916LIBS="-lcdata  $LIBS"
20917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918/* end confdefs.h.  */
20919
20920/* Override any GCC internal prototype to avoid an error.
20921   Use char because int might match the return type of a GCC
20922   builtin and then its argument prototype would still apply.  */
20923#ifdef __cplusplus
20924extern "C"
20925#endif
20926char libcdata_array_append_entry ();
20927int
20928main ()
20929{
20930return libcdata_array_append_entry ();
20931  ;
20932  return 0;
20933}
20934_ACEOF
20935if ac_fn_c_try_link "$LINENO"; then :
20936  ac_cv_lib_cdata_libcdata_array_append_entry=yes
20937else
20938  ac_cv_lib_cdata_libcdata_array_append_entry=no
20939fi
20940rm -f core conftest.err conftest.$ac_objext \
20941    conftest$ac_exeext conftest.$ac_ext
20942LIBS=$ac_check_lib_save_LIBS
20943fi
20944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5
20945$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; }
20946if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then :
20947  ac_cv_libcdata_dummy=yes
20948else
20949  ac_cv_libcdata=no
20950fi
20951
20952        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5
20953$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; }
20954if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then :
20955  $as_echo_n "(cached) " >&6
20956else
20957  ac_check_lib_save_LIBS=$LIBS
20958LIBS="-lcdata  $LIBS"
20959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960/* end confdefs.h.  */
20961
20962/* Override any GCC internal prototype to avoid an error.
20963   Use char because int might match the return type of a GCC
20964   builtin and then its argument prototype would still apply.  */
20965#ifdef __cplusplus
20966extern "C"
20967#endif
20968char libcdata_array_insert_entry ();
20969int
20970main ()
20971{
20972return libcdata_array_insert_entry ();
20973  ;
20974  return 0;
20975}
20976_ACEOF
20977if ac_fn_c_try_link "$LINENO"; then :
20978  ac_cv_lib_cdata_libcdata_array_insert_entry=yes
20979else
20980  ac_cv_lib_cdata_libcdata_array_insert_entry=no
20981fi
20982rm -f core conftest.err conftest.$ac_objext \
20983    conftest$ac_exeext conftest.$ac_ext
20984LIBS=$ac_check_lib_save_LIBS
20985fi
20986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5
20987$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; }
20988if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then :
20989  ac_cv_libcdata_dummy=yes
20990else
20991  ac_cv_libcdata=no
20992fi
20993
20994        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5
20995$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; }
20996if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then :
20997  $as_echo_n "(cached) " >&6
20998else
20999  ac_check_lib_save_LIBS=$LIBS
21000LIBS="-lcdata  $LIBS"
21001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002/* end confdefs.h.  */
21003
21004/* Override any GCC internal prototype to avoid an error.
21005   Use char because int might match the return type of a GCC
21006   builtin and then its argument prototype would still apply.  */
21007#ifdef __cplusplus
21008extern "C"
21009#endif
21010char libcdata_array_remove_entry ();
21011int
21012main ()
21013{
21014return libcdata_array_remove_entry ();
21015  ;
21016  return 0;
21017}
21018_ACEOF
21019if ac_fn_c_try_link "$LINENO"; then :
21020  ac_cv_lib_cdata_libcdata_array_remove_entry=yes
21021else
21022  ac_cv_lib_cdata_libcdata_array_remove_entry=no
21023fi
21024rm -f core conftest.err conftest.$ac_objext \
21025    conftest$ac_exeext conftest.$ac_ext
21026LIBS=$ac_check_lib_save_LIBS
21027fi
21028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5
21029$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; }
21030if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then :
21031  ac_cv_libcdata_dummy=yes
21032else
21033  ac_cv_libcdata=no
21034fi
21035
21036
21037                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5
21038$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; }
21039if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then :
21040  $as_echo_n "(cached) " >&6
21041else
21042  ac_check_lib_save_LIBS=$LIBS
21043LIBS="-lcdata  $LIBS"
21044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045/* end confdefs.h.  */
21046
21047/* Override any GCC internal prototype to avoid an error.
21048   Use char because int might match the return type of a GCC
21049   builtin and then its argument prototype would still apply.  */
21050#ifdef __cplusplus
21051extern "C"
21052#endif
21053char libfdata_btree_initialize ();
21054int
21055main ()
21056{
21057return libfdata_btree_initialize ();
21058  ;
21059  return 0;
21060}
21061_ACEOF
21062if ac_fn_c_try_link "$LINENO"; then :
21063  ac_cv_lib_cdata_libfdata_btree_initialize=yes
21064else
21065  ac_cv_lib_cdata_libfdata_btree_initialize=no
21066fi
21067rm -f core conftest.err conftest.$ac_objext \
21068    conftest$ac_exeext conftest.$ac_ext
21069LIBS=$ac_check_lib_save_LIBS
21070fi
21071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5
21072$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; }
21073if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then :
21074  ac_cv_libcdata_dummy=yes
21075else
21076  ac_cv_libcdata=no
21077fi
21078
21079        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5
21080$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; }
21081if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then :
21082  $as_echo_n "(cached) " >&6
21083else
21084  ac_check_lib_save_LIBS=$LIBS
21085LIBS="-lcdata  $LIBS"
21086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087/* end confdefs.h.  */
21088
21089/* Override any GCC internal prototype to avoid an error.
21090   Use char because int might match the return type of a GCC
21091   builtin and then its argument prototype would still apply.  */
21092#ifdef __cplusplus
21093extern "C"
21094#endif
21095char libcdata_btree_free ();
21096int
21097main ()
21098{
21099return libcdata_btree_free ();
21100  ;
21101  return 0;
21102}
21103_ACEOF
21104if ac_fn_c_try_link "$LINENO"; then :
21105  ac_cv_lib_cdata_libcdata_btree_free=yes
21106else
21107  ac_cv_lib_cdata_libcdata_btree_free=no
21108fi
21109rm -f core conftest.err conftest.$ac_objext \
21110    conftest$ac_exeext conftest.$ac_ext
21111LIBS=$ac_check_lib_save_LIBS
21112fi
21113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5
21114$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; }
21115if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then :
21116  ac_cv_libcdata_dummy=yes
21117else
21118  ac_cv_libcdata=no
21119fi
21120
21121        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5
21122$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; }
21123if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then :
21124  $as_echo_n "(cached) " >&6
21125else
21126  ac_check_lib_save_LIBS=$LIBS
21127LIBS="-lcdata  $LIBS"
21128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129/* end confdefs.h.  */
21130
21131/* Override any GCC internal prototype to avoid an error.
21132   Use char because int might match the return type of a GCC
21133   builtin and then its argument prototype would still apply.  */
21134#ifdef __cplusplus
21135extern "C"
21136#endif
21137char libcdata_btree_get_number_of_values ();
21138int
21139main ()
21140{
21141return libcdata_btree_get_number_of_values ();
21142  ;
21143  return 0;
21144}
21145_ACEOF
21146if ac_fn_c_try_link "$LINENO"; then :
21147  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes
21148else
21149  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no
21150fi
21151rm -f core conftest.err conftest.$ac_objext \
21152    conftest$ac_exeext conftest.$ac_ext
21153LIBS=$ac_check_lib_save_LIBS
21154fi
21155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5
21156$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; }
21157if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then :
21158  ac_cv_libcdata_dummy=yes
21159else
21160  ac_cv_libcdata=no
21161fi
21162
21163        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5
21164$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; }
21165if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then :
21166  $as_echo_n "(cached) " >&6
21167else
21168  ac_check_lib_save_LIBS=$LIBS
21169LIBS="-lcdata  $LIBS"
21170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21171/* end confdefs.h.  */
21172
21173/* Override any GCC internal prototype to avoid an error.
21174   Use char because int might match the return type of a GCC
21175   builtin and then its argument prototype would still apply.  */
21176#ifdef __cplusplus
21177extern "C"
21178#endif
21179char libcdata_btree_get_value_by_index ();
21180int
21181main ()
21182{
21183return libcdata_btree_get_value_by_index ();
21184  ;
21185  return 0;
21186}
21187_ACEOF
21188if ac_fn_c_try_link "$LINENO"; then :
21189  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes
21190else
21191  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no
21192fi
21193rm -f core conftest.err conftest.$ac_objext \
21194    conftest$ac_exeext conftest.$ac_ext
21195LIBS=$ac_check_lib_save_LIBS
21196fi
21197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5
21198$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; }
21199if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then :
21200  ac_cv_libcdata_dummy=yes
21201else
21202  ac_cv_libcdata=no
21203fi
21204
21205        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5
21206$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; }
21207if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then :
21208  $as_echo_n "(cached) " >&6
21209else
21210  ac_check_lib_save_LIBS=$LIBS
21211LIBS="-lcdata  $LIBS"
21212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213/* end confdefs.h.  */
21214
21215/* Override any GCC internal prototype to avoid an error.
21216   Use char because int might match the return type of a GCC
21217   builtin and then its argument prototype would still apply.  */
21218#ifdef __cplusplus
21219extern "C"
21220#endif
21221char libcdata_btree_get_value_by_value ();
21222int
21223main ()
21224{
21225return libcdata_btree_get_value_by_value ();
21226  ;
21227  return 0;
21228}
21229_ACEOF
21230if ac_fn_c_try_link "$LINENO"; then :
21231  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes
21232else
21233  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no
21234fi
21235rm -f core conftest.err conftest.$ac_objext \
21236    conftest$ac_exeext conftest.$ac_ext
21237LIBS=$ac_check_lib_save_LIBS
21238fi
21239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5
21240$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; }
21241if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then :
21242  ac_cv_libcdata_dummy=yes
21243else
21244  ac_cv_libcdata=no
21245fi
21246
21247        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5
21248$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; }
21249if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then :
21250  $as_echo_n "(cached) " >&6
21251else
21252  ac_check_lib_save_LIBS=$LIBS
21253LIBS="-lcdata  $LIBS"
21254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255/* end confdefs.h.  */
21256
21257/* Override any GCC internal prototype to avoid an error.
21258   Use char because int might match the return type of a GCC
21259   builtin and then its argument prototype would still apply.  */
21260#ifdef __cplusplus
21261extern "C"
21262#endif
21263char libcdata_btree_insert_value ();
21264int
21265main ()
21266{
21267return libcdata_btree_insert_value ();
21268  ;
21269  return 0;
21270}
21271_ACEOF
21272if ac_fn_c_try_link "$LINENO"; then :
21273  ac_cv_lib_cdata_libcdata_btree_insert_value=yes
21274else
21275  ac_cv_lib_cdata_libcdata_btree_insert_value=no
21276fi
21277rm -f core conftest.err conftest.$ac_objext \
21278    conftest$ac_exeext conftest.$ac_ext
21279LIBS=$ac_check_lib_save_LIBS
21280fi
21281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5
21282$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; }
21283if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then :
21284  ac_cv_libcdata_dummy=yes
21285else
21286  ac_cv_libcdata=no
21287fi
21288
21289        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5
21290$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; }
21291if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then :
21292  $as_echo_n "(cached) " >&6
21293else
21294  ac_check_lib_save_LIBS=$LIBS
21295LIBS="-lcdata  $LIBS"
21296cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297/* end confdefs.h.  */
21298
21299/* Override any GCC internal prototype to avoid an error.
21300   Use char because int might match the return type of a GCC
21301   builtin and then its argument prototype would still apply.  */
21302#ifdef __cplusplus
21303extern "C"
21304#endif
21305char libcdata_btree_replace_value ();
21306int
21307main ()
21308{
21309return libcdata_btree_replace_value ();
21310  ;
21311  return 0;
21312}
21313_ACEOF
21314if ac_fn_c_try_link "$LINENO"; then :
21315  ac_cv_lib_cdata_libcdata_btree_replace_value=yes
21316else
21317  ac_cv_lib_cdata_libcdata_btree_replace_value=no
21318fi
21319rm -f core conftest.err conftest.$ac_objext \
21320    conftest$ac_exeext conftest.$ac_ext
21321LIBS=$ac_check_lib_save_LIBS
21322fi
21323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5
21324$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; }
21325if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then :
21326  ac_cv_libcdata_dummy=yes
21327else
21328  ac_cv_libcdata=no
21329fi
21330
21331        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5
21332$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; }
21333if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then :
21334  $as_echo_n "(cached) " >&6
21335else
21336  ac_check_lib_save_LIBS=$LIBS
21337LIBS="-lcdata  $LIBS"
21338cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339/* end confdefs.h.  */
21340
21341/* Override any GCC internal prototype to avoid an error.
21342   Use char because int might match the return type of a GCC
21343   builtin and then its argument prototype would still apply.  */
21344#ifdef __cplusplus
21345extern "C"
21346#endif
21347char libcdata_btree_remove_value ();
21348int
21349main ()
21350{
21351return libcdata_btree_remove_value ();
21352  ;
21353  return 0;
21354}
21355_ACEOF
21356if ac_fn_c_try_link "$LINENO"; then :
21357  ac_cv_lib_cdata_libcdata_btree_remove_value=yes
21358else
21359  ac_cv_lib_cdata_libcdata_btree_remove_value=no
21360fi
21361rm -f core conftest.err conftest.$ac_objext \
21362    conftest$ac_exeext conftest.$ac_ext
21363LIBS=$ac_check_lib_save_LIBS
21364fi
21365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5
21366$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; }
21367if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then :
21368  ac_cv_libcdata_dummy=yes
21369else
21370  ac_cv_libcdata=no
21371fi
21372
21373
21374                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5
21375$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; }
21376if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then :
21377  $as_echo_n "(cached) " >&6
21378else
21379  ac_check_lib_save_LIBS=$LIBS
21380LIBS="-lcdata  $LIBS"
21381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382/* end confdefs.h.  */
21383
21384/* Override any GCC internal prototype to avoid an error.
21385   Use char because int might match the return type of a GCC
21386   builtin and then its argument prototype would still apply.  */
21387#ifdef __cplusplus
21388extern "C"
21389#endif
21390char libcdata_list_initialize ();
21391int
21392main ()
21393{
21394return libcdata_list_initialize ();
21395  ;
21396  return 0;
21397}
21398_ACEOF
21399if ac_fn_c_try_link "$LINENO"; then :
21400  ac_cv_lib_cdata_libcdata_list_initialize=yes
21401else
21402  ac_cv_lib_cdata_libcdata_list_initialize=no
21403fi
21404rm -f core conftest.err conftest.$ac_objext \
21405    conftest$ac_exeext conftest.$ac_ext
21406LIBS=$ac_check_lib_save_LIBS
21407fi
21408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5
21409$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; }
21410if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then :
21411  ac_cv_libcdata_dummy=yes
21412else
21413  ac_cv_libcdata=no
21414fi
21415
21416        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5
21417$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; }
21418if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then :
21419  $as_echo_n "(cached) " >&6
21420else
21421  ac_check_lib_save_LIBS=$LIBS
21422LIBS="-lcdata  $LIBS"
21423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424/* end confdefs.h.  */
21425
21426/* Override any GCC internal prototype to avoid an error.
21427   Use char because int might match the return type of a GCC
21428   builtin and then its argument prototype would still apply.  */
21429#ifdef __cplusplus
21430extern "C"
21431#endif
21432char libcdata_list_free ();
21433int
21434main ()
21435{
21436return libcdata_list_free ();
21437  ;
21438  return 0;
21439}
21440_ACEOF
21441if ac_fn_c_try_link "$LINENO"; then :
21442  ac_cv_lib_cdata_libcdata_list_free=yes
21443else
21444  ac_cv_lib_cdata_libcdata_list_free=no
21445fi
21446rm -f core conftest.err conftest.$ac_objext \
21447    conftest$ac_exeext conftest.$ac_ext
21448LIBS=$ac_check_lib_save_LIBS
21449fi
21450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5
21451$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; }
21452if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then :
21453  ac_cv_libcdata_dummy=yes
21454else
21455  ac_cv_libcdata=no
21456fi
21457
21458        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5
21459$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; }
21460if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then :
21461  $as_echo_n "(cached) " >&6
21462else
21463  ac_check_lib_save_LIBS=$LIBS
21464LIBS="-lcdata  $LIBS"
21465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21466/* end confdefs.h.  */
21467
21468/* Override any GCC internal prototype to avoid an error.
21469   Use char because int might match the return type of a GCC
21470   builtin and then its argument prototype would still apply.  */
21471#ifdef __cplusplus
21472extern "C"
21473#endif
21474char libcdata_list_empty ();
21475int
21476main ()
21477{
21478return libcdata_list_empty ();
21479  ;
21480  return 0;
21481}
21482_ACEOF
21483if ac_fn_c_try_link "$LINENO"; then :
21484  ac_cv_lib_cdata_libcdata_list_empty=yes
21485else
21486  ac_cv_lib_cdata_libcdata_list_empty=no
21487fi
21488rm -f core conftest.err conftest.$ac_objext \
21489    conftest$ac_exeext conftest.$ac_ext
21490LIBS=$ac_check_lib_save_LIBS
21491fi
21492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5
21493$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; }
21494if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then :
21495  ac_cv_libcdata_dummy=yes
21496else
21497  ac_cv_libcdata=no
21498fi
21499
21500        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5
21501$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; }
21502if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then :
21503  $as_echo_n "(cached) " >&6
21504else
21505  ac_check_lib_save_LIBS=$LIBS
21506LIBS="-lcdata  $LIBS"
21507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21508/* end confdefs.h.  */
21509
21510/* Override any GCC internal prototype to avoid an error.
21511   Use char because int might match the return type of a GCC
21512   builtin and then its argument prototype would still apply.  */
21513#ifdef __cplusplus
21514extern "C"
21515#endif
21516char libcdata_list_clone ();
21517int
21518main ()
21519{
21520return libcdata_list_clone ();
21521  ;
21522  return 0;
21523}
21524_ACEOF
21525if ac_fn_c_try_link "$LINENO"; then :
21526  ac_cv_lib_cdata_libcdata_list_clone=yes
21527else
21528  ac_cv_lib_cdata_libcdata_list_clone=no
21529fi
21530rm -f core conftest.err conftest.$ac_objext \
21531    conftest$ac_exeext conftest.$ac_ext
21532LIBS=$ac_check_lib_save_LIBS
21533fi
21534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5
21535$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; }
21536if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then :
21537  ac_cv_libcdata_dummy=yes
21538else
21539  ac_cv_libcdata=no
21540fi
21541
21542        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5
21543$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; }
21544if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then :
21545  $as_echo_n "(cached) " >&6
21546else
21547  ac_check_lib_save_LIBS=$LIBS
21548LIBS="-lcdata  $LIBS"
21549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550/* end confdefs.h.  */
21551
21552/* Override any GCC internal prototype to avoid an error.
21553   Use char because int might match the return type of a GCC
21554   builtin and then its argument prototype would still apply.  */
21555#ifdef __cplusplus
21556extern "C"
21557#endif
21558char libcdata_list_get_number_of_elements ();
21559int
21560main ()
21561{
21562return libcdata_list_get_number_of_elements ();
21563  ;
21564  return 0;
21565}
21566_ACEOF
21567if ac_fn_c_try_link "$LINENO"; then :
21568  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes
21569else
21570  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no
21571fi
21572rm -f core conftest.err conftest.$ac_objext \
21573    conftest$ac_exeext conftest.$ac_ext
21574LIBS=$ac_check_lib_save_LIBS
21575fi
21576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5
21577$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; }
21578if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then :
21579  ac_cv_libcdata_dummy=yes
21580else
21581  ac_cv_libcdata=no
21582fi
21583
21584        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5
21585$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; }
21586if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then :
21587  $as_echo_n "(cached) " >&6
21588else
21589  ac_check_lib_save_LIBS=$LIBS
21590LIBS="-lcdata  $LIBS"
21591cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592/* end confdefs.h.  */
21593
21594/* Override any GCC internal prototype to avoid an error.
21595   Use char because int might match the return type of a GCC
21596   builtin and then its argument prototype would still apply.  */
21597#ifdef __cplusplus
21598extern "C"
21599#endif
21600char libcdata_list_get_first_element ();
21601int
21602main ()
21603{
21604return libcdata_list_get_first_element ();
21605  ;
21606  return 0;
21607}
21608_ACEOF
21609if ac_fn_c_try_link "$LINENO"; then :
21610  ac_cv_lib_cdata_libcdata_list_get_first_element=yes
21611else
21612  ac_cv_lib_cdata_libcdata_list_get_first_element=no
21613fi
21614rm -f core conftest.err conftest.$ac_objext \
21615    conftest$ac_exeext conftest.$ac_ext
21616LIBS=$ac_check_lib_save_LIBS
21617fi
21618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5
21619$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; }
21620if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then :
21621  ac_cv_libcdata_dummy=yes
21622else
21623  ac_cv_libcdata=no
21624fi
21625
21626        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5
21627$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; }
21628if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then :
21629  $as_echo_n "(cached) " >&6
21630else
21631  ac_check_lib_save_LIBS=$LIBS
21632LIBS="-lcdata  $LIBS"
21633cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634/* end confdefs.h.  */
21635
21636/* Override any GCC internal prototype to avoid an error.
21637   Use char because int might match the return type of a GCC
21638   builtin and then its argument prototype would still apply.  */
21639#ifdef __cplusplus
21640extern "C"
21641#endif
21642char libcdata_list_get_last_element ();
21643int
21644main ()
21645{
21646return libcdata_list_get_last_element ();
21647  ;
21648  return 0;
21649}
21650_ACEOF
21651if ac_fn_c_try_link "$LINENO"; then :
21652  ac_cv_lib_cdata_libcdata_list_get_last_element=yes
21653else
21654  ac_cv_lib_cdata_libcdata_list_get_last_element=no
21655fi
21656rm -f core conftest.err conftest.$ac_objext \
21657    conftest$ac_exeext conftest.$ac_ext
21658LIBS=$ac_check_lib_save_LIBS
21659fi
21660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5
21661$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; }
21662if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then :
21663  ac_cv_libcdata_dummy=yes
21664else
21665  ac_cv_libcdata=no
21666fi
21667
21668        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5
21669$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; }
21670if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then :
21671  $as_echo_n "(cached) " >&6
21672else
21673  ac_check_lib_save_LIBS=$LIBS
21674LIBS="-lcdata  $LIBS"
21675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676/* end confdefs.h.  */
21677
21678/* Override any GCC internal prototype to avoid an error.
21679   Use char because int might match the return type of a GCC
21680   builtin and then its argument prototype would still apply.  */
21681#ifdef __cplusplus
21682extern "C"
21683#endif
21684char libcdata_list_get_element_by_index ();
21685int
21686main ()
21687{
21688return libcdata_list_get_element_by_index ();
21689  ;
21690  return 0;
21691}
21692_ACEOF
21693if ac_fn_c_try_link "$LINENO"; then :
21694  ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes
21695else
21696  ac_cv_lib_cdata_libcdata_list_get_element_by_index=no
21697fi
21698rm -f core conftest.err conftest.$ac_objext \
21699    conftest$ac_exeext conftest.$ac_ext
21700LIBS=$ac_check_lib_save_LIBS
21701fi
21702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5
21703$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; }
21704if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then :
21705  ac_cv_libcdata_dummy=yes
21706else
21707  ac_cv_libcdata=no
21708fi
21709
21710        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5
21711$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; }
21712if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then :
21713  $as_echo_n "(cached) " >&6
21714else
21715  ac_check_lib_save_LIBS=$LIBS
21716LIBS="-lcdata  $LIBS"
21717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718/* end confdefs.h.  */
21719
21720/* Override any GCC internal prototype to avoid an error.
21721   Use char because int might match the return type of a GCC
21722   builtin and then its argument prototype would still apply.  */
21723#ifdef __cplusplus
21724extern "C"
21725#endif
21726char libcdata_list_get_value_by_index ();
21727int
21728main ()
21729{
21730return libcdata_list_get_value_by_index ();
21731  ;
21732  return 0;
21733}
21734_ACEOF
21735if ac_fn_c_try_link "$LINENO"; then :
21736  ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes
21737else
21738  ac_cv_lib_cdata_libcdata_list_get_value_by_index=no
21739fi
21740rm -f core conftest.err conftest.$ac_objext \
21741    conftest$ac_exeext conftest.$ac_ext
21742LIBS=$ac_check_lib_save_LIBS
21743fi
21744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5
21745$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; }
21746if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then :
21747  ac_cv_libcdata_dummy=yes
21748else
21749  ac_cv_libcdata=no
21750fi
21751
21752        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5
21753$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; }
21754if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then :
21755  $as_echo_n "(cached) " >&6
21756else
21757  ac_check_lib_save_LIBS=$LIBS
21758LIBS="-lcdata  $LIBS"
21759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760/* end confdefs.h.  */
21761
21762/* Override any GCC internal prototype to avoid an error.
21763   Use char because int might match the return type of a GCC
21764   builtin and then its argument prototype would still apply.  */
21765#ifdef __cplusplus
21766extern "C"
21767#endif
21768char libcdata_list_prepend_element ();
21769int
21770main ()
21771{
21772return libcdata_list_prepend_element ();
21773  ;
21774  return 0;
21775}
21776_ACEOF
21777if ac_fn_c_try_link "$LINENO"; then :
21778  ac_cv_lib_cdata_libcdata_list_prepend_element=yes
21779else
21780  ac_cv_lib_cdata_libcdata_list_prepend_element=no
21781fi
21782rm -f core conftest.err conftest.$ac_objext \
21783    conftest$ac_exeext conftest.$ac_ext
21784LIBS=$ac_check_lib_save_LIBS
21785fi
21786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5
21787$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; }
21788if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then :
21789  ac_cv_libcdata_dummy=yes
21790else
21791  ac_cv_libcdata=no
21792fi
21793
21794        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5
21795$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; }
21796if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then :
21797  $as_echo_n "(cached) " >&6
21798else
21799  ac_check_lib_save_LIBS=$LIBS
21800LIBS="-lcdata  $LIBS"
21801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802/* end confdefs.h.  */
21803
21804/* Override any GCC internal prototype to avoid an error.
21805   Use char because int might match the return type of a GCC
21806   builtin and then its argument prototype would still apply.  */
21807#ifdef __cplusplus
21808extern "C"
21809#endif
21810char libcdata_list_prepend_value ();
21811int
21812main ()
21813{
21814return libcdata_list_prepend_value ();
21815  ;
21816  return 0;
21817}
21818_ACEOF
21819if ac_fn_c_try_link "$LINENO"; then :
21820  ac_cv_lib_cdata_libcdata_list_prepend_value=yes
21821else
21822  ac_cv_lib_cdata_libcdata_list_prepend_value=no
21823fi
21824rm -f core conftest.err conftest.$ac_objext \
21825    conftest$ac_exeext conftest.$ac_ext
21826LIBS=$ac_check_lib_save_LIBS
21827fi
21828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5
21829$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; }
21830if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then :
21831  ac_cv_libcdata_dummy=yes
21832else
21833  ac_cv_libcdata=no
21834fi
21835
21836        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5
21837$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; }
21838if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then :
21839  $as_echo_n "(cached) " >&6
21840else
21841  ac_check_lib_save_LIBS=$LIBS
21842LIBS="-lcdata  $LIBS"
21843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21844/* end confdefs.h.  */
21845
21846/* Override any GCC internal prototype to avoid an error.
21847   Use char because int might match the return type of a GCC
21848   builtin and then its argument prototype would still apply.  */
21849#ifdef __cplusplus
21850extern "C"
21851#endif
21852char libcdata_list_append_element ();
21853int
21854main ()
21855{
21856return libcdata_list_append_element ();
21857  ;
21858  return 0;
21859}
21860_ACEOF
21861if ac_fn_c_try_link "$LINENO"; then :
21862  ac_cv_lib_cdata_libcdata_list_append_element=yes
21863else
21864  ac_cv_lib_cdata_libcdata_list_append_element=no
21865fi
21866rm -f core conftest.err conftest.$ac_objext \
21867    conftest$ac_exeext conftest.$ac_ext
21868LIBS=$ac_check_lib_save_LIBS
21869fi
21870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5
21871$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; }
21872if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then :
21873  ac_cv_libcdata_dummy=yes
21874else
21875  ac_cv_libcdata=no
21876fi
21877
21878        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5
21879$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; }
21880if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then :
21881  $as_echo_n "(cached) " >&6
21882else
21883  ac_check_lib_save_LIBS=$LIBS
21884LIBS="-lcdata  $LIBS"
21885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886/* end confdefs.h.  */
21887
21888/* Override any GCC internal prototype to avoid an error.
21889   Use char because int might match the return type of a GCC
21890   builtin and then its argument prototype would still apply.  */
21891#ifdef __cplusplus
21892extern "C"
21893#endif
21894char libcdata_list_append_value ();
21895int
21896main ()
21897{
21898return libcdata_list_append_value ();
21899  ;
21900  return 0;
21901}
21902_ACEOF
21903if ac_fn_c_try_link "$LINENO"; then :
21904  ac_cv_lib_cdata_libcdata_list_append_value=yes
21905else
21906  ac_cv_lib_cdata_libcdata_list_append_value=no
21907fi
21908rm -f core conftest.err conftest.$ac_objext \
21909    conftest$ac_exeext conftest.$ac_ext
21910LIBS=$ac_check_lib_save_LIBS
21911fi
21912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5
21913$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; }
21914if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then :
21915  ac_cv_libcdata_dummy=yes
21916else
21917  ac_cv_libcdata=no
21918fi
21919
21920        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5
21921$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; }
21922if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then :
21923  $as_echo_n "(cached) " >&6
21924else
21925  ac_check_lib_save_LIBS=$LIBS
21926LIBS="-lcdata  $LIBS"
21927cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21928/* end confdefs.h.  */
21929
21930/* Override any GCC internal prototype to avoid an error.
21931   Use char because int might match the return type of a GCC
21932   builtin and then its argument prototype would still apply.  */
21933#ifdef __cplusplus
21934extern "C"
21935#endif
21936char libcdata_list_insert_element ();
21937int
21938main ()
21939{
21940return libcdata_list_insert_element ();
21941  ;
21942  return 0;
21943}
21944_ACEOF
21945if ac_fn_c_try_link "$LINENO"; then :
21946  ac_cv_lib_cdata_libcdata_list_insert_element=yes
21947else
21948  ac_cv_lib_cdata_libcdata_list_insert_element=no
21949fi
21950rm -f core conftest.err conftest.$ac_objext \
21951    conftest$ac_exeext conftest.$ac_ext
21952LIBS=$ac_check_lib_save_LIBS
21953fi
21954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5
21955$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; }
21956if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then :
21957  ac_cv_libcdata_dummy=yes
21958else
21959  ac_cv_libcdata=no
21960fi
21961
21962        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5
21963$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; }
21964if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then :
21965  $as_echo_n "(cached) " >&6
21966else
21967  ac_check_lib_save_LIBS=$LIBS
21968LIBS="-lcdata  $LIBS"
21969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970/* end confdefs.h.  */
21971
21972/* Override any GCC internal prototype to avoid an error.
21973   Use char because int might match the return type of a GCC
21974   builtin and then its argument prototype would still apply.  */
21975#ifdef __cplusplus
21976extern "C"
21977#endif
21978char libcdata_list_insert_value ();
21979int
21980main ()
21981{
21982return libcdata_list_insert_value ();
21983  ;
21984  return 0;
21985}
21986_ACEOF
21987if ac_fn_c_try_link "$LINENO"; then :
21988  ac_cv_lib_cdata_libcdata_list_insert_value=yes
21989else
21990  ac_cv_lib_cdata_libcdata_list_insert_value=no
21991fi
21992rm -f core conftest.err conftest.$ac_objext \
21993    conftest$ac_exeext conftest.$ac_ext
21994LIBS=$ac_check_lib_save_LIBS
21995fi
21996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5
21997$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; }
21998if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then :
21999  ac_cv_libcdata_dummy=yes
22000else
22001  ac_cv_libcdata=no
22002fi
22003
22004        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5
22005$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; }
22006if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then :
22007  $as_echo_n "(cached) " >&6
22008else
22009  ac_check_lib_save_LIBS=$LIBS
22010LIBS="-lcdata  $LIBS"
22011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22012/* end confdefs.h.  */
22013
22014/* Override any GCC internal prototype to avoid an error.
22015   Use char because int might match the return type of a GCC
22016   builtin and then its argument prototype would still apply.  */
22017#ifdef __cplusplus
22018extern "C"
22019#endif
22020char libcdata_list_remove_element ();
22021int
22022main ()
22023{
22024return libcdata_list_remove_element ();
22025  ;
22026  return 0;
22027}
22028_ACEOF
22029if ac_fn_c_try_link "$LINENO"; then :
22030  ac_cv_lib_cdata_libcdata_list_remove_element=yes
22031else
22032  ac_cv_lib_cdata_libcdata_list_remove_element=no
22033fi
22034rm -f core conftest.err conftest.$ac_objext \
22035    conftest$ac_exeext conftest.$ac_ext
22036LIBS=$ac_check_lib_save_LIBS
22037fi
22038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5
22039$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; }
22040if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then :
22041  ac_cv_libcdata_dummy=yes
22042else
22043  ac_cv_libcdata=no
22044fi
22045
22046
22047                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5
22048$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; }
22049if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then :
22050  $as_echo_n "(cached) " >&6
22051else
22052  ac_check_lib_save_LIBS=$LIBS
22053LIBS="-lcdata  $LIBS"
22054cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22055/* end confdefs.h.  */
22056
22057/* Override any GCC internal prototype to avoid an error.
22058   Use char because int might match the return type of a GCC
22059   builtin and then its argument prototype would still apply.  */
22060#ifdef __cplusplus
22061extern "C"
22062#endif
22063char libcdata_list_element_initialize ();
22064int
22065main ()
22066{
22067return libcdata_list_element_initialize ();
22068  ;
22069  return 0;
22070}
22071_ACEOF
22072if ac_fn_c_try_link "$LINENO"; then :
22073  ac_cv_lib_cdata_libcdata_list_element_initialize=yes
22074else
22075  ac_cv_lib_cdata_libcdata_list_element_initialize=no
22076fi
22077rm -f core conftest.err conftest.$ac_objext \
22078    conftest$ac_exeext conftest.$ac_ext
22079LIBS=$ac_check_lib_save_LIBS
22080fi
22081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5
22082$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; }
22083if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then :
22084  ac_cv_libcdata_dummy=yes
22085else
22086  ac_cv_libcdata=no
22087fi
22088
22089        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5
22090$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; }
22091if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then :
22092  $as_echo_n "(cached) " >&6
22093else
22094  ac_check_lib_save_LIBS=$LIBS
22095LIBS="-lcdata  $LIBS"
22096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097/* end confdefs.h.  */
22098
22099/* Override any GCC internal prototype to avoid an error.
22100   Use char because int might match the return type of a GCC
22101   builtin and then its argument prototype would still apply.  */
22102#ifdef __cplusplus
22103extern "C"
22104#endif
22105char libcdata_list_element_free ();
22106int
22107main ()
22108{
22109return libcdata_list_element_free ();
22110  ;
22111  return 0;
22112}
22113_ACEOF
22114if ac_fn_c_try_link "$LINENO"; then :
22115  ac_cv_lib_cdata_libcdata_list_element_free=yes
22116else
22117  ac_cv_lib_cdata_libcdata_list_element_free=no
22118fi
22119rm -f core conftest.err conftest.$ac_objext \
22120    conftest$ac_exeext conftest.$ac_ext
22121LIBS=$ac_check_lib_save_LIBS
22122fi
22123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5
22124$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; }
22125if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then :
22126  ac_cv_libcdata_dummy=yes
22127else
22128  ac_cv_libcdata=no
22129fi
22130
22131        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5
22132$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; }
22133if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then :
22134  $as_echo_n "(cached) " >&6
22135else
22136  ac_check_lib_save_LIBS=$LIBS
22137LIBS="-lcdata  $LIBS"
22138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22139/* end confdefs.h.  */
22140
22141/* Override any GCC internal prototype to avoid an error.
22142   Use char because int might match the return type of a GCC
22143   builtin and then its argument prototype would still apply.  */
22144#ifdef __cplusplus
22145extern "C"
22146#endif
22147char libcdata_list_element_get_value ();
22148int
22149main ()
22150{
22151return libcdata_list_element_get_value ();
22152  ;
22153  return 0;
22154}
22155_ACEOF
22156if ac_fn_c_try_link "$LINENO"; then :
22157  ac_cv_lib_cdata_libcdata_list_element_get_value=yes
22158else
22159  ac_cv_lib_cdata_libcdata_list_element_get_value=no
22160fi
22161rm -f core conftest.err conftest.$ac_objext \
22162    conftest$ac_exeext conftest.$ac_ext
22163LIBS=$ac_check_lib_save_LIBS
22164fi
22165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5
22166$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; }
22167if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then :
22168  ac_cv_libcdata_dummy=yes
22169else
22170  ac_cv_libcdata=no
22171fi
22172
22173        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5
22174$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; }
22175if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then :
22176  $as_echo_n "(cached) " >&6
22177else
22178  ac_check_lib_save_LIBS=$LIBS
22179LIBS="-lcdata  $LIBS"
22180cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22181/* end confdefs.h.  */
22182
22183/* Override any GCC internal prototype to avoid an error.
22184   Use char because int might match the return type of a GCC
22185   builtin and then its argument prototype would still apply.  */
22186#ifdef __cplusplus
22187extern "C"
22188#endif
22189char libcdata_list_element_set_value ();
22190int
22191main ()
22192{
22193return libcdata_list_element_set_value ();
22194  ;
22195  return 0;
22196}
22197_ACEOF
22198if ac_fn_c_try_link "$LINENO"; then :
22199  ac_cv_lib_cdata_libcdata_list_element_set_value=yes
22200else
22201  ac_cv_lib_cdata_libcdata_list_element_set_value=no
22202fi
22203rm -f core conftest.err conftest.$ac_objext \
22204    conftest$ac_exeext conftest.$ac_ext
22205LIBS=$ac_check_lib_save_LIBS
22206fi
22207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5
22208$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; }
22209if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then :
22210  ac_cv_libcdata_dummy=yes
22211else
22212  ac_cv_libcdata=no
22213fi
22214
22215        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5
22216$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; }
22217if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then :
22218  $as_echo_n "(cached) " >&6
22219else
22220  ac_check_lib_save_LIBS=$LIBS
22221LIBS="-lcdata  $LIBS"
22222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22223/* end confdefs.h.  */
22224
22225/* Override any GCC internal prototype to avoid an error.
22226   Use char because int might match the return type of a GCC
22227   builtin and then its argument prototype would still apply.  */
22228#ifdef __cplusplus
22229extern "C"
22230#endif
22231char libcdata_list_element_get_previous_element ();
22232int
22233main ()
22234{
22235return libcdata_list_element_get_previous_element ();
22236  ;
22237  return 0;
22238}
22239_ACEOF
22240if ac_fn_c_try_link "$LINENO"; then :
22241  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes
22242else
22243  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no
22244fi
22245rm -f core conftest.err conftest.$ac_objext \
22246    conftest$ac_exeext conftest.$ac_ext
22247LIBS=$ac_check_lib_save_LIBS
22248fi
22249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5
22250$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; }
22251if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then :
22252  ac_cv_libcdata_dummy=yes
22253else
22254  ac_cv_libcdata=no
22255fi
22256
22257        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5
22258$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; }
22259if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then :
22260  $as_echo_n "(cached) " >&6
22261else
22262  ac_check_lib_save_LIBS=$LIBS
22263LIBS="-lcdata  $LIBS"
22264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265/* end confdefs.h.  */
22266
22267/* Override any GCC internal prototype to avoid an error.
22268   Use char because int might match the return type of a GCC
22269   builtin and then its argument prototype would still apply.  */
22270#ifdef __cplusplus
22271extern "C"
22272#endif
22273char libcdata_list_element_set_previous_element ();
22274int
22275main ()
22276{
22277return libcdata_list_element_set_previous_element ();
22278  ;
22279  return 0;
22280}
22281_ACEOF
22282if ac_fn_c_try_link "$LINENO"; then :
22283  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes
22284else
22285  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no
22286fi
22287rm -f core conftest.err conftest.$ac_objext \
22288    conftest$ac_exeext conftest.$ac_ext
22289LIBS=$ac_check_lib_save_LIBS
22290fi
22291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5
22292$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; }
22293if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then :
22294  ac_cv_libcdata_dummy=yes
22295else
22296  ac_cv_libcdata=no
22297fi
22298
22299        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5
22300$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; }
22301if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then :
22302  $as_echo_n "(cached) " >&6
22303else
22304  ac_check_lib_save_LIBS=$LIBS
22305LIBS="-lcdata  $LIBS"
22306cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307/* end confdefs.h.  */
22308
22309/* Override any GCC internal prototype to avoid an error.
22310   Use char because int might match the return type of a GCC
22311   builtin and then its argument prototype would still apply.  */
22312#ifdef __cplusplus
22313extern "C"
22314#endif
22315char libcdata_list_element_get_next_element ();
22316int
22317main ()
22318{
22319return libcdata_list_element_get_next_element ();
22320  ;
22321  return 0;
22322}
22323_ACEOF
22324if ac_fn_c_try_link "$LINENO"; then :
22325  ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes
22326else
22327  ac_cv_lib_cdata_libcdata_list_element_get_next_element=no
22328fi
22329rm -f core conftest.err conftest.$ac_objext \
22330    conftest$ac_exeext conftest.$ac_ext
22331LIBS=$ac_check_lib_save_LIBS
22332fi
22333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5
22334$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; }
22335if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then :
22336  ac_cv_libcdata_dummy=yes
22337else
22338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5
22339$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; }
22340if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then :
22341  $as_echo_n "(cached) " >&6
22342else
22343  ac_check_lib_save_LIBS=$LIBS
22344LIBS="-lcdata  $LIBS"
22345cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22346/* end confdefs.h.  */
22347
22348/* Override any GCC internal prototype to avoid an error.
22349   Use char because int might match the return type of a GCC
22350   builtin and then its argument prototype would still apply.  */
22351#ifdef __cplusplus
22352extern "C"
22353#endif
22354char libcdata_list_element_set_next_element ();
22355int
22356main ()
22357{
22358return libcdata_list_element_set_next_element ();
22359  ;
22360  return 0;
22361}
22362_ACEOF
22363if ac_fn_c_try_link "$LINENO"; then :
22364  ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes
22365else
22366  ac_cv_lib_cdata_libcdata_list_element_set_next_element=no
22367fi
22368rm -f core conftest.err conftest.$ac_objext \
22369    conftest$ac_exeext conftest.$ac_ext
22370LIBS=$ac_check_lib_save_LIBS
22371fi
22372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5
22373$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; }
22374if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then :
22375  ac_cv_libcdata_dummy=yes
22376else
22377  ac_cv_libcdata=no
22378fi
22379
22380        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5
22381$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; }
22382if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then :
22383  $as_echo_n "(cached) " >&6
22384else
22385  ac_check_lib_save_LIBS=$LIBS
22386LIBS="-lcdata  $LIBS"
22387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22388/* end confdefs.h.  */
22389
22390/* Override any GCC internal prototype to avoid an error.
22391   Use char because int might match the return type of a GCC
22392   builtin and then its argument prototype would still apply.  */
22393#ifdef __cplusplus
22394extern "C"
22395#endif
22396char libcdata_list_element_get_elements ();
22397int
22398main ()
22399{
22400return libcdata_list_element_get_elements ();
22401  ;
22402  return 0;
22403}
22404_ACEOF
22405if ac_fn_c_try_link "$LINENO"; then :
22406  ac_cv_lib_cdata_libcdata_list_element_get_elements=yes
22407else
22408  ac_cv_lib_cdata_libcdata_list_element_get_elements=no
22409fi
22410rm -f core conftest.err conftest.$ac_objext \
22411    conftest$ac_exeext conftest.$ac_ext
22412LIBS=$ac_check_lib_save_LIBS
22413fi
22414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5
22415$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; }
22416if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then :
22417  ac_cv_libcdata_dummy=yes
22418else
22419  ac_cv_libcdata=no
22420fi
22421
22422        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5
22423$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; }
22424if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then :
22425  $as_echo_n "(cached) " >&6
22426else
22427  ac_check_lib_save_LIBS=$LIBS
22428LIBS="-lcdata  $LIBS"
22429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22430/* end confdefs.h.  */
22431
22432/* Override any GCC internal prototype to avoid an error.
22433   Use char because int might match the return type of a GCC
22434   builtin and then its argument prototype would still apply.  */
22435#ifdef __cplusplus
22436extern "C"
22437#endif
22438char libcdata_list_element_set_elements ();
22439int
22440main ()
22441{
22442return libcdata_list_element_set_elements ();
22443  ;
22444  return 0;
22445}
22446_ACEOF
22447if ac_fn_c_try_link "$LINENO"; then :
22448  ac_cv_lib_cdata_libcdata_list_element_set_elements=yes
22449else
22450  ac_cv_lib_cdata_libcdata_list_element_set_elements=no
22451fi
22452rm -f core conftest.err conftest.$ac_objext \
22453    conftest$ac_exeext conftest.$ac_ext
22454LIBS=$ac_check_lib_save_LIBS
22455fi
22456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5
22457$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; }
22458if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then :
22459  ac_cv_libcdata_dummy=yes
22460else
22461  ac_cv_libcdata=no
22462fi
22463
22464          ac_cv_libcdata=no
22465fi
22466
22467
22468                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5
22469$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; }
22470if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then :
22471  $as_echo_n "(cached) " >&6
22472else
22473  ac_check_lib_save_LIBS=$LIBS
22474LIBS="-lcdata  $LIBS"
22475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476/* end confdefs.h.  */
22477
22478/* Override any GCC internal prototype to avoid an error.
22479   Use char because int might match the return type of a GCC
22480   builtin and then its argument prototype would still apply.  */
22481#ifdef __cplusplus
22482extern "C"
22483#endif
22484char libcdata_range_list_initialize ();
22485int
22486main ()
22487{
22488return libcdata_range_list_initialize ();
22489  ;
22490  return 0;
22491}
22492_ACEOF
22493if ac_fn_c_try_link "$LINENO"; then :
22494  ac_cv_lib_cdata_libcdata_range_list_initialize=yes
22495else
22496  ac_cv_lib_cdata_libcdata_range_list_initialize=no
22497fi
22498rm -f core conftest.err conftest.$ac_objext \
22499    conftest$ac_exeext conftest.$ac_ext
22500LIBS=$ac_check_lib_save_LIBS
22501fi
22502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5
22503$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; }
22504if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then :
22505  ac_cv_libcdata_dummy=yes
22506else
22507  ac_cv_libcdata=no
22508fi
22509
22510        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5
22511$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; }
22512if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then :
22513  $as_echo_n "(cached) " >&6
22514else
22515  ac_check_lib_save_LIBS=$LIBS
22516LIBS="-lcdata  $LIBS"
22517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518/* end confdefs.h.  */
22519
22520/* Override any GCC internal prototype to avoid an error.
22521   Use char because int might match the return type of a GCC
22522   builtin and then its argument prototype would still apply.  */
22523#ifdef __cplusplus
22524extern "C"
22525#endif
22526char libcdata_range_list_free ();
22527int
22528main ()
22529{
22530return libcdata_range_list_free ();
22531  ;
22532  return 0;
22533}
22534_ACEOF
22535if ac_fn_c_try_link "$LINENO"; then :
22536  ac_cv_lib_cdata_libcdata_range_list_free=yes
22537else
22538  ac_cv_lib_cdata_libcdata_range_list_free=no
22539fi
22540rm -f core conftest.err conftest.$ac_objext \
22541    conftest$ac_exeext conftest.$ac_ext
22542LIBS=$ac_check_lib_save_LIBS
22543fi
22544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5
22545$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; }
22546if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then :
22547  ac_cv_libcdata_dummy=yes
22548else
22549  ac_cv_libcdata=no
22550fi
22551
22552        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5
22553$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; }
22554if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then :
22555  $as_echo_n "(cached) " >&6
22556else
22557  ac_check_lib_save_LIBS=$LIBS
22558LIBS="-lcdata  $LIBS"
22559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22560/* end confdefs.h.  */
22561
22562/* Override any GCC internal prototype to avoid an error.
22563   Use char because int might match the return type of a GCC
22564   builtin and then its argument prototype would still apply.  */
22565#ifdef __cplusplus
22566extern "C"
22567#endif
22568char libcdata_range_list_empty ();
22569int
22570main ()
22571{
22572return libcdata_range_list_empty ();
22573  ;
22574  return 0;
22575}
22576_ACEOF
22577if ac_fn_c_try_link "$LINENO"; then :
22578  ac_cv_lib_cdata_libcdata_range_list_empty=yes
22579else
22580  ac_cv_lib_cdata_libcdata_range_list_empty=no
22581fi
22582rm -f core conftest.err conftest.$ac_objext \
22583    conftest$ac_exeext conftest.$ac_ext
22584LIBS=$ac_check_lib_save_LIBS
22585fi
22586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5
22587$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; }
22588if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then :
22589  ac_cv_libcdata_dummy=yes
22590else
22591  ac_cv_libcdata=no
22592fi
22593
22594        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5
22595$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; }
22596if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then :
22597  $as_echo_n "(cached) " >&6
22598else
22599  ac_check_lib_save_LIBS=$LIBS
22600LIBS="-lcdata  $LIBS"
22601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22602/* end confdefs.h.  */
22603
22604/* Override any GCC internal prototype to avoid an error.
22605   Use char because int might match the return type of a GCC
22606   builtin and then its argument prototype would still apply.  */
22607#ifdef __cplusplus
22608extern "C"
22609#endif
22610char libcdata_range_list_clone ();
22611int
22612main ()
22613{
22614return libcdata_range_list_clone ();
22615  ;
22616  return 0;
22617}
22618_ACEOF
22619if ac_fn_c_try_link "$LINENO"; then :
22620  ac_cv_lib_cdata_libcdata_range_list_clone=yes
22621else
22622  ac_cv_lib_cdata_libcdata_range_list_clone=no
22623fi
22624rm -f core conftest.err conftest.$ac_objext \
22625    conftest$ac_exeext conftest.$ac_ext
22626LIBS=$ac_check_lib_save_LIBS
22627fi
22628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5
22629$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; }
22630if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then :
22631  ac_cv_libcdata_dummy=yes
22632else
22633  ac_cv_libcdata=no
22634fi
22635
22636        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5
22637$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; }
22638if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then :
22639  $as_echo_n "(cached) " >&6
22640else
22641  ac_check_lib_save_LIBS=$LIBS
22642LIBS="-lcdata  $LIBS"
22643cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644/* end confdefs.h.  */
22645
22646/* Override any GCC internal prototype to avoid an error.
22647   Use char because int might match the return type of a GCC
22648   builtin and then its argument prototype would still apply.  */
22649#ifdef __cplusplus
22650extern "C"
22651#endif
22652char libcdata_range_list_get_number_of_elements ();
22653int
22654main ()
22655{
22656return libcdata_range_list_get_number_of_elements ();
22657  ;
22658  return 0;
22659}
22660_ACEOF
22661if ac_fn_c_try_link "$LINENO"; then :
22662  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes
22663else
22664  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no
22665fi
22666rm -f core conftest.err conftest.$ac_objext \
22667    conftest$ac_exeext conftest.$ac_ext
22668LIBS=$ac_check_lib_save_LIBS
22669fi
22670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5
22671$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; }
22672if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then :
22673  ac_cv_libcdata_dummy=yes
22674else
22675  ac_cv_libcdata=no
22676fi
22677
22678        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5
22679$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; }
22680if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then :
22681  $as_echo_n "(cached) " >&6
22682else
22683  ac_check_lib_save_LIBS=$LIBS
22684LIBS="-lcdata  $LIBS"
22685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686/* end confdefs.h.  */
22687
22688/* Override any GCC internal prototype to avoid an error.
22689   Use char because int might match the return type of a GCC
22690   builtin and then its argument prototype would still apply.  */
22691#ifdef __cplusplus
22692extern "C"
22693#endif
22694char libcdata_range_list_insert_range ();
22695int
22696main ()
22697{
22698return libcdata_range_list_insert_range ();
22699  ;
22700  return 0;
22701}
22702_ACEOF
22703if ac_fn_c_try_link "$LINENO"; then :
22704  ac_cv_lib_cdata_libcdata_range_list_insert_range=yes
22705else
22706  ac_cv_lib_cdata_libcdata_range_list_insert_range=no
22707fi
22708rm -f core conftest.err conftest.$ac_objext \
22709    conftest$ac_exeext conftest.$ac_ext
22710LIBS=$ac_check_lib_save_LIBS
22711fi
22712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5
22713$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; }
22714if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then :
22715  ac_cv_libcdata_dummy=yes
22716else
22717  ac_cv_libcdata=no
22718fi
22719
22720        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5
22721$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; }
22722if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then :
22723  $as_echo_n "(cached) " >&6
22724else
22725  ac_check_lib_save_LIBS=$LIBS
22726LIBS="-lcdata  $LIBS"
22727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728/* end confdefs.h.  */
22729
22730/* Override any GCC internal prototype to avoid an error.
22731   Use char because int might match the return type of a GCC
22732   builtin and then its argument prototype would still apply.  */
22733#ifdef __cplusplus
22734extern "C"
22735#endif
22736char libcdata_range_list_insert_range_list ();
22737int
22738main ()
22739{
22740return libcdata_range_list_insert_range_list ();
22741  ;
22742  return 0;
22743}
22744_ACEOF
22745if ac_fn_c_try_link "$LINENO"; then :
22746  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes
22747else
22748  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no
22749fi
22750rm -f core conftest.err conftest.$ac_objext \
22751    conftest$ac_exeext conftest.$ac_ext
22752LIBS=$ac_check_lib_save_LIBS
22753fi
22754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5
22755$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; }
22756if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then :
22757  ac_cv_libcdata_dummy=yes
22758else
22759  ac_cv_libcdata=no
22760fi
22761
22762        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5
22763$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; }
22764if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then :
22765  $as_echo_n "(cached) " >&6
22766else
22767  ac_check_lib_save_LIBS=$LIBS
22768LIBS="-lcdata  $LIBS"
22769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22770/* end confdefs.h.  */
22771
22772/* Override any GCC internal prototype to avoid an error.
22773   Use char because int might match the return type of a GCC
22774   builtin and then its argument prototype would still apply.  */
22775#ifdef __cplusplus
22776extern "C"
22777#endif
22778char libcdata_range_list_remove_range ();
22779int
22780main ()
22781{
22782return libcdata_range_list_remove_range ();
22783  ;
22784  return 0;
22785}
22786_ACEOF
22787if ac_fn_c_try_link "$LINENO"; then :
22788  ac_cv_lib_cdata_libcdata_range_list_remove_range=yes
22789else
22790  ac_cv_lib_cdata_libcdata_range_list_remove_range=no
22791fi
22792rm -f core conftest.err conftest.$ac_objext \
22793    conftest$ac_exeext conftest.$ac_ext
22794LIBS=$ac_check_lib_save_LIBS
22795fi
22796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5
22797$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; }
22798if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then :
22799  ac_cv_libcdata_dummy=yes
22800else
22801  ac_cv_libcdata=no
22802fi
22803
22804        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5
22805$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; }
22806if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then :
22807  $as_echo_n "(cached) " >&6
22808else
22809  ac_check_lib_save_LIBS=$LIBS
22810LIBS="-lcdata  $LIBS"
22811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22812/* end confdefs.h.  */
22813
22814/* Override any GCC internal prototype to avoid an error.
22815   Use char because int might match the return type of a GCC
22816   builtin and then its argument prototype would still apply.  */
22817#ifdef __cplusplus
22818extern "C"
22819#endif
22820char libcdata_range_list_get_range_by_index ();
22821int
22822main ()
22823{
22824return libcdata_range_list_get_range_by_index ();
22825  ;
22826  return 0;
22827}
22828_ACEOF
22829if ac_fn_c_try_link "$LINENO"; then :
22830  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes
22831else
22832  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no
22833fi
22834rm -f core conftest.err conftest.$ac_objext \
22835    conftest$ac_exeext conftest.$ac_ext
22836LIBS=$ac_check_lib_save_LIBS
22837fi
22838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5
22839$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; }
22840if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then :
22841  ac_cv_libcdata_dummy=yes
22842else
22843  ac_cv_libcdata=no
22844fi
22845
22846        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5
22847$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; }
22848if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then :
22849  $as_echo_n "(cached) " >&6
22850else
22851  ac_check_lib_save_LIBS=$LIBS
22852LIBS="-lcdata  $LIBS"
22853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854/* end confdefs.h.  */
22855
22856/* Override any GCC internal prototype to avoid an error.
22857   Use char because int might match the return type of a GCC
22858   builtin and then its argument prototype would still apply.  */
22859#ifdef __cplusplus
22860extern "C"
22861#endif
22862char libcdata_range_list_get_range_at_offset ();
22863int
22864main ()
22865{
22866return libcdata_range_list_get_range_at_offset ();
22867  ;
22868  return 0;
22869}
22870_ACEOF
22871if ac_fn_c_try_link "$LINENO"; then :
22872  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes
22873else
22874  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no
22875fi
22876rm -f core conftest.err conftest.$ac_objext \
22877    conftest$ac_exeext conftest.$ac_ext
22878LIBS=$ac_check_lib_save_LIBS
22879fi
22880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5
22881$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; }
22882if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then :
22883  ac_cv_libcdata_dummy=yes
22884else
22885  ac_cv_libcdata=no
22886fi
22887
22888        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5
22889$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; }
22890if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then :
22891  $as_echo_n "(cached) " >&6
22892else
22893  ac_check_lib_save_LIBS=$LIBS
22894LIBS="-lcdata  $LIBS"
22895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22896/* end confdefs.h.  */
22897
22898/* Override any GCC internal prototype to avoid an error.
22899   Use char because int might match the return type of a GCC
22900   builtin and then its argument prototype would still apply.  */
22901#ifdef __cplusplus
22902extern "C"
22903#endif
22904char libcdata_range_list_range_is_present ();
22905int
22906main ()
22907{
22908return libcdata_range_list_range_is_present ();
22909  ;
22910  return 0;
22911}
22912_ACEOF
22913if ac_fn_c_try_link "$LINENO"; then :
22914  ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes
22915else
22916  ac_cv_lib_cdata_libcdata_range_list_range_is_present=no
22917fi
22918rm -f core conftest.err conftest.$ac_objext \
22919    conftest$ac_exeext conftest.$ac_ext
22920LIBS=$ac_check_lib_save_LIBS
22921fi
22922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5
22923$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; }
22924if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then :
22925  ac_cv_libcdata_dummy=yes
22926else
22927  ac_cv_libcdata=no
22928fi
22929
22930        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5
22931$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; }
22932if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then :
22933  $as_echo_n "(cached) " >&6
22934else
22935  ac_check_lib_save_LIBS=$LIBS
22936LIBS="-lcdata  $LIBS"
22937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22938/* end confdefs.h.  */
22939
22940/* Override any GCC internal prototype to avoid an error.
22941   Use char because int might match the return type of a GCC
22942   builtin and then its argument prototype would still apply.  */
22943#ifdef __cplusplus
22944extern "C"
22945#endif
22946char libcdata_range_list_get_spanning_range ();
22947int
22948main ()
22949{
22950return libcdata_range_list_get_spanning_range ();
22951  ;
22952  return 0;
22953}
22954_ACEOF
22955if ac_fn_c_try_link "$LINENO"; then :
22956  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes
22957else
22958  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no
22959fi
22960rm -f core conftest.err conftest.$ac_objext \
22961    conftest$ac_exeext conftest.$ac_ext
22962LIBS=$ac_check_lib_save_LIBS
22963fi
22964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5
22965$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; }
22966if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then :
22967  ac_cv_libcdata_dummy=yes
22968else
22969  ac_cv_libcdata=no
22970fi
22971
22972
22973                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5
22974$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; }
22975if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then :
22976  $as_echo_n "(cached) " >&6
22977else
22978  ac_check_lib_save_LIBS=$LIBS
22979LIBS="-lcdata  $LIBS"
22980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981/* end confdefs.h.  */
22982
22983/* Override any GCC internal prototype to avoid an error.
22984   Use char because int might match the return type of a GCC
22985   builtin and then its argument prototype would still apply.  */
22986#ifdef __cplusplus
22987extern "C"
22988#endif
22989char libcdata_tree_node_initialize ();
22990int
22991main ()
22992{
22993return libcdata_tree_node_initialize ();
22994  ;
22995  return 0;
22996}
22997_ACEOF
22998if ac_fn_c_try_link "$LINENO"; then :
22999  ac_cv_lib_cdata_libcdata_tree_node_initialize=yes
23000else
23001  ac_cv_lib_cdata_libcdata_tree_node_initialize=no
23002fi
23003rm -f core conftest.err conftest.$ac_objext \
23004    conftest$ac_exeext conftest.$ac_ext
23005LIBS=$ac_check_lib_save_LIBS
23006fi
23007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5
23008$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; }
23009if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then :
23010  ac_cv_libcdata_dummy=yes
23011else
23012  ac_cv_libcdata=no
23013fi
23014
23015        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5
23016$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; }
23017if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then :
23018  $as_echo_n "(cached) " >&6
23019else
23020  ac_check_lib_save_LIBS=$LIBS
23021LIBS="-lcdata  $LIBS"
23022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23023/* end confdefs.h.  */
23024
23025/* Override any GCC internal prototype to avoid an error.
23026   Use char because int might match the return type of a GCC
23027   builtin and then its argument prototype would still apply.  */
23028#ifdef __cplusplus
23029extern "C"
23030#endif
23031char libcdata_tree_node_free ();
23032int
23033main ()
23034{
23035return libcdata_tree_node_free ();
23036  ;
23037  return 0;
23038}
23039_ACEOF
23040if ac_fn_c_try_link "$LINENO"; then :
23041  ac_cv_lib_cdata_libcdata_tree_node_free=yes
23042else
23043  ac_cv_lib_cdata_libcdata_tree_node_free=no
23044fi
23045rm -f core conftest.err conftest.$ac_objext \
23046    conftest$ac_exeext conftest.$ac_ext
23047LIBS=$ac_check_lib_save_LIBS
23048fi
23049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5
23050$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; }
23051if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then :
23052  ac_cv_libcdata_dummy=yes
23053else
23054  ac_cv_libcdata=no
23055fi
23056
23057        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5
23058$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; }
23059if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then :
23060  $as_echo_n "(cached) " >&6
23061else
23062  ac_check_lib_save_LIBS=$LIBS
23063LIBS="-lcdata  $LIBS"
23064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23065/* end confdefs.h.  */
23066
23067/* Override any GCC internal prototype to avoid an error.
23068   Use char because int might match the return type of a GCC
23069   builtin and then its argument prototype would still apply.  */
23070#ifdef __cplusplus
23071extern "C"
23072#endif
23073char libcdata_tree_node_empty ();
23074int
23075main ()
23076{
23077return libcdata_tree_node_empty ();
23078  ;
23079  return 0;
23080}
23081_ACEOF
23082if ac_fn_c_try_link "$LINENO"; then :
23083  ac_cv_lib_cdata_libcdata_tree_node_empty=yes
23084else
23085  ac_cv_lib_cdata_libcdata_tree_node_empty=no
23086fi
23087rm -f core conftest.err conftest.$ac_objext \
23088    conftest$ac_exeext conftest.$ac_ext
23089LIBS=$ac_check_lib_save_LIBS
23090fi
23091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5
23092$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; }
23093if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then :
23094  ac_cv_libcdata_dummy=yes
23095else
23096  ac_cv_libcdata=no
23097fi
23098
23099        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5
23100$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; }
23101if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then :
23102  $as_echo_n "(cached) " >&6
23103else
23104  ac_check_lib_save_LIBS=$LIBS
23105LIBS="-lcdata  $LIBS"
23106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23107/* end confdefs.h.  */
23108
23109/* Override any GCC internal prototype to avoid an error.
23110   Use char because int might match the return type of a GCC
23111   builtin and then its argument prototype would still apply.  */
23112#ifdef __cplusplus
23113extern "C"
23114#endif
23115char libcdata_tree_node_clone ();
23116int
23117main ()
23118{
23119return libcdata_tree_node_clone ();
23120  ;
23121  return 0;
23122}
23123_ACEOF
23124if ac_fn_c_try_link "$LINENO"; then :
23125  ac_cv_lib_cdata_libcdata_tree_node_clone=yes
23126else
23127  ac_cv_lib_cdata_libcdata_tree_node_clone=no
23128fi
23129rm -f core conftest.err conftest.$ac_objext \
23130    conftest$ac_exeext conftest.$ac_ext
23131LIBS=$ac_check_lib_save_LIBS
23132fi
23133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5
23134$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; }
23135if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then :
23136  ac_cv_libcdata_dummy=yes
23137else
23138  ac_cv_libcdata=no
23139fi
23140
23141        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5
23142$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; }
23143if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then :
23144  $as_echo_n "(cached) " >&6
23145else
23146  ac_check_lib_save_LIBS=$LIBS
23147LIBS="-lcdata  $LIBS"
23148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149/* end confdefs.h.  */
23150
23151/* Override any GCC internal prototype to avoid an error.
23152   Use char because int might match the return type of a GCC
23153   builtin and then its argument prototype would still apply.  */
23154#ifdef __cplusplus
23155extern "C"
23156#endif
23157char libcdata_tree_node_get_value ();
23158int
23159main ()
23160{
23161return libcdata_tree_node_get_value ();
23162  ;
23163  return 0;
23164}
23165_ACEOF
23166if ac_fn_c_try_link "$LINENO"; then :
23167  ac_cv_lib_cdata_libcdata_tree_node_get_value=yes
23168else
23169  ac_cv_lib_cdata_libcdata_tree_node_get_value=no
23170fi
23171rm -f core conftest.err conftest.$ac_objext \
23172    conftest$ac_exeext conftest.$ac_ext
23173LIBS=$ac_check_lib_save_LIBS
23174fi
23175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5
23176$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; }
23177if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then :
23178  ac_cv_libcdata_dummy=yes
23179else
23180  ac_cv_libcdata=no
23181fi
23182
23183        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5
23184$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; }
23185if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then :
23186  $as_echo_n "(cached) " >&6
23187else
23188  ac_check_lib_save_LIBS=$LIBS
23189LIBS="-lcdata  $LIBS"
23190cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191/* end confdefs.h.  */
23192
23193/* Override any GCC internal prototype to avoid an error.
23194   Use char because int might match the return type of a GCC
23195   builtin and then its argument prototype would still apply.  */
23196#ifdef __cplusplus
23197extern "C"
23198#endif
23199char libcdata_tree_node_set_value ();
23200int
23201main ()
23202{
23203return libcdata_tree_node_set_value ();
23204  ;
23205  return 0;
23206}
23207_ACEOF
23208if ac_fn_c_try_link "$LINENO"; then :
23209  ac_cv_lib_cdata_libcdata_tree_node_set_value=yes
23210else
23211  ac_cv_lib_cdata_libcdata_tree_node_set_value=no
23212fi
23213rm -f core conftest.err conftest.$ac_objext \
23214    conftest$ac_exeext conftest.$ac_ext
23215LIBS=$ac_check_lib_save_LIBS
23216fi
23217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5
23218$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; }
23219if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then :
23220  ac_cv_libcdata_dummy=yes
23221else
23222  ac_cv_libcdata=no
23223fi
23224
23225        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5
23226$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; }
23227if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then :
23228  $as_echo_n "(cached) " >&6
23229else
23230  ac_check_lib_save_LIBS=$LIBS
23231LIBS="-lcdata  $LIBS"
23232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233/* end confdefs.h.  */
23234
23235/* Override any GCC internal prototype to avoid an error.
23236   Use char because int might match the return type of a GCC
23237   builtin and then its argument prototype would still apply.  */
23238#ifdef __cplusplus
23239extern "C"
23240#endif
23241char libcdata_tree_node_get_parent_node ();
23242int
23243main ()
23244{
23245return libcdata_tree_node_get_parent_node ();
23246  ;
23247  return 0;
23248}
23249_ACEOF
23250if ac_fn_c_try_link "$LINENO"; then :
23251  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes
23252else
23253  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no
23254fi
23255rm -f core conftest.err conftest.$ac_objext \
23256    conftest$ac_exeext conftest.$ac_ext
23257LIBS=$ac_check_lib_save_LIBS
23258fi
23259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5
23260$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; }
23261if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then :
23262  ac_cv_libcdata_dummy=yes
23263else
23264  ac_cv_libcdata=no
23265fi
23266
23267        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5
23268$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; }
23269if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then :
23270  $as_echo_n "(cached) " >&6
23271else
23272  ac_check_lib_save_LIBS=$LIBS
23273LIBS="-lcdata  $LIBS"
23274cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275/* end confdefs.h.  */
23276
23277/* Override any GCC internal prototype to avoid an error.
23278   Use char because int might match the return type of a GCC
23279   builtin and then its argument prototype would still apply.  */
23280#ifdef __cplusplus
23281extern "C"
23282#endif
23283char libcdata_tree_node_set_parent_node ();
23284int
23285main ()
23286{
23287return libcdata_tree_node_set_parent_node ();
23288  ;
23289  return 0;
23290}
23291_ACEOF
23292if ac_fn_c_try_link "$LINENO"; then :
23293  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes
23294else
23295  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no
23296fi
23297rm -f core conftest.err conftest.$ac_objext \
23298    conftest$ac_exeext conftest.$ac_ext
23299LIBS=$ac_check_lib_save_LIBS
23300fi
23301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5
23302$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; }
23303if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then :
23304  ac_cv_libcdata_dummy=yes
23305else
23306  ac_cv_libcdata=no
23307fi
23308
23309        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5
23310$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; }
23311if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then :
23312  $as_echo_n "(cached) " >&6
23313else
23314  ac_check_lib_save_LIBS=$LIBS
23315LIBS="-lcdata  $LIBS"
23316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23317/* end confdefs.h.  */
23318
23319/* Override any GCC internal prototype to avoid an error.
23320   Use char because int might match the return type of a GCC
23321   builtin and then its argument prototype would still apply.  */
23322#ifdef __cplusplus
23323extern "C"
23324#endif
23325char libcdata_tree_node_get_previous_node ();
23326int
23327main ()
23328{
23329return libcdata_tree_node_get_previous_node ();
23330  ;
23331  return 0;
23332}
23333_ACEOF
23334if ac_fn_c_try_link "$LINENO"; then :
23335  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes
23336else
23337  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no
23338fi
23339rm -f core conftest.err conftest.$ac_objext \
23340    conftest$ac_exeext conftest.$ac_ext
23341LIBS=$ac_check_lib_save_LIBS
23342fi
23343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5
23344$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; }
23345if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then :
23346  ac_cv_libcdata_dummy=yes
23347else
23348  ac_cv_libcdata=no
23349fi
23350
23351        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5
23352$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; }
23353if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then :
23354  $as_echo_n "(cached) " >&6
23355else
23356  ac_check_lib_save_LIBS=$LIBS
23357LIBS="-lcdata  $LIBS"
23358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23359/* end confdefs.h.  */
23360
23361/* Override any GCC internal prototype to avoid an error.
23362   Use char because int might match the return type of a GCC
23363   builtin and then its argument prototype would still apply.  */
23364#ifdef __cplusplus
23365extern "C"
23366#endif
23367char libcdata_tree_node_set_previous_node ();
23368int
23369main ()
23370{
23371return libcdata_tree_node_set_previous_node ();
23372  ;
23373  return 0;
23374}
23375_ACEOF
23376if ac_fn_c_try_link "$LINENO"; then :
23377  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes
23378else
23379  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no
23380fi
23381rm -f core conftest.err conftest.$ac_objext \
23382    conftest$ac_exeext conftest.$ac_ext
23383LIBS=$ac_check_lib_save_LIBS
23384fi
23385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5
23386$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; }
23387if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then :
23388  ac_cv_libcdata_dummy=yes
23389else
23390  ac_cv_libcdata=no
23391fi
23392
23393        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5
23394$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; }
23395if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then :
23396  $as_echo_n "(cached) " >&6
23397else
23398  ac_check_lib_save_LIBS=$LIBS
23399LIBS="-lcdata  $LIBS"
23400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401/* end confdefs.h.  */
23402
23403/* Override any GCC internal prototype to avoid an error.
23404   Use char because int might match the return type of a GCC
23405   builtin and then its argument prototype would still apply.  */
23406#ifdef __cplusplus
23407extern "C"
23408#endif
23409char libcdata_tree_node_get_next_node ();
23410int
23411main ()
23412{
23413return libcdata_tree_node_get_next_node ();
23414  ;
23415  return 0;
23416}
23417_ACEOF
23418if ac_fn_c_try_link "$LINENO"; then :
23419  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes
23420else
23421  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no
23422fi
23423rm -f core conftest.err conftest.$ac_objext \
23424    conftest$ac_exeext conftest.$ac_ext
23425LIBS=$ac_check_lib_save_LIBS
23426fi
23427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5
23428$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; }
23429if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then :
23430  ac_cv_libcdata_dummy=yes
23431else
23432  ac_cv_libcdata=no
23433fi
23434
23435        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5
23436$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; }
23437if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then :
23438  $as_echo_n "(cached) " >&6
23439else
23440  ac_check_lib_save_LIBS=$LIBS
23441LIBS="-lcdata  $LIBS"
23442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23443/* end confdefs.h.  */
23444
23445/* Override any GCC internal prototype to avoid an error.
23446   Use char because int might match the return type of a GCC
23447   builtin and then its argument prototype would still apply.  */
23448#ifdef __cplusplus
23449extern "C"
23450#endif
23451char libcdata_tree_node_set_next_node ();
23452int
23453main ()
23454{
23455return libcdata_tree_node_set_next_node ();
23456  ;
23457  return 0;
23458}
23459_ACEOF
23460if ac_fn_c_try_link "$LINENO"; then :
23461  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes
23462else
23463  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no
23464fi
23465rm -f core conftest.err conftest.$ac_objext \
23466    conftest$ac_exeext conftest.$ac_ext
23467LIBS=$ac_check_lib_save_LIBS
23468fi
23469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5
23470$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; }
23471if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then :
23472  ac_cv_libcdata_dummy=yes
23473else
23474  ac_cv_libcdata=no
23475fi
23476
23477        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5
23478$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; }
23479if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then :
23480  $as_echo_n "(cached) " >&6
23481else
23482  ac_check_lib_save_LIBS=$LIBS
23483LIBS="-lcdata  $LIBS"
23484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23485/* end confdefs.h.  */
23486
23487/* Override any GCC internal prototype to avoid an error.
23488   Use char because int might match the return type of a GCC
23489   builtin and then its argument prototype would still apply.  */
23490#ifdef __cplusplus
23491extern "C"
23492#endif
23493char libcdata_tree_node_get_nodes ();
23494int
23495main ()
23496{
23497return libcdata_tree_node_get_nodes ();
23498  ;
23499  return 0;
23500}
23501_ACEOF
23502if ac_fn_c_try_link "$LINENO"; then :
23503  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes
23504else
23505  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no
23506fi
23507rm -f core conftest.err conftest.$ac_objext \
23508    conftest$ac_exeext conftest.$ac_ext
23509LIBS=$ac_check_lib_save_LIBS
23510fi
23511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5
23512$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; }
23513if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then :
23514  ac_cv_libcdata_dummy=yes
23515else
23516  ac_cv_libcdata=no
23517fi
23518
23519        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5
23520$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; }
23521if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then :
23522  $as_echo_n "(cached) " >&6
23523else
23524  ac_check_lib_save_LIBS=$LIBS
23525LIBS="-lcdata  $LIBS"
23526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527/* end confdefs.h.  */
23528
23529/* Override any GCC internal prototype to avoid an error.
23530   Use char because int might match the return type of a GCC
23531   builtin and then its argument prototype would still apply.  */
23532#ifdef __cplusplus
23533extern "C"
23534#endif
23535char libcdata_tree_node_set_nodes ();
23536int
23537main ()
23538{
23539return libcdata_tree_node_set_nodes ();
23540  ;
23541  return 0;
23542}
23543_ACEOF
23544if ac_fn_c_try_link "$LINENO"; then :
23545  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes
23546else
23547  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no
23548fi
23549rm -f core conftest.err conftest.$ac_objext \
23550    conftest$ac_exeext conftest.$ac_ext
23551LIBS=$ac_check_lib_save_LIBS
23552fi
23553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5
23554$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; }
23555if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then :
23556  ac_cv_libcdata_dummy=yes
23557else
23558  ac_cv_libcdata=no
23559fi
23560
23561        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5
23562$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; }
23563if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then :
23564  $as_echo_n "(cached) " >&6
23565else
23566  ac_check_lib_save_LIBS=$LIBS
23567LIBS="-lcdata  $LIBS"
23568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23569/* end confdefs.h.  */
23570
23571/* Override any GCC internal prototype to avoid an error.
23572   Use char because int might match the return type of a GCC
23573   builtin and then its argument prototype would still apply.  */
23574#ifdef __cplusplus
23575extern "C"
23576#endif
23577char libcdata_tree_node_append_node ();
23578int
23579main ()
23580{
23581return libcdata_tree_node_append_node ();
23582  ;
23583  return 0;
23584}
23585_ACEOF
23586if ac_fn_c_try_link "$LINENO"; then :
23587  ac_cv_lib_cdata_libcdata_tree_node_append_node=yes
23588else
23589  ac_cv_lib_cdata_libcdata_tree_node_append_node=no
23590fi
23591rm -f core conftest.err conftest.$ac_objext \
23592    conftest$ac_exeext conftest.$ac_ext
23593LIBS=$ac_check_lib_save_LIBS
23594fi
23595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5
23596$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; }
23597if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then :
23598  ac_cv_libcdata_dummy=yes
23599else
23600  ac_cv_libcdata=no
23601fi
23602
23603        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5
23604$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; }
23605if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then :
23606  $as_echo_n "(cached) " >&6
23607else
23608  ac_check_lib_save_LIBS=$LIBS
23609LIBS="-lcdata  $LIBS"
23610cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611/* end confdefs.h.  */
23612
23613/* Override any GCC internal prototype to avoid an error.
23614   Use char because int might match the return type of a GCC
23615   builtin and then its argument prototype would still apply.  */
23616#ifdef __cplusplus
23617extern "C"
23618#endif
23619char libcdata_tree_node_append_value ();
23620int
23621main ()
23622{
23623return libcdata_tree_node_append_value ();
23624  ;
23625  return 0;
23626}
23627_ACEOF
23628if ac_fn_c_try_link "$LINENO"; then :
23629  ac_cv_lib_cdata_libcdata_tree_node_append_value=yes
23630else
23631  ac_cv_lib_cdata_libcdata_tree_node_append_value=no
23632fi
23633rm -f core conftest.err conftest.$ac_objext \
23634    conftest$ac_exeext conftest.$ac_ext
23635LIBS=$ac_check_lib_save_LIBS
23636fi
23637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5
23638$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; }
23639if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then :
23640  ac_cv_libcdata_dummy=yes
23641else
23642  ac_cv_libcdata=no
23643fi
23644
23645        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5
23646$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; }
23647if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then :
23648  $as_echo_n "(cached) " >&6
23649else
23650  ac_check_lib_save_LIBS=$LIBS
23651LIBS="-lcdata  $LIBS"
23652cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23653/* end confdefs.h.  */
23654
23655/* Override any GCC internal prototype to avoid an error.
23656   Use char because int might match the return type of a GCC
23657   builtin and then its argument prototype would still apply.  */
23658#ifdef __cplusplus
23659extern "C"
23660#endif
23661char libcdata_tree_node_insert_node ();
23662int
23663main ()
23664{
23665return libcdata_tree_node_insert_node ();
23666  ;
23667  return 0;
23668}
23669_ACEOF
23670if ac_fn_c_try_link "$LINENO"; then :
23671  ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes
23672else
23673  ac_cv_lib_cdata_libcdata_tree_node_insert_node=no
23674fi
23675rm -f core conftest.err conftest.$ac_objext \
23676    conftest$ac_exeext conftest.$ac_ext
23677LIBS=$ac_check_lib_save_LIBS
23678fi
23679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5
23680$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; }
23681if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then :
23682  ac_cv_libcdata_dummy=yes
23683else
23684  ac_cv_libcdata=no
23685fi
23686
23687        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5
23688$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; }
23689if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then :
23690  $as_echo_n "(cached) " >&6
23691else
23692  ac_check_lib_save_LIBS=$LIBS
23693LIBS="-lcdata  $LIBS"
23694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23695/* end confdefs.h.  */
23696
23697/* Override any GCC internal prototype to avoid an error.
23698   Use char because int might match the return type of a GCC
23699   builtin and then its argument prototype would still apply.  */
23700#ifdef __cplusplus
23701extern "C"
23702#endif
23703char libcdata_tree_node_insert_value ();
23704int
23705main ()
23706{
23707return libcdata_tree_node_insert_value ();
23708  ;
23709  return 0;
23710}
23711_ACEOF
23712if ac_fn_c_try_link "$LINENO"; then :
23713  ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes
23714else
23715  ac_cv_lib_cdata_libcdata_tree_node_insert_value=no
23716fi
23717rm -f core conftest.err conftest.$ac_objext \
23718    conftest$ac_exeext conftest.$ac_ext
23719LIBS=$ac_check_lib_save_LIBS
23720fi
23721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5
23722$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; }
23723if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then :
23724  ac_cv_libcdata_dummy=yes
23725else
23726  ac_cv_libcdata=no
23727fi
23728
23729        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5
23730$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; }
23731if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then :
23732  $as_echo_n "(cached) " >&6
23733else
23734  ac_check_lib_save_LIBS=$LIBS
23735LIBS="-lcdata  $LIBS"
23736cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23737/* end confdefs.h.  */
23738
23739/* Override any GCC internal prototype to avoid an error.
23740   Use char because int might match the return type of a GCC
23741   builtin and then its argument prototype would still apply.  */
23742#ifdef __cplusplus
23743extern "C"
23744#endif
23745char libcdata_tree_node_replace_node ();
23746int
23747main ()
23748{
23749return libcdata_tree_node_replace_node ();
23750  ;
23751  return 0;
23752}
23753_ACEOF
23754if ac_fn_c_try_link "$LINENO"; then :
23755  ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes
23756else
23757  ac_cv_lib_cdata_libcdata_tree_node_replace_node=no
23758fi
23759rm -f core conftest.err conftest.$ac_objext \
23760    conftest$ac_exeext conftest.$ac_ext
23761LIBS=$ac_check_lib_save_LIBS
23762fi
23763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5
23764$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; }
23765if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then :
23766  ac_cv_libcdata_dummy=yes
23767else
23768  ac_cv_libcdata=no
23769fi
23770
23771        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5
23772$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; }
23773if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then :
23774  $as_echo_n "(cached) " >&6
23775else
23776  ac_check_lib_save_LIBS=$LIBS
23777LIBS="-lcdata  $LIBS"
23778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23779/* end confdefs.h.  */
23780
23781/* Override any GCC internal prototype to avoid an error.
23782   Use char because int might match the return type of a GCC
23783   builtin and then its argument prototype would still apply.  */
23784#ifdef __cplusplus
23785extern "C"
23786#endif
23787char libcdata_tree_node_remove_node ();
23788int
23789main ()
23790{
23791return libcdata_tree_node_remove_node ();
23792  ;
23793  return 0;
23794}
23795_ACEOF
23796if ac_fn_c_try_link "$LINENO"; then :
23797  ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes
23798else
23799  ac_cv_lib_cdata_libcdata_tree_node_remove_node=no
23800fi
23801rm -f core conftest.err conftest.$ac_objext \
23802    conftest$ac_exeext conftest.$ac_ext
23803LIBS=$ac_check_lib_save_LIBS
23804fi
23805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5
23806$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; }
23807if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then :
23808  ac_cv_libcdata_dummy=yes
23809else
23810  ac_cv_libcdata=no
23811fi
23812
23813        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5
23814$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; }
23815if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then :
23816  $as_echo_n "(cached) " >&6
23817else
23818  ac_check_lib_save_LIBS=$LIBS
23819LIBS="-lcdata  $LIBS"
23820cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23821/* end confdefs.h.  */
23822
23823/* Override any GCC internal prototype to avoid an error.
23824   Use char because int might match the return type of a GCC
23825   builtin and then its argument prototype would still apply.  */
23826#ifdef __cplusplus
23827extern "C"
23828#endif
23829char libcdata_tree_node_get_number_of_sub_nodes ();
23830int
23831main ()
23832{
23833return libcdata_tree_node_get_number_of_sub_nodes ();
23834  ;
23835  return 0;
23836}
23837_ACEOF
23838if ac_fn_c_try_link "$LINENO"; then :
23839  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes
23840else
23841  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no
23842fi
23843rm -f core conftest.err conftest.$ac_objext \
23844    conftest$ac_exeext conftest.$ac_ext
23845LIBS=$ac_check_lib_save_LIBS
23846fi
23847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5
23848$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; }
23849if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then :
23850  ac_cv_libcdata_dummy=yes
23851else
23852  ac_cv_libcdata=no
23853fi
23854
23855        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5
23856$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; }
23857if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then :
23858  $as_echo_n "(cached) " >&6
23859else
23860  ac_check_lib_save_LIBS=$LIBS
23861LIBS="-lcdata  $LIBS"
23862cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23863/* end confdefs.h.  */
23864
23865/* Override any GCC internal prototype to avoid an error.
23866   Use char because int might match the return type of a GCC
23867   builtin and then its argument prototype would still apply.  */
23868#ifdef __cplusplus
23869extern "C"
23870#endif
23871char libcdata_tree_node_get_sub_node_by_index ();
23872int
23873main ()
23874{
23875return libcdata_tree_node_get_sub_node_by_index ();
23876  ;
23877  return 0;
23878}
23879_ACEOF
23880if ac_fn_c_try_link "$LINENO"; then :
23881  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes
23882else
23883  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no
23884fi
23885rm -f core conftest.err conftest.$ac_objext \
23886    conftest$ac_exeext conftest.$ac_ext
23887LIBS=$ac_check_lib_save_LIBS
23888fi
23889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5
23890$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; }
23891if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then :
23892  ac_cv_libcdata_dummy=yes
23893else
23894  ac_cv_libcdata=no
23895fi
23896
23897        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5
23898$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; }
23899if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then :
23900  $as_echo_n "(cached) " >&6
23901else
23902  ac_check_lib_save_LIBS=$LIBS
23903LIBS="-lcdata  $LIBS"
23904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905/* end confdefs.h.  */
23906
23907/* Override any GCC internal prototype to avoid an error.
23908   Use char because int might match the return type of a GCC
23909   builtin and then its argument prototype would still apply.  */
23910#ifdef __cplusplus
23911extern "C"
23912#endif
23913char libcdata_tree_node_get_leaf_node_list ();
23914int
23915main ()
23916{
23917return libcdata_tree_node_get_leaf_node_list ();
23918  ;
23919  return 0;
23920}
23921_ACEOF
23922if ac_fn_c_try_link "$LINENO"; then :
23923  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes
23924else
23925  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no
23926fi
23927rm -f core conftest.err conftest.$ac_objext \
23928    conftest$ac_exeext conftest.$ac_ext
23929LIBS=$ac_check_lib_save_LIBS
23930fi
23931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5
23932$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; }
23933if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then :
23934  ac_cv_libcdata_dummy=yes
23935else
23936  ac_cv_libcdata=no
23937fi
23938
23939
23940        ac_cv_libcdata_LIBADD="-lcdata"
23941fi
23942
23943fi
23944    if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then :
23945  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23947as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata
23948See \`config.log' for more details" "$LINENO" 5; }
23949
23950fi
23951
23952fi
23953
23954  if test "x$ac_cv_libcdata" = xyes; then :
23955
23956$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h
23957
23958
23959fi
23960
23961  if test "x$ac_cv_libcdata" = xyes; then :
23962  HAVE_LIBCDATA=1
23963
23964else
23965  HAVE_LIBCDATA=0
23966
23967
23968fi
23969
23970
23971    if test "x$ac_cv_libcdata" != xyes; then :
23972
23973  ac_cv_libcdata_CPPFLAGS="-I../libcdata";
23974  ac_cv_libcdata_LIBADD="../libcdata/libcdata.la";
23975
23976  ac_cv_libcdata=local
23977
23978
23979
23980$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h
23981
23982    HAVE_LOCAL_LIBCDATA=1
23983
23984
23985fi
23986
23987   if test "x$ac_cv_libcdata" = xlocal; then
23988  HAVE_LOCAL_LIBCDATA_TRUE=
23989  HAVE_LOCAL_LIBCDATA_FALSE='#'
23990else
23991  HAVE_LOCAL_LIBCDATA_TRUE='#'
23992  HAVE_LOCAL_LIBCDATA_FALSE=
23993fi
23994
23995  if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then :
23996  LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS
23997
23998
23999fi
24000  if test "x$ac_cv_libcdata_LIBADD" != "x"; then :
24001  LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD
24002
24003
24004fi
24005
24006  if test "x$ac_cv_libcdata" = xyes; then :
24007  ax_libcdata_pc_libs_private=-lcdata
24008
24009
24010fi
24011
24012  if test "x$ac_cv_libcdata" = xyes; then :
24013  ax_libcdata_spec_requires=libcdata
24014
24015    ax_libcdata_spec_build_requires=libcdata-devel
24016
24017
24018fi
24019
24020
24021
24022
24023# Check whether --with-libclocale was given.
24024if test "${with_libclocale+set}" = set; then :
24025  withval=$with_libclocale; ac_cv_with_libclocale=$withval
24026else
24027  ac_cv_with_libclocale=auto-detect
24028fi
24029
24030    { $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
24031$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; }
24032if ${ac_cv_with_libclocale+:} false; then :
24033  $as_echo_n "(cached) " >&6
24034else
24035  ac_cv_with_libclocale=auto-detect
24036fi
24037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5
24038$as_echo "$ac_cv_with_libclocale" >&6; }
24039
24040    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then :
24041  ac_cv_libclocale=no
24042else
24043  ac_cv_libclocale=check
24044        if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then :
24045  if test -d "$ac_cv_with_libclocale"; then :
24046  CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include"
24047        LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib"
24048else
24049  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24050$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24051as_fn_error 1 "no such directory: $ac_cv_with_libclocale
24052See \`config.log' for more details" "$LINENO" 5; }
24053
24054fi
24055
24056else
24057        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
24058
24059pkg_failed=no
24060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5
24061$as_echo_n "checking for libclocale... " >&6; }
24062
24063if test -n "$libclocale_CFLAGS"; then
24064    pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS"
24065 elif test -n "$PKG_CONFIG"; then
24066    if test -n "$PKG_CONFIG" && \
24067    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
24068  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
24069  ac_status=$?
24070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24071  test $ac_status = 0; }; then
24072  pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null`
24073		      test "x$?" != "x0" && pkg_failed=yes
24074else
24075  pkg_failed=yes
24076fi
24077 else
24078    pkg_failed=untried
24079fi
24080if test -n "$libclocale_LIBS"; then
24081    pkg_cv_libclocale_LIBS="$libclocale_LIBS"
24082 elif test -n "$PKG_CONFIG"; then
24083    if test -n "$PKG_CONFIG" && \
24084    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
24085  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
24086  ac_status=$?
24087  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24088  test $ac_status = 0; }; then
24089  pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null`
24090		      test "x$?" != "x0" && pkg_failed=yes
24091else
24092  pkg_failed=yes
24093fi
24094 else
24095    pkg_failed=untried
24096fi
24097
24098
24099
24100if test $pkg_failed = yes; then
24101   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24102$as_echo "no" >&6; }
24103
24104if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24105        _pkg_short_errors_supported=yes
24106else
24107        _pkg_short_errors_supported=no
24108fi
24109        if test $_pkg_short_errors_supported = yes; then
24110	        libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
24111        else
24112	        libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
24113        fi
24114	# Put the nasty error message in config.log where it belongs
24115	echo "$libclocale_PKG_ERRORS" >&5
24116
24117	ac_cv_libclocale=check
24118elif test $pkg_failed = untried; then
24119     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24120$as_echo "no" >&6; }
24121	ac_cv_libclocale=check
24122else
24123	libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS
24124	libclocale_LIBS=$pkg_cv_libclocale_LIBS
24125        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24126$as_echo "yes" >&6; }
24127	ac_cv_libclocale=yes
24128fi
24129
24130fi
24131      if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
24132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
24133$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
24134if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then :
24135  $as_echo_n "(cached) " >&6
24136else
24137  ac_ext=c
24138ac_cpp='$CPP $CPPFLAGS'
24139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24141ac_compiler_gnu=$ac_cv_c_compiler_gnu
24142
24143          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24144/* end confdefs.h.  */
24145#include <libclocale/features.h>
24146int
24147main ()
24148{
24149#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 )
24150#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined
24151#endif
24152  ;
24153  return 0;
24154}
24155_ACEOF
24156if ac_fn_c_try_compile "$LINENO"; then :
24157  ac_cv_header_libclocale_features_h_have_wide_character_type=yes
24158else
24159  ac_cv_header_libclocale_features_h_have_wide_character_type=no
24160fi
24161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162          ac_ext=c
24163ac_cpp='$CPP $CPPFLAGS'
24164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168fi
24169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5
24170$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; }
24171
24172        if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then :
24173  ac_cv_libclocale=no
24174fi
24175
24176fi
24177      if test "x$ac_cv_libclocale" = xyes; then :
24178  ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS"
24179        ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS"
24180fi
24181
24182fi
24183
24184    if test "x$ac_cv_libclocale" = xcheck; then :
24185        for ac_header in libclocale.h
24186do :
24187  ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default"
24188if test "x$ac_cv_header_libclocale_h" = xyes; then :
24189  cat >>confdefs.h <<_ACEOF
24190#define HAVE_LIBCLOCALE_H 1
24191_ACEOF
24192
24193fi
24194
24195done
24196
24197
24198      if test "x$ac_cv_header_libclocale_h" = xno; then :
24199  ac_cv_libclocale=no
24200else
24201          ac_cv_libclocale=yes
24202
24203        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5
24204$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; }
24205if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then :
24206  $as_echo_n "(cached) " >&6
24207else
24208  ac_check_lib_save_LIBS=$LIBS
24209LIBS="-lclocale  $LIBS"
24210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211/* end confdefs.h.  */
24212
24213/* Override any GCC internal prototype to avoid an error.
24214   Use char because int might match the return type of a GCC
24215   builtin and then its argument prototype would still apply.  */
24216#ifdef __cplusplus
24217extern "C"
24218#endif
24219char libclocale_get_version ();
24220int
24221main ()
24222{
24223return libclocale_get_version ();
24224  ;
24225  return 0;
24226}
24227_ACEOF
24228if ac_fn_c_try_link "$LINENO"; then :
24229  ac_cv_lib_clocale_libclocale_get_version=yes
24230else
24231  ac_cv_lib_clocale_libclocale_get_version=no
24232fi
24233rm -f core conftest.err conftest.$ac_objext \
24234    conftest$ac_exeext conftest.$ac_ext
24235LIBS=$ac_check_lib_save_LIBS
24236fi
24237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5
24238$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; }
24239if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then :
24240  ac_cv_libclocale_dummy=yes
24241else
24242  ac_cv_libclocale=no
24243fi
24244
24245
24246                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5
24247$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; }
24248if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then :
24249  $as_echo_n "(cached) " >&6
24250else
24251  ac_check_lib_save_LIBS=$LIBS
24252LIBS="-lclocale  $LIBS"
24253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24254/* end confdefs.h.  */
24255
24256/* Override any GCC internal prototype to avoid an error.
24257   Use char because int might match the return type of a GCC
24258   builtin and then its argument prototype would still apply.  */
24259#ifdef __cplusplus
24260extern "C"
24261#endif
24262char libclocale_codepage ();
24263int
24264main ()
24265{
24266return libclocale_codepage ();
24267  ;
24268  return 0;
24269}
24270_ACEOF
24271if ac_fn_c_try_link "$LINENO"; then :
24272  ac_cv_lib_clocale_libclocale_codepage=yes
24273else
24274  ac_cv_lib_clocale_libclocale_codepage=no
24275fi
24276rm -f core conftest.err conftest.$ac_objext \
24277    conftest$ac_exeext conftest.$ac_ext
24278LIBS=$ac_check_lib_save_LIBS
24279fi
24280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5
24281$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; }
24282if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then :
24283  ac_cv_libclocale_dummy=yes
24284else
24285  ac_cv_libclocale=no
24286fi
24287
24288        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5
24289$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; }
24290if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then :
24291  $as_echo_n "(cached) " >&6
24292else
24293  ac_check_lib_save_LIBS=$LIBS
24294LIBS="-lclocale  $LIBS"
24295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296/* end confdefs.h.  */
24297
24298/* Override any GCC internal prototype to avoid an error.
24299   Use char because int might match the return type of a GCC
24300   builtin and then its argument prototype would still apply.  */
24301#ifdef __cplusplus
24302extern "C"
24303#endif
24304char libclocale_codepage_get ();
24305int
24306main ()
24307{
24308return libclocale_codepage_get ();
24309  ;
24310  return 0;
24311}
24312_ACEOF
24313if ac_fn_c_try_link "$LINENO"; then :
24314  ac_cv_lib_clocale_libclocale_codepage_get=yes
24315else
24316  ac_cv_lib_clocale_libclocale_codepage_get=no
24317fi
24318rm -f core conftest.err conftest.$ac_objext \
24319    conftest$ac_exeext conftest.$ac_ext
24320LIBS=$ac_check_lib_save_LIBS
24321fi
24322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5
24323$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; }
24324if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then :
24325  ac_cv_libclocale_dummy=yes
24326else
24327  ac_cv_libclocale=no
24328fi
24329
24330        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5
24331$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; }
24332if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then :
24333  $as_echo_n "(cached) " >&6
24334else
24335  ac_check_lib_save_LIBS=$LIBS
24336LIBS="-lclocale  $LIBS"
24337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338/* end confdefs.h.  */
24339
24340/* Override any GCC internal prototype to avoid an error.
24341   Use char because int might match the return type of a GCC
24342   builtin and then its argument prototype would still apply.  */
24343#ifdef __cplusplus
24344extern "C"
24345#endif
24346char libclocale_codepage_set ();
24347int
24348main ()
24349{
24350return libclocale_codepage_set ();
24351  ;
24352  return 0;
24353}
24354_ACEOF
24355if ac_fn_c_try_link "$LINENO"; then :
24356  ac_cv_lib_clocale_libclocale_codepage_set=yes
24357else
24358  ac_cv_lib_clocale_libclocale_codepage_set=no
24359fi
24360rm -f core conftest.err conftest.$ac_objext \
24361    conftest$ac_exeext conftest.$ac_ext
24362LIBS=$ac_check_lib_save_LIBS
24363fi
24364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5
24365$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; }
24366if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then :
24367  ac_cv_libclocale_dummy=yes
24368else
24369  ac_cv_libclocale=no
24370fi
24371
24372        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5
24373$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; }
24374if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then :
24375  $as_echo_n "(cached) " >&6
24376else
24377  ac_check_lib_save_LIBS=$LIBS
24378LIBS="-lclocale  $LIBS"
24379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24380/* end confdefs.h.  */
24381
24382/* Override any GCC internal prototype to avoid an error.
24383   Use char because int might match the return type of a GCC
24384   builtin and then its argument prototype would still apply.  */
24385#ifdef __cplusplus
24386extern "C"
24387#endif
24388char libclocale_codepage_copy_from_string ();
24389int
24390main ()
24391{
24392return libclocale_codepage_copy_from_string ();
24393  ;
24394  return 0;
24395}
24396_ACEOF
24397if ac_fn_c_try_link "$LINENO"; then :
24398  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes
24399else
24400  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no
24401fi
24402rm -f core conftest.err conftest.$ac_objext \
24403    conftest$ac_exeext conftest.$ac_ext
24404LIBS=$ac_check_lib_save_LIBS
24405fi
24406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5
24407$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; }
24408if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then :
24409  ac_cv_libclocale_dummy=yes
24410else
24411  ac_cv_libclocale=no
24412fi
24413
24414
24415        if test "x$ac_cv_enable_wide_character_type" != xno; then :
24416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5
24417$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; }
24418if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then :
24419  $as_echo_n "(cached) " >&6
24420else
24421  ac_check_lib_save_LIBS=$LIBS
24422LIBS="-lclocale  $LIBS"
24423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424/* end confdefs.h.  */
24425
24426/* Override any GCC internal prototype to avoid an error.
24427   Use char because int might match the return type of a GCC
24428   builtin and then its argument prototype would still apply.  */
24429#ifdef __cplusplus
24430extern "C"
24431#endif
24432char libclocale_codepage_copy_from_string_wide ();
24433int
24434main ()
24435{
24436return libclocale_codepage_copy_from_string_wide ();
24437  ;
24438  return 0;
24439}
24440_ACEOF
24441if ac_fn_c_try_link "$LINENO"; then :
24442  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes
24443else
24444  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no
24445fi
24446rm -f core conftest.err conftest.$ac_objext \
24447    conftest$ac_exeext conftest.$ac_ext
24448LIBS=$ac_check_lib_save_LIBS
24449fi
24450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5
24451$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; }
24452if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then :
24453  ac_cv_libclocale_dummy=yes
24454else
24455  ac_cv_libclocale=no
24456fi
24457
24458
24459fi
24460
24461                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5
24462$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; }
24463if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then :
24464  $as_echo_n "(cached) " >&6
24465else
24466  ac_check_lib_save_LIBS=$LIBS
24467LIBS="-lclocale  $LIBS"
24468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469/* end confdefs.h.  */
24470
24471/* Override any GCC internal prototype to avoid an error.
24472   Use char because int might match the return type of a GCC
24473   builtin and then its argument prototype would still apply.  */
24474#ifdef __cplusplus
24475extern "C"
24476#endif
24477char libclocale_locale_get_codepage ();
24478int
24479main ()
24480{
24481return libclocale_locale_get_codepage ();
24482  ;
24483  return 0;
24484}
24485_ACEOF
24486if ac_fn_c_try_link "$LINENO"; then :
24487  ac_cv_lib_clocale_libclocale_locale_get_codepage=yes
24488else
24489  ac_cv_lib_clocale_libclocale_locale_get_codepage=no
24490fi
24491rm -f core conftest.err conftest.$ac_objext \
24492    conftest$ac_exeext conftest.$ac_ext
24493LIBS=$ac_check_lib_save_LIBS
24494fi
24495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5
24496$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; }
24497if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then :
24498  ac_cv_libclocale_dummy=yes
24499else
24500  ac_cv_libclocale=no
24501fi
24502
24503        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5
24504$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; }
24505if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then :
24506  $as_echo_n "(cached) " >&6
24507else
24508  ac_check_lib_save_LIBS=$LIBS
24509LIBS="-lclocale  $LIBS"
24510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24511/* end confdefs.h.  */
24512
24513/* Override any GCC internal prototype to avoid an error.
24514   Use char because int might match the return type of a GCC
24515   builtin and then its argument prototype would still apply.  */
24516#ifdef __cplusplus
24517extern "C"
24518#endif
24519char libclocale_locale_get_decimal_point ();
24520int
24521main ()
24522{
24523return libclocale_locale_get_decimal_point ();
24524  ;
24525  return 0;
24526}
24527_ACEOF
24528if ac_fn_c_try_link "$LINENO"; then :
24529  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes
24530else
24531  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no
24532fi
24533rm -f core conftest.err conftest.$ac_objext \
24534    conftest$ac_exeext conftest.$ac_ext
24535LIBS=$ac_check_lib_save_LIBS
24536fi
24537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5
24538$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; }
24539if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then :
24540  ac_cv_libclocale_dummy=yes
24541else
24542  ac_cv_libclocale=no
24543fi
24544
24545
24546                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5
24547$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; }
24548if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then :
24549  $as_echo_n "(cached) " >&6
24550else
24551  ac_check_lib_save_LIBS=$LIBS
24552LIBS="-lclocale  $LIBS"
24553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24554/* end confdefs.h.  */
24555
24556/* Override any GCC internal prototype to avoid an error.
24557   Use char because int might match the return type of a GCC
24558   builtin and then its argument prototype would still apply.  */
24559#ifdef __cplusplus
24560extern "C"
24561#endif
24562char libclocale_initialize ();
24563int
24564main ()
24565{
24566return libclocale_initialize ();
24567  ;
24568  return 0;
24569}
24570_ACEOF
24571if ac_fn_c_try_link "$LINENO"; then :
24572  ac_cv_lib_clocale_libclocale_initialize=yes
24573else
24574  ac_cv_lib_clocale_libclocale_initialize=no
24575fi
24576rm -f core conftest.err conftest.$ac_objext \
24577    conftest$ac_exeext conftest.$ac_ext
24578LIBS=$ac_check_lib_save_LIBS
24579fi
24580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5
24581$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; }
24582if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then :
24583  ac_cv_libclocale_dummy=yes
24584else
24585  ac_cv_libclocale=no
24586fi
24587
24588
24589        ac_cv_libclocale_LIBADD="-lclocale"
24590fi
24591
24592fi
24593    if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then :
24594  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24595$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24596as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale
24597See \`config.log' for more details" "$LINENO" 5; }
24598
24599fi
24600
24601fi
24602
24603  if test "x$ac_cv_libclocale" = xyes; then :
24604
24605$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h
24606
24607
24608fi
24609
24610  if test "x$ac_cv_libclocale" = xyes; then :
24611  HAVE_LIBCLOCALE=1
24612
24613else
24614  HAVE_LIBCLOCALE=0
24615
24616
24617fi
24618
24619
24620    if test "x$ac_cv_libclocale" != xyes; then :
24621    for ac_header in langinfo.h locale.h
24622do :
24623  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24624ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24625if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24626  cat >>confdefs.h <<_ACEOF
24627#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24628_ACEOF
24629
24630fi
24631
24632done
24633
24634
24635    for ac_func in getenv
24636do :
24637  ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
24638if test "x$ac_cv_func_getenv" = xyes; then :
24639  cat >>confdefs.h <<_ACEOF
24640#define HAVE_GETENV 1
24641_ACEOF
24642
24643fi
24644done
24645
24646
24647  if test "x$ac_cv_func_getenv" != xyes; then :
24648  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24650as_fn_error 1 "Missing function: getenv
24651See \`config.log' for more details" "$LINENO" 5; }
24652
24653fi
24654
24655    if test "x$ac_cv_enable_winapi" = xno; then :
24656  for ac_func in localeconv
24657do :
24658  ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
24659if test "x$ac_cv_func_localeconv" = xyes; then :
24660  cat >>confdefs.h <<_ACEOF
24661#define HAVE_LOCALECONV 1
24662_ACEOF
24663
24664fi
24665done
24666
24667
24668    if test "x$ac_cv_func_localeconv" != xyes; then :
24669  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24670$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24671as_fn_error 1 "Missing function: localeconv
24672See \`config.log' for more details" "$LINENO" 5; }
24673
24674fi
24675
24676fi
24677
24678  for ac_func in setlocale
24679do :
24680  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
24681if test "x$ac_cv_func_setlocale" = xyes; then :
24682  cat >>confdefs.h <<_ACEOF
24683#define HAVE_SETLOCALE 1
24684_ACEOF
24685
24686fi
24687done
24688
24689
24690  if test "x$ac_cv_func_setlocale" != xyes; then :
24691  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24693as_fn_error 1 "Missing function: setlocale
24694See \`config.log' for more details" "$LINENO" 5; }
24695
24696fi
24697
24698  for ac_func in nl_langinfo
24699do :
24700  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
24701if test "x$ac_cv_func_nl_langinfo" = xyes; then :
24702  cat >>confdefs.h <<_ACEOF
24703#define HAVE_NL_LANGINFO 1
24704_ACEOF
24705
24706fi
24707done
24708
24709
24710  if test "x$ac_cv_func_nl_langinfo" = xyes; then :
24711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5
24712$as_echo_n "checking for nl_langinfo CODESET support... " >&6; }
24713if ${ac_cv_cv_langinfo_codeset+:} false; then :
24714  $as_echo_n "(cached) " >&6
24715else
24716  ac_ext=c
24717ac_cpp='$CPP $CPPFLAGS'
24718ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24719ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24720ac_compiler_gnu=$ac_cv_c_compiler_gnu
24721
24722      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24723/* end confdefs.h.  */
24724#include <langinfo.h>
24725int
24726main ()
24727{
24728char* charset = nl_langinfo( CODESET );
24729  ;
24730  return 0;
24731}
24732_ACEOF
24733if ac_fn_c_try_link "$LINENO"; then :
24734  ac_cv_cv_langinfo_codeset=yes
24735else
24736  ac_cv_cv_langinfo_codeset=no
24737fi
24738rm -f core conftest.err conftest.$ac_objext \
24739    conftest$ac_exeext conftest.$ac_ext
24740      ac_ext=c
24741ac_cpp='$CPP $CPPFLAGS'
24742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24744ac_compiler_gnu=$ac_cv_c_compiler_gnu
24745
24746fi
24747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5
24748$as_echo "$ac_cv_cv_langinfo_codeset" >&6; }
24749else
24750  ac_cv_cv_langinfo_codeset=no
24751fi
24752
24753  if test "x$ac_cv_cv_langinfo_codeset" = xyes; then :
24754
24755$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
24756
24757
24758fi
24759
24760
24761  ac_cv_libclocale_CPPFLAGS="-I../libclocale";
24762  ac_cv_libclocale_LIBADD="../libclocale/libclocale.la";
24763
24764  ac_cv_libclocale=local
24765
24766
24767
24768$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h
24769
24770    HAVE_LOCAL_LIBCLOCALE=1
24771
24772
24773fi
24774
24775   if test "x$ac_cv_libclocale" = xlocal; then
24776  HAVE_LOCAL_LIBCLOCALE_TRUE=
24777  HAVE_LOCAL_LIBCLOCALE_FALSE='#'
24778else
24779  HAVE_LOCAL_LIBCLOCALE_TRUE='#'
24780  HAVE_LOCAL_LIBCLOCALE_FALSE=
24781fi
24782
24783  if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then :
24784  LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS
24785
24786
24787fi
24788  if test "x$ac_cv_libclocale_LIBADD" != "x"; then :
24789  LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD
24790
24791
24792fi
24793
24794  if test "x$ac_cv_libclocale" = xyes; then :
24795  ax_libclocale_pc_libs_private=-lclocale
24796
24797
24798fi
24799
24800  if test "x$ac_cv_libclocale" = xyes; then :
24801  ax_libclocale_spec_requires=libclocale
24802
24803    ax_libclocale_spec_build_requires=libclocale-devel
24804
24805
24806fi
24807
24808
24809
24810
24811# Check whether --with-libcnotify was given.
24812if test "${with_libcnotify+set}" = set; then :
24813  withval=$with_libcnotify; ac_cv_with_libcnotify=$withval
24814else
24815  ac_cv_with_libcnotify=auto-detect
24816fi
24817
24818    { $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
24819$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; }
24820if ${ac_cv_with_libcnotify+:} false; then :
24821  $as_echo_n "(cached) " >&6
24822else
24823  ac_cv_with_libcnotify=auto-detect
24824fi
24825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5
24826$as_echo "$ac_cv_with_libcnotify" >&6; }
24827
24828    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then :
24829  ac_cv_libcnotify=no
24830else
24831  ac_cv_libcnotify=check
24832        if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then :
24833  if test -d "$ac_cv_with_libcnotify"; then :
24834  CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include"
24835        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib"
24836else
24837  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24839as_fn_error 1 "no such directory: $ac_cv_with_libcnotify
24840See \`config.log' for more details" "$LINENO" 5; }
24841
24842fi
24843
24844else
24845        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
24846
24847pkg_failed=no
24848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5
24849$as_echo_n "checking for libcnotify... " >&6; }
24850
24851if test -n "$libcnotify_CFLAGS"; then
24852    pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS"
24853 elif test -n "$PKG_CONFIG"; then
24854    if test -n "$PKG_CONFIG" && \
24855    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
24856  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
24857  ac_status=$?
24858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24859  test $ac_status = 0; }; then
24860  pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null`
24861		      test "x$?" != "x0" && pkg_failed=yes
24862else
24863  pkg_failed=yes
24864fi
24865 else
24866    pkg_failed=untried
24867fi
24868if test -n "$libcnotify_LIBS"; then
24869    pkg_cv_libcnotify_LIBS="$libcnotify_LIBS"
24870 elif test -n "$PKG_CONFIG"; then
24871    if test -n "$PKG_CONFIG" && \
24872    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
24873  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
24874  ac_status=$?
24875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24876  test $ac_status = 0; }; then
24877  pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null`
24878		      test "x$?" != "x0" && pkg_failed=yes
24879else
24880  pkg_failed=yes
24881fi
24882 else
24883    pkg_failed=untried
24884fi
24885
24886
24887
24888if test $pkg_failed = yes; then
24889   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24890$as_echo "no" >&6; }
24891
24892if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24893        _pkg_short_errors_supported=yes
24894else
24895        _pkg_short_errors_supported=no
24896fi
24897        if test $_pkg_short_errors_supported = yes; then
24898	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
24899        else
24900	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
24901        fi
24902	# Put the nasty error message in config.log where it belongs
24903	echo "$libcnotify_PKG_ERRORS" >&5
24904
24905	ac_cv_libcnotify=check
24906elif test $pkg_failed = untried; then
24907     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24908$as_echo "no" >&6; }
24909	ac_cv_libcnotify=check
24910else
24911	libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS
24912	libcnotify_LIBS=$pkg_cv_libcnotify_LIBS
24913        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24914$as_echo "yes" >&6; }
24915	ac_cv_libcnotify=yes
24916fi
24917
24918fi
24919      if test "x$ac_cv_libcnotify" = xyes; then :
24920  ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS"
24921        ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS"
24922fi
24923
24924fi
24925
24926    if test "x$ac_cv_libcnotify" = xcheck; then :
24927        for ac_header in libcnotify.h
24928do :
24929  ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default"
24930if test "x$ac_cv_header_libcnotify_h" = xyes; then :
24931  cat >>confdefs.h <<_ACEOF
24932#define HAVE_LIBCNOTIFY_H 1
24933_ACEOF
24934
24935fi
24936
24937done
24938
24939
24940      if test "x$ac_cv_header_libcnotify_h" = xno; then :
24941  ac_cv_libcnotify=no
24942else
24943          ac_cv_libcnotify=yes
24944
24945        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5
24946$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; }
24947if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then :
24948  $as_echo_n "(cached) " >&6
24949else
24950  ac_check_lib_save_LIBS=$LIBS
24951LIBS="-lcnotify  $LIBS"
24952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24953/* end confdefs.h.  */
24954
24955/* Override any GCC internal prototype to avoid an error.
24956   Use char because int might match the return type of a GCC
24957   builtin and then its argument prototype would still apply.  */
24958#ifdef __cplusplus
24959extern "C"
24960#endif
24961char libcnotify_get_version ();
24962int
24963main ()
24964{
24965return libcnotify_get_version ();
24966  ;
24967  return 0;
24968}
24969_ACEOF
24970if ac_fn_c_try_link "$LINENO"; then :
24971  ac_cv_lib_cnotify_libcnotify_get_version=yes
24972else
24973  ac_cv_lib_cnotify_libcnotify_get_version=no
24974fi
24975rm -f core conftest.err conftest.$ac_objext \
24976    conftest$ac_exeext conftest.$ac_ext
24977LIBS=$ac_check_lib_save_LIBS
24978fi
24979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5
24980$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; }
24981if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then :
24982  ac_cv_libcnotify_dummy=yes
24983else
24984  ac_cv_libcnotify=no
24985fi
24986
24987
24988                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5
24989$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; }
24990if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then :
24991  $as_echo_n "(cached) " >&6
24992else
24993  ac_check_lib_save_LIBS=$LIBS
24994LIBS="-lcnotify  $LIBS"
24995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24996/* end confdefs.h.  */
24997
24998/* Override any GCC internal prototype to avoid an error.
24999   Use char because int might match the return type of a GCC
25000   builtin and then its argument prototype would still apply.  */
25001#ifdef __cplusplus
25002extern "C"
25003#endif
25004char libcnotify_printf ();
25005int
25006main ()
25007{
25008return libcnotify_printf ();
25009  ;
25010  return 0;
25011}
25012_ACEOF
25013if ac_fn_c_try_link "$LINENO"; then :
25014  ac_cv_lib_cnotify_libcnotify_printf=yes
25015else
25016  ac_cv_lib_cnotify_libcnotify_printf=no
25017fi
25018rm -f core conftest.err conftest.$ac_objext \
25019    conftest$ac_exeext conftest.$ac_ext
25020LIBS=$ac_check_lib_save_LIBS
25021fi
25022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5
25023$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; }
25024if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then :
25025  ac_cv_libcnotify_dummy=yes
25026else
25027  ac_cv_libcnotify=no
25028fi
25029
25030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5
25031$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; }
25032if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then :
25033  $as_echo_n "(cached) " >&6
25034else
25035  ac_check_lib_save_LIBS=$LIBS
25036LIBS="-lcnotify  $LIBS"
25037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25038/* end confdefs.h.  */
25039
25040/* Override any GCC internal prototype to avoid an error.
25041   Use char because int might match the return type of a GCC
25042   builtin and then its argument prototype would still apply.  */
25043#ifdef __cplusplus
25044extern "C"
25045#endif
25046char libcnotify_print_data ();
25047int
25048main ()
25049{
25050return libcnotify_print_data ();
25051  ;
25052  return 0;
25053}
25054_ACEOF
25055if ac_fn_c_try_link "$LINENO"; then :
25056  ac_cv_lib_cnotify_libcnotify_print_data=yes
25057else
25058  ac_cv_lib_cnotify_libcnotify_print_data=no
25059fi
25060rm -f core conftest.err conftest.$ac_objext \
25061    conftest$ac_exeext conftest.$ac_ext
25062LIBS=$ac_check_lib_save_LIBS
25063fi
25064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5
25065$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; }
25066if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then :
25067  ac_cv_libcnotify_dummy=yes
25068else
25069  ac_cv_libcnotify=no
25070fi
25071
25072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5
25073$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; }
25074if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then :
25075  $as_echo_n "(cached) " >&6
25076else
25077  ac_check_lib_save_LIBS=$LIBS
25078LIBS="-lcnotify  $LIBS"
25079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080/* end confdefs.h.  */
25081
25082/* Override any GCC internal prototype to avoid an error.
25083   Use char because int might match the return type of a GCC
25084   builtin and then its argument prototype would still apply.  */
25085#ifdef __cplusplus
25086extern "C"
25087#endif
25088char libcnotify_print_error_backtrace ();
25089int
25090main ()
25091{
25092return libcnotify_print_error_backtrace ();
25093  ;
25094  return 0;
25095}
25096_ACEOF
25097if ac_fn_c_try_link "$LINENO"; then :
25098  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes
25099else
25100  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no
25101fi
25102rm -f core conftest.err conftest.$ac_objext \
25103    conftest$ac_exeext conftest.$ac_ext
25104LIBS=$ac_check_lib_save_LIBS
25105fi
25106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5
25107$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; }
25108if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then :
25109  ac_cv_libcnotify_dummy=yes
25110else
25111  ac_cv_libcnotify=no
25112fi
25113
25114
25115                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5
25116$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; }
25117if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then :
25118  $as_echo_n "(cached) " >&6
25119else
25120  ac_check_lib_save_LIBS=$LIBS
25121LIBS="-lcnotify  $LIBS"
25122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25123/* end confdefs.h.  */
25124
25125/* Override any GCC internal prototype to avoid an error.
25126   Use char because int might match the return type of a GCC
25127   builtin and then its argument prototype would still apply.  */
25128#ifdef __cplusplus
25129extern "C"
25130#endif
25131char libcnotify_stream_set ();
25132int
25133main ()
25134{
25135return libcnotify_stream_set ();
25136  ;
25137  return 0;
25138}
25139_ACEOF
25140if ac_fn_c_try_link "$LINENO"; then :
25141  ac_cv_lib_cnotify_libcnotify_stream_set=yes
25142else
25143  ac_cv_lib_cnotify_libcnotify_stream_set=no
25144fi
25145rm -f core conftest.err conftest.$ac_objext \
25146    conftest$ac_exeext conftest.$ac_ext
25147LIBS=$ac_check_lib_save_LIBS
25148fi
25149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5
25150$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; }
25151if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then :
25152  ac_cv_libcnotify_dummy=yes
25153else
25154  ac_cv_libcnotify=no
25155fi
25156
25157        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5
25158$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; }
25159if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then :
25160  $as_echo_n "(cached) " >&6
25161else
25162  ac_check_lib_save_LIBS=$LIBS
25163LIBS="-lcnotify  $LIBS"
25164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25165/* end confdefs.h.  */
25166
25167/* Override any GCC internal prototype to avoid an error.
25168   Use char because int might match the return type of a GCC
25169   builtin and then its argument prototype would still apply.  */
25170#ifdef __cplusplus
25171extern "C"
25172#endif
25173char libcnotify_stream_open ();
25174int
25175main ()
25176{
25177return libcnotify_stream_open ();
25178  ;
25179  return 0;
25180}
25181_ACEOF
25182if ac_fn_c_try_link "$LINENO"; then :
25183  ac_cv_lib_cnotify_libcnotify_stream_open=yes
25184else
25185  ac_cv_lib_cnotify_libcnotify_stream_open=no
25186fi
25187rm -f core conftest.err conftest.$ac_objext \
25188    conftest$ac_exeext conftest.$ac_ext
25189LIBS=$ac_check_lib_save_LIBS
25190fi
25191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5
25192$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; }
25193if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then :
25194  ac_cv_libcnotify_dummy=yes
25195else
25196  ac_cv_libcnotify=no
25197fi
25198
25199        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5
25200$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; }
25201if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then :
25202  $as_echo_n "(cached) " >&6
25203else
25204  ac_check_lib_save_LIBS=$LIBS
25205LIBS="-lcnotify  $LIBS"
25206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207/* end confdefs.h.  */
25208
25209/* Override any GCC internal prototype to avoid an error.
25210   Use char because int might match the return type of a GCC
25211   builtin and then its argument prototype would still apply.  */
25212#ifdef __cplusplus
25213extern "C"
25214#endif
25215char libcnotify_stream_close ();
25216int
25217main ()
25218{
25219return libcnotify_stream_close ();
25220  ;
25221  return 0;
25222}
25223_ACEOF
25224if ac_fn_c_try_link "$LINENO"; then :
25225  ac_cv_lib_cnotify_libcnotify_stream_close=yes
25226else
25227  ac_cv_lib_cnotify_libcnotify_stream_close=no
25228fi
25229rm -f core conftest.err conftest.$ac_objext \
25230    conftest$ac_exeext conftest.$ac_ext
25231LIBS=$ac_check_lib_save_LIBS
25232fi
25233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5
25234$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; }
25235if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then :
25236  ac_cv_libcnotify_dummy=yes
25237else
25238  ac_cv_libcnotify=no
25239fi
25240
25241
25242                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5
25243$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; }
25244if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then :
25245  $as_echo_n "(cached) " >&6
25246else
25247  ac_check_lib_save_LIBS=$LIBS
25248LIBS="-lcnotify  $LIBS"
25249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25250/* end confdefs.h.  */
25251
25252/* Override any GCC internal prototype to avoid an error.
25253   Use char because int might match the return type of a GCC
25254   builtin and then its argument prototype would still apply.  */
25255#ifdef __cplusplus
25256extern "C"
25257#endif
25258char libcnotify_verbose_set ();
25259int
25260main ()
25261{
25262return libcnotify_verbose_set ();
25263  ;
25264  return 0;
25265}
25266_ACEOF
25267if ac_fn_c_try_link "$LINENO"; then :
25268  ac_cv_lib_cnotify_libcnotify_verbose_set=yes
25269else
25270  ac_cv_lib_cnotify_libcnotify_verbose_set=no
25271fi
25272rm -f core conftest.err conftest.$ac_objext \
25273    conftest$ac_exeext conftest.$ac_ext
25274LIBS=$ac_check_lib_save_LIBS
25275fi
25276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5
25277$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; }
25278if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then :
25279  ac_cv_libcnotify_dummy=yes
25280else
25281  ac_cv_libcnotify=no
25282fi
25283
25284
25285        ac_cv_libcnotify_LIBADD="-lcnotify"
25286fi
25287
25288fi
25289    if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then :
25290  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25292as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify
25293See \`config.log' for more details" "$LINENO" 5; }
25294
25295fi
25296
25297fi
25298
25299  if test "x$ac_cv_libcnotify" = xyes; then :
25300
25301$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h
25302
25303
25304fi
25305
25306  if test "x$ac_cv_libcnotify" = xyes; then :
25307  HAVE_LIBCNOTIFY=1
25308
25309else
25310  HAVE_LIBCNOTIFY=0
25311
25312
25313fi
25314
25315
25316    if test "x$ac_cv_libcnotify" != xyes; then :
25317    for ac_header in stdarg.h varargs.h
25318do :
25319  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25320ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25321if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25322  cat >>confdefs.h <<_ACEOF
25323#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25324_ACEOF
25325
25326fi
25327
25328done
25329
25330
25331  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
25332  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25334as_fn_error 1 "Missing headers: stdarg.h and varargs.h
25335See \`config.log' for more details" "$LINENO" 5; }
25336
25337fi
25338
25339    for ac_header in errno.h
25340do :
25341  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
25342if test "x$ac_cv_header_errno_h" = xyes; then :
25343  cat >>confdefs.h <<_ACEOF
25344#define HAVE_ERRNO_H 1
25345_ACEOF
25346
25347fi
25348
25349done
25350
25351
25352  ac_cv_libcnotify_CPPFLAGS="-I../libcnotify";
25353  ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la";
25354
25355  ac_cv_libcnotify=local
25356
25357
25358
25359$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h
25360
25361    HAVE_LOCAL_LIBCNOTIFY=1
25362
25363
25364fi
25365
25366   if test "x$ac_cv_libcnotify" = xlocal; then
25367  HAVE_LOCAL_LIBCNOTIFY_TRUE=
25368  HAVE_LOCAL_LIBCNOTIFY_FALSE='#'
25369else
25370  HAVE_LOCAL_LIBCNOTIFY_TRUE='#'
25371  HAVE_LOCAL_LIBCNOTIFY_FALSE=
25372fi
25373
25374  if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then :
25375  LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS
25376
25377
25378fi
25379  if test "x$ac_cv_libcnotify_LIBADD" != "x"; then :
25380  LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD
25381
25382
25383fi
25384
25385  if test "x$ac_cv_libcnotify" = xyes; then :
25386  ax_libcnotify_pc_libs_private=-lcnotify
25387
25388
25389fi
25390
25391  if test "x$ac_cv_libcnotify" = xyes; then :
25392  ax_libcnotify_spec_requires=libcnotify
25393
25394    ax_libcnotify_spec_build_requires=libcnotify-devel
25395
25396
25397fi
25398
25399
25400
25401
25402# Check whether --with-libcsplit was given.
25403if test "${with_libcsplit+set}" = set; then :
25404  withval=$with_libcsplit; ac_cv_with_libcsplit=$withval
25405else
25406  ac_cv_with_libcsplit=auto-detect
25407fi
25408
25409    { $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
25410$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; }
25411if ${ac_cv_with_libcsplit+:} false; then :
25412  $as_echo_n "(cached) " >&6
25413else
25414  ac_cv_with_libcsplit=auto-detect
25415fi
25416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5
25417$as_echo "$ac_cv_with_libcsplit" >&6; }
25418
25419    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then :
25420  ac_cv_libcsplit=no
25421else
25422  ac_cv_libcsplit=check
25423        if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then :
25424  if test -d "$ac_cv_with_libcsplit"; then :
25425  CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include"
25426        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib"
25427else
25428  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25429$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25430as_fn_error 1 "no such directory: $ac_cv_with_libcsplit
25431See \`config.log' for more details" "$LINENO" 5; }
25432
25433fi
25434
25435else
25436        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
25437
25438pkg_failed=no
25439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5
25440$as_echo_n "checking for libcsplit... " >&6; }
25441
25442if test -n "$libcsplit_CFLAGS"; then
25443    pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS"
25444 elif test -n "$PKG_CONFIG"; then
25445    if test -n "$PKG_CONFIG" && \
25446    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
25447  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
25448  ac_status=$?
25449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25450  test $ac_status = 0; }; then
25451  pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null`
25452		      test "x$?" != "x0" && pkg_failed=yes
25453else
25454  pkg_failed=yes
25455fi
25456 else
25457    pkg_failed=untried
25458fi
25459if test -n "$libcsplit_LIBS"; then
25460    pkg_cv_libcsplit_LIBS="$libcsplit_LIBS"
25461 elif test -n "$PKG_CONFIG"; then
25462    if test -n "$PKG_CONFIG" && \
25463    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
25464  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
25465  ac_status=$?
25466  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25467  test $ac_status = 0; }; then
25468  pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null`
25469		      test "x$?" != "x0" && pkg_failed=yes
25470else
25471  pkg_failed=yes
25472fi
25473 else
25474    pkg_failed=untried
25475fi
25476
25477
25478
25479if test $pkg_failed = yes; then
25480   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25481$as_echo "no" >&6; }
25482
25483if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25484        _pkg_short_errors_supported=yes
25485else
25486        _pkg_short_errors_supported=no
25487fi
25488        if test $_pkg_short_errors_supported = yes; then
25489	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
25490        else
25491	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
25492        fi
25493	# Put the nasty error message in config.log where it belongs
25494	echo "$libcsplit_PKG_ERRORS" >&5
25495
25496	ac_cv_libcsplit=check
25497elif test $pkg_failed = untried; then
25498     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25499$as_echo "no" >&6; }
25500	ac_cv_libcsplit=check
25501else
25502	libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS
25503	libcsplit_LIBS=$pkg_cv_libcsplit_LIBS
25504        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25505$as_echo "yes" >&6; }
25506	ac_cv_libcsplit=yes
25507fi
25508
25509fi
25510      if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
25511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
25512$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
25513if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then :
25514  $as_echo_n "(cached) " >&6
25515else
25516  ac_ext=c
25517ac_cpp='$CPP $CPPFLAGS'
25518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25520ac_compiler_gnu=$ac_cv_c_compiler_gnu
25521
25522          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523/* end confdefs.h.  */
25524#include <libcsplit/features.h>
25525int
25526main ()
25527{
25528#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 )
25529#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined
25530#endif
25531  ;
25532  return 0;
25533}
25534_ACEOF
25535if ac_fn_c_try_compile "$LINENO"; then :
25536  ac_cv_header_libcsplit_features_h_have_wide_character_type=yes
25537else
25538  ac_cv_header_libcsplit_features_h_have_wide_character_type=no
25539fi
25540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25541          ac_ext=c
25542ac_cpp='$CPP $CPPFLAGS'
25543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25545ac_compiler_gnu=$ac_cv_c_compiler_gnu
25546
25547fi
25548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5
25549$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; }
25550
25551         if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then :
25552  ac_cv_libcsplit=no
25553fi
25554
25555fi
25556      if test "x$ac_cv_libcsplit" = xyes; then :
25557  ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS"
25558        ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS"
25559fi
25560
25561fi
25562
25563    if test "x$ac_cv_libcsplit" = xcheck; then :
25564        for ac_header in libcsplit.h
25565do :
25566  ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default"
25567if test "x$ac_cv_header_libcsplit_h" = xyes; then :
25568  cat >>confdefs.h <<_ACEOF
25569#define HAVE_LIBCSPLIT_H 1
25570_ACEOF
25571
25572fi
25573
25574done
25575
25576
25577      if test "x$ac_cv_header_libcsplit_h" = xno; then :
25578  ac_cv_libcsplit=no
25579else
25580          ac_cv_libcsplit=yes
25581
25582        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5
25583$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; }
25584if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then :
25585  $as_echo_n "(cached) " >&6
25586else
25587  ac_check_lib_save_LIBS=$LIBS
25588LIBS="-lcsplit  $LIBS"
25589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25590/* end confdefs.h.  */
25591
25592/* Override any GCC internal prototype to avoid an error.
25593   Use char because int might match the return type of a GCC
25594   builtin and then its argument prototype would still apply.  */
25595#ifdef __cplusplus
25596extern "C"
25597#endif
25598char libcsplit_get_version ();
25599int
25600main ()
25601{
25602return libcsplit_get_version ();
25603  ;
25604  return 0;
25605}
25606_ACEOF
25607if ac_fn_c_try_link "$LINENO"; then :
25608  ac_cv_lib_csplit_libcsplit_get_version=yes
25609else
25610  ac_cv_lib_csplit_libcsplit_get_version=no
25611fi
25612rm -f core conftest.err conftest.$ac_objext \
25613    conftest$ac_exeext conftest.$ac_ext
25614LIBS=$ac_check_lib_save_LIBS
25615fi
25616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5
25617$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; }
25618if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then :
25619  ac_cv_libcsplit_dummy=yes
25620else
25621  ac_cv_libcsplit=no
25622fi
25623
25624
25625                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5
25626$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; }
25627if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then :
25628  $as_echo_n "(cached) " >&6
25629else
25630  ac_check_lib_save_LIBS=$LIBS
25631LIBS="-lcsplit  $LIBS"
25632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633/* end confdefs.h.  */
25634
25635/* Override any GCC internal prototype to avoid an error.
25636   Use char because int might match the return type of a GCC
25637   builtin and then its argument prototype would still apply.  */
25638#ifdef __cplusplus
25639extern "C"
25640#endif
25641char libcsplit_narrow_string_split ();
25642int
25643main ()
25644{
25645return libcsplit_narrow_string_split ();
25646  ;
25647  return 0;
25648}
25649_ACEOF
25650if ac_fn_c_try_link "$LINENO"; then :
25651  ac_cv_lib_csplit_libcsplit_narrow_string_split=yes
25652else
25653  ac_cv_lib_csplit_libcsplit_narrow_string_split=no
25654fi
25655rm -f core conftest.err conftest.$ac_objext \
25656    conftest$ac_exeext conftest.$ac_ext
25657LIBS=$ac_check_lib_save_LIBS
25658fi
25659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5
25660$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; }
25661if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then :
25662  ac_cv_libcsplit_dummy=yes
25663else
25664  ac_cv_libcsplit=no
25665fi
25666
25667
25668                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5
25669$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; }
25670if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then :
25671  $as_echo_n "(cached) " >&6
25672else
25673  ac_check_lib_save_LIBS=$LIBS
25674LIBS="-lcsplit  $LIBS"
25675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25676/* end confdefs.h.  */
25677
25678/* Override any GCC internal prototype to avoid an error.
25679   Use char because int might match the return type of a GCC
25680   builtin and then its argument prototype would still apply.  */
25681#ifdef __cplusplus
25682extern "C"
25683#endif
25684char libcsplit_narrow_split_string_free ();
25685int
25686main ()
25687{
25688return libcsplit_narrow_split_string_free ();
25689  ;
25690  return 0;
25691}
25692_ACEOF
25693if ac_fn_c_try_link "$LINENO"; then :
25694  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes
25695else
25696  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no
25697fi
25698rm -f core conftest.err conftest.$ac_objext \
25699    conftest$ac_exeext conftest.$ac_ext
25700LIBS=$ac_check_lib_save_LIBS
25701fi
25702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5
25703$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; }
25704if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then :
25705  ac_cv_libcsplit_dummy=yes
25706else
25707  ac_cv_libcsplit=no
25708fi
25709
25710        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5
25711$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; }
25712if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then :
25713  $as_echo_n "(cached) " >&6
25714else
25715  ac_check_lib_save_LIBS=$LIBS
25716LIBS="-lcsplit  $LIBS"
25717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718/* end confdefs.h.  */
25719
25720/* Override any GCC internal prototype to avoid an error.
25721   Use char because int might match the return type of a GCC
25722   builtin and then its argument prototype would still apply.  */
25723#ifdef __cplusplus
25724extern "C"
25725#endif
25726char libcsplit_narrow_split_string_get_string ();
25727int
25728main ()
25729{
25730return libcsplit_narrow_split_string_get_string ();
25731  ;
25732  return 0;
25733}
25734_ACEOF
25735if ac_fn_c_try_link "$LINENO"; then :
25736  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes
25737else
25738  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no
25739fi
25740rm -f core conftest.err conftest.$ac_objext \
25741    conftest$ac_exeext conftest.$ac_ext
25742LIBS=$ac_check_lib_save_LIBS
25743fi
25744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5
25745$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; }
25746if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then :
25747  ac_cv_libcsplit_dummy=yes
25748else
25749  ac_cv_libcsplit=no
25750fi
25751
25752        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5
25753$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; }
25754if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then :
25755  $as_echo_n "(cached) " >&6
25756else
25757  ac_check_lib_save_LIBS=$LIBS
25758LIBS="-lcsplit  $LIBS"
25759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760/* end confdefs.h.  */
25761
25762/* Override any GCC internal prototype to avoid an error.
25763   Use char because int might match the return type of a GCC
25764   builtin and then its argument prototype would still apply.  */
25765#ifdef __cplusplus
25766extern "C"
25767#endif
25768char libcsplit_narrow_split_string_get_number_of_segments ();
25769int
25770main ()
25771{
25772return libcsplit_narrow_split_string_get_number_of_segments ();
25773  ;
25774  return 0;
25775}
25776_ACEOF
25777if ac_fn_c_try_link "$LINENO"; then :
25778  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes
25779else
25780  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no
25781fi
25782rm -f core conftest.err conftest.$ac_objext \
25783    conftest$ac_exeext conftest.$ac_ext
25784LIBS=$ac_check_lib_save_LIBS
25785fi
25786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5
25787$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; }
25788if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then :
25789  ac_cv_libcsplit_dummy=yes
25790else
25791  ac_cv_libcsplit=no
25792fi
25793
25794        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5
25795$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; }
25796if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then :
25797  $as_echo_n "(cached) " >&6
25798else
25799  ac_check_lib_save_LIBS=$LIBS
25800LIBS="-lcsplit  $LIBS"
25801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25802/* end confdefs.h.  */
25803
25804/* Override any GCC internal prototype to avoid an error.
25805   Use char because int might match the return type of a GCC
25806   builtin and then its argument prototype would still apply.  */
25807#ifdef __cplusplus
25808extern "C"
25809#endif
25810char libcsplit_narrow_split_string_get_segment_by_index ();
25811int
25812main ()
25813{
25814return libcsplit_narrow_split_string_get_segment_by_index ();
25815  ;
25816  return 0;
25817}
25818_ACEOF
25819if ac_fn_c_try_link "$LINENO"; then :
25820  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes
25821else
25822  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no
25823fi
25824rm -f core conftest.err conftest.$ac_objext \
25825    conftest$ac_exeext conftest.$ac_ext
25826LIBS=$ac_check_lib_save_LIBS
25827fi
25828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5
25829$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; }
25830if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then :
25831  ac_cv_libcsplit_dummy=yes
25832else
25833  ac_cv_libcsplit=no
25834fi
25835
25836        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5
25837$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; }
25838if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then :
25839  $as_echo_n "(cached) " >&6
25840else
25841  ac_check_lib_save_LIBS=$LIBS
25842LIBS="-lcsplit  $LIBS"
25843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844/* end confdefs.h.  */
25845
25846/* Override any GCC internal prototype to avoid an error.
25847   Use char because int might match the return type of a GCC
25848   builtin and then its argument prototype would still apply.  */
25849#ifdef __cplusplus
25850extern "C"
25851#endif
25852char libcsplit_narrow_split_string_set_segment_by_index ();
25853int
25854main ()
25855{
25856return libcsplit_narrow_split_string_set_segment_by_index ();
25857  ;
25858  return 0;
25859}
25860_ACEOF
25861if ac_fn_c_try_link "$LINENO"; then :
25862  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes
25863else
25864  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no
25865fi
25866rm -f core conftest.err conftest.$ac_objext \
25867    conftest$ac_exeext conftest.$ac_ext
25868LIBS=$ac_check_lib_save_LIBS
25869fi
25870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5
25871$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; }
25872if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then :
25873  ac_cv_libcsplit_dummy=yes
25874else
25875  ac_cv_libcsplit=no
25876fi
25877
25878
25879                if test "x$ac_cv_enable_wide_character_type" != xno; then :
25880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5
25881$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; }
25882if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then :
25883  $as_echo_n "(cached) " >&6
25884else
25885  ac_check_lib_save_LIBS=$LIBS
25886LIBS="-lcsplit  $LIBS"
25887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25888/* end confdefs.h.  */
25889
25890/* Override any GCC internal prototype to avoid an error.
25891   Use char because int might match the return type of a GCC
25892   builtin and then its argument prototype would still apply.  */
25893#ifdef __cplusplus
25894extern "C"
25895#endif
25896char libcsplit_wide_string_split ();
25897int
25898main ()
25899{
25900return libcsplit_wide_string_split ();
25901  ;
25902  return 0;
25903}
25904_ACEOF
25905if ac_fn_c_try_link "$LINENO"; then :
25906  ac_cv_lib_csplit_libcsplit_wide_string_split=yes
25907else
25908  ac_cv_lib_csplit_libcsplit_wide_string_split=no
25909fi
25910rm -f core conftest.err conftest.$ac_objext \
25911    conftest$ac_exeext conftest.$ac_ext
25912LIBS=$ac_check_lib_save_LIBS
25913fi
25914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5
25915$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; }
25916if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then :
25917  ac_cv_libcsplit_dummy=yes
25918else
25919  ac_cv_libcsplit=no
25920fi
25921
25922
25923                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5
25924$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; }
25925if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then :
25926  $as_echo_n "(cached) " >&6
25927else
25928  ac_check_lib_save_LIBS=$LIBS
25929LIBS="-lcsplit  $LIBS"
25930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25931/* end confdefs.h.  */
25932
25933/* Override any GCC internal prototype to avoid an error.
25934   Use char because int might match the return type of a GCC
25935   builtin and then its argument prototype would still apply.  */
25936#ifdef __cplusplus
25937extern "C"
25938#endif
25939char libcsplit_wide_split_string_free ();
25940int
25941main ()
25942{
25943return libcsplit_wide_split_string_free ();
25944  ;
25945  return 0;
25946}
25947_ACEOF
25948if ac_fn_c_try_link "$LINENO"; then :
25949  ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes
25950else
25951  ac_cv_lib_csplit_libcsplit_wide_split_string_free=no
25952fi
25953rm -f core conftest.err conftest.$ac_objext \
25954    conftest$ac_exeext conftest.$ac_ext
25955LIBS=$ac_check_lib_save_LIBS
25956fi
25957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5
25958$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; }
25959if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then :
25960  ac_cv_libcsplit_dummy=yes
25961else
25962  ac_cv_libcsplit=no
25963fi
25964
25965          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5
25966$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; }
25967if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then :
25968  $as_echo_n "(cached) " >&6
25969else
25970  ac_check_lib_save_LIBS=$LIBS
25971LIBS="-lcsplit  $LIBS"
25972cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25973/* end confdefs.h.  */
25974
25975/* Override any GCC internal prototype to avoid an error.
25976   Use char because int might match the return type of a GCC
25977   builtin and then its argument prototype would still apply.  */
25978#ifdef __cplusplus
25979extern "C"
25980#endif
25981char libcsplit_wide_split_string_get_string ();
25982int
25983main ()
25984{
25985return libcsplit_wide_split_string_get_string ();
25986  ;
25987  return 0;
25988}
25989_ACEOF
25990if ac_fn_c_try_link "$LINENO"; then :
25991  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes
25992else
25993  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no
25994fi
25995rm -f core conftest.err conftest.$ac_objext \
25996    conftest$ac_exeext conftest.$ac_ext
25997LIBS=$ac_check_lib_save_LIBS
25998fi
25999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5
26000$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; }
26001if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then :
26002  ac_cv_libcsplit_dummy=yes
26003else
26004  ac_cv_libcsplit=no
26005fi
26006
26007          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5
26008$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; }
26009if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then :
26010  $as_echo_n "(cached) " >&6
26011else
26012  ac_check_lib_save_LIBS=$LIBS
26013LIBS="-lcsplit  $LIBS"
26014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015/* end confdefs.h.  */
26016
26017/* Override any GCC internal prototype to avoid an error.
26018   Use char because int might match the return type of a GCC
26019   builtin and then its argument prototype would still apply.  */
26020#ifdef __cplusplus
26021extern "C"
26022#endif
26023char libcsplit_wide_split_string_get_number_of_segments ();
26024int
26025main ()
26026{
26027return libcsplit_wide_split_string_get_number_of_segments ();
26028  ;
26029  return 0;
26030}
26031_ACEOF
26032if ac_fn_c_try_link "$LINENO"; then :
26033  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes
26034else
26035  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no
26036fi
26037rm -f core conftest.err conftest.$ac_objext \
26038    conftest$ac_exeext conftest.$ac_ext
26039LIBS=$ac_check_lib_save_LIBS
26040fi
26041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5
26042$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; }
26043if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then :
26044  ac_cv_libcsplit_dummy=yes
26045else
26046  ac_cv_libcsplit=no
26047fi
26048
26049          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5
26050$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; }
26051if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then :
26052  $as_echo_n "(cached) " >&6
26053else
26054  ac_check_lib_save_LIBS=$LIBS
26055LIBS="-lcsplit  $LIBS"
26056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26057/* end confdefs.h.  */
26058
26059/* Override any GCC internal prototype to avoid an error.
26060   Use char because int might match the return type of a GCC
26061   builtin and then its argument prototype would still apply.  */
26062#ifdef __cplusplus
26063extern "C"
26064#endif
26065char libcsplit_wide_split_string_get_segment_by_index ();
26066int
26067main ()
26068{
26069return libcsplit_wide_split_string_get_segment_by_index ();
26070  ;
26071  return 0;
26072}
26073_ACEOF
26074if ac_fn_c_try_link "$LINENO"; then :
26075  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes
26076else
26077  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no
26078fi
26079rm -f core conftest.err conftest.$ac_objext \
26080    conftest$ac_exeext conftest.$ac_ext
26081LIBS=$ac_check_lib_save_LIBS
26082fi
26083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5
26084$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; }
26085if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then :
26086  ac_cv_libcsplit_dummy=yes
26087else
26088  ac_cv_libcsplit=no
26089fi
26090
26091          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5
26092$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; }
26093if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then :
26094  $as_echo_n "(cached) " >&6
26095else
26096  ac_check_lib_save_LIBS=$LIBS
26097LIBS="-lcsplit  $LIBS"
26098cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099/* end confdefs.h.  */
26100
26101/* Override any GCC internal prototype to avoid an error.
26102   Use char because int might match the return type of a GCC
26103   builtin and then its argument prototype would still apply.  */
26104#ifdef __cplusplus
26105extern "C"
26106#endif
26107char libcsplit_wide_split_string_set_segment_by_index ();
26108int
26109main ()
26110{
26111return libcsplit_wide_split_string_set_segment_by_index ();
26112  ;
26113  return 0;
26114}
26115_ACEOF
26116if ac_fn_c_try_link "$LINENO"; then :
26117  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes
26118else
26119  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no
26120fi
26121rm -f core conftest.err conftest.$ac_objext \
26122    conftest$ac_exeext conftest.$ac_ext
26123LIBS=$ac_check_lib_save_LIBS
26124fi
26125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5
26126$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; }
26127if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then :
26128  ac_cv_libcsplit_dummy=yes
26129else
26130  ac_cv_libcsplit=no
26131fi
26132
26133
26134fi
26135
26136        ac_cv_libcsplit_LIBADD="-lcsplit"
26137fi
26138
26139fi
26140    if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then :
26141  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26143as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit
26144See \`config.log' for more details" "$LINENO" 5; }
26145
26146fi
26147
26148fi
26149
26150  if test "x$ac_cv_libcsplit" = xyes; then :
26151
26152$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h
26153
26154
26155fi
26156
26157  if test "x$ac_cv_libcsplit" = xyes; then :
26158  HAVE_LIBCSPLIT=1
26159
26160else
26161  HAVE_LIBCSPLIT=0
26162
26163
26164fi
26165
26166
26167    if test "x$ac_cv_libcsplit" != xyes; then :
26168
26169  ac_cv_libcsplit_CPPFLAGS="-I../libcsplit";
26170  ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la";
26171
26172  ac_cv_libcsplit=local
26173
26174
26175
26176$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h
26177
26178    HAVE_LOCAL_LIBCSPLIT=1
26179
26180
26181fi
26182
26183   if test "x$ac_cv_libcsplit" = xlocal; then
26184  HAVE_LOCAL_LIBCSPLIT_TRUE=
26185  HAVE_LOCAL_LIBCSPLIT_FALSE='#'
26186else
26187  HAVE_LOCAL_LIBCSPLIT_TRUE='#'
26188  HAVE_LOCAL_LIBCSPLIT_FALSE=
26189fi
26190
26191  if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then :
26192  LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS
26193
26194
26195fi
26196  if test "x$ac_cv_libcsplit_LIBADD" != "x"; then :
26197  LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD
26198
26199
26200fi
26201
26202  if test "x$ac_cv_libcsplit" = xyes; then :
26203  ax_libcsplit_pc_libs_private=-lcsplit
26204
26205
26206fi
26207
26208  if test "x$ac_cv_libcsplit" = xyes; then :
26209  ax_libcsplit_spec_requires=libcsplit
26210
26211    ax_libcsplit_spec_build_requires=libcsplit-devel
26212
26213
26214fi
26215
26216
26217
26218
26219# Check whether --with-libuna was given.
26220if test "${with_libuna+set}" = set; then :
26221  withval=$with_libuna; ac_cv_with_libuna=$withval
26222else
26223  ac_cv_with_libuna=auto-detect
26224fi
26225
26226    { $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
26227$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; }
26228if ${ac_cv_with_libuna+:} false; then :
26229  $as_echo_n "(cached) " >&6
26230else
26231  ac_cv_with_libuna=auto-detect
26232fi
26233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5
26234$as_echo "$ac_cv_with_libuna" >&6; }
26235
26236    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then :
26237  ac_cv_libuna=no
26238else
26239  ac_cv_libuna=check
26240        if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then :
26241  if test -d "$ac_cv_with_libuna"; then :
26242  CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include"
26243        LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib"
26244else
26245  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26247as_fn_error 1 "no such directory: $ac_cv_with_libuna
26248See \`config.log' for more details" "$LINENO" 5; }
26249
26250fi
26251
26252else
26253        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
26254
26255pkg_failed=no
26256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5
26257$as_echo_n "checking for libuna... " >&6; }
26258
26259if test -n "$libuna_CFLAGS"; then
26260    pkg_cv_libuna_CFLAGS="$libuna_CFLAGS"
26261 elif test -n "$PKG_CONFIG"; then
26262    if test -n "$PKG_CONFIG" && \
26263    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20181006\""; } >&5
26264  ($PKG_CONFIG --exists --print-errors "libuna >= 20181006") 2>&5
26265  ac_status=$?
26266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26267  test $ac_status = 0; }; then
26268  pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20181006" 2>/dev/null`
26269		      test "x$?" != "x0" && pkg_failed=yes
26270else
26271  pkg_failed=yes
26272fi
26273 else
26274    pkg_failed=untried
26275fi
26276if test -n "$libuna_LIBS"; then
26277    pkg_cv_libuna_LIBS="$libuna_LIBS"
26278 elif test -n "$PKG_CONFIG"; then
26279    if test -n "$PKG_CONFIG" && \
26280    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20181006\""; } >&5
26281  ($PKG_CONFIG --exists --print-errors "libuna >= 20181006") 2>&5
26282  ac_status=$?
26283  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26284  test $ac_status = 0; }; then
26285  pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20181006" 2>/dev/null`
26286		      test "x$?" != "x0" && pkg_failed=yes
26287else
26288  pkg_failed=yes
26289fi
26290 else
26291    pkg_failed=untried
26292fi
26293
26294
26295
26296if test $pkg_failed = yes; then
26297   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26298$as_echo "no" >&6; }
26299
26300if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26301        _pkg_short_errors_supported=yes
26302else
26303        _pkg_short_errors_supported=no
26304fi
26305        if test $_pkg_short_errors_supported = yes; then
26306	        libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20181006" 2>&1`
26307        else
26308	        libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20181006" 2>&1`
26309        fi
26310	# Put the nasty error message in config.log where it belongs
26311	echo "$libuna_PKG_ERRORS" >&5
26312
26313	ac_cv_libuna=check
26314elif test $pkg_failed = untried; then
26315     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26316$as_echo "no" >&6; }
26317	ac_cv_libuna=check
26318else
26319	libuna_CFLAGS=$pkg_cv_libuna_CFLAGS
26320	libuna_LIBS=$pkg_cv_libuna_LIBS
26321        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26322$as_echo "yes" >&6; }
26323	ac_cv_libuna=yes
26324fi
26325
26326fi
26327      if test "x$ac_cv_libuna" = xyes; then :
26328  ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS"
26329        ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS"
26330fi
26331
26332fi
26333
26334    if test "x$ac_cv_libuna" = xcheck; then :
26335        for ac_header in libuna.h
26336do :
26337  ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default"
26338if test "x$ac_cv_header_libuna_h" = xyes; then :
26339  cat >>confdefs.h <<_ACEOF
26340#define HAVE_LIBUNA_H 1
26341_ACEOF
26342
26343fi
26344
26345done
26346
26347
26348      if test "x$ac_cv_header_libuna_h" = xno; then :
26349  ac_cv_libuna=no
26350else
26351          ac_cv_libuna=yes
26352
26353        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5
26354$as_echo_n "checking for libuna_get_version in -luna... " >&6; }
26355if ${ac_cv_lib_una_libuna_get_version+:} false; then :
26356  $as_echo_n "(cached) " >&6
26357else
26358  ac_check_lib_save_LIBS=$LIBS
26359LIBS="-luna  $LIBS"
26360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361/* end confdefs.h.  */
26362
26363/* Override any GCC internal prototype to avoid an error.
26364   Use char because int might match the return type of a GCC
26365   builtin and then its argument prototype would still apply.  */
26366#ifdef __cplusplus
26367extern "C"
26368#endif
26369char libuna_get_version ();
26370int
26371main ()
26372{
26373return libuna_get_version ();
26374  ;
26375  return 0;
26376}
26377_ACEOF
26378if ac_fn_c_try_link "$LINENO"; then :
26379  ac_cv_lib_una_libuna_get_version=yes
26380else
26381  ac_cv_lib_una_libuna_get_version=no
26382fi
26383rm -f core conftest.err conftest.$ac_objext \
26384    conftest$ac_exeext conftest.$ac_ext
26385LIBS=$ac_check_lib_save_LIBS
26386fi
26387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5
26388$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; }
26389if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then :
26390  ac_cv_libuna_dummy=yes
26391else
26392  ac_cv_libuna=no
26393fi
26394
26395
26396                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5
26397$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; }
26398if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then :
26399  $as_echo_n "(cached) " >&6
26400else
26401  ac_check_lib_save_LIBS=$LIBS
26402LIBS="-luna  $LIBS"
26403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404/* end confdefs.h.  */
26405
26406/* Override any GCC internal prototype to avoid an error.
26407   Use char because int might match the return type of a GCC
26408   builtin and then its argument prototype would still apply.  */
26409#ifdef __cplusplus
26410extern "C"
26411#endif
26412char libuna_base16_stream_size_to_byte_stream ();
26413int
26414main ()
26415{
26416return libuna_base16_stream_size_to_byte_stream ();
26417  ;
26418  return 0;
26419}
26420_ACEOF
26421if ac_fn_c_try_link "$LINENO"; then :
26422  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes
26423else
26424  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no
26425fi
26426rm -f core conftest.err conftest.$ac_objext \
26427    conftest$ac_exeext conftest.$ac_ext
26428LIBS=$ac_check_lib_save_LIBS
26429fi
26430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5
26431$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; }
26432if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then :
26433  ac_cv_libuna_dummy=yes
26434else
26435  ac_cv_libuna=no
26436fi
26437
26438        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5
26439$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; }
26440if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then :
26441  $as_echo_n "(cached) " >&6
26442else
26443  ac_check_lib_save_LIBS=$LIBS
26444LIBS="-luna  $LIBS"
26445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26446/* end confdefs.h.  */
26447
26448/* Override any GCC internal prototype to avoid an error.
26449   Use char because int might match the return type of a GCC
26450   builtin and then its argument prototype would still apply.  */
26451#ifdef __cplusplus
26452extern "C"
26453#endif
26454char libuna_base16_stream_copy_to_byte_stream ();
26455int
26456main ()
26457{
26458return libuna_base16_stream_copy_to_byte_stream ();
26459  ;
26460  return 0;
26461}
26462_ACEOF
26463if ac_fn_c_try_link "$LINENO"; then :
26464  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes
26465else
26466  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no
26467fi
26468rm -f core conftest.err conftest.$ac_objext \
26469    conftest$ac_exeext conftest.$ac_ext
26470LIBS=$ac_check_lib_save_LIBS
26471fi
26472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5
26473$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; }
26474if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then :
26475  ac_cv_libuna_dummy=yes
26476else
26477  ac_cv_libuna=no
26478fi
26479
26480        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5
26481$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; }
26482if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then :
26483  $as_echo_n "(cached) " >&6
26484else
26485  ac_check_lib_save_LIBS=$LIBS
26486LIBS="-luna  $LIBS"
26487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488/* end confdefs.h.  */
26489
26490/* Override any GCC internal prototype to avoid an error.
26491   Use char because int might match the return type of a GCC
26492   builtin and then its argument prototype would still apply.  */
26493#ifdef __cplusplus
26494extern "C"
26495#endif
26496char libuna_base16_stream_size_from_byte_stream ();
26497int
26498main ()
26499{
26500return libuna_base16_stream_size_from_byte_stream ();
26501  ;
26502  return 0;
26503}
26504_ACEOF
26505if ac_fn_c_try_link "$LINENO"; then :
26506  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes
26507else
26508  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no
26509fi
26510rm -f core conftest.err conftest.$ac_objext \
26511    conftest$ac_exeext conftest.$ac_ext
26512LIBS=$ac_check_lib_save_LIBS
26513fi
26514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5
26515$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; }
26516if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then :
26517  ac_cv_libuna_dummy=yes
26518else
26519  ac_cv_libuna=no
26520fi
26521
26522        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5
26523$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; }
26524if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then :
26525  $as_echo_n "(cached) " >&6
26526else
26527  ac_check_lib_save_LIBS=$LIBS
26528LIBS="-luna  $LIBS"
26529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26530/* end confdefs.h.  */
26531
26532/* Override any GCC internal prototype to avoid an error.
26533   Use char because int might match the return type of a GCC
26534   builtin and then its argument prototype would still apply.  */
26535#ifdef __cplusplus
26536extern "C"
26537#endif
26538char libuna_base16_stream_copy_from_byte_stream ();
26539int
26540main ()
26541{
26542return libuna_base16_stream_copy_from_byte_stream ();
26543  ;
26544  return 0;
26545}
26546_ACEOF
26547if ac_fn_c_try_link "$LINENO"; then :
26548  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes
26549else
26550  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no
26551fi
26552rm -f core conftest.err conftest.$ac_objext \
26553    conftest$ac_exeext conftest.$ac_ext
26554LIBS=$ac_check_lib_save_LIBS
26555fi
26556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5
26557$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; }
26558if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then :
26559  ac_cv_libuna_dummy=yes
26560else
26561  ac_cv_libuna=no
26562fi
26563
26564        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5
26565$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
26566if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then :
26567  $as_echo_n "(cached) " >&6
26568else
26569  ac_check_lib_save_LIBS=$LIBS
26570LIBS="-luna  $LIBS"
26571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26572/* end confdefs.h.  */
26573
26574/* Override any GCC internal prototype to avoid an error.
26575   Use char because int might match the return type of a GCC
26576   builtin and then its argument prototype would still apply.  */
26577#ifdef __cplusplus
26578extern "C"
26579#endif
26580char libuna_base16_stream_with_index_copy_from_byte_stream ();
26581int
26582main ()
26583{
26584return libuna_base16_stream_with_index_copy_from_byte_stream ();
26585  ;
26586  return 0;
26587}
26588_ACEOF
26589if ac_fn_c_try_link "$LINENO"; then :
26590  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes
26591else
26592  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no
26593fi
26594rm -f core conftest.err conftest.$ac_objext \
26595    conftest$ac_exeext conftest.$ac_ext
26596LIBS=$ac_check_lib_save_LIBS
26597fi
26598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5
26599$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; }
26600if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then :
26601  ac_cv_libuna_dummy=yes
26602else
26603  ac_cv_libuna=no
26604fi
26605
26606
26607                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5
26608$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; }
26609if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then :
26610  $as_echo_n "(cached) " >&6
26611else
26612  ac_check_lib_save_LIBS=$LIBS
26613LIBS="-luna  $LIBS"
26614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26615/* end confdefs.h.  */
26616
26617/* Override any GCC internal prototype to avoid an error.
26618   Use char because int might match the return type of a GCC
26619   builtin and then its argument prototype would still apply.  */
26620#ifdef __cplusplus
26621extern "C"
26622#endif
26623char libuna_base32_quintuplet_copy_from_base32_stream ();
26624int
26625main ()
26626{
26627return libuna_base32_quintuplet_copy_from_base32_stream ();
26628  ;
26629  return 0;
26630}
26631_ACEOF
26632if ac_fn_c_try_link "$LINENO"; then :
26633  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes
26634else
26635  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no
26636fi
26637rm -f core conftest.err conftest.$ac_objext \
26638    conftest$ac_exeext conftest.$ac_ext
26639LIBS=$ac_check_lib_save_LIBS
26640fi
26641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5
26642$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; }
26643if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then :
26644  ac_cv_libuna_dummy=yes
26645else
26646  ac_cv_libuna=no
26647fi
26648
26649        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5
26650$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; }
26651if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then :
26652  $as_echo_n "(cached) " >&6
26653else
26654  ac_check_lib_save_LIBS=$LIBS
26655LIBS="-luna  $LIBS"
26656cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26657/* end confdefs.h.  */
26658
26659/* Override any GCC internal prototype to avoid an error.
26660   Use char because int might match the return type of a GCC
26661   builtin and then its argument prototype would still apply.  */
26662#ifdef __cplusplus
26663extern "C"
26664#endif
26665char libuna_base32_quintuplet_copy_to_base32_stream ();
26666int
26667main ()
26668{
26669return libuna_base32_quintuplet_copy_to_base32_stream ();
26670  ;
26671  return 0;
26672}
26673_ACEOF
26674if ac_fn_c_try_link "$LINENO"; then :
26675  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes
26676else
26677  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no
26678fi
26679rm -f core conftest.err conftest.$ac_objext \
26680    conftest$ac_exeext conftest.$ac_ext
26681LIBS=$ac_check_lib_save_LIBS
26682fi
26683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5
26684$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; }
26685if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then :
26686  ac_cv_libuna_dummy=yes
26687else
26688  ac_cv_libuna=no
26689fi
26690
26691        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5
26692$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; }
26693if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then :
26694  $as_echo_n "(cached) " >&6
26695else
26696  ac_check_lib_save_LIBS=$LIBS
26697LIBS="-luna  $LIBS"
26698cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26699/* end confdefs.h.  */
26700
26701/* Override any GCC internal prototype to avoid an error.
26702   Use char because int might match the return type of a GCC
26703   builtin and then its argument prototype would still apply.  */
26704#ifdef __cplusplus
26705extern "C"
26706#endif
26707char libuna_base32_quintuplet_copy_from_byte_stream ();
26708int
26709main ()
26710{
26711return libuna_base32_quintuplet_copy_from_byte_stream ();
26712  ;
26713  return 0;
26714}
26715_ACEOF
26716if ac_fn_c_try_link "$LINENO"; then :
26717  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes
26718else
26719  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no
26720fi
26721rm -f core conftest.err conftest.$ac_objext \
26722    conftest$ac_exeext conftest.$ac_ext
26723LIBS=$ac_check_lib_save_LIBS
26724fi
26725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5
26726$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; }
26727if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then :
26728  ac_cv_libuna_dummy=yes
26729else
26730  ac_cv_libuna=no
26731fi
26732
26733        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5
26734$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; }
26735if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then :
26736  $as_echo_n "(cached) " >&6
26737else
26738  ac_check_lib_save_LIBS=$LIBS
26739LIBS="-luna  $LIBS"
26740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26741/* end confdefs.h.  */
26742
26743/* Override any GCC internal prototype to avoid an error.
26744   Use char because int might match the return type of a GCC
26745   builtin and then its argument prototype would still apply.  */
26746#ifdef __cplusplus
26747extern "C"
26748#endif
26749char libuna_base32_quintuplet_copy_to_byte_stream ();
26750int
26751main ()
26752{
26753return libuna_base32_quintuplet_copy_to_byte_stream ();
26754  ;
26755  return 0;
26756}
26757_ACEOF
26758if ac_fn_c_try_link "$LINENO"; then :
26759  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes
26760else
26761  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no
26762fi
26763rm -f core conftest.err conftest.$ac_objext \
26764    conftest$ac_exeext conftest.$ac_ext
26765LIBS=$ac_check_lib_save_LIBS
26766fi
26767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5
26768$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; }
26769if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then :
26770  ac_cv_libuna_dummy=yes
26771else
26772  ac_cv_libuna=no
26773fi
26774
26775
26776        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5
26777$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; }
26778if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then :
26779  $as_echo_n "(cached) " >&6
26780else
26781  ac_check_lib_save_LIBS=$LIBS
26782LIBS="-luna  $LIBS"
26783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26784/* end confdefs.h.  */
26785
26786/* Override any GCC internal prototype to avoid an error.
26787   Use char because int might match the return type of a GCC
26788   builtin and then its argument prototype would still apply.  */
26789#ifdef __cplusplus
26790extern "C"
26791#endif
26792char libuna_base32_stream_size_to_byte_stream ();
26793int
26794main ()
26795{
26796return libuna_base32_stream_size_to_byte_stream ();
26797  ;
26798  return 0;
26799}
26800_ACEOF
26801if ac_fn_c_try_link "$LINENO"; then :
26802  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes
26803else
26804  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no
26805fi
26806rm -f core conftest.err conftest.$ac_objext \
26807    conftest$ac_exeext conftest.$ac_ext
26808LIBS=$ac_check_lib_save_LIBS
26809fi
26810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5
26811$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; }
26812if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then :
26813  ac_cv_libuna_dummy=yes
26814else
26815  ac_cv_libuna=no
26816fi
26817
26818        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5
26819$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; }
26820if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then :
26821  $as_echo_n "(cached) " >&6
26822else
26823  ac_check_lib_save_LIBS=$LIBS
26824LIBS="-luna  $LIBS"
26825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26826/* end confdefs.h.  */
26827
26828/* Override any GCC internal prototype to avoid an error.
26829   Use char because int might match the return type of a GCC
26830   builtin and then its argument prototype would still apply.  */
26831#ifdef __cplusplus
26832extern "C"
26833#endif
26834char libuna_base32_stream_copy_to_byte_stream ();
26835int
26836main ()
26837{
26838return libuna_base32_stream_copy_to_byte_stream ();
26839  ;
26840  return 0;
26841}
26842_ACEOF
26843if ac_fn_c_try_link "$LINENO"; then :
26844  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes
26845else
26846  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no
26847fi
26848rm -f core conftest.err conftest.$ac_objext \
26849    conftest$ac_exeext conftest.$ac_ext
26850LIBS=$ac_check_lib_save_LIBS
26851fi
26852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5
26853$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; }
26854if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then :
26855  ac_cv_libuna_dummy=yes
26856else
26857  ac_cv_libuna=no
26858fi
26859
26860        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5
26861$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; }
26862if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then :
26863  $as_echo_n "(cached) " >&6
26864else
26865  ac_check_lib_save_LIBS=$LIBS
26866LIBS="-luna  $LIBS"
26867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26868/* end confdefs.h.  */
26869
26870/* Override any GCC internal prototype to avoid an error.
26871   Use char because int might match the return type of a GCC
26872   builtin and then its argument prototype would still apply.  */
26873#ifdef __cplusplus
26874extern "C"
26875#endif
26876char libuna_base32_stream_size_from_byte_stream ();
26877int
26878main ()
26879{
26880return libuna_base32_stream_size_from_byte_stream ();
26881  ;
26882  return 0;
26883}
26884_ACEOF
26885if ac_fn_c_try_link "$LINENO"; then :
26886  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes
26887else
26888  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no
26889fi
26890rm -f core conftest.err conftest.$ac_objext \
26891    conftest$ac_exeext conftest.$ac_ext
26892LIBS=$ac_check_lib_save_LIBS
26893fi
26894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5
26895$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; }
26896if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then :
26897  ac_cv_libuna_dummy=yes
26898else
26899  ac_cv_libuna=no
26900fi
26901
26902        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5
26903$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; }
26904if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then :
26905  $as_echo_n "(cached) " >&6
26906else
26907  ac_check_lib_save_LIBS=$LIBS
26908LIBS="-luna  $LIBS"
26909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26910/* end confdefs.h.  */
26911
26912/* Override any GCC internal prototype to avoid an error.
26913   Use char because int might match the return type of a GCC
26914   builtin and then its argument prototype would still apply.  */
26915#ifdef __cplusplus
26916extern "C"
26917#endif
26918char libuna_base32_stream_copy_from_byte_stream ();
26919int
26920main ()
26921{
26922return libuna_base32_stream_copy_from_byte_stream ();
26923  ;
26924  return 0;
26925}
26926_ACEOF
26927if ac_fn_c_try_link "$LINENO"; then :
26928  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes
26929else
26930  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no
26931fi
26932rm -f core conftest.err conftest.$ac_objext \
26933    conftest$ac_exeext conftest.$ac_ext
26934LIBS=$ac_check_lib_save_LIBS
26935fi
26936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5
26937$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; }
26938if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then :
26939  ac_cv_libuna_dummy=yes
26940else
26941  ac_cv_libuna=no
26942fi
26943
26944        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5
26945$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
26946if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then :
26947  $as_echo_n "(cached) " >&6
26948else
26949  ac_check_lib_save_LIBS=$LIBS
26950LIBS="-luna  $LIBS"
26951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26952/* end confdefs.h.  */
26953
26954/* Override any GCC internal prototype to avoid an error.
26955   Use char because int might match the return type of a GCC
26956   builtin and then its argument prototype would still apply.  */
26957#ifdef __cplusplus
26958extern "C"
26959#endif
26960char libuna_base32_stream_with_index_copy_from_byte_stream ();
26961int
26962main ()
26963{
26964return libuna_base32_stream_with_index_copy_from_byte_stream ();
26965  ;
26966  return 0;
26967}
26968_ACEOF
26969if ac_fn_c_try_link "$LINENO"; then :
26970  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes
26971else
26972  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no
26973fi
26974rm -f core conftest.err conftest.$ac_objext \
26975    conftest$ac_exeext conftest.$ac_ext
26976LIBS=$ac_check_lib_save_LIBS
26977fi
26978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5
26979$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; }
26980if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then :
26981  ac_cv_libuna_dummy=yes
26982else
26983  ac_cv_libuna=no
26984fi
26985
26986
26987                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5
26988$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; }
26989if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then :
26990  $as_echo_n "(cached) " >&6
26991else
26992  ac_check_lib_save_LIBS=$LIBS
26993LIBS="-luna  $LIBS"
26994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26995/* end confdefs.h.  */
26996
26997/* Override any GCC internal prototype to avoid an error.
26998   Use char because int might match the return type of a GCC
26999   builtin and then its argument prototype would still apply.  */
27000#ifdef __cplusplus
27001extern "C"
27002#endif
27003char libuna_base64_triplet_copy_from_base64_stream ();
27004int
27005main ()
27006{
27007return libuna_base64_triplet_copy_from_base64_stream ();
27008  ;
27009  return 0;
27010}
27011_ACEOF
27012if ac_fn_c_try_link "$LINENO"; then :
27013  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes
27014else
27015  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no
27016fi
27017rm -f core conftest.err conftest.$ac_objext \
27018    conftest$ac_exeext conftest.$ac_ext
27019LIBS=$ac_check_lib_save_LIBS
27020fi
27021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5
27022$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; }
27023if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then :
27024  ac_cv_libuna_dummy=yes
27025else
27026  ac_cv_libuna=no
27027fi
27028
27029        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5
27030$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; }
27031if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then :
27032  $as_echo_n "(cached) " >&6
27033else
27034  ac_check_lib_save_LIBS=$LIBS
27035LIBS="-luna  $LIBS"
27036cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27037/* end confdefs.h.  */
27038
27039/* Override any GCC internal prototype to avoid an error.
27040   Use char because int might match the return type of a GCC
27041   builtin and then its argument prototype would still apply.  */
27042#ifdef __cplusplus
27043extern "C"
27044#endif
27045char libuna_base64_triplet_copy_to_base64_stream ();
27046int
27047main ()
27048{
27049return libuna_base64_triplet_copy_to_base64_stream ();
27050  ;
27051  return 0;
27052}
27053_ACEOF
27054if ac_fn_c_try_link "$LINENO"; then :
27055  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes
27056else
27057  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no
27058fi
27059rm -f core conftest.err conftest.$ac_objext \
27060    conftest$ac_exeext conftest.$ac_ext
27061LIBS=$ac_check_lib_save_LIBS
27062fi
27063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5
27064$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; }
27065if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then :
27066  ac_cv_libuna_dummy=yes
27067else
27068  ac_cv_libuna=no
27069fi
27070
27071        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5
27072$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; }
27073if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then :
27074  $as_echo_n "(cached) " >&6
27075else
27076  ac_check_lib_save_LIBS=$LIBS
27077LIBS="-luna  $LIBS"
27078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27079/* end confdefs.h.  */
27080
27081/* Override any GCC internal prototype to avoid an error.
27082   Use char because int might match the return type of a GCC
27083   builtin and then its argument prototype would still apply.  */
27084#ifdef __cplusplus
27085extern "C"
27086#endif
27087char libuna_base64_triplet_copy_from_byte_stream ();
27088int
27089main ()
27090{
27091return libuna_base64_triplet_copy_from_byte_stream ();
27092  ;
27093  return 0;
27094}
27095_ACEOF
27096if ac_fn_c_try_link "$LINENO"; then :
27097  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes
27098else
27099  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no
27100fi
27101rm -f core conftest.err conftest.$ac_objext \
27102    conftest$ac_exeext conftest.$ac_ext
27103LIBS=$ac_check_lib_save_LIBS
27104fi
27105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5
27106$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; }
27107if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then :
27108  ac_cv_libuna_dummy=yes
27109else
27110  ac_cv_libuna=no
27111fi
27112
27113        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5
27114$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; }
27115if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then :
27116  $as_echo_n "(cached) " >&6
27117else
27118  ac_check_lib_save_LIBS=$LIBS
27119LIBS="-luna  $LIBS"
27120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27121/* end confdefs.h.  */
27122
27123/* Override any GCC internal prototype to avoid an error.
27124   Use char because int might match the return type of a GCC
27125   builtin and then its argument prototype would still apply.  */
27126#ifdef __cplusplus
27127extern "C"
27128#endif
27129char libuna_base64_triplet_copy_to_byte_stream ();
27130int
27131main ()
27132{
27133return libuna_base64_triplet_copy_to_byte_stream ();
27134  ;
27135  return 0;
27136}
27137_ACEOF
27138if ac_fn_c_try_link "$LINENO"; then :
27139  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes
27140else
27141  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no
27142fi
27143rm -f core conftest.err conftest.$ac_objext \
27144    conftest$ac_exeext conftest.$ac_ext
27145LIBS=$ac_check_lib_save_LIBS
27146fi
27147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5
27148$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; }
27149if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then :
27150  ac_cv_libuna_dummy=yes
27151else
27152  ac_cv_libuna=no
27153fi
27154
27155
27156        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5
27157$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; }
27158if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then :
27159  $as_echo_n "(cached) " >&6
27160else
27161  ac_check_lib_save_LIBS=$LIBS
27162LIBS="-luna  $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 libuna_base64_stream_size_to_byte_stream ();
27173int
27174main ()
27175{
27176return libuna_base64_stream_size_to_byte_stream ();
27177  ;
27178  return 0;
27179}
27180_ACEOF
27181if ac_fn_c_try_link "$LINENO"; then :
27182  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes
27183else
27184  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=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_una_libuna_base64_stream_size_to_byte_stream" >&5
27191$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; }
27192if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then :
27193  ac_cv_libuna_dummy=yes
27194else
27195  ac_cv_libuna=no
27196fi
27197
27198        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5
27199$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; }
27200if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then :
27201  $as_echo_n "(cached) " >&6
27202else
27203  ac_check_lib_save_LIBS=$LIBS
27204LIBS="-luna  $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 libuna_base64_stream_copy_to_byte_stream ();
27215int
27216main ()
27217{
27218return libuna_base64_stream_copy_to_byte_stream ();
27219  ;
27220  return 0;
27221}
27222_ACEOF
27223if ac_fn_c_try_link "$LINENO"; then :
27224  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes
27225else
27226  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=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_una_libuna_base64_stream_copy_to_byte_stream" >&5
27233$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; }
27234if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then :
27235  ac_cv_libuna_dummy=yes
27236else
27237  ac_cv_libuna=no
27238fi
27239
27240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5
27241$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; }
27242if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then :
27243  $as_echo_n "(cached) " >&6
27244else
27245  ac_check_lib_save_LIBS=$LIBS
27246LIBS="-luna  $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 libuna_base64_stream_size_from_byte_stream ();
27257int
27258main ()
27259{
27260return libuna_base64_stream_size_from_byte_stream ();
27261  ;
27262  return 0;
27263}
27264_ACEOF
27265if ac_fn_c_try_link "$LINENO"; then :
27266  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes
27267else
27268  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=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_una_libuna_base64_stream_size_from_byte_stream" >&5
27275$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; }
27276if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then :
27277  ac_cv_libuna_dummy=yes
27278else
27279  ac_cv_libuna=no
27280fi
27281
27282        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5
27283$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; }
27284if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then :
27285  $as_echo_n "(cached) " >&6
27286else
27287  ac_check_lib_save_LIBS=$LIBS
27288LIBS="-luna  $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 libuna_base64_stream_copy_from_byte_stream ();
27299int
27300main ()
27301{
27302return libuna_base64_stream_copy_from_byte_stream ();
27303  ;
27304  return 0;
27305}
27306_ACEOF
27307if ac_fn_c_try_link "$LINENO"; then :
27308  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes
27309else
27310  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=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_una_libuna_base64_stream_copy_from_byte_stream" >&5
27317$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; }
27318if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then :
27319  ac_cv_libuna_dummy=yes
27320else
27321  ac_cv_libuna=no
27322fi
27323
27324        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5
27325$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
27326if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then :
27327  $as_echo_n "(cached) " >&6
27328else
27329  ac_check_lib_save_LIBS=$LIBS
27330LIBS="-luna  $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 libuna_base64_stream_with_index_copy_from_byte_stream ();
27341int
27342main ()
27343{
27344return libuna_base64_stream_with_index_copy_from_byte_stream ();
27345  ;
27346  return 0;
27347}
27348_ACEOF
27349if ac_fn_c_try_link "$LINENO"; then :
27350  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes
27351else
27352  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=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_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5
27359$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; }
27360if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then :
27361  ac_cv_libuna_dummy=yes
27362else
27363  ac_cv_libuna=no
27364fi
27365
27366
27367                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5
27368$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; }
27369if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then :
27370  $as_echo_n "(cached) " >&6
27371else
27372  ac_check_lib_save_LIBS=$LIBS
27373LIBS="-luna  $LIBS"
27374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27375/* end confdefs.h.  */
27376
27377/* Override any GCC internal prototype to avoid an error.
27378   Use char because int might match the return type of a GCC
27379   builtin and then its argument prototype would still apply.  */
27380#ifdef __cplusplus
27381extern "C"
27382#endif
27383char libuna_byte_stream_size_from_utf8 ();
27384int
27385main ()
27386{
27387return libuna_byte_stream_size_from_utf8 ();
27388  ;
27389  return 0;
27390}
27391_ACEOF
27392if ac_fn_c_try_link "$LINENO"; then :
27393  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes
27394else
27395  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no
27396fi
27397rm -f core conftest.err conftest.$ac_objext \
27398    conftest$ac_exeext conftest.$ac_ext
27399LIBS=$ac_check_lib_save_LIBS
27400fi
27401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5
27402$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; }
27403if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then :
27404  ac_cv_libuna_dummy=yes
27405else
27406  ac_cv_libuna=no
27407fi
27408
27409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5
27410$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; }
27411if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then :
27412  $as_echo_n "(cached) " >&6
27413else
27414  ac_check_lib_save_LIBS=$LIBS
27415LIBS="-luna  $LIBS"
27416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417/* end confdefs.h.  */
27418
27419/* Override any GCC internal prototype to avoid an error.
27420   Use char because int might match the return type of a GCC
27421   builtin and then its argument prototype would still apply.  */
27422#ifdef __cplusplus
27423extern "C"
27424#endif
27425char libuna_byte_stream_copy_from_utf8 ();
27426int
27427main ()
27428{
27429return libuna_byte_stream_copy_from_utf8 ();
27430  ;
27431  return 0;
27432}
27433_ACEOF
27434if ac_fn_c_try_link "$LINENO"; then :
27435  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes
27436else
27437  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no
27438fi
27439rm -f core conftest.err conftest.$ac_objext \
27440    conftest$ac_exeext conftest.$ac_ext
27441LIBS=$ac_check_lib_save_LIBS
27442fi
27443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5
27444$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; }
27445if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then :
27446  ac_cv_libuna_dummy=yes
27447else
27448  ac_cv_libuna=no
27449fi
27450
27451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5
27452$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; }
27453if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then :
27454  $as_echo_n "(cached) " >&6
27455else
27456  ac_check_lib_save_LIBS=$LIBS
27457LIBS="-luna  $LIBS"
27458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27459/* end confdefs.h.  */
27460
27461/* Override any GCC internal prototype to avoid an error.
27462   Use char because int might match the return type of a GCC
27463   builtin and then its argument prototype would still apply.  */
27464#ifdef __cplusplus
27465extern "C"
27466#endif
27467char libuna_byte_stream_size_from_utf16 ();
27468int
27469main ()
27470{
27471return libuna_byte_stream_size_from_utf16 ();
27472  ;
27473  return 0;
27474}
27475_ACEOF
27476if ac_fn_c_try_link "$LINENO"; then :
27477  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes
27478else
27479  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no
27480fi
27481rm -f core conftest.err conftest.$ac_objext \
27482    conftest$ac_exeext conftest.$ac_ext
27483LIBS=$ac_check_lib_save_LIBS
27484fi
27485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5
27486$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; }
27487if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then :
27488  ac_cv_libuna_dummy=yes
27489else
27490  ac_cv_libuna=no
27491fi
27492
27493        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5
27494$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; }
27495if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then :
27496  $as_echo_n "(cached) " >&6
27497else
27498  ac_check_lib_save_LIBS=$LIBS
27499LIBS="-luna  $LIBS"
27500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27501/* end confdefs.h.  */
27502
27503/* Override any GCC internal prototype to avoid an error.
27504   Use char because int might match the return type of a GCC
27505   builtin and then its argument prototype would still apply.  */
27506#ifdef __cplusplus
27507extern "C"
27508#endif
27509char libuna_byte_stream_copy_from_utf16 ();
27510int
27511main ()
27512{
27513return libuna_byte_stream_copy_from_utf16 ();
27514  ;
27515  return 0;
27516}
27517_ACEOF
27518if ac_fn_c_try_link "$LINENO"; then :
27519  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes
27520else
27521  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no
27522fi
27523rm -f core conftest.err conftest.$ac_objext \
27524    conftest$ac_exeext conftest.$ac_ext
27525LIBS=$ac_check_lib_save_LIBS
27526fi
27527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5
27528$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; }
27529if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then :
27530  ac_cv_libuna_dummy=yes
27531else
27532  ac_cv_libuna=no
27533fi
27534
27535        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5
27536$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; }
27537if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then :
27538  $as_echo_n "(cached) " >&6
27539else
27540  ac_check_lib_save_LIBS=$LIBS
27541LIBS="-luna  $LIBS"
27542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543/* end confdefs.h.  */
27544
27545/* Override any GCC internal prototype to avoid an error.
27546   Use char because int might match the return type of a GCC
27547   builtin and then its argument prototype would still apply.  */
27548#ifdef __cplusplus
27549extern "C"
27550#endif
27551char libuna_byte_stream_size_from_utf32 ();
27552int
27553main ()
27554{
27555return libuna_byte_stream_size_from_utf32 ();
27556  ;
27557  return 0;
27558}
27559_ACEOF
27560if ac_fn_c_try_link "$LINENO"; then :
27561  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes
27562else
27563  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no
27564fi
27565rm -f core conftest.err conftest.$ac_objext \
27566    conftest$ac_exeext conftest.$ac_ext
27567LIBS=$ac_check_lib_save_LIBS
27568fi
27569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5
27570$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; }
27571if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then :
27572  ac_cv_libuna_dummy=yes
27573else
27574  ac_cv_libuna=no
27575fi
27576
27577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5
27578$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; }
27579if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then :
27580  $as_echo_n "(cached) " >&6
27581else
27582  ac_check_lib_save_LIBS=$LIBS
27583LIBS="-luna  $LIBS"
27584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27585/* end confdefs.h.  */
27586
27587/* Override any GCC internal prototype to avoid an error.
27588   Use char because int might match the return type of a GCC
27589   builtin and then its argument prototype would still apply.  */
27590#ifdef __cplusplus
27591extern "C"
27592#endif
27593char libuna_byte_stream_copy_from_utf32 ();
27594int
27595main ()
27596{
27597return libuna_byte_stream_copy_from_utf32 ();
27598  ;
27599  return 0;
27600}
27601_ACEOF
27602if ac_fn_c_try_link "$LINENO"; then :
27603  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes
27604else
27605  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no
27606fi
27607rm -f core conftest.err conftest.$ac_objext \
27608    conftest$ac_exeext conftest.$ac_ext
27609LIBS=$ac_check_lib_save_LIBS
27610fi
27611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5
27612$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; }
27613if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then :
27614  ac_cv_libuna_dummy=yes
27615else
27616  ac_cv_libuna=no
27617fi
27618
27619
27620                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5
27621$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; }
27622if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then :
27623  $as_echo_n "(cached) " >&6
27624else
27625  ac_check_lib_save_LIBS=$LIBS
27626LIBS="-luna  $LIBS"
27627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27628/* end confdefs.h.  */
27629
27630/* Override any GCC internal prototype to avoid an error.
27631   Use char because int might match the return type of a GCC
27632   builtin and then its argument prototype would still apply.  */
27633#ifdef __cplusplus
27634extern "C"
27635#endif
27636char libuna_utf8_stream_size_from_utf8 ();
27637int
27638main ()
27639{
27640return libuna_utf8_stream_size_from_utf8 ();
27641  ;
27642  return 0;
27643}
27644_ACEOF
27645if ac_fn_c_try_link "$LINENO"; then :
27646  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes
27647else
27648  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no
27649fi
27650rm -f core conftest.err conftest.$ac_objext \
27651    conftest$ac_exeext conftest.$ac_ext
27652LIBS=$ac_check_lib_save_LIBS
27653fi
27654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5
27655$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; }
27656if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then :
27657  ac_cv_libuna_dummy=yes
27658else
27659  ac_cv_libuna=no
27660fi
27661
27662        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5
27663$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; }
27664if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then :
27665  $as_echo_n "(cached) " >&6
27666else
27667  ac_check_lib_save_LIBS=$LIBS
27668LIBS="-luna  $LIBS"
27669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27670/* end confdefs.h.  */
27671
27672/* Override any GCC internal prototype to avoid an error.
27673   Use char because int might match the return type of a GCC
27674   builtin and then its argument prototype would still apply.  */
27675#ifdef __cplusplus
27676extern "C"
27677#endif
27678char libuna_utf8_stream_copy_from_utf8 ();
27679int
27680main ()
27681{
27682return libuna_utf8_stream_copy_from_utf8 ();
27683  ;
27684  return 0;
27685}
27686_ACEOF
27687if ac_fn_c_try_link "$LINENO"; then :
27688  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes
27689else
27690  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no
27691fi
27692rm -f core conftest.err conftest.$ac_objext \
27693    conftest$ac_exeext conftest.$ac_ext
27694LIBS=$ac_check_lib_save_LIBS
27695fi
27696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5
27697$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; }
27698if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then :
27699  ac_cv_libuna_dummy=yes
27700else
27701  ac_cv_libuna=no
27702fi
27703
27704        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5
27705$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; }
27706if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then :
27707  $as_echo_n "(cached) " >&6
27708else
27709  ac_check_lib_save_LIBS=$LIBS
27710LIBS="-luna  $LIBS"
27711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27712/* end confdefs.h.  */
27713
27714/* Override any GCC internal prototype to avoid an error.
27715   Use char because int might match the return type of a GCC
27716   builtin and then its argument prototype would still apply.  */
27717#ifdef __cplusplus
27718extern "C"
27719#endif
27720char libuna_utf8_stream_size_from_utf16 ();
27721int
27722main ()
27723{
27724return libuna_utf8_stream_size_from_utf16 ();
27725  ;
27726  return 0;
27727}
27728_ACEOF
27729if ac_fn_c_try_link "$LINENO"; then :
27730  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes
27731else
27732  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no
27733fi
27734rm -f core conftest.err conftest.$ac_objext \
27735    conftest$ac_exeext conftest.$ac_ext
27736LIBS=$ac_check_lib_save_LIBS
27737fi
27738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5
27739$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; }
27740if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then :
27741  ac_cv_libuna_dummy=yes
27742else
27743  ac_cv_libuna=no
27744fi
27745
27746        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5
27747$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; }
27748if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then :
27749  $as_echo_n "(cached) " >&6
27750else
27751  ac_check_lib_save_LIBS=$LIBS
27752LIBS="-luna  $LIBS"
27753cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754/* end confdefs.h.  */
27755
27756/* Override any GCC internal prototype to avoid an error.
27757   Use char because int might match the return type of a GCC
27758   builtin and then its argument prototype would still apply.  */
27759#ifdef __cplusplus
27760extern "C"
27761#endif
27762char libuna_utf8_stream_copy_from_utf16 ();
27763int
27764main ()
27765{
27766return libuna_utf8_stream_copy_from_utf16 ();
27767  ;
27768  return 0;
27769}
27770_ACEOF
27771if ac_fn_c_try_link "$LINENO"; then :
27772  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes
27773else
27774  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no
27775fi
27776rm -f core conftest.err conftest.$ac_objext \
27777    conftest$ac_exeext conftest.$ac_ext
27778LIBS=$ac_check_lib_save_LIBS
27779fi
27780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5
27781$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; }
27782if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then :
27783  ac_cv_libuna_dummy=yes
27784else
27785  ac_cv_libuna=no
27786fi
27787
27788        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5
27789$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; }
27790if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then :
27791  $as_echo_n "(cached) " >&6
27792else
27793  ac_check_lib_save_LIBS=$LIBS
27794LIBS="-luna  $LIBS"
27795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27796/* end confdefs.h.  */
27797
27798/* Override any GCC internal prototype to avoid an error.
27799   Use char because int might match the return type of a GCC
27800   builtin and then its argument prototype would still apply.  */
27801#ifdef __cplusplus
27802extern "C"
27803#endif
27804char libuna_utf8_stream_size_from_utf32 ();
27805int
27806main ()
27807{
27808return libuna_utf8_stream_size_from_utf32 ();
27809  ;
27810  return 0;
27811}
27812_ACEOF
27813if ac_fn_c_try_link "$LINENO"; then :
27814  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes
27815else
27816  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no
27817fi
27818rm -f core conftest.err conftest.$ac_objext \
27819    conftest$ac_exeext conftest.$ac_ext
27820LIBS=$ac_check_lib_save_LIBS
27821fi
27822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5
27823$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; }
27824if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then :
27825  ac_cv_libuna_dummy=yes
27826else
27827  ac_cv_libuna=no
27828fi
27829
27830        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5
27831$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; }
27832if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then :
27833  $as_echo_n "(cached) " >&6
27834else
27835  ac_check_lib_save_LIBS=$LIBS
27836LIBS="-luna  $LIBS"
27837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27838/* end confdefs.h.  */
27839
27840/* Override any GCC internal prototype to avoid an error.
27841   Use char because int might match the return type of a GCC
27842   builtin and then its argument prototype would still apply.  */
27843#ifdef __cplusplus
27844extern "C"
27845#endif
27846char libuna_utf8_stream_copy_from_utf32 ();
27847int
27848main ()
27849{
27850return libuna_utf8_stream_copy_from_utf32 ();
27851  ;
27852  return 0;
27853}
27854_ACEOF
27855if ac_fn_c_try_link "$LINENO"; then :
27856  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes
27857else
27858  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no
27859fi
27860rm -f core conftest.err conftest.$ac_objext \
27861    conftest$ac_exeext conftest.$ac_ext
27862LIBS=$ac_check_lib_save_LIBS
27863fi
27864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5
27865$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; }
27866if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then :
27867  ac_cv_libuna_dummy=yes
27868else
27869  ac_cv_libuna=no
27870fi
27871
27872
27873                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5
27874$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; }
27875if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then :
27876  $as_echo_n "(cached) " >&6
27877else
27878  ac_check_lib_save_LIBS=$LIBS
27879LIBS="-luna  $LIBS"
27880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881/* end confdefs.h.  */
27882
27883/* Override any GCC internal prototype to avoid an error.
27884   Use char because int might match the return type of a GCC
27885   builtin and then its argument prototype would still apply.  */
27886#ifdef __cplusplus
27887extern "C"
27888#endif
27889char libuna_utf16_stream_size_from_utf8 ();
27890int
27891main ()
27892{
27893return libuna_utf16_stream_size_from_utf8 ();
27894  ;
27895  return 0;
27896}
27897_ACEOF
27898if ac_fn_c_try_link "$LINENO"; then :
27899  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes
27900else
27901  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no
27902fi
27903rm -f core conftest.err conftest.$ac_objext \
27904    conftest$ac_exeext conftest.$ac_ext
27905LIBS=$ac_check_lib_save_LIBS
27906fi
27907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5
27908$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; }
27909if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then :
27910  ac_cv_libuna_dummy=yes
27911else
27912  ac_cv_libuna=no
27913fi
27914
27915        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5
27916$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; }
27917if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then :
27918  $as_echo_n "(cached) " >&6
27919else
27920  ac_check_lib_save_LIBS=$LIBS
27921LIBS="-luna  $LIBS"
27922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27923/* end confdefs.h.  */
27924
27925/* Override any GCC internal prototype to avoid an error.
27926   Use char because int might match the return type of a GCC
27927   builtin and then its argument prototype would still apply.  */
27928#ifdef __cplusplus
27929extern "C"
27930#endif
27931char libuna_utf16_stream_copy_from_utf8 ();
27932int
27933main ()
27934{
27935return libuna_utf16_stream_copy_from_utf8 ();
27936  ;
27937  return 0;
27938}
27939_ACEOF
27940if ac_fn_c_try_link "$LINENO"; then :
27941  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes
27942else
27943  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no
27944fi
27945rm -f core conftest.err conftest.$ac_objext \
27946    conftest$ac_exeext conftest.$ac_ext
27947LIBS=$ac_check_lib_save_LIBS
27948fi
27949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5
27950$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; }
27951if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then :
27952  ac_cv_libuna_dummy=yes
27953else
27954  ac_cv_libuna=no
27955fi
27956
27957        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5
27958$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; }
27959if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then :
27960  $as_echo_n "(cached) " >&6
27961else
27962  ac_check_lib_save_LIBS=$LIBS
27963LIBS="-luna  $LIBS"
27964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965/* end confdefs.h.  */
27966
27967/* Override any GCC internal prototype to avoid an error.
27968   Use char because int might match the return type of a GCC
27969   builtin and then its argument prototype would still apply.  */
27970#ifdef __cplusplus
27971extern "C"
27972#endif
27973char libuna_utf16_stream_size_from_utf16 ();
27974int
27975main ()
27976{
27977return libuna_utf16_stream_size_from_utf16 ();
27978  ;
27979  return 0;
27980}
27981_ACEOF
27982if ac_fn_c_try_link "$LINENO"; then :
27983  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes
27984else
27985  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no
27986fi
27987rm -f core conftest.err conftest.$ac_objext \
27988    conftest$ac_exeext conftest.$ac_ext
27989LIBS=$ac_check_lib_save_LIBS
27990fi
27991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5
27992$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; }
27993if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then :
27994  ac_cv_libuna_dummy=yes
27995else
27996  ac_cv_libuna=no
27997fi
27998
27999        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5
28000$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; }
28001if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then :
28002  $as_echo_n "(cached) " >&6
28003else
28004  ac_check_lib_save_LIBS=$LIBS
28005LIBS="-luna  $LIBS"
28006cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28007/* end confdefs.h.  */
28008
28009/* Override any GCC internal prototype to avoid an error.
28010   Use char because int might match the return type of a GCC
28011   builtin and then its argument prototype would still apply.  */
28012#ifdef __cplusplus
28013extern "C"
28014#endif
28015char libuna_utf16_stream_copy_from_utf16 ();
28016int
28017main ()
28018{
28019return libuna_utf16_stream_copy_from_utf16 ();
28020  ;
28021  return 0;
28022}
28023_ACEOF
28024if ac_fn_c_try_link "$LINENO"; then :
28025  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes
28026else
28027  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no
28028fi
28029rm -f core conftest.err conftest.$ac_objext \
28030    conftest$ac_exeext conftest.$ac_ext
28031LIBS=$ac_check_lib_save_LIBS
28032fi
28033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5
28034$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; }
28035if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then :
28036  ac_cv_libuna_dummy=yes
28037else
28038  ac_cv_libuna=no
28039fi
28040
28041        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5
28042$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; }
28043if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then :
28044  $as_echo_n "(cached) " >&6
28045else
28046  ac_check_lib_save_LIBS=$LIBS
28047LIBS="-luna  $LIBS"
28048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28049/* end confdefs.h.  */
28050
28051/* Override any GCC internal prototype to avoid an error.
28052   Use char because int might match the return type of a GCC
28053   builtin and then its argument prototype would still apply.  */
28054#ifdef __cplusplus
28055extern "C"
28056#endif
28057char libuna_utf16_stream_size_from_utf32 ();
28058int
28059main ()
28060{
28061return libuna_utf16_stream_size_from_utf32 ();
28062  ;
28063  return 0;
28064}
28065_ACEOF
28066if ac_fn_c_try_link "$LINENO"; then :
28067  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes
28068else
28069  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no
28070fi
28071rm -f core conftest.err conftest.$ac_objext \
28072    conftest$ac_exeext conftest.$ac_ext
28073LIBS=$ac_check_lib_save_LIBS
28074fi
28075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5
28076$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; }
28077if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then :
28078  ac_cv_libuna_dummy=yes
28079else
28080  ac_cv_libuna=no
28081fi
28082
28083        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5
28084$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; }
28085if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then :
28086  $as_echo_n "(cached) " >&6
28087else
28088  ac_check_lib_save_LIBS=$LIBS
28089LIBS="-luna  $LIBS"
28090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28091/* end confdefs.h.  */
28092
28093/* Override any GCC internal prototype to avoid an error.
28094   Use char because int might match the return type of a GCC
28095   builtin and then its argument prototype would still apply.  */
28096#ifdef __cplusplus
28097extern "C"
28098#endif
28099char libuna_utf16_stream_copy_from_utf32 ();
28100int
28101main ()
28102{
28103return libuna_utf16_stream_copy_from_utf32 ();
28104  ;
28105  return 0;
28106}
28107_ACEOF
28108if ac_fn_c_try_link "$LINENO"; then :
28109  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes
28110else
28111  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no
28112fi
28113rm -f core conftest.err conftest.$ac_objext \
28114    conftest$ac_exeext conftest.$ac_ext
28115LIBS=$ac_check_lib_save_LIBS
28116fi
28117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5
28118$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; }
28119if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then :
28120  ac_cv_libuna_dummy=yes
28121else
28122  ac_cv_libuna=no
28123fi
28124
28125
28126                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5
28127$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; }
28128if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then :
28129  $as_echo_n "(cached) " >&6
28130else
28131  ac_check_lib_save_LIBS=$LIBS
28132LIBS="-luna  $LIBS"
28133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134/* end confdefs.h.  */
28135
28136/* Override any GCC internal prototype to avoid an error.
28137   Use char because int might match the return type of a GCC
28138   builtin and then its argument prototype would still apply.  */
28139#ifdef __cplusplus
28140extern "C"
28141#endif
28142char libuna_utf32_stream_size_from_utf8 ();
28143int
28144main ()
28145{
28146return libuna_utf32_stream_size_from_utf8 ();
28147  ;
28148  return 0;
28149}
28150_ACEOF
28151if ac_fn_c_try_link "$LINENO"; then :
28152  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes
28153else
28154  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no
28155fi
28156rm -f core conftest.err conftest.$ac_objext \
28157    conftest$ac_exeext conftest.$ac_ext
28158LIBS=$ac_check_lib_save_LIBS
28159fi
28160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5
28161$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; }
28162if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then :
28163  ac_cv_libuna_dummy=yes
28164else
28165  ac_cv_libuna=no
28166fi
28167
28168        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5
28169$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; }
28170if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then :
28171  $as_echo_n "(cached) " >&6
28172else
28173  ac_check_lib_save_LIBS=$LIBS
28174LIBS="-luna  $LIBS"
28175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176/* end confdefs.h.  */
28177
28178/* Override any GCC internal prototype to avoid an error.
28179   Use char because int might match the return type of a GCC
28180   builtin and then its argument prototype would still apply.  */
28181#ifdef __cplusplus
28182extern "C"
28183#endif
28184char libuna_utf32_stream_copy_from_utf8 ();
28185int
28186main ()
28187{
28188return libuna_utf32_stream_copy_from_utf8 ();
28189  ;
28190  return 0;
28191}
28192_ACEOF
28193if ac_fn_c_try_link "$LINENO"; then :
28194  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes
28195else
28196  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no
28197fi
28198rm -f core conftest.err conftest.$ac_objext \
28199    conftest$ac_exeext conftest.$ac_ext
28200LIBS=$ac_check_lib_save_LIBS
28201fi
28202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5
28203$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; }
28204if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then :
28205  ac_cv_libuna_dummy=yes
28206else
28207  ac_cv_libuna=no
28208fi
28209
28210        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5
28211$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; }
28212if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then :
28213  $as_echo_n "(cached) " >&6
28214else
28215  ac_check_lib_save_LIBS=$LIBS
28216LIBS="-luna  $LIBS"
28217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28218/* end confdefs.h.  */
28219
28220/* Override any GCC internal prototype to avoid an error.
28221   Use char because int might match the return type of a GCC
28222   builtin and then its argument prototype would still apply.  */
28223#ifdef __cplusplus
28224extern "C"
28225#endif
28226char libuna_utf32_stream_size_from_utf16 ();
28227int
28228main ()
28229{
28230return libuna_utf32_stream_size_from_utf16 ();
28231  ;
28232  return 0;
28233}
28234_ACEOF
28235if ac_fn_c_try_link "$LINENO"; then :
28236  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes
28237else
28238  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no
28239fi
28240rm -f core conftest.err conftest.$ac_objext \
28241    conftest$ac_exeext conftest.$ac_ext
28242LIBS=$ac_check_lib_save_LIBS
28243fi
28244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5
28245$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; }
28246if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then :
28247  ac_cv_libuna_dummy=yes
28248else
28249  ac_cv_libuna=no
28250fi
28251
28252        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5
28253$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; }
28254if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then :
28255  $as_echo_n "(cached) " >&6
28256else
28257  ac_check_lib_save_LIBS=$LIBS
28258LIBS="-luna  $LIBS"
28259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28260/* end confdefs.h.  */
28261
28262/* Override any GCC internal prototype to avoid an error.
28263   Use char because int might match the return type of a GCC
28264   builtin and then its argument prototype would still apply.  */
28265#ifdef __cplusplus
28266extern "C"
28267#endif
28268char libuna_utf32_stream_copy_from_utf16 ();
28269int
28270main ()
28271{
28272return libuna_utf32_stream_copy_from_utf16 ();
28273  ;
28274  return 0;
28275}
28276_ACEOF
28277if ac_fn_c_try_link "$LINENO"; then :
28278  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes
28279else
28280  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no
28281fi
28282rm -f core conftest.err conftest.$ac_objext \
28283    conftest$ac_exeext conftest.$ac_ext
28284LIBS=$ac_check_lib_save_LIBS
28285fi
28286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5
28287$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; }
28288if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then :
28289  ac_cv_libuna_dummy=yes
28290else
28291  ac_cv_libuna=no
28292fi
28293
28294        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5
28295$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; }
28296if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then :
28297  $as_echo_n "(cached) " >&6
28298else
28299  ac_check_lib_save_LIBS=$LIBS
28300LIBS="-luna  $LIBS"
28301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28302/* end confdefs.h.  */
28303
28304/* Override any GCC internal prototype to avoid an error.
28305   Use char because int might match the return type of a GCC
28306   builtin and then its argument prototype would still apply.  */
28307#ifdef __cplusplus
28308extern "C"
28309#endif
28310char libuna_utf32_stream_size_from_utf32 ();
28311int
28312main ()
28313{
28314return libuna_utf32_stream_size_from_utf32 ();
28315  ;
28316  return 0;
28317}
28318_ACEOF
28319if ac_fn_c_try_link "$LINENO"; then :
28320  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes
28321else
28322  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no
28323fi
28324rm -f core conftest.err conftest.$ac_objext \
28325    conftest$ac_exeext conftest.$ac_ext
28326LIBS=$ac_check_lib_save_LIBS
28327fi
28328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5
28329$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; }
28330if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then :
28331  ac_cv_libuna_dummy=yes
28332else
28333  ac_cv_libuna=no
28334fi
28335
28336        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5
28337$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; }
28338if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then :
28339  $as_echo_n "(cached) " >&6
28340else
28341  ac_check_lib_save_LIBS=$LIBS
28342LIBS="-luna  $LIBS"
28343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28344/* end confdefs.h.  */
28345
28346/* Override any GCC internal prototype to avoid an error.
28347   Use char because int might match the return type of a GCC
28348   builtin and then its argument prototype would still apply.  */
28349#ifdef __cplusplus
28350extern "C"
28351#endif
28352char libuna_utf32_stream_copy_from_utf32 ();
28353int
28354main ()
28355{
28356return libuna_utf32_stream_copy_from_utf32 ();
28357  ;
28358  return 0;
28359}
28360_ACEOF
28361if ac_fn_c_try_link "$LINENO"; then :
28362  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes
28363else
28364  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no
28365fi
28366rm -f core conftest.err conftest.$ac_objext \
28367    conftest$ac_exeext conftest.$ac_ext
28368LIBS=$ac_check_lib_save_LIBS
28369fi
28370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5
28371$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; }
28372if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then :
28373  ac_cv_libuna_dummy=yes
28374else
28375  ac_cv_libuna=no
28376fi
28377
28378
28379                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5
28380$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; }
28381if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then :
28382  $as_echo_n "(cached) " >&6
28383else
28384  ac_check_lib_save_LIBS=$LIBS
28385LIBS="-luna  $LIBS"
28386cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387/* end confdefs.h.  */
28388
28389/* Override any GCC internal prototype to avoid an error.
28390   Use char because int might match the return type of a GCC
28391   builtin and then its argument prototype would still apply.  */
28392#ifdef __cplusplus
28393extern "C"
28394#endif
28395char libuna_utf8_string_size_from_byte_stream ();
28396int
28397main ()
28398{
28399return libuna_utf8_string_size_from_byte_stream ();
28400  ;
28401  return 0;
28402}
28403_ACEOF
28404if ac_fn_c_try_link "$LINENO"; then :
28405  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes
28406else
28407  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no
28408fi
28409rm -f core conftest.err conftest.$ac_objext \
28410    conftest$ac_exeext conftest.$ac_ext
28411LIBS=$ac_check_lib_save_LIBS
28412fi
28413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5
28414$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; }
28415if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then :
28416  ac_cv_libuna_dummy=yes
28417else
28418  ac_cv_libuna=no
28419fi
28420
28421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5
28422$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; }
28423if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then :
28424  $as_echo_n "(cached) " >&6
28425else
28426  ac_check_lib_save_LIBS=$LIBS
28427LIBS="-luna  $LIBS"
28428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28429/* end confdefs.h.  */
28430
28431/* Override any GCC internal prototype to avoid an error.
28432   Use char because int might match the return type of a GCC
28433   builtin and then its argument prototype would still apply.  */
28434#ifdef __cplusplus
28435extern "C"
28436#endif
28437char libuna_utf8_string_copy_from_byte_stream ();
28438int
28439main ()
28440{
28441return libuna_utf8_string_copy_from_byte_stream ();
28442  ;
28443  return 0;
28444}
28445_ACEOF
28446if ac_fn_c_try_link "$LINENO"; then :
28447  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes
28448else
28449  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no
28450fi
28451rm -f core conftest.err conftest.$ac_objext \
28452    conftest$ac_exeext conftest.$ac_ext
28453LIBS=$ac_check_lib_save_LIBS
28454fi
28455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5
28456$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; }
28457if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then :
28458  ac_cv_libuna_dummy=yes
28459else
28460  ac_cv_libuna=no
28461fi
28462
28463        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5
28464$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; }
28465if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then :
28466  $as_echo_n "(cached) " >&6
28467else
28468  ac_check_lib_save_LIBS=$LIBS
28469LIBS="-luna  $LIBS"
28470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28471/* end confdefs.h.  */
28472
28473/* Override any GCC internal prototype to avoid an error.
28474   Use char because int might match the return type of a GCC
28475   builtin and then its argument prototype would still apply.  */
28476#ifdef __cplusplus
28477extern "C"
28478#endif
28479char libuna_utf8_string_with_index_copy_from_byte_stream ();
28480int
28481main ()
28482{
28483return libuna_utf8_string_with_index_copy_from_byte_stream ();
28484  ;
28485  return 0;
28486}
28487_ACEOF
28488if ac_fn_c_try_link "$LINENO"; then :
28489  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes
28490else
28491  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no
28492fi
28493rm -f core conftest.err conftest.$ac_objext \
28494    conftest$ac_exeext conftest.$ac_ext
28495LIBS=$ac_check_lib_save_LIBS
28496fi
28497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5
28498$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; }
28499if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then :
28500  ac_cv_libuna_dummy=yes
28501else
28502  ac_cv_libuna=no
28503fi
28504
28505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5
28506$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; }
28507if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then :
28508  $as_echo_n "(cached) " >&6
28509else
28510  ac_check_lib_save_LIBS=$LIBS
28511LIBS="-luna  $LIBS"
28512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28513/* end confdefs.h.  */
28514
28515/* Override any GCC internal prototype to avoid an error.
28516   Use char because int might match the return type of a GCC
28517   builtin and then its argument prototype would still apply.  */
28518#ifdef __cplusplus
28519extern "C"
28520#endif
28521char libuna_utf8_string_size_from_utf7_stream ();
28522int
28523main ()
28524{
28525return libuna_utf8_string_size_from_utf7_stream ();
28526  ;
28527  return 0;
28528}
28529_ACEOF
28530if ac_fn_c_try_link "$LINENO"; then :
28531  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes
28532else
28533  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no
28534fi
28535rm -f core conftest.err conftest.$ac_objext \
28536    conftest$ac_exeext conftest.$ac_ext
28537LIBS=$ac_check_lib_save_LIBS
28538fi
28539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5
28540$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; }
28541if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then :
28542  ac_cv_libuna_dummy=yes
28543else
28544  ac_cv_libuna=no
28545fi
28546
28547        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5
28548$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; }
28549if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then :
28550  $as_echo_n "(cached) " >&6
28551else
28552  ac_check_lib_save_LIBS=$LIBS
28553LIBS="-luna  $LIBS"
28554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555/* end confdefs.h.  */
28556
28557/* Override any GCC internal prototype to avoid an error.
28558   Use char because int might match the return type of a GCC
28559   builtin and then its argument prototype would still apply.  */
28560#ifdef __cplusplus
28561extern "C"
28562#endif
28563char libuna_utf8_string_copy_from_utf7_stream ();
28564int
28565main ()
28566{
28567return libuna_utf8_string_copy_from_utf7_stream ();
28568  ;
28569  return 0;
28570}
28571_ACEOF
28572if ac_fn_c_try_link "$LINENO"; then :
28573  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes
28574else
28575  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no
28576fi
28577rm -f core conftest.err conftest.$ac_objext \
28578    conftest$ac_exeext conftest.$ac_ext
28579LIBS=$ac_check_lib_save_LIBS
28580fi
28581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5
28582$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; }
28583if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then :
28584  ac_cv_libuna_dummy=yes
28585else
28586  ac_cv_libuna=no
28587fi
28588
28589        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5
28590$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
28591if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then :
28592  $as_echo_n "(cached) " >&6
28593else
28594  ac_check_lib_save_LIBS=$LIBS
28595LIBS="-luna  $LIBS"
28596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28597/* end confdefs.h.  */
28598
28599/* Override any GCC internal prototype to avoid an error.
28600   Use char because int might match the return type of a GCC
28601   builtin and then its argument prototype would still apply.  */
28602#ifdef __cplusplus
28603extern "C"
28604#endif
28605char libuna_utf8_string_with_index_copy_from_utf7_stream ();
28606int
28607main ()
28608{
28609return libuna_utf8_string_with_index_copy_from_utf7_stream ();
28610  ;
28611  return 0;
28612}
28613_ACEOF
28614if ac_fn_c_try_link "$LINENO"; then :
28615  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes
28616else
28617  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no
28618fi
28619rm -f core conftest.err conftest.$ac_objext \
28620    conftest$ac_exeext conftest.$ac_ext
28621LIBS=$ac_check_lib_save_LIBS
28622fi
28623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5
28624$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; }
28625if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then :
28626  ac_cv_libuna_dummy=yes
28627else
28628  ac_cv_libuna=no
28629fi
28630
28631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5
28632$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; }
28633if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then :
28634  $as_echo_n "(cached) " >&6
28635else
28636  ac_check_lib_save_LIBS=$LIBS
28637LIBS="-luna  $LIBS"
28638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28639/* end confdefs.h.  */
28640
28641/* Override any GCC internal prototype to avoid an error.
28642   Use char because int might match the return type of a GCC
28643   builtin and then its argument prototype would still apply.  */
28644#ifdef __cplusplus
28645extern "C"
28646#endif
28647char libuna_utf8_string_size_from_utf8_stream ();
28648int
28649main ()
28650{
28651return libuna_utf8_string_size_from_utf8_stream ();
28652  ;
28653  return 0;
28654}
28655_ACEOF
28656if ac_fn_c_try_link "$LINENO"; then :
28657  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes
28658else
28659  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no
28660fi
28661rm -f core conftest.err conftest.$ac_objext \
28662    conftest$ac_exeext conftest.$ac_ext
28663LIBS=$ac_check_lib_save_LIBS
28664fi
28665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5
28666$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; }
28667if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then :
28668  ac_cv_libuna_dummy=yes
28669else
28670  ac_cv_libuna=no
28671fi
28672
28673        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5
28674$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; }
28675if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then :
28676  $as_echo_n "(cached) " >&6
28677else
28678  ac_check_lib_save_LIBS=$LIBS
28679LIBS="-luna  $LIBS"
28680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28681/* end confdefs.h.  */
28682
28683/* Override any GCC internal prototype to avoid an error.
28684   Use char because int might match the return type of a GCC
28685   builtin and then its argument prototype would still apply.  */
28686#ifdef __cplusplus
28687extern "C"
28688#endif
28689char libuna_utf8_string_copy_from_utf8_stream ();
28690int
28691main ()
28692{
28693return libuna_utf8_string_copy_from_utf8_stream ();
28694  ;
28695  return 0;
28696}
28697_ACEOF
28698if ac_fn_c_try_link "$LINENO"; then :
28699  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes
28700else
28701  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no
28702fi
28703rm -f core conftest.err conftest.$ac_objext \
28704    conftest$ac_exeext conftest.$ac_ext
28705LIBS=$ac_check_lib_save_LIBS
28706fi
28707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5
28708$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; }
28709if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then :
28710  ac_cv_libuna_dummy=yes
28711else
28712  ac_cv_libuna=no
28713fi
28714
28715        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5
28716$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
28717if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then :
28718  $as_echo_n "(cached) " >&6
28719else
28720  ac_check_lib_save_LIBS=$LIBS
28721LIBS="-luna  $LIBS"
28722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28723/* end confdefs.h.  */
28724
28725/* Override any GCC internal prototype to avoid an error.
28726   Use char because int might match the return type of a GCC
28727   builtin and then its argument prototype would still apply.  */
28728#ifdef __cplusplus
28729extern "C"
28730#endif
28731char libuna_utf8_string_with_index_copy_from_utf8_stream ();
28732int
28733main ()
28734{
28735return libuna_utf8_string_with_index_copy_from_utf8_stream ();
28736  ;
28737  return 0;
28738}
28739_ACEOF
28740if ac_fn_c_try_link "$LINENO"; then :
28741  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes
28742else
28743  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no
28744fi
28745rm -f core conftest.err conftest.$ac_objext \
28746    conftest$ac_exeext conftest.$ac_ext
28747LIBS=$ac_check_lib_save_LIBS
28748fi
28749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5
28750$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; }
28751if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then :
28752  ac_cv_libuna_dummy=yes
28753else
28754  ac_cv_libuna=no
28755fi
28756
28757        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5
28758$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; }
28759if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then :
28760  $as_echo_n "(cached) " >&6
28761else
28762  ac_check_lib_save_LIBS=$LIBS
28763LIBS="-luna  $LIBS"
28764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765/* end confdefs.h.  */
28766
28767/* Override any GCC internal prototype to avoid an error.
28768   Use char because int might match the return type of a GCC
28769   builtin and then its argument prototype would still apply.  */
28770#ifdef __cplusplus
28771extern "C"
28772#endif
28773char libuna_utf8_string_size_from_utf16_stream ();
28774int
28775main ()
28776{
28777return libuna_utf8_string_size_from_utf16_stream ();
28778  ;
28779  return 0;
28780}
28781_ACEOF
28782if ac_fn_c_try_link "$LINENO"; then :
28783  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes
28784else
28785  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no
28786fi
28787rm -f core conftest.err conftest.$ac_objext \
28788    conftest$ac_exeext conftest.$ac_ext
28789LIBS=$ac_check_lib_save_LIBS
28790fi
28791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5
28792$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; }
28793if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then :
28794  ac_cv_libuna_dummy=yes
28795else
28796  ac_cv_libuna=no
28797fi
28798
28799        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5
28800$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; }
28801if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then :
28802  $as_echo_n "(cached) " >&6
28803else
28804  ac_check_lib_save_LIBS=$LIBS
28805LIBS="-luna  $LIBS"
28806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807/* end confdefs.h.  */
28808
28809/* Override any GCC internal prototype to avoid an error.
28810   Use char because int might match the return type of a GCC
28811   builtin and then its argument prototype would still apply.  */
28812#ifdef __cplusplus
28813extern "C"
28814#endif
28815char libuna_utf8_string_copy_from_utf16_stream ();
28816int
28817main ()
28818{
28819return libuna_utf8_string_copy_from_utf16_stream ();
28820  ;
28821  return 0;
28822}
28823_ACEOF
28824if ac_fn_c_try_link "$LINENO"; then :
28825  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes
28826else
28827  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no
28828fi
28829rm -f core conftest.err conftest.$ac_objext \
28830    conftest$ac_exeext conftest.$ac_ext
28831LIBS=$ac_check_lib_save_LIBS
28832fi
28833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5
28834$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; }
28835if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then :
28836  ac_cv_libuna_dummy=yes
28837else
28838  ac_cv_libuna=no
28839fi
28840
28841        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5
28842$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
28843if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then :
28844  $as_echo_n "(cached) " >&6
28845else
28846  ac_check_lib_save_LIBS=$LIBS
28847LIBS="-luna  $LIBS"
28848cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849/* end confdefs.h.  */
28850
28851/* Override any GCC internal prototype to avoid an error.
28852   Use char because int might match the return type of a GCC
28853   builtin and then its argument prototype would still apply.  */
28854#ifdef __cplusplus
28855extern "C"
28856#endif
28857char libuna_utf8_string_with_index_copy_from_utf16_stream ();
28858int
28859main ()
28860{
28861return libuna_utf8_string_with_index_copy_from_utf16_stream ();
28862  ;
28863  return 0;
28864}
28865_ACEOF
28866if ac_fn_c_try_link "$LINENO"; then :
28867  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes
28868else
28869  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no
28870fi
28871rm -f core conftest.err conftest.$ac_objext \
28872    conftest$ac_exeext conftest.$ac_ext
28873LIBS=$ac_check_lib_save_LIBS
28874fi
28875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5
28876$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; }
28877if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then :
28878  ac_cv_libuna_dummy=yes
28879else
28880  ac_cv_libuna=no
28881fi
28882
28883        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5
28884$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; }
28885if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then :
28886  $as_echo_n "(cached) " >&6
28887else
28888  ac_check_lib_save_LIBS=$LIBS
28889LIBS="-luna  $LIBS"
28890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891/* end confdefs.h.  */
28892
28893/* Override any GCC internal prototype to avoid an error.
28894   Use char because int might match the return type of a GCC
28895   builtin and then its argument prototype would still apply.  */
28896#ifdef __cplusplus
28897extern "C"
28898#endif
28899char libuna_utf8_string_size_from_utf32_stream ();
28900int
28901main ()
28902{
28903return libuna_utf8_string_size_from_utf32_stream ();
28904  ;
28905  return 0;
28906}
28907_ACEOF
28908if ac_fn_c_try_link "$LINENO"; then :
28909  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes
28910else
28911  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no
28912fi
28913rm -f core conftest.err conftest.$ac_objext \
28914    conftest$ac_exeext conftest.$ac_ext
28915LIBS=$ac_check_lib_save_LIBS
28916fi
28917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5
28918$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; }
28919if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then :
28920  ac_cv_libuna_dummy=yes
28921else
28922  ac_cv_libuna=no
28923fi
28924
28925        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5
28926$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; }
28927if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then :
28928  $as_echo_n "(cached) " >&6
28929else
28930  ac_check_lib_save_LIBS=$LIBS
28931LIBS="-luna  $LIBS"
28932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28933/* end confdefs.h.  */
28934
28935/* Override any GCC internal prototype to avoid an error.
28936   Use char because int might match the return type of a GCC
28937   builtin and then its argument prototype would still apply.  */
28938#ifdef __cplusplus
28939extern "C"
28940#endif
28941char libuna_utf8_string_copy_from_utf32_stream ();
28942int
28943main ()
28944{
28945return libuna_utf8_string_copy_from_utf32_stream ();
28946  ;
28947  return 0;
28948}
28949_ACEOF
28950if ac_fn_c_try_link "$LINENO"; then :
28951  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes
28952else
28953  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no
28954fi
28955rm -f core conftest.err conftest.$ac_objext \
28956    conftest$ac_exeext conftest.$ac_ext
28957LIBS=$ac_check_lib_save_LIBS
28958fi
28959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5
28960$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; }
28961if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then :
28962  ac_cv_libuna_dummy=yes
28963else
28964  ac_cv_libuna=no
28965fi
28966
28967        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5
28968$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
28969if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then :
28970  $as_echo_n "(cached) " >&6
28971else
28972  ac_check_lib_save_LIBS=$LIBS
28973LIBS="-luna  $LIBS"
28974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28975/* end confdefs.h.  */
28976
28977/* Override any GCC internal prototype to avoid an error.
28978   Use char because int might match the return type of a GCC
28979   builtin and then its argument prototype would still apply.  */
28980#ifdef __cplusplus
28981extern "C"
28982#endif
28983char libuna_utf8_string_with_index_copy_from_utf32_stream ();
28984int
28985main ()
28986{
28987return libuna_utf8_string_with_index_copy_from_utf32_stream ();
28988  ;
28989  return 0;
28990}
28991_ACEOF
28992if ac_fn_c_try_link "$LINENO"; then :
28993  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes
28994else
28995  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no
28996fi
28997rm -f core conftest.err conftest.$ac_objext \
28998    conftest$ac_exeext conftest.$ac_ext
28999LIBS=$ac_check_lib_save_LIBS
29000fi
29001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5
29002$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; }
29003if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then :
29004  ac_cv_libuna_dummy=yes
29005else
29006  ac_cv_libuna=no
29007fi
29008
29009        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5
29010$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; }
29011if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then :
29012  $as_echo_n "(cached) " >&6
29013else
29014  ac_check_lib_save_LIBS=$LIBS
29015LIBS="-luna  $LIBS"
29016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29017/* end confdefs.h.  */
29018
29019/* Override any GCC internal prototype to avoid an error.
29020   Use char because int might match the return type of a GCC
29021   builtin and then its argument prototype would still apply.  */
29022#ifdef __cplusplus
29023extern "C"
29024#endif
29025char libuna_utf8_string_size_from_utf16 ();
29026int
29027main ()
29028{
29029return libuna_utf8_string_size_from_utf16 ();
29030  ;
29031  return 0;
29032}
29033_ACEOF
29034if ac_fn_c_try_link "$LINENO"; then :
29035  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes
29036else
29037  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no
29038fi
29039rm -f core conftest.err conftest.$ac_objext \
29040    conftest$ac_exeext conftest.$ac_ext
29041LIBS=$ac_check_lib_save_LIBS
29042fi
29043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5
29044$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; }
29045if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then :
29046  ac_cv_libuna_dummy=yes
29047else
29048  ac_cv_libuna=no
29049fi
29050
29051        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5
29052$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; }
29053if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then :
29054  $as_echo_n "(cached) " >&6
29055else
29056  ac_check_lib_save_LIBS=$LIBS
29057LIBS="-luna  $LIBS"
29058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059/* end confdefs.h.  */
29060
29061/* Override any GCC internal prototype to avoid an error.
29062   Use char because int might match the return type of a GCC
29063   builtin and then its argument prototype would still apply.  */
29064#ifdef __cplusplus
29065extern "C"
29066#endif
29067char libuna_utf8_string_copy_from_utf16 ();
29068int
29069main ()
29070{
29071return libuna_utf8_string_copy_from_utf16 ();
29072  ;
29073  return 0;
29074}
29075_ACEOF
29076if ac_fn_c_try_link "$LINENO"; then :
29077  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes
29078else
29079  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no
29080fi
29081rm -f core conftest.err conftest.$ac_objext \
29082    conftest$ac_exeext conftest.$ac_ext
29083LIBS=$ac_check_lib_save_LIBS
29084fi
29085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5
29086$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; }
29087if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then :
29088  ac_cv_libuna_dummy=yes
29089else
29090  ac_cv_libuna=no
29091fi
29092
29093        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5
29094$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; }
29095if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then :
29096  $as_echo_n "(cached) " >&6
29097else
29098  ac_check_lib_save_LIBS=$LIBS
29099LIBS="-luna  $LIBS"
29100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101/* end confdefs.h.  */
29102
29103/* Override any GCC internal prototype to avoid an error.
29104   Use char because int might match the return type of a GCC
29105   builtin and then its argument prototype would still apply.  */
29106#ifdef __cplusplus
29107extern "C"
29108#endif
29109char libuna_utf8_string_with_index_copy_from_utf16 ();
29110int
29111main ()
29112{
29113return libuna_utf8_string_with_index_copy_from_utf16 ();
29114  ;
29115  return 0;
29116}
29117_ACEOF
29118if ac_fn_c_try_link "$LINENO"; then :
29119  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes
29120else
29121  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no
29122fi
29123rm -f core conftest.err conftest.$ac_objext \
29124    conftest$ac_exeext conftest.$ac_ext
29125LIBS=$ac_check_lib_save_LIBS
29126fi
29127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5
29128$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; }
29129if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then :
29130  ac_cv_libuna_dummy=yes
29131else
29132  ac_cv_libuna=no
29133fi
29134
29135        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5
29136$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; }
29137if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then :
29138  $as_echo_n "(cached) " >&6
29139else
29140  ac_check_lib_save_LIBS=$LIBS
29141LIBS="-luna  $LIBS"
29142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143/* end confdefs.h.  */
29144
29145/* Override any GCC internal prototype to avoid an error.
29146   Use char because int might match the return type of a GCC
29147   builtin and then its argument prototype would still apply.  */
29148#ifdef __cplusplus
29149extern "C"
29150#endif
29151char libuna_utf8_string_size_from_utf32 ();
29152int
29153main ()
29154{
29155return libuna_utf8_string_size_from_utf32 ();
29156  ;
29157  return 0;
29158}
29159_ACEOF
29160if ac_fn_c_try_link "$LINENO"; then :
29161  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes
29162else
29163  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no
29164fi
29165rm -f core conftest.err conftest.$ac_objext \
29166    conftest$ac_exeext conftest.$ac_ext
29167LIBS=$ac_check_lib_save_LIBS
29168fi
29169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5
29170$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; }
29171if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then :
29172  ac_cv_libuna_dummy=yes
29173else
29174  ac_cv_libuna=no
29175fi
29176
29177        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5
29178$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; }
29179if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then :
29180  $as_echo_n "(cached) " >&6
29181else
29182  ac_check_lib_save_LIBS=$LIBS
29183LIBS="-luna  $LIBS"
29184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29185/* end confdefs.h.  */
29186
29187/* Override any GCC internal prototype to avoid an error.
29188   Use char because int might match the return type of a GCC
29189   builtin and then its argument prototype would still apply.  */
29190#ifdef __cplusplus
29191extern "C"
29192#endif
29193char libuna_utf8_string_copy_from_utf32 ();
29194int
29195main ()
29196{
29197return libuna_utf8_string_copy_from_utf32 ();
29198  ;
29199  return 0;
29200}
29201_ACEOF
29202if ac_fn_c_try_link "$LINENO"; then :
29203  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes
29204else
29205  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no
29206fi
29207rm -f core conftest.err conftest.$ac_objext \
29208    conftest$ac_exeext conftest.$ac_ext
29209LIBS=$ac_check_lib_save_LIBS
29210fi
29211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5
29212$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; }
29213if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then :
29214  ac_cv_libuna_dummy=yes
29215else
29216  ac_cv_libuna=no
29217fi
29218
29219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5
29220$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; }
29221if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then :
29222  $as_echo_n "(cached) " >&6
29223else
29224  ac_check_lib_save_LIBS=$LIBS
29225LIBS="-luna  $LIBS"
29226cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29227/* end confdefs.h.  */
29228
29229/* Override any GCC internal prototype to avoid an error.
29230   Use char because int might match the return type of a GCC
29231   builtin and then its argument prototype would still apply.  */
29232#ifdef __cplusplus
29233extern "C"
29234#endif
29235char libuna_utf8_string_with_index_copy_from_utf32 ();
29236int
29237main ()
29238{
29239return libuna_utf8_string_with_index_copy_from_utf32 ();
29240  ;
29241  return 0;
29242}
29243_ACEOF
29244if ac_fn_c_try_link "$LINENO"; then :
29245  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes
29246else
29247  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no
29248fi
29249rm -f core conftest.err conftest.$ac_objext \
29250    conftest$ac_exeext conftest.$ac_ext
29251LIBS=$ac_check_lib_save_LIBS
29252fi
29253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5
29254$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; }
29255if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then :
29256  ac_cv_libuna_dummy=yes
29257else
29258  ac_cv_libuna=no
29259fi
29260
29261
29262                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5
29263$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; }
29264if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then :
29265  $as_echo_n "(cached) " >&6
29266else
29267  ac_check_lib_save_LIBS=$LIBS
29268LIBS="-luna  $LIBS"
29269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29270/* end confdefs.h.  */
29271
29272/* Override any GCC internal prototype to avoid an error.
29273   Use char because int might match the return type of a GCC
29274   builtin and then its argument prototype would still apply.  */
29275#ifdef __cplusplus
29276extern "C"
29277#endif
29278char libuna_utf16_string_size_from_byte_stream ();
29279int
29280main ()
29281{
29282return libuna_utf16_string_size_from_byte_stream ();
29283  ;
29284  return 0;
29285}
29286_ACEOF
29287if ac_fn_c_try_link "$LINENO"; then :
29288  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes
29289else
29290  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no
29291fi
29292rm -f core conftest.err conftest.$ac_objext \
29293    conftest$ac_exeext conftest.$ac_ext
29294LIBS=$ac_check_lib_save_LIBS
29295fi
29296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5
29297$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; }
29298if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then :
29299  ac_cv_libuna_dummy=yes
29300else
29301  ac_cv_libuna=no
29302fi
29303
29304        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5
29305$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; }
29306if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then :
29307  $as_echo_n "(cached) " >&6
29308else
29309  ac_check_lib_save_LIBS=$LIBS
29310LIBS="-luna  $LIBS"
29311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312/* end confdefs.h.  */
29313
29314/* Override any GCC internal prototype to avoid an error.
29315   Use char because int might match the return type of a GCC
29316   builtin and then its argument prototype would still apply.  */
29317#ifdef __cplusplus
29318extern "C"
29319#endif
29320char libuna_utf16_string_copy_from_byte_stream ();
29321int
29322main ()
29323{
29324return libuna_utf16_string_copy_from_byte_stream ();
29325  ;
29326  return 0;
29327}
29328_ACEOF
29329if ac_fn_c_try_link "$LINENO"; then :
29330  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes
29331else
29332  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no
29333fi
29334rm -f core conftest.err conftest.$ac_objext \
29335    conftest$ac_exeext conftest.$ac_ext
29336LIBS=$ac_check_lib_save_LIBS
29337fi
29338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5
29339$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; }
29340if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then :
29341  ac_cv_libuna_dummy=yes
29342else
29343  ac_cv_libuna=no
29344fi
29345
29346        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5
29347$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; }
29348if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then :
29349  $as_echo_n "(cached) " >&6
29350else
29351  ac_check_lib_save_LIBS=$LIBS
29352LIBS="-luna  $LIBS"
29353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29354/* end confdefs.h.  */
29355
29356/* Override any GCC internal prototype to avoid an error.
29357   Use char because int might match the return type of a GCC
29358   builtin and then its argument prototype would still apply.  */
29359#ifdef __cplusplus
29360extern "C"
29361#endif
29362char libuna_utf16_string_with_index_copy_from_byte_stream ();
29363int
29364main ()
29365{
29366return libuna_utf16_string_with_index_copy_from_byte_stream ();
29367  ;
29368  return 0;
29369}
29370_ACEOF
29371if ac_fn_c_try_link "$LINENO"; then :
29372  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes
29373else
29374  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no
29375fi
29376rm -f core conftest.err conftest.$ac_objext \
29377    conftest$ac_exeext conftest.$ac_ext
29378LIBS=$ac_check_lib_save_LIBS
29379fi
29380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5
29381$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; }
29382if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then :
29383  ac_cv_libuna_dummy=yes
29384else
29385  ac_cv_libuna=no
29386fi
29387
29388        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5
29389$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; }
29390if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then :
29391  $as_echo_n "(cached) " >&6
29392else
29393  ac_check_lib_save_LIBS=$LIBS
29394LIBS="-luna  $LIBS"
29395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29396/* end confdefs.h.  */
29397
29398/* Override any GCC internal prototype to avoid an error.
29399   Use char because int might match the return type of a GCC
29400   builtin and then its argument prototype would still apply.  */
29401#ifdef __cplusplus
29402extern "C"
29403#endif
29404char libuna_utf16_string_size_from_utf7_stream ();
29405int
29406main ()
29407{
29408return libuna_utf16_string_size_from_utf7_stream ();
29409  ;
29410  return 0;
29411}
29412_ACEOF
29413if ac_fn_c_try_link "$LINENO"; then :
29414  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes
29415else
29416  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no
29417fi
29418rm -f core conftest.err conftest.$ac_objext \
29419    conftest$ac_exeext conftest.$ac_ext
29420LIBS=$ac_check_lib_save_LIBS
29421fi
29422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5
29423$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; }
29424if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then :
29425  ac_cv_libuna_dummy=yes
29426else
29427  ac_cv_libuna=no
29428fi
29429
29430        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5
29431$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; }
29432if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then :
29433  $as_echo_n "(cached) " >&6
29434else
29435  ac_check_lib_save_LIBS=$LIBS
29436LIBS="-luna  $LIBS"
29437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29438/* end confdefs.h.  */
29439
29440/* Override any GCC internal prototype to avoid an error.
29441   Use char because int might match the return type of a GCC
29442   builtin and then its argument prototype would still apply.  */
29443#ifdef __cplusplus
29444extern "C"
29445#endif
29446char libuna_utf16_string_copy_from_utf7_stream ();
29447int
29448main ()
29449{
29450return libuna_utf16_string_copy_from_utf7_stream ();
29451  ;
29452  return 0;
29453}
29454_ACEOF
29455if ac_fn_c_try_link "$LINENO"; then :
29456  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes
29457else
29458  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no
29459fi
29460rm -f core conftest.err conftest.$ac_objext \
29461    conftest$ac_exeext conftest.$ac_ext
29462LIBS=$ac_check_lib_save_LIBS
29463fi
29464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5
29465$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; }
29466if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then :
29467  ac_cv_libuna_dummy=yes
29468else
29469  ac_cv_libuna=no
29470fi
29471
29472        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5
29473$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
29474if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then :
29475  $as_echo_n "(cached) " >&6
29476else
29477  ac_check_lib_save_LIBS=$LIBS
29478LIBS="-luna  $LIBS"
29479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480/* end confdefs.h.  */
29481
29482/* Override any GCC internal prototype to avoid an error.
29483   Use char because int might match the return type of a GCC
29484   builtin and then its argument prototype would still apply.  */
29485#ifdef __cplusplus
29486extern "C"
29487#endif
29488char libuna_utf16_string_with_index_copy_from_utf7_stream ();
29489int
29490main ()
29491{
29492return libuna_utf16_string_with_index_copy_from_utf7_stream ();
29493  ;
29494  return 0;
29495}
29496_ACEOF
29497if ac_fn_c_try_link "$LINENO"; then :
29498  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes
29499else
29500  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no
29501fi
29502rm -f core conftest.err conftest.$ac_objext \
29503    conftest$ac_exeext conftest.$ac_ext
29504LIBS=$ac_check_lib_save_LIBS
29505fi
29506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5
29507$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; }
29508if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then :
29509  ac_cv_libuna_dummy=yes
29510else
29511  ac_cv_libuna=no
29512fi
29513
29514        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5
29515$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; }
29516if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then :
29517  $as_echo_n "(cached) " >&6
29518else
29519  ac_check_lib_save_LIBS=$LIBS
29520LIBS="-luna  $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 libuna_utf16_string_size_from_utf8_stream ();
29531int
29532main ()
29533{
29534return libuna_utf16_string_size_from_utf8_stream ();
29535  ;
29536  return 0;
29537}
29538_ACEOF
29539if ac_fn_c_try_link "$LINENO"; then :
29540  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes
29541else
29542  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=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_una_libuna_utf16_string_size_from_utf8_stream" >&5
29549$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; }
29550if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then :
29551  ac_cv_libuna_dummy=yes
29552else
29553  ac_cv_libuna=no
29554fi
29555
29556        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5
29557$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; }
29558if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then :
29559  $as_echo_n "(cached) " >&6
29560else
29561  ac_check_lib_save_LIBS=$LIBS
29562LIBS="-luna  $LIBS"
29563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29564/* end confdefs.h.  */
29565
29566/* Override any GCC internal prototype to avoid an error.
29567   Use char because int might match the return type of a GCC
29568   builtin and then its argument prototype would still apply.  */
29569#ifdef __cplusplus
29570extern "C"
29571#endif
29572char libuna_utf16_string_copy_from_utf8_stream ();
29573int
29574main ()
29575{
29576return libuna_utf16_string_copy_from_utf8_stream ();
29577  ;
29578  return 0;
29579}
29580_ACEOF
29581if ac_fn_c_try_link "$LINENO"; then :
29582  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes
29583else
29584  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no
29585fi
29586rm -f core conftest.err conftest.$ac_objext \
29587    conftest$ac_exeext conftest.$ac_ext
29588LIBS=$ac_check_lib_save_LIBS
29589fi
29590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5
29591$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; }
29592if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then :
29593  ac_cv_libuna_dummy=yes
29594else
29595  ac_cv_libuna=no
29596fi
29597
29598        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5
29599$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
29600if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then :
29601  $as_echo_n "(cached) " >&6
29602else
29603  ac_check_lib_save_LIBS=$LIBS
29604LIBS="-luna  $LIBS"
29605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29606/* end confdefs.h.  */
29607
29608/* Override any GCC internal prototype to avoid an error.
29609   Use char because int might match the return type of a GCC
29610   builtin and then its argument prototype would still apply.  */
29611#ifdef __cplusplus
29612extern "C"
29613#endif
29614char libuna_utf16_string_with_index_copy_from_utf8_stream ();
29615int
29616main ()
29617{
29618return libuna_utf16_string_with_index_copy_from_utf8_stream ();
29619  ;
29620  return 0;
29621}
29622_ACEOF
29623if ac_fn_c_try_link "$LINENO"; then :
29624  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes
29625else
29626  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no
29627fi
29628rm -f core conftest.err conftest.$ac_objext \
29629    conftest$ac_exeext conftest.$ac_ext
29630LIBS=$ac_check_lib_save_LIBS
29631fi
29632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5
29633$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; }
29634if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then :
29635  ac_cv_libuna_dummy=yes
29636else
29637  ac_cv_libuna=no
29638fi
29639
29640        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5
29641$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; }
29642if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then :
29643  $as_echo_n "(cached) " >&6
29644else
29645  ac_check_lib_save_LIBS=$LIBS
29646LIBS="-luna  $LIBS"
29647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29648/* end confdefs.h.  */
29649
29650/* Override any GCC internal prototype to avoid an error.
29651   Use char because int might match the return type of a GCC
29652   builtin and then its argument prototype would still apply.  */
29653#ifdef __cplusplus
29654extern "C"
29655#endif
29656char libuna_utf16_string_size_from_utf16_stream ();
29657int
29658main ()
29659{
29660return libuna_utf16_string_size_from_utf16_stream ();
29661  ;
29662  return 0;
29663}
29664_ACEOF
29665if ac_fn_c_try_link "$LINENO"; then :
29666  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes
29667else
29668  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no
29669fi
29670rm -f core conftest.err conftest.$ac_objext \
29671    conftest$ac_exeext conftest.$ac_ext
29672LIBS=$ac_check_lib_save_LIBS
29673fi
29674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5
29675$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; }
29676if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then :
29677  ac_cv_libuna_dummy=yes
29678else
29679  ac_cv_libuna=no
29680fi
29681
29682        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5
29683$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; }
29684if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then :
29685  $as_echo_n "(cached) " >&6
29686else
29687  ac_check_lib_save_LIBS=$LIBS
29688LIBS="-luna  $LIBS"
29689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690/* end confdefs.h.  */
29691
29692/* Override any GCC internal prototype to avoid an error.
29693   Use char because int might match the return type of a GCC
29694   builtin and then its argument prototype would still apply.  */
29695#ifdef __cplusplus
29696extern "C"
29697#endif
29698char libuna_utf16_string_copy_from_utf16_stream ();
29699int
29700main ()
29701{
29702return libuna_utf16_string_copy_from_utf16_stream ();
29703  ;
29704  return 0;
29705}
29706_ACEOF
29707if ac_fn_c_try_link "$LINENO"; then :
29708  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes
29709else
29710  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no
29711fi
29712rm -f core conftest.err conftest.$ac_objext \
29713    conftest$ac_exeext conftest.$ac_ext
29714LIBS=$ac_check_lib_save_LIBS
29715fi
29716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5
29717$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; }
29718if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then :
29719  ac_cv_libuna_dummy=yes
29720else
29721  ac_cv_libuna=no
29722fi
29723
29724        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5
29725$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
29726if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then :
29727  $as_echo_n "(cached) " >&6
29728else
29729  ac_check_lib_save_LIBS=$LIBS
29730LIBS="-luna  $LIBS"
29731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29732/* end confdefs.h.  */
29733
29734/* Override any GCC internal prototype to avoid an error.
29735   Use char because int might match the return type of a GCC
29736   builtin and then its argument prototype would still apply.  */
29737#ifdef __cplusplus
29738extern "C"
29739#endif
29740char libuna_utf16_string_with_index_copy_from_utf16_stream ();
29741int
29742main ()
29743{
29744return libuna_utf16_string_with_index_copy_from_utf16_stream ();
29745  ;
29746  return 0;
29747}
29748_ACEOF
29749if ac_fn_c_try_link "$LINENO"; then :
29750  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes
29751else
29752  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no
29753fi
29754rm -f core conftest.err conftest.$ac_objext \
29755    conftest$ac_exeext conftest.$ac_ext
29756LIBS=$ac_check_lib_save_LIBS
29757fi
29758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5
29759$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; }
29760if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then :
29761  ac_cv_libuna_dummy=yes
29762else
29763  ac_cv_libuna=no
29764fi
29765
29766        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5
29767$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; }
29768if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then :
29769  $as_echo_n "(cached) " >&6
29770else
29771  ac_check_lib_save_LIBS=$LIBS
29772LIBS="-luna  $LIBS"
29773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29774/* end confdefs.h.  */
29775
29776/* Override any GCC internal prototype to avoid an error.
29777   Use char because int might match the return type of a GCC
29778   builtin and then its argument prototype would still apply.  */
29779#ifdef __cplusplus
29780extern "C"
29781#endif
29782char libuna_utf16_string_size_from_utf32_stream ();
29783int
29784main ()
29785{
29786return libuna_utf16_string_size_from_utf32_stream ();
29787  ;
29788  return 0;
29789}
29790_ACEOF
29791if ac_fn_c_try_link "$LINENO"; then :
29792  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes
29793else
29794  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no
29795fi
29796rm -f core conftest.err conftest.$ac_objext \
29797    conftest$ac_exeext conftest.$ac_ext
29798LIBS=$ac_check_lib_save_LIBS
29799fi
29800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5
29801$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; }
29802if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then :
29803  ac_cv_libuna_dummy=yes
29804else
29805  ac_cv_libuna=no
29806fi
29807
29808        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5
29809$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; }
29810if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then :
29811  $as_echo_n "(cached) " >&6
29812else
29813  ac_check_lib_save_LIBS=$LIBS
29814LIBS="-luna  $LIBS"
29815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816/* end confdefs.h.  */
29817
29818/* Override any GCC internal prototype to avoid an error.
29819   Use char because int might match the return type of a GCC
29820   builtin and then its argument prototype would still apply.  */
29821#ifdef __cplusplus
29822extern "C"
29823#endif
29824char libuna_utf16_string_copy_from_utf32_stream ();
29825int
29826main ()
29827{
29828return libuna_utf16_string_copy_from_utf32_stream ();
29829  ;
29830  return 0;
29831}
29832_ACEOF
29833if ac_fn_c_try_link "$LINENO"; then :
29834  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes
29835else
29836  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no
29837fi
29838rm -f core conftest.err conftest.$ac_objext \
29839    conftest$ac_exeext conftest.$ac_ext
29840LIBS=$ac_check_lib_save_LIBS
29841fi
29842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5
29843$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; }
29844if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then :
29845  ac_cv_libuna_dummy=yes
29846else
29847  ac_cv_libuna=no
29848fi
29849
29850        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5
29851$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
29852if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then :
29853  $as_echo_n "(cached) " >&6
29854else
29855  ac_check_lib_save_LIBS=$LIBS
29856LIBS="-luna  $LIBS"
29857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858/* end confdefs.h.  */
29859
29860/* Override any GCC internal prototype to avoid an error.
29861   Use char because int might match the return type of a GCC
29862   builtin and then its argument prototype would still apply.  */
29863#ifdef __cplusplus
29864extern "C"
29865#endif
29866char libuna_utf16_string_with_index_copy_from_utf32_stream ();
29867int
29868main ()
29869{
29870return libuna_utf16_string_with_index_copy_from_utf32_stream ();
29871  ;
29872  return 0;
29873}
29874_ACEOF
29875if ac_fn_c_try_link "$LINENO"; then :
29876  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes
29877else
29878  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no
29879fi
29880rm -f core conftest.err conftest.$ac_objext \
29881    conftest$ac_exeext conftest.$ac_ext
29882LIBS=$ac_check_lib_save_LIBS
29883fi
29884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5
29885$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; }
29886if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then :
29887  ac_cv_libuna_dummy=yes
29888else
29889  ac_cv_libuna=no
29890fi
29891
29892        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5
29893$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; }
29894if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then :
29895  $as_echo_n "(cached) " >&6
29896else
29897  ac_check_lib_save_LIBS=$LIBS
29898LIBS="-luna  $LIBS"
29899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29900/* end confdefs.h.  */
29901
29902/* Override any GCC internal prototype to avoid an error.
29903   Use char because int might match the return type of a GCC
29904   builtin and then its argument prototype would still apply.  */
29905#ifdef __cplusplus
29906extern "C"
29907#endif
29908char libuna_utf16_string_size_from_utf8 ();
29909int
29910main ()
29911{
29912return libuna_utf16_string_size_from_utf8 ();
29913  ;
29914  return 0;
29915}
29916_ACEOF
29917if ac_fn_c_try_link "$LINENO"; then :
29918  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes
29919else
29920  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no
29921fi
29922rm -f core conftest.err conftest.$ac_objext \
29923    conftest$ac_exeext conftest.$ac_ext
29924LIBS=$ac_check_lib_save_LIBS
29925fi
29926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5
29927$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; }
29928if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then :
29929  ac_cv_libuna_dummy=yes
29930else
29931  ac_cv_libuna=no
29932fi
29933
29934        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5
29935$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; }
29936if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then :
29937  $as_echo_n "(cached) " >&6
29938else
29939  ac_check_lib_save_LIBS=$LIBS
29940LIBS="-luna  $LIBS"
29941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942/* end confdefs.h.  */
29943
29944/* Override any GCC internal prototype to avoid an error.
29945   Use char because int might match the return type of a GCC
29946   builtin and then its argument prototype would still apply.  */
29947#ifdef __cplusplus
29948extern "C"
29949#endif
29950char libuna_utf16_string_copy_from_utf8 ();
29951int
29952main ()
29953{
29954return libuna_utf16_string_copy_from_utf8 ();
29955  ;
29956  return 0;
29957}
29958_ACEOF
29959if ac_fn_c_try_link "$LINENO"; then :
29960  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes
29961else
29962  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no
29963fi
29964rm -f core conftest.err conftest.$ac_objext \
29965    conftest$ac_exeext conftest.$ac_ext
29966LIBS=$ac_check_lib_save_LIBS
29967fi
29968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5
29969$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; }
29970if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then :
29971  ac_cv_libuna_dummy=yes
29972else
29973  ac_cv_libuna=no
29974fi
29975
29976        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5
29977$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; }
29978if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then :
29979  $as_echo_n "(cached) " >&6
29980else
29981  ac_check_lib_save_LIBS=$LIBS
29982LIBS="-luna  $LIBS"
29983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29984/* end confdefs.h.  */
29985
29986/* Override any GCC internal prototype to avoid an error.
29987   Use char because int might match the return type of a GCC
29988   builtin and then its argument prototype would still apply.  */
29989#ifdef __cplusplus
29990extern "C"
29991#endif
29992char libuna_utf16_string_with_index_copy_from_utf8 ();
29993int
29994main ()
29995{
29996return libuna_utf16_string_with_index_copy_from_utf8 ();
29997  ;
29998  return 0;
29999}
30000_ACEOF
30001if ac_fn_c_try_link "$LINENO"; then :
30002  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes
30003else
30004  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no
30005fi
30006rm -f core conftest.err conftest.$ac_objext \
30007    conftest$ac_exeext conftest.$ac_ext
30008LIBS=$ac_check_lib_save_LIBS
30009fi
30010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5
30011$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; }
30012if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then :
30013  ac_cv_libuna_dummy=yes
30014else
30015  ac_cv_libuna=no
30016fi
30017
30018        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5
30019$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; }
30020if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then :
30021  $as_echo_n "(cached) " >&6
30022else
30023  ac_check_lib_save_LIBS=$LIBS
30024LIBS="-luna  $LIBS"
30025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30026/* end confdefs.h.  */
30027
30028/* Override any GCC internal prototype to avoid an error.
30029   Use char because int might match the return type of a GCC
30030   builtin and then its argument prototype would still apply.  */
30031#ifdef __cplusplus
30032extern "C"
30033#endif
30034char libuna_utf16_string_size_from_utf32 ();
30035int
30036main ()
30037{
30038return libuna_utf16_string_size_from_utf32 ();
30039  ;
30040  return 0;
30041}
30042_ACEOF
30043if ac_fn_c_try_link "$LINENO"; then :
30044  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes
30045else
30046  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no
30047fi
30048rm -f core conftest.err conftest.$ac_objext \
30049    conftest$ac_exeext conftest.$ac_ext
30050LIBS=$ac_check_lib_save_LIBS
30051fi
30052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5
30053$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; }
30054if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then :
30055  ac_cv_libuna_dummy=yes
30056else
30057  ac_cv_libuna=no
30058fi
30059
30060        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5
30061$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; }
30062if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then :
30063  $as_echo_n "(cached) " >&6
30064else
30065  ac_check_lib_save_LIBS=$LIBS
30066LIBS="-luna  $LIBS"
30067cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30068/* end confdefs.h.  */
30069
30070/* Override any GCC internal prototype to avoid an error.
30071   Use char because int might match the return type of a GCC
30072   builtin and then its argument prototype would still apply.  */
30073#ifdef __cplusplus
30074extern "C"
30075#endif
30076char libuna_utf16_string_copy_from_utf32 ();
30077int
30078main ()
30079{
30080return libuna_utf16_string_copy_from_utf32 ();
30081  ;
30082  return 0;
30083}
30084_ACEOF
30085if ac_fn_c_try_link "$LINENO"; then :
30086  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes
30087else
30088  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no
30089fi
30090rm -f core conftest.err conftest.$ac_objext \
30091    conftest$ac_exeext conftest.$ac_ext
30092LIBS=$ac_check_lib_save_LIBS
30093fi
30094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5
30095$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; }
30096if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then :
30097  ac_cv_libuna_dummy=yes
30098else
30099  ac_cv_libuna=no
30100fi
30101
30102        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5
30103$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; }
30104if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then :
30105  $as_echo_n "(cached) " >&6
30106else
30107  ac_check_lib_save_LIBS=$LIBS
30108LIBS="-luna  $LIBS"
30109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110/* end confdefs.h.  */
30111
30112/* Override any GCC internal prototype to avoid an error.
30113   Use char because int might match the return type of a GCC
30114   builtin and then its argument prototype would still apply.  */
30115#ifdef __cplusplus
30116extern "C"
30117#endif
30118char libuna_utf16_string_with_index_copy_from_utf32 ();
30119int
30120main ()
30121{
30122return libuna_utf16_string_with_index_copy_from_utf32 ();
30123  ;
30124  return 0;
30125}
30126_ACEOF
30127if ac_fn_c_try_link "$LINENO"; then :
30128  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes
30129else
30130  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no
30131fi
30132rm -f core conftest.err conftest.$ac_objext \
30133    conftest$ac_exeext conftest.$ac_ext
30134LIBS=$ac_check_lib_save_LIBS
30135fi
30136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5
30137$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; }
30138if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then :
30139  ac_cv_libuna_dummy=yes
30140else
30141  ac_cv_libuna=no
30142fi
30143
30144
30145                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5
30146$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; }
30147if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then :
30148  $as_echo_n "(cached) " >&6
30149else
30150  ac_check_lib_save_LIBS=$LIBS
30151LIBS="-luna  $LIBS"
30152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30153/* end confdefs.h.  */
30154
30155/* Override any GCC internal prototype to avoid an error.
30156   Use char because int might match the return type of a GCC
30157   builtin and then its argument prototype would still apply.  */
30158#ifdef __cplusplus
30159extern "C"
30160#endif
30161char libuna_utf32_string_size_from_byte_stream ();
30162int
30163main ()
30164{
30165return libuna_utf32_string_size_from_byte_stream ();
30166  ;
30167  return 0;
30168}
30169_ACEOF
30170if ac_fn_c_try_link "$LINENO"; then :
30171  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes
30172else
30173  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no
30174fi
30175rm -f core conftest.err conftest.$ac_objext \
30176    conftest$ac_exeext conftest.$ac_ext
30177LIBS=$ac_check_lib_save_LIBS
30178fi
30179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5
30180$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; }
30181if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then :
30182  ac_cv_libuna_dummy=yes
30183else
30184  ac_cv_libuna=no
30185fi
30186
30187        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5
30188$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; }
30189if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then :
30190  $as_echo_n "(cached) " >&6
30191else
30192  ac_check_lib_save_LIBS=$LIBS
30193LIBS="-luna  $LIBS"
30194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195/* end confdefs.h.  */
30196
30197/* Override any GCC internal prototype to avoid an error.
30198   Use char because int might match the return type of a GCC
30199   builtin and then its argument prototype would still apply.  */
30200#ifdef __cplusplus
30201extern "C"
30202#endif
30203char libuna_utf32_string_copy_from_byte_stream ();
30204int
30205main ()
30206{
30207return libuna_utf32_string_copy_from_byte_stream ();
30208  ;
30209  return 0;
30210}
30211_ACEOF
30212if ac_fn_c_try_link "$LINENO"; then :
30213  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes
30214else
30215  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no
30216fi
30217rm -f core conftest.err conftest.$ac_objext \
30218    conftest$ac_exeext conftest.$ac_ext
30219LIBS=$ac_check_lib_save_LIBS
30220fi
30221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5
30222$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; }
30223if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then :
30224  ac_cv_libuna_dummy=yes
30225else
30226  ac_cv_libuna=no
30227fi
30228
30229        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5
30230$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; }
30231if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then :
30232  $as_echo_n "(cached) " >&6
30233else
30234  ac_check_lib_save_LIBS=$LIBS
30235LIBS="-luna  $LIBS"
30236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237/* end confdefs.h.  */
30238
30239/* Override any GCC internal prototype to avoid an error.
30240   Use char because int might match the return type of a GCC
30241   builtin and then its argument prototype would still apply.  */
30242#ifdef __cplusplus
30243extern "C"
30244#endif
30245char libuna_utf32_string_with_index_copy_from_byte_stream ();
30246int
30247main ()
30248{
30249return libuna_utf32_string_with_index_copy_from_byte_stream ();
30250  ;
30251  return 0;
30252}
30253_ACEOF
30254if ac_fn_c_try_link "$LINENO"; then :
30255  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes
30256else
30257  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no
30258fi
30259rm -f core conftest.err conftest.$ac_objext \
30260    conftest$ac_exeext conftest.$ac_ext
30261LIBS=$ac_check_lib_save_LIBS
30262fi
30263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5
30264$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; }
30265if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then :
30266  ac_cv_libuna_dummy=yes
30267else
30268  ac_cv_libuna=no
30269fi
30270
30271        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5
30272$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; }
30273if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then :
30274  $as_echo_n "(cached) " >&6
30275else
30276  ac_check_lib_save_LIBS=$LIBS
30277LIBS="-luna  $LIBS"
30278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279/* end confdefs.h.  */
30280
30281/* Override any GCC internal prototype to avoid an error.
30282   Use char because int might match the return type of a GCC
30283   builtin and then its argument prototype would still apply.  */
30284#ifdef __cplusplus
30285extern "C"
30286#endif
30287char libuna_utf32_string_size_from_utf7_stream ();
30288int
30289main ()
30290{
30291return libuna_utf32_string_size_from_utf7_stream ();
30292  ;
30293  return 0;
30294}
30295_ACEOF
30296if ac_fn_c_try_link "$LINENO"; then :
30297  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes
30298else
30299  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no
30300fi
30301rm -f core conftest.err conftest.$ac_objext \
30302    conftest$ac_exeext conftest.$ac_ext
30303LIBS=$ac_check_lib_save_LIBS
30304fi
30305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5
30306$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; }
30307if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then :
30308  ac_cv_libuna_dummy=yes
30309else
30310  ac_cv_libuna=no
30311fi
30312
30313        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5
30314$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; }
30315if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then :
30316  $as_echo_n "(cached) " >&6
30317else
30318  ac_check_lib_save_LIBS=$LIBS
30319LIBS="-luna  $LIBS"
30320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321/* end confdefs.h.  */
30322
30323/* Override any GCC internal prototype to avoid an error.
30324   Use char because int might match the return type of a GCC
30325   builtin and then its argument prototype would still apply.  */
30326#ifdef __cplusplus
30327extern "C"
30328#endif
30329char libuna_utf32_string_copy_from_utf7_stream ();
30330int
30331main ()
30332{
30333return libuna_utf32_string_copy_from_utf7_stream ();
30334  ;
30335  return 0;
30336}
30337_ACEOF
30338if ac_fn_c_try_link "$LINENO"; then :
30339  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes
30340else
30341  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no
30342fi
30343rm -f core conftest.err conftest.$ac_objext \
30344    conftest$ac_exeext conftest.$ac_ext
30345LIBS=$ac_check_lib_save_LIBS
30346fi
30347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5
30348$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; }
30349if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then :
30350  ac_cv_libuna_dummy=yes
30351else
30352  ac_cv_libuna=no
30353fi
30354
30355        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5
30356$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
30357if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then :
30358  $as_echo_n "(cached) " >&6
30359else
30360  ac_check_lib_save_LIBS=$LIBS
30361LIBS="-luna  $LIBS"
30362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30363/* end confdefs.h.  */
30364
30365/* Override any GCC internal prototype to avoid an error.
30366   Use char because int might match the return type of a GCC
30367   builtin and then its argument prototype would still apply.  */
30368#ifdef __cplusplus
30369extern "C"
30370#endif
30371char libuna_utf32_string_with_index_copy_from_utf7_stream ();
30372int
30373main ()
30374{
30375return libuna_utf32_string_with_index_copy_from_utf7_stream ();
30376  ;
30377  return 0;
30378}
30379_ACEOF
30380if ac_fn_c_try_link "$LINENO"; then :
30381  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes
30382else
30383  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no
30384fi
30385rm -f core conftest.err conftest.$ac_objext \
30386    conftest$ac_exeext conftest.$ac_ext
30387LIBS=$ac_check_lib_save_LIBS
30388fi
30389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5
30390$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; }
30391if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then :
30392  ac_cv_libuna_dummy=yes
30393else
30394  ac_cv_libuna=no
30395fi
30396
30397        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5
30398$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; }
30399if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then :
30400  $as_echo_n "(cached) " >&6
30401else
30402  ac_check_lib_save_LIBS=$LIBS
30403LIBS="-luna  $LIBS"
30404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405/* end confdefs.h.  */
30406
30407/* Override any GCC internal prototype to avoid an error.
30408   Use char because int might match the return type of a GCC
30409   builtin and then its argument prototype would still apply.  */
30410#ifdef __cplusplus
30411extern "C"
30412#endif
30413char libuna_utf32_string_size_from_utf8_stream ();
30414int
30415main ()
30416{
30417return libuna_utf32_string_size_from_utf8_stream ();
30418  ;
30419  return 0;
30420}
30421_ACEOF
30422if ac_fn_c_try_link "$LINENO"; then :
30423  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes
30424else
30425  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no
30426fi
30427rm -f core conftest.err conftest.$ac_objext \
30428    conftest$ac_exeext conftest.$ac_ext
30429LIBS=$ac_check_lib_save_LIBS
30430fi
30431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5
30432$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; }
30433if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then :
30434  ac_cv_libuna_dummy=yes
30435else
30436  ac_cv_libuna=no
30437fi
30438
30439        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5
30440$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; }
30441if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then :
30442  $as_echo_n "(cached) " >&6
30443else
30444  ac_check_lib_save_LIBS=$LIBS
30445LIBS="-luna  $LIBS"
30446cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30447/* end confdefs.h.  */
30448
30449/* Override any GCC internal prototype to avoid an error.
30450   Use char because int might match the return type of a GCC
30451   builtin and then its argument prototype would still apply.  */
30452#ifdef __cplusplus
30453extern "C"
30454#endif
30455char libuna_utf32_string_copy_from_utf8_stream ();
30456int
30457main ()
30458{
30459return libuna_utf32_string_copy_from_utf8_stream ();
30460  ;
30461  return 0;
30462}
30463_ACEOF
30464if ac_fn_c_try_link "$LINENO"; then :
30465  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes
30466else
30467  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no
30468fi
30469rm -f core conftest.err conftest.$ac_objext \
30470    conftest$ac_exeext conftest.$ac_ext
30471LIBS=$ac_check_lib_save_LIBS
30472fi
30473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5
30474$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; }
30475if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then :
30476  ac_cv_libuna_dummy=yes
30477else
30478  ac_cv_libuna=no
30479fi
30480
30481        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5
30482$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
30483if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then :
30484  $as_echo_n "(cached) " >&6
30485else
30486  ac_check_lib_save_LIBS=$LIBS
30487LIBS="-luna  $LIBS"
30488cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489/* end confdefs.h.  */
30490
30491/* Override any GCC internal prototype to avoid an error.
30492   Use char because int might match the return type of a GCC
30493   builtin and then its argument prototype would still apply.  */
30494#ifdef __cplusplus
30495extern "C"
30496#endif
30497char libuna_utf32_string_with_index_copy_from_utf8_stream ();
30498int
30499main ()
30500{
30501return libuna_utf32_string_with_index_copy_from_utf8_stream ();
30502  ;
30503  return 0;
30504}
30505_ACEOF
30506if ac_fn_c_try_link "$LINENO"; then :
30507  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes
30508else
30509  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no
30510fi
30511rm -f core conftest.err conftest.$ac_objext \
30512    conftest$ac_exeext conftest.$ac_ext
30513LIBS=$ac_check_lib_save_LIBS
30514fi
30515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5
30516$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; }
30517if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then :
30518  ac_cv_libuna_dummy=yes
30519else
30520  ac_cv_libuna=no
30521fi
30522
30523        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5
30524$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; }
30525if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then :
30526  $as_echo_n "(cached) " >&6
30527else
30528  ac_check_lib_save_LIBS=$LIBS
30529LIBS="-luna  $LIBS"
30530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30531/* end confdefs.h.  */
30532
30533/* Override any GCC internal prototype to avoid an error.
30534   Use char because int might match the return type of a GCC
30535   builtin and then its argument prototype would still apply.  */
30536#ifdef __cplusplus
30537extern "C"
30538#endif
30539char libuna_utf32_string_size_from_utf16_stream ();
30540int
30541main ()
30542{
30543return libuna_utf32_string_size_from_utf16_stream ();
30544  ;
30545  return 0;
30546}
30547_ACEOF
30548if ac_fn_c_try_link "$LINENO"; then :
30549  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes
30550else
30551  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no
30552fi
30553rm -f core conftest.err conftest.$ac_objext \
30554    conftest$ac_exeext conftest.$ac_ext
30555LIBS=$ac_check_lib_save_LIBS
30556fi
30557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5
30558$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; }
30559if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then :
30560  ac_cv_libuna_dummy=yes
30561else
30562  ac_cv_libuna=no
30563fi
30564
30565        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5
30566$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; }
30567if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then :
30568  $as_echo_n "(cached) " >&6
30569else
30570  ac_check_lib_save_LIBS=$LIBS
30571LIBS="-luna  $LIBS"
30572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30573/* end confdefs.h.  */
30574
30575/* Override any GCC internal prototype to avoid an error.
30576   Use char because int might match the return type of a GCC
30577   builtin and then its argument prototype would still apply.  */
30578#ifdef __cplusplus
30579extern "C"
30580#endif
30581char libuna_utf32_string_copy_from_utf16_stream ();
30582int
30583main ()
30584{
30585return libuna_utf32_string_copy_from_utf16_stream ();
30586  ;
30587  return 0;
30588}
30589_ACEOF
30590if ac_fn_c_try_link "$LINENO"; then :
30591  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes
30592else
30593  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no
30594fi
30595rm -f core conftest.err conftest.$ac_objext \
30596    conftest$ac_exeext conftest.$ac_ext
30597LIBS=$ac_check_lib_save_LIBS
30598fi
30599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5
30600$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; }
30601if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then :
30602  ac_cv_libuna_dummy=yes
30603else
30604  ac_cv_libuna=no
30605fi
30606
30607        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5
30608$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
30609if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then :
30610  $as_echo_n "(cached) " >&6
30611else
30612  ac_check_lib_save_LIBS=$LIBS
30613LIBS="-luna  $LIBS"
30614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615/* end confdefs.h.  */
30616
30617/* Override any GCC internal prototype to avoid an error.
30618   Use char because int might match the return type of a GCC
30619   builtin and then its argument prototype would still apply.  */
30620#ifdef __cplusplus
30621extern "C"
30622#endif
30623char libuna_utf32_string_with_index_copy_from_utf16_stream ();
30624int
30625main ()
30626{
30627return libuna_utf32_string_with_index_copy_from_utf16_stream ();
30628  ;
30629  return 0;
30630}
30631_ACEOF
30632if ac_fn_c_try_link "$LINENO"; then :
30633  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes
30634else
30635  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no
30636fi
30637rm -f core conftest.err conftest.$ac_objext \
30638    conftest$ac_exeext conftest.$ac_ext
30639LIBS=$ac_check_lib_save_LIBS
30640fi
30641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5
30642$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; }
30643if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then :
30644  ac_cv_libuna_dummy=yes
30645else
30646  ac_cv_libuna=no
30647fi
30648
30649        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5
30650$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; }
30651if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then :
30652  $as_echo_n "(cached) " >&6
30653else
30654  ac_check_lib_save_LIBS=$LIBS
30655LIBS="-luna  $LIBS"
30656cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30657/* end confdefs.h.  */
30658
30659/* Override any GCC internal prototype to avoid an error.
30660   Use char because int might match the return type of a GCC
30661   builtin and then its argument prototype would still apply.  */
30662#ifdef __cplusplus
30663extern "C"
30664#endif
30665char libuna_utf32_string_size_from_utf32_stream ();
30666int
30667main ()
30668{
30669return libuna_utf32_string_size_from_utf32_stream ();
30670  ;
30671  return 0;
30672}
30673_ACEOF
30674if ac_fn_c_try_link "$LINENO"; then :
30675  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes
30676else
30677  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no
30678fi
30679rm -f core conftest.err conftest.$ac_objext \
30680    conftest$ac_exeext conftest.$ac_ext
30681LIBS=$ac_check_lib_save_LIBS
30682fi
30683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5
30684$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; }
30685if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then :
30686  ac_cv_libuna_dummy=yes
30687else
30688  ac_cv_libuna=no
30689fi
30690
30691        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5
30692$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; }
30693if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then :
30694  $as_echo_n "(cached) " >&6
30695else
30696  ac_check_lib_save_LIBS=$LIBS
30697LIBS="-luna  $LIBS"
30698cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30699/* end confdefs.h.  */
30700
30701/* Override any GCC internal prototype to avoid an error.
30702   Use char because int might match the return type of a GCC
30703   builtin and then its argument prototype would still apply.  */
30704#ifdef __cplusplus
30705extern "C"
30706#endif
30707char libuna_utf32_string_copy_from_utf32_stream ();
30708int
30709main ()
30710{
30711return libuna_utf32_string_copy_from_utf32_stream ();
30712  ;
30713  return 0;
30714}
30715_ACEOF
30716if ac_fn_c_try_link "$LINENO"; then :
30717  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes
30718else
30719  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no
30720fi
30721rm -f core conftest.err conftest.$ac_objext \
30722    conftest$ac_exeext conftest.$ac_ext
30723LIBS=$ac_check_lib_save_LIBS
30724fi
30725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5
30726$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; }
30727if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then :
30728  ac_cv_libuna_dummy=yes
30729else
30730  ac_cv_libuna=no
30731fi
30732
30733        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5
30734$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
30735if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then :
30736  $as_echo_n "(cached) " >&6
30737else
30738  ac_check_lib_save_LIBS=$LIBS
30739LIBS="-luna  $LIBS"
30740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741/* end confdefs.h.  */
30742
30743/* Override any GCC internal prototype to avoid an error.
30744   Use char because int might match the return type of a GCC
30745   builtin and then its argument prototype would still apply.  */
30746#ifdef __cplusplus
30747extern "C"
30748#endif
30749char libuna_utf32_string_with_index_copy_from_utf32_stream ();
30750int
30751main ()
30752{
30753return libuna_utf32_string_with_index_copy_from_utf32_stream ();
30754  ;
30755  return 0;
30756}
30757_ACEOF
30758if ac_fn_c_try_link "$LINENO"; then :
30759  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes
30760else
30761  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no
30762fi
30763rm -f core conftest.err conftest.$ac_objext \
30764    conftest$ac_exeext conftest.$ac_ext
30765LIBS=$ac_check_lib_save_LIBS
30766fi
30767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5
30768$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; }
30769if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then :
30770  ac_cv_libuna_dummy=yes
30771else
30772  ac_cv_libuna=no
30773fi
30774
30775        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5
30776$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; }
30777if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then :
30778  $as_echo_n "(cached) " >&6
30779else
30780  ac_check_lib_save_LIBS=$LIBS
30781LIBS="-luna  $LIBS"
30782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783/* end confdefs.h.  */
30784
30785/* Override any GCC internal prototype to avoid an error.
30786   Use char because int might match the return type of a GCC
30787   builtin and then its argument prototype would still apply.  */
30788#ifdef __cplusplus
30789extern "C"
30790#endif
30791char libuna_utf32_string_size_from_utf8 ();
30792int
30793main ()
30794{
30795return libuna_utf32_string_size_from_utf8 ();
30796  ;
30797  return 0;
30798}
30799_ACEOF
30800if ac_fn_c_try_link "$LINENO"; then :
30801  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes
30802else
30803  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no
30804fi
30805rm -f core conftest.err conftest.$ac_objext \
30806    conftest$ac_exeext conftest.$ac_ext
30807LIBS=$ac_check_lib_save_LIBS
30808fi
30809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5
30810$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; }
30811if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then :
30812  ac_cv_libuna_dummy=yes
30813else
30814  ac_cv_libuna=no
30815fi
30816
30817        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5
30818$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; }
30819if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then :
30820  $as_echo_n "(cached) " >&6
30821else
30822  ac_check_lib_save_LIBS=$LIBS
30823LIBS="-luna  $LIBS"
30824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30825/* end confdefs.h.  */
30826
30827/* Override any GCC internal prototype to avoid an error.
30828   Use char because int might match the return type of a GCC
30829   builtin and then its argument prototype would still apply.  */
30830#ifdef __cplusplus
30831extern "C"
30832#endif
30833char libuna_utf32_string_copy_from_utf8 ();
30834int
30835main ()
30836{
30837return libuna_utf32_string_copy_from_utf8 ();
30838  ;
30839  return 0;
30840}
30841_ACEOF
30842if ac_fn_c_try_link "$LINENO"; then :
30843  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes
30844else
30845  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no
30846fi
30847rm -f core conftest.err conftest.$ac_objext \
30848    conftest$ac_exeext conftest.$ac_ext
30849LIBS=$ac_check_lib_save_LIBS
30850fi
30851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5
30852$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; }
30853if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then :
30854  ac_cv_libuna_dummy=yes
30855else
30856  ac_cv_libuna=no
30857fi
30858
30859        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5
30860$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; }
30861if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then :
30862  $as_echo_n "(cached) " >&6
30863else
30864  ac_check_lib_save_LIBS=$LIBS
30865LIBS="-llibuna_utf32_string_with_index_copy_from_utf8  $LIBS"
30866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867/* end confdefs.h.  */
30868
30869/* Override any GCC internal prototype to avoid an error.
30870   Use char because int might match the return type of a GCC
30871   builtin and then its argument prototype would still apply.  */
30872#ifdef __cplusplus
30873extern "C"
30874#endif
30875char ac_cv_libuna_dummy=yes ();
30876int
30877main ()
30878{
30879return ac_cv_libuna_dummy=yes ();
30880  ;
30881  return 0;
30882}
30883_ACEOF
30884if ac_fn_c_try_link "$LINENO"; then :
30885  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes
30886else
30887  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no
30888fi
30889rm -f core conftest.err conftest.$ac_objext \
30890    conftest$ac_exeext conftest.$ac_ext
30891LIBS=$ac_check_lib_save_LIBS
30892fi
30893{ $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
30894$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; }
30895if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then :
30896  ac_cv_libuna=no
30897fi
30898
30899        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5
30900$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; }
30901if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then :
30902  $as_echo_n "(cached) " >&6
30903else
30904  ac_check_lib_save_LIBS=$LIBS
30905LIBS="-luna  $LIBS"
30906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907/* end confdefs.h.  */
30908
30909/* Override any GCC internal prototype to avoid an error.
30910   Use char because int might match the return type of a GCC
30911   builtin and then its argument prototype would still apply.  */
30912#ifdef __cplusplus
30913extern "C"
30914#endif
30915char libuna_utf32_string_size_from_utf16 ();
30916int
30917main ()
30918{
30919return libuna_utf32_string_size_from_utf16 ();
30920  ;
30921  return 0;
30922}
30923_ACEOF
30924if ac_fn_c_try_link "$LINENO"; then :
30925  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes
30926else
30927  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no
30928fi
30929rm -f core conftest.err conftest.$ac_objext \
30930    conftest$ac_exeext conftest.$ac_ext
30931LIBS=$ac_check_lib_save_LIBS
30932fi
30933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5
30934$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; }
30935if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then :
30936  ac_cv_libuna_dummy=yes
30937else
30938  ac_cv_libuna=no
30939fi
30940
30941        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5
30942$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; }
30943if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then :
30944  $as_echo_n "(cached) " >&6
30945else
30946  ac_check_lib_save_LIBS=$LIBS
30947LIBS="-luna  $LIBS"
30948cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949/* end confdefs.h.  */
30950
30951/* Override any GCC internal prototype to avoid an error.
30952   Use char because int might match the return type of a GCC
30953   builtin and then its argument prototype would still apply.  */
30954#ifdef __cplusplus
30955extern "C"
30956#endif
30957char libuna_utf32_string_copy_from_utf16 ();
30958int
30959main ()
30960{
30961return libuna_utf32_string_copy_from_utf16 ();
30962  ;
30963  return 0;
30964}
30965_ACEOF
30966if ac_fn_c_try_link "$LINENO"; then :
30967  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes
30968else
30969  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no
30970fi
30971rm -f core conftest.err conftest.$ac_objext \
30972    conftest$ac_exeext conftest.$ac_ext
30973LIBS=$ac_check_lib_save_LIBS
30974fi
30975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5
30976$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; }
30977if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then :
30978  ac_cv_libuna_dummy=yes
30979else
30980  ac_cv_libuna=no
30981fi
30982
30983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5
30984$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; }
30985if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then :
30986  $as_echo_n "(cached) " >&6
30987else
30988  ac_check_lib_save_LIBS=$LIBS
30989LIBS="-luna  $LIBS"
30990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30991/* end confdefs.h.  */
30992
30993/* Override any GCC internal prototype to avoid an error.
30994   Use char because int might match the return type of a GCC
30995   builtin and then its argument prototype would still apply.  */
30996#ifdef __cplusplus
30997extern "C"
30998#endif
30999char libuna_utf32_string_with_index_copy_from_utf16 ();
31000int
31001main ()
31002{
31003return libuna_utf32_string_with_index_copy_from_utf16 ();
31004  ;
31005  return 0;
31006}
31007_ACEOF
31008if ac_fn_c_try_link "$LINENO"; then :
31009  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes
31010else
31011  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no
31012fi
31013rm -f core conftest.err conftest.$ac_objext \
31014    conftest$ac_exeext conftest.$ac_ext
31015LIBS=$ac_check_lib_save_LIBS
31016fi
31017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5
31018$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; }
31019if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then :
31020  ac_cv_libuna_dummy=yes
31021else
31022  ac_cv_libuna=no
31023fi
31024
31025
31026                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5
31027$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; }
31028if ${ac_cv_libuna_defines_compare_less+:} false; then :
31029  $as_echo_n "(cached) " >&6
31030else
31031  ac_ext=c
31032ac_cpp='$CPP $CPPFLAGS'
31033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035ac_compiler_gnu=$ac_cv_c_compiler_gnu
31036
31037    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31038/* end confdefs.h.  */
31039#include <libuna.h>
31040int
31041main ()
31042{
31043int test = LIBUNA_COMPARE_LESS;
31044
31045return( 0 );
31046  ;
31047  return 0;
31048}
31049_ACEOF
31050if ac_fn_c_try_link "$LINENO"; then :
31051  ac_cv_libuna_defines_compare_less=yes
31052else
31053  ac_cv_libuna_defines_compare_less=no
31054fi
31055rm -f core conftest.err conftest.$ac_objext \
31056    conftest$ac_exeext conftest.$ac_ext
31057    ac_ext=c
31058ac_cpp='$CPP $CPPFLAGS'
31059ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062
31063fi
31064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5
31065$as_echo "$ac_cv_libuna_defines_compare_less" >&6; }
31066
31067        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
31068  ac_cv_libuna=no
31069fi
31070
31071        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5
31072$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; }
31073if ${ac_cv_libuna_defines_compare_equal+:} false; then :
31074  $as_echo_n "(cached) " >&6
31075else
31076  ac_ext=c
31077ac_cpp='$CPP $CPPFLAGS'
31078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081
31082    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31083/* end confdefs.h.  */
31084#include <libuna.h>
31085int
31086main ()
31087{
31088int test = LIBUNA_COMPARE_EQUAL;
31089
31090return( 0 );
31091  ;
31092  return 0;
31093}
31094_ACEOF
31095if ac_fn_c_try_link "$LINENO"; then :
31096  ac_cv_libuna_defines_compare_equal=yes
31097else
31098  ac_cv_libuna_defines_compare_equal=no
31099fi
31100rm -f core conftest.err conftest.$ac_objext \
31101    conftest$ac_exeext conftest.$ac_ext
31102    ac_ext=c
31103ac_cpp='$CPP $CPPFLAGS'
31104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31106ac_compiler_gnu=$ac_cv_c_compiler_gnu
31107
31108fi
31109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5
31110$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; }
31111
31112        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
31113  ac_cv_libuna=no
31114fi
31115
31116        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5
31117$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; }
31118if ${ac_cv_libuna_defines_compare_greater+:} false; then :
31119  $as_echo_n "(cached) " >&6
31120else
31121  ac_ext=c
31122ac_cpp='$CPP $CPPFLAGS'
31123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31125ac_compiler_gnu=$ac_cv_c_compiler_gnu
31126
31127    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31128/* end confdefs.h.  */
31129#include <libuna.h>
31130int
31131main ()
31132{
31133int test = LIBUNA_COMPARE_GREATER;
31134
31135return( 0 );
31136  ;
31137  return 0;
31138}
31139_ACEOF
31140if ac_fn_c_try_link "$LINENO"; then :
31141  ac_cv_libuna_defines_compare_greater=yes
31142else
31143  ac_cv_libuna_defines_compare_greater=no
31144fi
31145rm -f core conftest.err conftest.$ac_objext \
31146    conftest$ac_exeext conftest.$ac_ext
31147    ac_ext=c
31148ac_cpp='$CPP $CPPFLAGS'
31149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151ac_compiler_gnu=$ac_cv_c_compiler_gnu
31152
31153fi
31154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5
31155$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; }
31156
31157        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
31158  ac_cv_libuna=no
31159fi
31160
31161        ac_cv_libuna_LIBADD="-luna"
31162fi
31163
31164fi
31165    if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then :
31166  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31168as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna
31169See \`config.log' for more details" "$LINENO" 5; }
31170
31171fi
31172
31173fi
31174
31175  if test "x$ac_cv_libuna" = xyes; then :
31176
31177$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h
31178
31179
31180fi
31181
31182  if test "x$ac_cv_libuna" = xyes; then :
31183  HAVE_LIBUNA=1
31184
31185else
31186  HAVE_LIBUNA=0
31187
31188
31189fi
31190
31191
31192    if test "x$ac_cv_libuna" != xyes; then :
31193
31194  ac_cv_libuna_CPPFLAGS="-I../libuna";
31195  ac_cv_libuna_LIBADD="../libuna/libuna.la";
31196
31197  ac_cv_libuna=local
31198
31199
31200
31201$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h
31202
31203    HAVE_LOCAL_LIBUNA=1
31204
31205
31206fi
31207
31208   if test "x$ac_cv_libuna" = xlocal; then
31209  HAVE_LOCAL_LIBUNA_TRUE=
31210  HAVE_LOCAL_LIBUNA_FALSE='#'
31211else
31212  HAVE_LOCAL_LIBUNA_TRUE='#'
31213  HAVE_LOCAL_LIBUNA_FALSE=
31214fi
31215
31216  if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then :
31217  LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS
31218
31219
31220fi
31221  if test "x$ac_cv_libuna_LIBADD" != "x"; then :
31222  LIBUNA_LIBADD=$ac_cv_libuna_LIBADD
31223
31224
31225fi
31226
31227  if test "x$ac_cv_libuna" = xyes; then :
31228  ax_libuna_pc_libs_private=-luna
31229
31230
31231fi
31232
31233  if test "x$ac_cv_libuna" = xyes; then :
31234  ax_libuna_spec_requires=libuna
31235
31236    ax_libuna_spec_build_requires=libuna-devel
31237
31238
31239fi
31240
31241
31242
31243
31244# Check whether --with-libcfile was given.
31245if test "${with_libcfile+set}" = set; then :
31246  withval=$with_libcfile; ac_cv_with_libcfile=$withval
31247else
31248  ac_cv_with_libcfile=auto-detect
31249fi
31250
31251    { $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
31252$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; }
31253if ${ac_cv_with_libcfile+:} false; then :
31254  $as_echo_n "(cached) " >&6
31255else
31256  ac_cv_with_libcfile=auto-detect
31257fi
31258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5
31259$as_echo "$ac_cv_with_libcfile" >&6; }
31260
31261    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then :
31262  ac_cv_libcfile=no
31263else
31264  ac_cv_libcfile=check
31265        if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then :
31266  if test -d "$ac_cv_with_libcfile"; then :
31267  CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include"
31268        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib"
31269else
31270  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31272as_fn_error 1 "no such directory: $ac_cv_with_libcfile
31273See \`config.log' for more details" "$LINENO" 5; }
31274
31275fi
31276
31277else
31278        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
31279
31280pkg_failed=no
31281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5
31282$as_echo_n "checking for libcfile... " >&6; }
31283
31284if test -n "$libcfile_CFLAGS"; then
31285    pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS"
31286 elif test -n "$PKG_CONFIG"; then
31287    if test -n "$PKG_CONFIG" && \
31288    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
31289  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
31290  ac_status=$?
31291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31292  test $ac_status = 0; }; then
31293  pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null`
31294		      test "x$?" != "x0" && pkg_failed=yes
31295else
31296  pkg_failed=yes
31297fi
31298 else
31299    pkg_failed=untried
31300fi
31301if test -n "$libcfile_LIBS"; then
31302    pkg_cv_libcfile_LIBS="$libcfile_LIBS"
31303 elif test -n "$PKG_CONFIG"; then
31304    if test -n "$PKG_CONFIG" && \
31305    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
31306  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
31307  ac_status=$?
31308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31309  test $ac_status = 0; }; then
31310  pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null`
31311		      test "x$?" != "x0" && pkg_failed=yes
31312else
31313  pkg_failed=yes
31314fi
31315 else
31316    pkg_failed=untried
31317fi
31318
31319
31320
31321if test $pkg_failed = yes; then
31322   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31323$as_echo "no" >&6; }
31324
31325if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31326        _pkg_short_errors_supported=yes
31327else
31328        _pkg_short_errors_supported=no
31329fi
31330        if test $_pkg_short_errors_supported = yes; then
31331	        libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
31332        else
31333	        libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
31334        fi
31335	# Put the nasty error message in config.log where it belongs
31336	echo "$libcfile_PKG_ERRORS" >&5
31337
31338	ac_cv_libcfile=check
31339elif test $pkg_failed = untried; then
31340     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31341$as_echo "no" >&6; }
31342	ac_cv_libcfile=check
31343else
31344	libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS
31345	libcfile_LIBS=$pkg_cv_libcfile_LIBS
31346        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31347$as_echo "yes" >&6; }
31348	ac_cv_libcfile=yes
31349fi
31350
31351fi
31352      if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
31353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
31354$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
31355if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then :
31356  $as_echo_n "(cached) " >&6
31357else
31358  ac_ext=c
31359ac_cpp='$CPP $CPPFLAGS'
31360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363
31364         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31365/* end confdefs.h.  */
31366#include <libcfile/features.h>
31367int
31368main ()
31369{
31370#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 )
31371#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined
31372#endif
31373  ;
31374  return 0;
31375}
31376_ACEOF
31377if ac_fn_c_try_compile "$LINENO"; then :
31378  ac_cv_header_libcfile_features_h_have_wide_character_type=yes
31379else
31380  ac_cv_header_libcfile_features_h_have_wide_character_type=no
31381fi
31382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383         ac_ext=c
31384ac_cpp='$CPP $CPPFLAGS'
31385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388
31389fi
31390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5
31391$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; }
31392
31393        if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then :
31394  ac_cv_libcfile=no
31395fi
31396
31397fi
31398      if test "x$ac_cv_libcfile" = xyes; then :
31399  ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS"
31400        ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS"
31401fi
31402
31403fi
31404
31405    if test "x$ac_cv_libcfile" = xcheck; then :
31406        for ac_header in libcfile.h
31407do :
31408  ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default"
31409if test "x$ac_cv_header_libcfile_h" = xyes; then :
31410  cat >>confdefs.h <<_ACEOF
31411#define HAVE_LIBCFILE_H 1
31412_ACEOF
31413
31414fi
31415
31416done
31417
31418
31419      if test "x$ac_cv_header_libcfile_h" = xno; then :
31420  ac_cv_libcfile=no
31421else
31422          ac_cv_libcfile=yes
31423
31424        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5
31425$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; }
31426if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then :
31427  $as_echo_n "(cached) " >&6
31428else
31429  ac_check_lib_save_LIBS=$LIBS
31430LIBS="-lcfile  $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 libcfile_get_version ();
31441int
31442main ()
31443{
31444return libcfile_get_version ();
31445  ;
31446  return 0;
31447}
31448_ACEOF
31449if ac_fn_c_try_link "$LINENO"; then :
31450  ac_cv_lib_cfile_libcfile_get_version=yes
31451else
31452  ac_cv_lib_cfile_libcfile_get_version=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_cfile_libcfile_get_version" >&5
31459$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; }
31460if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then :
31461  ac_cv_libcfile_dummy=yes
31462else
31463  ac_cv_libcfile=no
31464fi
31465
31466
31467                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5
31468$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; }
31469if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then :
31470  $as_echo_n "(cached) " >&6
31471else
31472  ac_check_lib_save_LIBS=$LIBS
31473LIBS="-lcfile  $LIBS"
31474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475/* end confdefs.h.  */
31476
31477/* Override any GCC internal prototype to avoid an error.
31478   Use char because int might match the return type of a GCC
31479   builtin and then its argument prototype would still apply.  */
31480#ifdef __cplusplus
31481extern "C"
31482#endif
31483char libcfile_file_initialize ();
31484int
31485main ()
31486{
31487return libcfile_file_initialize ();
31488  ;
31489  return 0;
31490}
31491_ACEOF
31492if ac_fn_c_try_link "$LINENO"; then :
31493  ac_cv_lib_cfile_libcfile_file_initialize=yes
31494else
31495  ac_cv_lib_cfile_libcfile_file_initialize=no
31496fi
31497rm -f core conftest.err conftest.$ac_objext \
31498    conftest$ac_exeext conftest.$ac_ext
31499LIBS=$ac_check_lib_save_LIBS
31500fi
31501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5
31502$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; }
31503if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then :
31504  ac_cv_libcfile_dummy=yes
31505else
31506  ac_cv_libcfile=no
31507fi
31508
31509        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5
31510$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; }
31511if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then :
31512  $as_echo_n "(cached) " >&6
31513else
31514  ac_check_lib_save_LIBS=$LIBS
31515LIBS="-lcfile  $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 libcfile_file_free ();
31526int
31527main ()
31528{
31529return libcfile_file_free ();
31530  ;
31531  return 0;
31532}
31533_ACEOF
31534if ac_fn_c_try_link "$LINENO"; then :
31535  ac_cv_lib_cfile_libcfile_file_free=yes
31536else
31537  ac_cv_lib_cfile_libcfile_file_free=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_cfile_libcfile_file_free" >&5
31544$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; }
31545if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then :
31546  ac_cv_libcfile_dummy=yes
31547else
31548  ac_cv_libcfile=no
31549fi
31550
31551        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5
31552$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; }
31553if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then :
31554  $as_echo_n "(cached) " >&6
31555else
31556  ac_check_lib_save_LIBS=$LIBS
31557LIBS="-lcfile  $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 libcfile_file_open ();
31568int
31569main ()
31570{
31571return libcfile_file_open ();
31572  ;
31573  return 0;
31574}
31575_ACEOF
31576if ac_fn_c_try_link "$LINENO"; then :
31577  ac_cv_lib_cfile_libcfile_file_open=yes
31578else
31579  ac_cv_lib_cfile_libcfile_file_open=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_cfile_libcfile_file_open" >&5
31586$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; }
31587if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then :
31588  ac_cv_libcfile_dummy=yes
31589else
31590  ac_cv_libcfile=no
31591fi
31592
31593        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5
31594$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; }
31595if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then :
31596  $as_echo_n "(cached) " >&6
31597else
31598  ac_check_lib_save_LIBS=$LIBS
31599LIBS="-lcfile  $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 libcfile_file_open_with_error_code ();
31610int
31611main ()
31612{
31613return libcfile_file_open_with_error_code ();
31614  ;
31615  return 0;
31616}
31617_ACEOF
31618if ac_fn_c_try_link "$LINENO"; then :
31619  ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes
31620else
31621  ac_cv_lib_cfile_libcfile_file_open_with_error_code=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_cfile_libcfile_file_open_with_error_code" >&5
31628$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; }
31629if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then :
31630  ac_cv_libcfile_dummy=yes
31631else
31632  ac_cv_libcfile=no
31633fi
31634
31635        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5
31636$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; }
31637if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then :
31638  $as_echo_n "(cached) " >&6
31639else
31640  ac_check_lib_save_LIBS=$LIBS
31641LIBS="-lcfile  $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 libcfile_file_close ();
31652int
31653main ()
31654{
31655return libcfile_file_close ();
31656  ;
31657  return 0;
31658}
31659_ACEOF
31660if ac_fn_c_try_link "$LINENO"; then :
31661  ac_cv_lib_cfile_libcfile_file_close=yes
31662else
31663  ac_cv_lib_cfile_libcfile_file_close=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_cfile_libcfile_file_close" >&5
31670$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; }
31671if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then :
31672  ac_cv_libcfile_dummy=yes
31673else
31674  ac_cv_libcfile=no
31675fi
31676
31677        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5
31678$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; }
31679if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then :
31680  $as_echo_n "(cached) " >&6
31681else
31682  ac_check_lib_save_LIBS=$LIBS
31683LIBS="-lcfile  $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 libcfile_file_read_buffer ();
31694int
31695main ()
31696{
31697return libcfile_file_read_buffer ();
31698  ;
31699  return 0;
31700}
31701_ACEOF
31702if ac_fn_c_try_link "$LINENO"; then :
31703  ac_cv_lib_cfile_libcfile_file_read_buffer=yes
31704else
31705  ac_cv_lib_cfile_libcfile_file_read_buffer=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_cfile_libcfile_file_read_buffer" >&5
31712$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; }
31713if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then :
31714  ac_cv_libcfile_dummy=yes
31715else
31716  ac_cv_libcfile=no
31717fi
31718
31719        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5
31720$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; }
31721if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then :
31722  $as_echo_n "(cached) " >&6
31723else
31724  ac_check_lib_save_LIBS=$LIBS
31725LIBS="-lcfile  $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 libcfile_file_read_buffer_with_error_code ();
31736int
31737main ()
31738{
31739return libcfile_file_read_buffer_with_error_code ();
31740  ;
31741  return 0;
31742}
31743_ACEOF
31744if ac_fn_c_try_link "$LINENO"; then :
31745  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes
31746else
31747  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=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_cfile_libcfile_file_read_buffer_with_error_code" >&5
31754$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; }
31755if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then :
31756  ac_cv_libcfile_dummy=yes
31757else
31758  ac_cv_libcfile=no
31759fi
31760
31761        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5
31762$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; }
31763if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then :
31764  $as_echo_n "(cached) " >&6
31765else
31766  ac_check_lib_save_LIBS=$LIBS
31767LIBS="-lcfile  $LIBS"
31768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31769/* end confdefs.h.  */
31770
31771/* Override any GCC internal prototype to avoid an error.
31772   Use char because int might match the return type of a GCC
31773   builtin and then its argument prototype would still apply.  */
31774#ifdef __cplusplus
31775extern "C"
31776#endif
31777char libcfile_file_write_buffer ();
31778int
31779main ()
31780{
31781return libcfile_file_write_buffer ();
31782  ;
31783  return 0;
31784}
31785_ACEOF
31786if ac_fn_c_try_link "$LINENO"; then :
31787  ac_cv_lib_cfile_libcfile_file_write_buffer=yes
31788else
31789  ac_cv_lib_cfile_libcfile_file_write_buffer=no
31790fi
31791rm -f core conftest.err conftest.$ac_objext \
31792    conftest$ac_exeext conftest.$ac_ext
31793LIBS=$ac_check_lib_save_LIBS
31794fi
31795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5
31796$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; }
31797if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then :
31798  ac_cv_libcfile_dummy=yes
31799else
31800  ac_cv_libcfile=no
31801fi
31802
31803        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5
31804$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; }
31805if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then :
31806  $as_echo_n "(cached) " >&6
31807else
31808  ac_check_lib_save_LIBS=$LIBS
31809LIBS="-lcfile  $LIBS"
31810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31811/* end confdefs.h.  */
31812
31813/* Override any GCC internal prototype to avoid an error.
31814   Use char because int might match the return type of a GCC
31815   builtin and then its argument prototype would still apply.  */
31816#ifdef __cplusplus
31817extern "C"
31818#endif
31819char libcfile_file_write_buffer_with_error_code ();
31820int
31821main ()
31822{
31823return libcfile_file_write_buffer_with_error_code ();
31824  ;
31825  return 0;
31826}
31827_ACEOF
31828if ac_fn_c_try_link "$LINENO"; then :
31829  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes
31830else
31831  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no
31832fi
31833rm -f core conftest.err conftest.$ac_objext \
31834    conftest$ac_exeext conftest.$ac_ext
31835LIBS=$ac_check_lib_save_LIBS
31836fi
31837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5
31838$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; }
31839if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then :
31840  ac_cv_libcfile_dummy=yes
31841else
31842  ac_cv_libcfile=no
31843fi
31844
31845        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5
31846$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; }
31847if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then :
31848  $as_echo_n "(cached) " >&6
31849else
31850  ac_check_lib_save_LIBS=$LIBS
31851LIBS="-lcfile  $LIBS"
31852cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853/* end confdefs.h.  */
31854
31855/* Override any GCC internal prototype to avoid an error.
31856   Use char because int might match the return type of a GCC
31857   builtin and then its argument prototype would still apply.  */
31858#ifdef __cplusplus
31859extern "C"
31860#endif
31861char libcfile_file_seek_offset ();
31862int
31863main ()
31864{
31865return libcfile_file_seek_offset ();
31866  ;
31867  return 0;
31868}
31869_ACEOF
31870if ac_fn_c_try_link "$LINENO"; then :
31871  ac_cv_lib_cfile_libcfile_file_seek_offset=yes
31872else
31873  ac_cv_lib_cfile_libcfile_file_seek_offset=no
31874fi
31875rm -f core conftest.err conftest.$ac_objext \
31876    conftest$ac_exeext conftest.$ac_ext
31877LIBS=$ac_check_lib_save_LIBS
31878fi
31879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5
31880$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; }
31881if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then :
31882  ac_cv_libcfile_dummy=yes
31883else
31884  ac_cv_libcfile=no
31885fi
31886
31887        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5
31888$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; }
31889if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then :
31890  $as_echo_n "(cached) " >&6
31891else
31892  ac_check_lib_save_LIBS=$LIBS
31893LIBS="-lcfile  $LIBS"
31894cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31895/* end confdefs.h.  */
31896
31897/* Override any GCC internal prototype to avoid an error.
31898   Use char because int might match the return type of a GCC
31899   builtin and then its argument prototype would still apply.  */
31900#ifdef __cplusplus
31901extern "C"
31902#endif
31903char libcfile_file_resize ();
31904int
31905main ()
31906{
31907return libcfile_file_resize ();
31908  ;
31909  return 0;
31910}
31911_ACEOF
31912if ac_fn_c_try_link "$LINENO"; then :
31913  ac_cv_lib_cfile_libcfile_file_resize=yes
31914else
31915  ac_cv_lib_cfile_libcfile_file_resize=no
31916fi
31917rm -f core conftest.err conftest.$ac_objext \
31918    conftest$ac_exeext conftest.$ac_ext
31919LIBS=$ac_check_lib_save_LIBS
31920fi
31921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5
31922$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; }
31923if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then :
31924  ac_cv_libcfile_dummy=yes
31925else
31926  ac_cv_libcfile=no
31927fi
31928
31929        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5
31930$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; }
31931if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then :
31932  $as_echo_n "(cached) " >&6
31933else
31934  ac_check_lib_save_LIBS=$LIBS
31935LIBS="-lcfile  $LIBS"
31936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31937/* end confdefs.h.  */
31938
31939/* Override any GCC internal prototype to avoid an error.
31940   Use char because int might match the return type of a GCC
31941   builtin and then its argument prototype would still apply.  */
31942#ifdef __cplusplus
31943extern "C"
31944#endif
31945char libcfile_file_is_open ();
31946int
31947main ()
31948{
31949return libcfile_file_is_open ();
31950  ;
31951  return 0;
31952}
31953_ACEOF
31954if ac_fn_c_try_link "$LINENO"; then :
31955  ac_cv_lib_cfile_libcfile_file_is_open=yes
31956else
31957  ac_cv_lib_cfile_libcfile_file_is_open=no
31958fi
31959rm -f core conftest.err conftest.$ac_objext \
31960    conftest$ac_exeext conftest.$ac_ext
31961LIBS=$ac_check_lib_save_LIBS
31962fi
31963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5
31964$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; }
31965if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then :
31966  ac_cv_libcfile_dummy=yes
31967else
31968  ac_cv_libcfile=no
31969fi
31970
31971        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5
31972$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; }
31973if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then :
31974  $as_echo_n "(cached) " >&6
31975else
31976  ac_check_lib_save_LIBS=$LIBS
31977LIBS="-lcfile  $LIBS"
31978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31979/* end confdefs.h.  */
31980
31981/* Override any GCC internal prototype to avoid an error.
31982   Use char because int might match the return type of a GCC
31983   builtin and then its argument prototype would still apply.  */
31984#ifdef __cplusplus
31985extern "C"
31986#endif
31987char libcfile_file_get_offset ();
31988int
31989main ()
31990{
31991return libcfile_file_get_offset ();
31992  ;
31993  return 0;
31994}
31995_ACEOF
31996if ac_fn_c_try_link "$LINENO"; then :
31997  ac_cv_lib_cfile_libcfile_file_get_offset=yes
31998else
31999  ac_cv_lib_cfile_libcfile_file_get_offset=no
32000fi
32001rm -f core conftest.err conftest.$ac_objext \
32002    conftest$ac_exeext conftest.$ac_ext
32003LIBS=$ac_check_lib_save_LIBS
32004fi
32005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5
32006$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; }
32007if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then :
32008  ac_cv_libcfile_dummy=yes
32009else
32010  ac_cv_libcfile=no
32011fi
32012
32013        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5
32014$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; }
32015if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then :
32016  $as_echo_n "(cached) " >&6
32017else
32018  ac_check_lib_save_LIBS=$LIBS
32019LIBS="-lcfile  $LIBS"
32020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021/* end confdefs.h.  */
32022
32023/* Override any GCC internal prototype to avoid an error.
32024   Use char because int might match the return type of a GCC
32025   builtin and then its argument prototype would still apply.  */
32026#ifdef __cplusplus
32027extern "C"
32028#endif
32029char libcfile_file_get_size ();
32030int
32031main ()
32032{
32033return libcfile_file_get_size ();
32034  ;
32035  return 0;
32036}
32037_ACEOF
32038if ac_fn_c_try_link "$LINENO"; then :
32039  ac_cv_lib_cfile_libcfile_file_get_size=yes
32040else
32041  ac_cv_lib_cfile_libcfile_file_get_size=no
32042fi
32043rm -f core conftest.err conftest.$ac_objext \
32044    conftest$ac_exeext conftest.$ac_ext
32045LIBS=$ac_check_lib_save_LIBS
32046fi
32047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5
32048$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; }
32049if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then :
32050  ac_cv_libcfile_dummy=yes
32051else
32052  ac_cv_libcfile=no
32053fi
32054
32055        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5
32056$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; }
32057if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then :
32058  $as_echo_n "(cached) " >&6
32059else
32060  ac_check_lib_save_LIBS=$LIBS
32061LIBS="-lcfile  $LIBS"
32062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32063/* end confdefs.h.  */
32064
32065/* Override any GCC internal prototype to avoid an error.
32066   Use char because int might match the return type of a GCC
32067   builtin and then its argument prototype would still apply.  */
32068#ifdef __cplusplus
32069extern "C"
32070#endif
32071char libcfile_file_is_device ();
32072int
32073main ()
32074{
32075return libcfile_file_is_device ();
32076  ;
32077  return 0;
32078}
32079_ACEOF
32080if ac_fn_c_try_link "$LINENO"; then :
32081  ac_cv_lib_cfile_libcfile_file_is_device=yes
32082else
32083  ac_cv_lib_cfile_libcfile_file_is_device=no
32084fi
32085rm -f core conftest.err conftest.$ac_objext \
32086    conftest$ac_exeext conftest.$ac_ext
32087LIBS=$ac_check_lib_save_LIBS
32088fi
32089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5
32090$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; }
32091if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then :
32092  ac_cv_libcfile_dummy=yes
32093else
32094  ac_cv_libcfile=no
32095fi
32096
32097        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5
32098$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; }
32099if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then :
32100  $as_echo_n "(cached) " >&6
32101else
32102  ac_check_lib_save_LIBS=$LIBS
32103LIBS="-lcfile  $LIBS"
32104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105/* end confdefs.h.  */
32106
32107/* Override any GCC internal prototype to avoid an error.
32108   Use char because int might match the return type of a GCC
32109   builtin and then its argument prototype would still apply.  */
32110#ifdef __cplusplus
32111extern "C"
32112#endif
32113char libcfile_file_io_control_read ();
32114int
32115main ()
32116{
32117return libcfile_file_io_control_read ();
32118  ;
32119  return 0;
32120}
32121_ACEOF
32122if ac_fn_c_try_link "$LINENO"; then :
32123  ac_cv_lib_cfile_libcfile_file_io_control_read=yes
32124else
32125  ac_cv_lib_cfile_libcfile_file_io_control_read=no
32126fi
32127rm -f core conftest.err conftest.$ac_objext \
32128    conftest$ac_exeext conftest.$ac_ext
32129LIBS=$ac_check_lib_save_LIBS
32130fi
32131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5
32132$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; }
32133if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then :
32134  ac_cv_libcfile_dummy=yes
32135else
32136  ac_cv_libcfile=no
32137fi
32138
32139        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5
32140$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; }
32141if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then :
32142  $as_echo_n "(cached) " >&6
32143else
32144  ac_check_lib_save_LIBS=$LIBS
32145LIBS="-lcfile  $LIBS"
32146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147/* end confdefs.h.  */
32148
32149/* Override any GCC internal prototype to avoid an error.
32150   Use char because int might match the return type of a GCC
32151   builtin and then its argument prototype would still apply.  */
32152#ifdef __cplusplus
32153extern "C"
32154#endif
32155char libcfile_file_io_control_read_with_error_code ();
32156int
32157main ()
32158{
32159return libcfile_file_io_control_read_with_error_code ();
32160  ;
32161  return 0;
32162}
32163_ACEOF
32164if ac_fn_c_try_link "$LINENO"; then :
32165  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes
32166else
32167  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no
32168fi
32169rm -f core conftest.err conftest.$ac_objext \
32170    conftest$ac_exeext conftest.$ac_ext
32171LIBS=$ac_check_lib_save_LIBS
32172fi
32173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5
32174$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; }
32175if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then :
32176  ac_cv_libcfile_dummy=yes
32177else
32178  ac_cv_libcfile=no
32179fi
32180
32181
32182        if test "x$ac_cv_enable_wide_character_type" != xno; then :
32183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5
32184$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; }
32185if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then :
32186  $as_echo_n "(cached) " >&6
32187else
32188  ac_check_lib_save_LIBS=$LIBS
32189LIBS="-lcfile  $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 libcfile_file_open_wide ();
32200int
32201main ()
32202{
32203return libcfile_file_open_wide ();
32204  ;
32205  return 0;
32206}
32207_ACEOF
32208if ac_fn_c_try_link "$LINENO"; then :
32209  ac_cv_lib_cfile_libcfile_file_open_wide=yes
32210else
32211  ac_cv_lib_cfile_libcfile_file_open_wide=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_cfile_libcfile_file_open_wide" >&5
32218$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; }
32219if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then :
32220  ac_cv_libcfile_dummy=yes
32221else
32222  ac_cv_libcfile=no
32223fi
32224
32225          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5
32226$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; }
32227if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then :
32228  $as_echo_n "(cached) " >&6
32229else
32230  ac_check_lib_save_LIBS=$LIBS
32231LIBS="-lcfile  $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 libcfile_file_open_wide_with_error_code ();
32242int
32243main ()
32244{
32245return libcfile_file_open_wide_with_error_code ();
32246  ;
32247  return 0;
32248}
32249_ACEOF
32250if ac_fn_c_try_link "$LINENO"; then :
32251  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes
32252else
32253  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=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_cfile_libcfile_file_open_wide_with_error_code" >&5
32260$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; }
32261if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then :
32262  ac_cv_libcfile_dummy=yes
32263else
32264  ac_cv_libcfile=no
32265fi
32266
32267
32268fi
32269
32270                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5
32271$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; }
32272if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then :
32273  $as_echo_n "(cached) " >&6
32274else
32275  ac_check_lib_save_LIBS=$LIBS
32276LIBS="-lcfile  $LIBS"
32277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32278/* end confdefs.h.  */
32279
32280/* Override any GCC internal prototype to avoid an error.
32281   Use char because int might match the return type of a GCC
32282   builtin and then its argument prototype would still apply.  */
32283#ifdef __cplusplus
32284extern "C"
32285#endif
32286char libcfile_file_exists ();
32287int
32288main ()
32289{
32290return libcfile_file_exists ();
32291  ;
32292  return 0;
32293}
32294_ACEOF
32295if ac_fn_c_try_link "$LINENO"; then :
32296  ac_cv_lib_cfile_libcfile_file_exists=yes
32297else
32298  ac_cv_lib_cfile_libcfile_file_exists=no
32299fi
32300rm -f core conftest.err conftest.$ac_objext \
32301    conftest$ac_exeext conftest.$ac_ext
32302LIBS=$ac_check_lib_save_LIBS
32303fi
32304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5
32305$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; }
32306if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then :
32307  ac_cv_libcfile_dummy=yes
32308else
32309  ac_cv_libcfile=no
32310fi
32311
32312        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5
32313$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; }
32314if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then :
32315  $as_echo_n "(cached) " >&6
32316else
32317  ac_check_lib_save_LIBS=$LIBS
32318LIBS="-lcfile  $LIBS"
32319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32320/* end confdefs.h.  */
32321
32322/* Override any GCC internal prototype to avoid an error.
32323   Use char because int might match the return type of a GCC
32324   builtin and then its argument prototype would still apply.  */
32325#ifdef __cplusplus
32326extern "C"
32327#endif
32328char libcfile_file_remove ();
32329int
32330main ()
32331{
32332return libcfile_file_remove ();
32333  ;
32334  return 0;
32335}
32336_ACEOF
32337if ac_fn_c_try_link "$LINENO"; then :
32338  ac_cv_lib_cfile_libcfile_file_remove=yes
32339else
32340  ac_cv_lib_cfile_libcfile_file_remove=no
32341fi
32342rm -f core conftest.err conftest.$ac_objext \
32343    conftest$ac_exeext conftest.$ac_ext
32344LIBS=$ac_check_lib_save_LIBS
32345fi
32346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5
32347$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; }
32348if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then :
32349  ac_cv_libcfile_dummy=yes
32350else
32351  ac_cv_libcfile=no
32352fi
32353
32354
32355        if test "x$ac_cv_enable_wide_character_type" != xno; then :
32356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5
32357$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; }
32358if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then :
32359  $as_echo_n "(cached) " >&6
32360else
32361  ac_check_lib_save_LIBS=$LIBS
32362LIBS="-lcfile  $LIBS"
32363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32364/* end confdefs.h.  */
32365
32366/* Override any GCC internal prototype to avoid an error.
32367   Use char because int might match the return type of a GCC
32368   builtin and then its argument prototype would still apply.  */
32369#ifdef __cplusplus
32370extern "C"
32371#endif
32372char libcfile_file_exists_wide ();
32373int
32374main ()
32375{
32376return libcfile_file_exists_wide ();
32377  ;
32378  return 0;
32379}
32380_ACEOF
32381if ac_fn_c_try_link "$LINENO"; then :
32382  ac_cv_lib_cfile_libcfile_file_exists_wide=yes
32383else
32384  ac_cv_lib_cfile_libcfile_file_exists_wide=no
32385fi
32386rm -f core conftest.err conftest.$ac_objext \
32387    conftest$ac_exeext conftest.$ac_ext
32388LIBS=$ac_check_lib_save_LIBS
32389fi
32390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5
32391$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; }
32392if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then :
32393  ac_cv_libcfile_dummy=yes
32394else
32395  ac_cv_libcfile=no
32396fi
32397
32398          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5
32399$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; }
32400if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then :
32401  $as_echo_n "(cached) " >&6
32402else
32403  ac_check_lib_save_LIBS=$LIBS
32404LIBS="-lcfile  $LIBS"
32405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406/* end confdefs.h.  */
32407
32408/* Override any GCC internal prototype to avoid an error.
32409   Use char because int might match the return type of a GCC
32410   builtin and then its argument prototype would still apply.  */
32411#ifdef __cplusplus
32412extern "C"
32413#endif
32414char libcfile_file_remove_wide ();
32415int
32416main ()
32417{
32418return libcfile_file_remove_wide ();
32419  ;
32420  return 0;
32421}
32422_ACEOF
32423if ac_fn_c_try_link "$LINENO"; then :
32424  ac_cv_lib_cfile_libcfile_file_remove_wide=yes
32425else
32426  ac_cv_lib_cfile_libcfile_file_remove_wide=no
32427fi
32428rm -f core conftest.err conftest.$ac_objext \
32429    conftest$ac_exeext conftest.$ac_ext
32430LIBS=$ac_check_lib_save_LIBS
32431fi
32432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5
32433$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; }
32434if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then :
32435  ac_cv_libcfile_dummy=yes
32436else
32437  ac_cv_libcfile=no
32438fi
32439
32440
32441fi
32442
32443        ac_cv_libcfile_LIBADD="-lcfile"
32444fi
32445
32446fi
32447    if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then :
32448  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32449$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32450as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile
32451See \`config.log' for more details" "$LINENO" 5; }
32452
32453fi
32454
32455fi
32456
32457  if test "x$ac_cv_libcfile" = xyes; then :
32458
32459$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h
32460
32461
32462fi
32463
32464  if test "x$ac_cv_libcfile" = xyes; then :
32465  HAVE_LIBCFILE=1
32466
32467else
32468  HAVE_LIBCFILE=0
32469
32470
32471fi
32472
32473
32474    if test "x$ac_cv_libcfile" != xyes; then :
32475    for ac_header in errno.h stdio.h sys/stat.h
32476do :
32477  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32478ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
32479if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
32480  cat >>confdefs.h <<_ACEOF
32481#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32482_ACEOF
32483
32484fi
32485
32486done
32487
32488
32489    for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h
32490do :
32491  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32492ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
32493if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
32494  cat >>confdefs.h <<_ACEOF
32495#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32496_ACEOF
32497
32498fi
32499
32500done
32501
32502
32503    for ac_func in close fstat ftruncate ioctl lseek open read write
32504do :
32505  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32506ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32507if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32508  cat >>confdefs.h <<_ACEOF
32509#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32510_ACEOF
32511
32512fi
32513done
32514
32515
32516  if test "x$ac_cv_func_close" != xyes; then :
32517  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32518$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32519as_fn_error 1 "Missing function: close
32520See \`config.log' for more details" "$LINENO" 5; }
32521
32522fi
32523
32524  for ac_func in posix_fadvise
32525do :
32526  ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
32527if test "x$ac_cv_func_posix_fadvise" = xyes; then :
32528  cat >>confdefs.h <<_ACEOF
32529#define HAVE_POSIX_FADVISE 1
32530_ACEOF
32531
32532fi
32533done
32534
32535
32536  if test "x$ac_cv_func_posix_fadvise" = xyes; then :
32537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5
32538$as_echo_n "checking whether posix_fadvise can be linked... " >&6; }
32539
32540      SAVE_CFLAGS="$CFLAGS"
32541      CFLAGS="$CFLAGS -Wall -Werror"
32542      ac_ext=c
32543ac_cpp='$CPP $CPPFLAGS'
32544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32546ac_compiler_gnu=$ac_cv_c_compiler_gnu
32547
32548
32549      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32550/* end confdefs.h.  */
32551#include <fcntl.h>
32552int
32553main ()
32554{
32555#if !defined( POSIX_FADV_SEQUENTIAL )
32556#define POSIX_FADV_SEQUENTIAL 2
32557#endif
32558posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL )
32559  ;
32560  return 0;
32561}
32562_ACEOF
32563if ac_fn_c_try_link "$LINENO"; then :
32564  ac_cv_func_posix_fadvise=yes
32565else
32566  ac_cv_func_posix_fadvise=no
32567fi
32568rm -f core conftest.err conftest.$ac_objext \
32569    conftest$ac_exeext conftest.$ac_ext
32570
32571      ac_ext=c
32572ac_cpp='$CPP $CPPFLAGS'
32573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575ac_compiler_gnu=$ac_cv_c_compiler_gnu
32576
32577      CFLAGS="$SAVE_CFLAGS"
32578
32579      if test "x$ac_cv_func_posix_fadvise" = xyes; then :
32580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32581$as_echo "yes" >&6; }
32582
32583$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
32584
32585else
32586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32587$as_echo "no" >&6; }
32588fi
32589
32590fi
32591
32592
32593  if test "x$ac_cv_func_fstat" != xyes; then :
32594  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32595$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32596as_fn_error 1 "Missing function: fstat
32597See \`config.log' for more details" "$LINENO" 5; }
32598
32599fi
32600
32601  if test "x$ac_cv_func_ftruncate" != xyes; then :
32602  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32603$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32604as_fn_error 1 "Missing function: ftruncate
32605See \`config.log' for more details" "$LINENO" 5; }
32606
32607fi
32608
32609  if test x"$ac_cv_enable_winapi" = xno; then :
32610  if test "x$ac_cv_func_ioctl" != xyes; then :
32611  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32612$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32613as_fn_error 1 "Missing function: ioctl
32614See \`config.log' for more details" "$LINENO" 5; }
32615
32616fi
32617
32618fi
32619
32620  if test "x$ac_cv_func_lseek" != xyes; then :
32621  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32622$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32623as_fn_error 1 "Missing function: lseek
32624See \`config.log' for more details" "$LINENO" 5; }
32625
32626fi
32627
32628  if test "x$ac_cv_func_open" != xyes; then :
32629  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32630$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32631as_fn_error 1 "Missing function: open
32632See \`config.log' for more details" "$LINENO" 5; }
32633
32634fi
32635
32636  if test "x$ac_cv_func_read" != xyes; then :
32637  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32638$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32639as_fn_error 1 "Missing function: read
32640See \`config.log' for more details" "$LINENO" 5; }
32641
32642fi
32643
32644  if test "x$ac_cv_func_write" != xyes; then :
32645  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32647as_fn_error 1 "Missing function: write
32648See \`config.log' for more details" "$LINENO" 5; }
32649
32650fi
32651
32652    for ac_func in stat unlink
32653do :
32654  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32655ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32656if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32657  cat >>confdefs.h <<_ACEOF
32658#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32659_ACEOF
32660
32661fi
32662done
32663
32664
32665  if test "x$ac_cv_func_stat" != xyes; then :
32666  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32668as_fn_error 1 "Missing function: stat
32669See \`config.log' for more details" "$LINENO" 5; }
32670
32671fi
32672
32673  if test "x$ac_cv_func_unlink" != xyes; then :
32674  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32676as_fn_error 1 "Missing function: unlink
32677See \`config.log' for more details" "$LINENO" 5; }
32678
32679fi
32680
32681  ac_cv_libcfile_CPPFLAGS="-I../libcfile";
32682  ac_cv_libcfile_LIBADD="../libcfile/libcfile.la";
32683
32684  ac_cv_libcfile=local
32685
32686
32687
32688$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h
32689
32690    HAVE_LOCAL_LIBCFILE=1
32691
32692
32693fi
32694
32695   if test "x$ac_cv_libcfile" = xlocal; then
32696  HAVE_LOCAL_LIBCFILE_TRUE=
32697  HAVE_LOCAL_LIBCFILE_FALSE='#'
32698else
32699  HAVE_LOCAL_LIBCFILE_TRUE='#'
32700  HAVE_LOCAL_LIBCFILE_FALSE=
32701fi
32702
32703  if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then :
32704  LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS
32705
32706
32707fi
32708  if test "x$ac_cv_libcfile_LIBADD" != "x"; then :
32709  LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD
32710
32711
32712fi
32713
32714  if test "x$ac_cv_libcfile" = xyes; then :
32715  ax_libcfile_pc_libs_private=-lcfile
32716
32717
32718fi
32719
32720  if test "x$ac_cv_libcfile" = xyes; then :
32721  ax_libcfile_spec_requires=libcfile
32722
32723    ax_libcfile_spec_build_requires=libcfile-devel
32724
32725
32726fi
32727
32728
32729
32730
32731# Check whether --with-libcpath was given.
32732if test "${with_libcpath+set}" = set; then :
32733  withval=$with_libcpath; ac_cv_with_libcpath=$withval
32734else
32735  ac_cv_with_libcpath=auto-detect
32736fi
32737
32738    { $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
32739$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; }
32740if ${ac_cv_with_libcpath+:} false; then :
32741  $as_echo_n "(cached) " >&6
32742else
32743  ac_cv_with_libcpath=auto-detect
32744fi
32745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5
32746$as_echo "$ac_cv_with_libcpath" >&6; }
32747
32748    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then :
32749  ac_cv_libcpath=no
32750else
32751  ac_cv_libcpath=check
32752        if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then :
32753  if test -d "$ac_cv_with_libcpath"; then :
32754  CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include"
32755        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib"
32756else
32757  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32759as_fn_error 1 "no such directory: $ac_cv_with_libcpath
32760See \`config.log' for more details" "$LINENO" 5; }
32761
32762fi
32763
32764else
32765        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
32766
32767pkg_failed=no
32768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5
32769$as_echo_n "checking for libcpath... " >&6; }
32770
32771if test -n "$libcpath_CFLAGS"; then
32772    pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS"
32773 elif test -n "$PKG_CONFIG"; then
32774    if test -n "$PKG_CONFIG" && \
32775    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
32776  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
32777  ac_status=$?
32778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32779  test $ac_status = 0; }; then
32780  pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null`
32781		      test "x$?" != "x0" && pkg_failed=yes
32782else
32783  pkg_failed=yes
32784fi
32785 else
32786    pkg_failed=untried
32787fi
32788if test -n "$libcpath_LIBS"; then
32789    pkg_cv_libcpath_LIBS="$libcpath_LIBS"
32790 elif test -n "$PKG_CONFIG"; then
32791    if test -n "$PKG_CONFIG" && \
32792    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
32793  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
32794  ac_status=$?
32795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32796  test $ac_status = 0; }; then
32797  pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null`
32798		      test "x$?" != "x0" && pkg_failed=yes
32799else
32800  pkg_failed=yes
32801fi
32802 else
32803    pkg_failed=untried
32804fi
32805
32806
32807
32808if test $pkg_failed = yes; then
32809   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32810$as_echo "no" >&6; }
32811
32812if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32813        _pkg_short_errors_supported=yes
32814else
32815        _pkg_short_errors_supported=no
32816fi
32817        if test $_pkg_short_errors_supported = yes; then
32818	        libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
32819        else
32820	        libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
32821        fi
32822	# Put the nasty error message in config.log where it belongs
32823	echo "$libcpath_PKG_ERRORS" >&5
32824
32825	ac_cv_libcpath=check
32826elif test $pkg_failed = untried; then
32827     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32828$as_echo "no" >&6; }
32829	ac_cv_libcpath=check
32830else
32831	libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS
32832	libcpath_LIBS=$pkg_cv_libcpath_LIBS
32833        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32834$as_echo "yes" >&6; }
32835	ac_cv_libcpath=yes
32836fi
32837
32838fi
32839      if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
32840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
32841$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
32842if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then :
32843  $as_echo_n "(cached) " >&6
32844else
32845  ac_ext=c
32846ac_cpp='$CPP $CPPFLAGS'
32847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849ac_compiler_gnu=$ac_cv_c_compiler_gnu
32850
32851         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32852/* end confdefs.h.  */
32853#include <libcpath/features.h>
32854int
32855main ()
32856{
32857#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 )
32858#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined
32859#endif
32860  ;
32861  return 0;
32862}
32863_ACEOF
32864if ac_fn_c_try_compile "$LINENO"; then :
32865  ac_cv_header_libcpath_features_h_have_wide_character_type=yes
32866else
32867  ac_cv_header_libcpath_features_h_have_wide_character_type=no
32868fi
32869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32870         ac_ext=c
32871ac_cpp='$CPP $CPPFLAGS'
32872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32874ac_compiler_gnu=$ac_cv_c_compiler_gnu
32875
32876fi
32877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5
32878$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; }
32879
32880        if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then :
32881  ac_cv_libcpath=no
32882fi
32883
32884fi
32885      if test "x$ac_cv_libcpath" = xyes; then :
32886  ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS"
32887        ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS"
32888fi
32889
32890fi
32891
32892    if test "x$ac_cv_libcpath" = xcheck; then :
32893        for ac_header in libcpath.h
32894do :
32895  ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default"
32896if test "x$ac_cv_header_libcpath_h" = xyes; then :
32897  cat >>confdefs.h <<_ACEOF
32898#define HAVE_LIBCPATH_H 1
32899_ACEOF
32900
32901fi
32902
32903done
32904
32905
32906      if test "x$ac_cv_header_libcpath_h" = xno; then :
32907  ac_cv_libcpath=no
32908else
32909          ac_cv_libcpath=yes
32910
32911        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5
32912$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; }
32913if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then :
32914  $as_echo_n "(cached) " >&6
32915else
32916  ac_check_lib_save_LIBS=$LIBS
32917LIBS="-lcpath  $LIBS"
32918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919/* end confdefs.h.  */
32920
32921/* Override any GCC internal prototype to avoid an error.
32922   Use char because int might match the return type of a GCC
32923   builtin and then its argument prototype would still apply.  */
32924#ifdef __cplusplus
32925extern "C"
32926#endif
32927char libcpath_get_version ();
32928int
32929main ()
32930{
32931return libcpath_get_version ();
32932  ;
32933  return 0;
32934}
32935_ACEOF
32936if ac_fn_c_try_link "$LINENO"; then :
32937  ac_cv_lib_cpath_libcpath_get_version=yes
32938else
32939  ac_cv_lib_cpath_libcpath_get_version=no
32940fi
32941rm -f core conftest.err conftest.$ac_objext \
32942    conftest$ac_exeext conftest.$ac_ext
32943LIBS=$ac_check_lib_save_LIBS
32944fi
32945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5
32946$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; }
32947if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then :
32948  ac_cv_libcpath_dummy=yes
32949else
32950  ac_cv_libcpath=no
32951fi
32952
32953
32954                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5
32955$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; }
32956if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then :
32957  $as_echo_n "(cached) " >&6
32958else
32959  ac_check_lib_save_LIBS=$LIBS
32960LIBS="-lcpath  $LIBS"
32961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962/* end confdefs.h.  */
32963
32964/* Override any GCC internal prototype to avoid an error.
32965   Use char because int might match the return type of a GCC
32966   builtin and then its argument prototype would still apply.  */
32967#ifdef __cplusplus
32968extern "C"
32969#endif
32970char libcpath_path_change_directory ();
32971int
32972main ()
32973{
32974return libcpath_path_change_directory ();
32975  ;
32976  return 0;
32977}
32978_ACEOF
32979if ac_fn_c_try_link "$LINENO"; then :
32980  ac_cv_lib_cpath_libcpath_path_change_directory=yes
32981else
32982  ac_cv_lib_cpath_libcpath_path_change_directory=no
32983fi
32984rm -f core conftest.err conftest.$ac_objext \
32985    conftest$ac_exeext conftest.$ac_ext
32986LIBS=$ac_check_lib_save_LIBS
32987fi
32988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5
32989$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; }
32990if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then :
32991  ac_cv_libcpath_dummy=yes
32992else
32993  ac_cv_libcpath=no
32994fi
32995
32996        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5
32997$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; }
32998if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then :
32999  $as_echo_n "(cached) " >&6
33000else
33001  ac_check_lib_save_LIBS=$LIBS
33002LIBS="-lcpath  $LIBS"
33003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004/* end confdefs.h.  */
33005
33006/* Override any GCC internal prototype to avoid an error.
33007   Use char because int might match the return type of a GCC
33008   builtin and then its argument prototype would still apply.  */
33009#ifdef __cplusplus
33010extern "C"
33011#endif
33012char libcpath_path_get_current_working_directory ();
33013int
33014main ()
33015{
33016return libcpath_path_get_current_working_directory ();
33017  ;
33018  return 0;
33019}
33020_ACEOF
33021if ac_fn_c_try_link "$LINENO"; then :
33022  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes
33023else
33024  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no
33025fi
33026rm -f core conftest.err conftest.$ac_objext \
33027    conftest$ac_exeext conftest.$ac_ext
33028LIBS=$ac_check_lib_save_LIBS
33029fi
33030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5
33031$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; }
33032if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then :
33033  ac_cv_libcpath_dummy=yes
33034else
33035  ac_cv_libcpath=no
33036fi
33037
33038        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5
33039$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; }
33040if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then :
33041  $as_echo_n "(cached) " >&6
33042else
33043  ac_check_lib_save_LIBS=$LIBS
33044LIBS="-lcpath  $LIBS"
33045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33046/* end confdefs.h.  */
33047
33048/* Override any GCC internal prototype to avoid an error.
33049   Use char because int might match the return type of a GCC
33050   builtin and then its argument prototype would still apply.  */
33051#ifdef __cplusplus
33052extern "C"
33053#endif
33054char libcpath_path_get_full_path ();
33055int
33056main ()
33057{
33058return libcpath_path_get_full_path ();
33059  ;
33060  return 0;
33061}
33062_ACEOF
33063if ac_fn_c_try_link "$LINENO"; then :
33064  ac_cv_lib_cpath_libcpath_path_get_full_path=yes
33065else
33066  ac_cv_lib_cpath_libcpath_path_get_full_path=no
33067fi
33068rm -f core conftest.err conftest.$ac_objext \
33069    conftest$ac_exeext conftest.$ac_ext
33070LIBS=$ac_check_lib_save_LIBS
33071fi
33072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5
33073$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; }
33074if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then :
33075  ac_cv_libcpath_dummy=yes
33076else
33077  ac_cv_libcpath=no
33078fi
33079
33080        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5
33081$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; }
33082if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then :
33083  $as_echo_n "(cached) " >&6
33084else
33085  ac_check_lib_save_LIBS=$LIBS
33086LIBS="-lcpath  $LIBS"
33087cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33088/* end confdefs.h.  */
33089
33090/* Override any GCC internal prototype to avoid an error.
33091   Use char because int might match the return type of a GCC
33092   builtin and then its argument prototype would still apply.  */
33093#ifdef __cplusplus
33094extern "C"
33095#endif
33096char libcpath_path_get_sanitized_filename ();
33097int
33098main ()
33099{
33100return libcpath_path_get_sanitized_filename ();
33101  ;
33102  return 0;
33103}
33104_ACEOF
33105if ac_fn_c_try_link "$LINENO"; then :
33106  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes
33107else
33108  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no
33109fi
33110rm -f core conftest.err conftest.$ac_objext \
33111    conftest$ac_exeext conftest.$ac_ext
33112LIBS=$ac_check_lib_save_LIBS
33113fi
33114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5
33115$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; }
33116if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then :
33117  ac_cv_libcpath_dummy=yes
33118else
33119  ac_cv_libcpath=no
33120fi
33121
33122        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5
33123$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; }
33124if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then :
33125  $as_echo_n "(cached) " >&6
33126else
33127  ac_check_lib_save_LIBS=$LIBS
33128LIBS="-lcpath  $LIBS"
33129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33130/* end confdefs.h.  */
33131
33132/* Override any GCC internal prototype to avoid an error.
33133   Use char because int might match the return type of a GCC
33134   builtin and then its argument prototype would still apply.  */
33135#ifdef __cplusplus
33136extern "C"
33137#endif
33138char libcpath_path_get_sanitized_path ();
33139int
33140main ()
33141{
33142return libcpath_path_get_sanitized_path ();
33143  ;
33144  return 0;
33145}
33146_ACEOF
33147if ac_fn_c_try_link "$LINENO"; then :
33148  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes
33149else
33150  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no
33151fi
33152rm -f core conftest.err conftest.$ac_objext \
33153    conftest$ac_exeext conftest.$ac_ext
33154LIBS=$ac_check_lib_save_LIBS
33155fi
33156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5
33157$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; }
33158if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then :
33159  ac_cv_libcpath_dummy=yes
33160else
33161  ac_cv_libcpath=no
33162fi
33163
33164        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5
33165$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; }
33166if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then :
33167  $as_echo_n "(cached) " >&6
33168else
33169  ac_check_lib_save_LIBS=$LIBS
33170LIBS="-lcpath  $LIBS"
33171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33172/* end confdefs.h.  */
33173
33174/* Override any GCC internal prototype to avoid an error.
33175   Use char because int might match the return type of a GCC
33176   builtin and then its argument prototype would still apply.  */
33177#ifdef __cplusplus
33178extern "C"
33179#endif
33180char libcpath_path_join ();
33181int
33182main ()
33183{
33184return libcpath_path_join ();
33185  ;
33186  return 0;
33187}
33188_ACEOF
33189if ac_fn_c_try_link "$LINENO"; then :
33190  ac_cv_lib_cpath_libcpath_path_join=yes
33191else
33192  ac_cv_lib_cpath_libcpath_path_join=no
33193fi
33194rm -f core conftest.err conftest.$ac_objext \
33195    conftest$ac_exeext conftest.$ac_ext
33196LIBS=$ac_check_lib_save_LIBS
33197fi
33198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5
33199$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; }
33200if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then :
33201  ac_cv_libcpath_dummy=yes
33202else
33203  ac_cv_libcpath=no
33204fi
33205
33206        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5
33207$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; }
33208if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then :
33209  $as_echo_n "(cached) " >&6
33210else
33211  ac_check_lib_save_LIBS=$LIBS
33212LIBS="-lcpath  $LIBS"
33213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214/* end confdefs.h.  */
33215
33216/* Override any GCC internal prototype to avoid an error.
33217   Use char because int might match the return type of a GCC
33218   builtin and then its argument prototype would still apply.  */
33219#ifdef __cplusplus
33220extern "C"
33221#endif
33222char libcpath_path_make_directory ();
33223int
33224main ()
33225{
33226return libcpath_path_make_directory ();
33227  ;
33228  return 0;
33229}
33230_ACEOF
33231if ac_fn_c_try_link "$LINENO"; then :
33232  ac_cv_lib_cpath_libcpath_path_make_directory=yes
33233else
33234  ac_cv_lib_cpath_libcpath_path_make_directory=no
33235fi
33236rm -f core conftest.err conftest.$ac_objext \
33237    conftest$ac_exeext conftest.$ac_ext
33238LIBS=$ac_check_lib_save_LIBS
33239fi
33240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5
33241$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; }
33242if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then :
33243  ac_cv_libcpath_dummy=yes
33244else
33245  ac_cv_libcpath=no
33246fi
33247
33248
33249        if test "x$ac_cv_enable_wide_character_type" != xno; then :
33250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5
33251$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; }
33252if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then :
33253  $as_echo_n "(cached) " >&6
33254else
33255  ac_check_lib_save_LIBS=$LIBS
33256LIBS="-lcpath  $LIBS"
33257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258/* end confdefs.h.  */
33259
33260/* Override any GCC internal prototype to avoid an error.
33261   Use char because int might match the return type of a GCC
33262   builtin and then its argument prototype would still apply.  */
33263#ifdef __cplusplus
33264extern "C"
33265#endif
33266char libcpath_path_change_directory_wide ();
33267int
33268main ()
33269{
33270return libcpath_path_change_directory_wide ();
33271  ;
33272  return 0;
33273}
33274_ACEOF
33275if ac_fn_c_try_link "$LINENO"; then :
33276  ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes
33277else
33278  ac_cv_lib_cpath_libcpath_path_change_directory_wide=no
33279fi
33280rm -f core conftest.err conftest.$ac_objext \
33281    conftest$ac_exeext conftest.$ac_ext
33282LIBS=$ac_check_lib_save_LIBS
33283fi
33284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5
33285$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; }
33286if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then :
33287  ac_cv_libcpath_dummy=yes
33288else
33289  ac_cv_libcpath=no
33290fi
33291
33292          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5
33293$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; }
33294if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then :
33295  $as_echo_n "(cached) " >&6
33296else
33297  ac_check_lib_save_LIBS=$LIBS
33298LIBS="-lcpath  $LIBS"
33299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33300/* end confdefs.h.  */
33301
33302/* Override any GCC internal prototype to avoid an error.
33303   Use char because int might match the return type of a GCC
33304   builtin and then its argument prototype would still apply.  */
33305#ifdef __cplusplus
33306extern "C"
33307#endif
33308char libcpath_path_get_current_working_directory_wide ();
33309int
33310main ()
33311{
33312return libcpath_path_get_current_working_directory_wide ();
33313  ;
33314  return 0;
33315}
33316_ACEOF
33317if ac_fn_c_try_link "$LINENO"; then :
33318  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes
33319else
33320  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no
33321fi
33322rm -f core conftest.err conftest.$ac_objext \
33323    conftest$ac_exeext conftest.$ac_ext
33324LIBS=$ac_check_lib_save_LIBS
33325fi
33326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5
33327$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; }
33328if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then :
33329  ac_cv_libcpath_dummy=yes
33330else
33331  ac_cv_libcpath=no
33332fi
33333
33334          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5
33335$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; }
33336if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then :
33337  $as_echo_n "(cached) " >&6
33338else
33339  ac_check_lib_save_LIBS=$LIBS
33340LIBS="-lcpath  $LIBS"
33341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33342/* end confdefs.h.  */
33343
33344/* Override any GCC internal prototype to avoid an error.
33345   Use char because int might match the return type of a GCC
33346   builtin and then its argument prototype would still apply.  */
33347#ifdef __cplusplus
33348extern "C"
33349#endif
33350char libcpath_path_get_full_path_wide ();
33351int
33352main ()
33353{
33354return libcpath_path_get_full_path_wide ();
33355  ;
33356  return 0;
33357}
33358_ACEOF
33359if ac_fn_c_try_link "$LINENO"; then :
33360  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes
33361else
33362  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no
33363fi
33364rm -f core conftest.err conftest.$ac_objext \
33365    conftest$ac_exeext conftest.$ac_ext
33366LIBS=$ac_check_lib_save_LIBS
33367fi
33368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5
33369$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; }
33370if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then :
33371  ac_cv_libcpath_dummy=yes
33372else
33373  ac_cv_libcpath=no
33374fi
33375
33376          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5
33377$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; }
33378if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then :
33379  $as_echo_n "(cached) " >&6
33380else
33381  ac_check_lib_save_LIBS=$LIBS
33382LIBS="-lcpath  $LIBS"
33383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384/* end confdefs.h.  */
33385
33386/* Override any GCC internal prototype to avoid an error.
33387   Use char because int might match the return type of a GCC
33388   builtin and then its argument prototype would still apply.  */
33389#ifdef __cplusplus
33390extern "C"
33391#endif
33392char libcpath_path_get_sanitized_filename_wide ();
33393int
33394main ()
33395{
33396return libcpath_path_get_sanitized_filename_wide ();
33397  ;
33398  return 0;
33399}
33400_ACEOF
33401if ac_fn_c_try_link "$LINENO"; then :
33402  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes
33403else
33404  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no
33405fi
33406rm -f core conftest.err conftest.$ac_objext \
33407    conftest$ac_exeext conftest.$ac_ext
33408LIBS=$ac_check_lib_save_LIBS
33409fi
33410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5
33411$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; }
33412if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then :
33413  ac_cv_libcpath_dummy=yes
33414else
33415  ac_cv_libcpath=no
33416fi
33417
33418          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5
33419$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; }
33420if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then :
33421  $as_echo_n "(cached) " >&6
33422else
33423  ac_check_lib_save_LIBS=$LIBS
33424LIBS="-lcpath  $LIBS"
33425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33426/* end confdefs.h.  */
33427
33428/* Override any GCC internal prototype to avoid an error.
33429   Use char because int might match the return type of a GCC
33430   builtin and then its argument prototype would still apply.  */
33431#ifdef __cplusplus
33432extern "C"
33433#endif
33434char libcpath_path_get_sanitized_path_wide ();
33435int
33436main ()
33437{
33438return libcpath_path_get_sanitized_path_wide ();
33439  ;
33440  return 0;
33441}
33442_ACEOF
33443if ac_fn_c_try_link "$LINENO"; then :
33444  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes
33445else
33446  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no
33447fi
33448rm -f core conftest.err conftest.$ac_objext \
33449    conftest$ac_exeext conftest.$ac_ext
33450LIBS=$ac_check_lib_save_LIBS
33451fi
33452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5
33453$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; }
33454if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then :
33455  ac_cv_libcpath_dummy=yes
33456else
33457  ac_cv_libcpath=no
33458fi
33459
33460          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5
33461$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; }
33462if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then :
33463  $as_echo_n "(cached) " >&6
33464else
33465  ac_check_lib_save_LIBS=$LIBS
33466LIBS="-lcpath  $LIBS"
33467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33468/* end confdefs.h.  */
33469
33470/* Override any GCC internal prototype to avoid an error.
33471   Use char because int might match the return type of a GCC
33472   builtin and then its argument prototype would still apply.  */
33473#ifdef __cplusplus
33474extern "C"
33475#endif
33476char libcpath_path_join_wide ();
33477int
33478main ()
33479{
33480return libcpath_path_join_wide ();
33481  ;
33482  return 0;
33483}
33484_ACEOF
33485if ac_fn_c_try_link "$LINENO"; then :
33486  ac_cv_lib_cpath_libcpath_path_join_wide=yes
33487else
33488  ac_cv_lib_cpath_libcpath_path_join_wide=no
33489fi
33490rm -f core conftest.err conftest.$ac_objext \
33491    conftest$ac_exeext conftest.$ac_ext
33492LIBS=$ac_check_lib_save_LIBS
33493fi
33494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5
33495$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; }
33496if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then :
33497  ac_cv_libcpath_dummy=yes
33498else
33499  ac_cv_libcpath=no
33500fi
33501
33502          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5
33503$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; }
33504if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then :
33505  $as_echo_n "(cached) " >&6
33506else
33507  ac_check_lib_save_LIBS=$LIBS
33508LIBS="-lcpath  $LIBS"
33509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33510/* end confdefs.h.  */
33511
33512/* Override any GCC internal prototype to avoid an error.
33513   Use char because int might match the return type of a GCC
33514   builtin and then its argument prototype would still apply.  */
33515#ifdef __cplusplus
33516extern "C"
33517#endif
33518char libcpath_path_make_directory_wide ();
33519int
33520main ()
33521{
33522return libcpath_path_make_directory_wide ();
33523  ;
33524  return 0;
33525}
33526_ACEOF
33527if ac_fn_c_try_link "$LINENO"; then :
33528  ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes
33529else
33530  ac_cv_lib_cpath_libcpath_path_make_directory_wide=no
33531fi
33532rm -f core conftest.err conftest.$ac_objext \
33533    conftest$ac_exeext conftest.$ac_ext
33534LIBS=$ac_check_lib_save_LIBS
33535fi
33536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5
33537$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; }
33538if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then :
33539  ac_cv_libcpath_dummy=yes
33540else
33541  ac_cv_libcpath=no
33542fi
33543
33544
33545fi
33546
33547        ac_cv_libcpath_LIBADD="-lcpath"
33548fi
33549
33550fi
33551    if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then :
33552  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33554as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath
33555See \`config.log' for more details" "$LINENO" 5; }
33556
33557fi
33558
33559fi
33560
33561  if test "x$ac_cv_libcpath" = xyes; then :
33562
33563$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h
33564
33565
33566fi
33567
33568  if test "x$ac_cv_libcpath" = xyes; then :
33569  HAVE_LIBCPATH=1
33570
33571else
33572  HAVE_LIBCPATH=0
33573
33574
33575fi
33576
33577
33578    if test "x$ac_cv_libcpath" != xyes; then :
33579    for ac_header in errno.h sys/stat.h sys/syslimits.h
33580do :
33581  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33582ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
33583if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
33584  cat >>confdefs.h <<_ACEOF
33585#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33586_ACEOF
33587
33588fi
33589
33590done
33591
33592
33593    for ac_func in chdir getcwd
33594do :
33595  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33596ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33597if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33598  cat >>confdefs.h <<_ACEOF
33599#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33600_ACEOF
33601
33602fi
33603done
33604
33605
33606  if test "x$ac_cv_func_chdir" != xyes; then :
33607  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33609as_fn_error 1 "Missing functions: chdir
33610See \`config.log' for more details" "$LINENO" 5; }
33611
33612fi
33613
33614  if test "x$ac_cv_func_getcwd" != xyes; then :
33615  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33617as_fn_error 1 "Missing functions: getcwd
33618See \`config.log' for more details" "$LINENO" 5; }
33619
33620fi
33621
33622  for ac_func in mkdir
33623do :
33624  ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
33625if test "x$ac_cv_func_mkdir" = xyes; then :
33626  cat >>confdefs.h <<_ACEOF
33627#define HAVE_MKDIR 1
33628_ACEOF
33629
33630fi
33631done
33632
33633
33634  if test "x$ac_cv_func_mkdir" = xyes; then :
33635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5
33636$as_echo_n "checking how to use mkdir... " >&6; }
33637
33638    SAVE_CFLAGS="$CFLAGS"
33639    CFLAGS="$CFLAGS -Wall -Werror"
33640    ac_ext=c
33641ac_cpp='$CPP $CPPFLAGS'
33642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644ac_compiler_gnu=$ac_cv_c_compiler_gnu
33645
33646
33647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33648/* end confdefs.h.  */
33649#include <sys/stat.h>
33650#include <sys/types.h>
33651int
33652main ()
33653{
33654mkdir( "", 0 )
33655  ;
33656  return 0;
33657}
33658_ACEOF
33659if ac_fn_c_try_link "$LINENO"; then :
33660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5
33661$as_echo "with additional mode argument" >&6; }
33662        ac_cv_cv_mkdir_mode=yes
33663else
33664  ac_cv_cv_mkdir_mode=no
33665fi
33666rm -f core conftest.err conftest.$ac_objext \
33667    conftest$ac_exeext conftest.$ac_ext
33668
33669    if test "x$ac_cv_cv_mkdir_mode" = xno; then :
33670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33671/* end confdefs.h.  */
33672#include <io.h>
33673int
33674main ()
33675{
33676mkdir( "" )
33677  ;
33678  return 0;
33679}
33680_ACEOF
33681if ac_fn_c_try_link "$LINENO"; then :
33682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5
33683$as_echo "with single argument" >&6; }
33684        ac_cv_cv_mkdir=yes
33685else
33686  ac_cv_cv_mkdir=no
33687fi
33688rm -f core conftest.err conftest.$ac_objext \
33689    conftest$ac_exeext conftest.$ac_ext
33690
33691fi
33692
33693    ac_ext=c
33694ac_cpp='$CPP $CPPFLAGS'
33695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697ac_compiler_gnu=$ac_cv_c_compiler_gnu
33698
33699    CFLAGS="$SAVE_CFLAGS"
33700
33701    if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then :
33702  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5
33703$as_echo "$as_me: WARNING: unknown" >&2;}
33704      ac_cv_func_mkdir=no
33705fi
33706
33707    if test "x$ac_cv_func_mkdir" = xyes; then :
33708
33709$as_echo "#define HAVE_MKDIR 1" >>confdefs.h
33710
33711
33712fi
33713
33714    if test "x$ac_cv_cv_mkdir_mode" = xyes; then :
33715
33716$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h
33717
33718
33719fi
33720
33721fi
33722
33723  if test "x$ac_cv_func_mkdir" = xno; then :
33724  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33725$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33726as_fn_error 1 "Missing function: mkdir
33727See \`config.log' for more details" "$LINENO" 5; }
33728
33729fi
33730
33731
33732  ac_cv_libcpath_CPPFLAGS="-I../libcpath";
33733  ac_cv_libcpath_LIBADD="../libcpath/libcpath.la";
33734
33735  ac_cv_libcpath=local
33736
33737
33738
33739$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h
33740
33741    HAVE_LOCAL_LIBCPATH=1
33742
33743
33744fi
33745
33746   if test "x$ac_cv_libcpath" = xlocal; then
33747  HAVE_LOCAL_LIBCPATH_TRUE=
33748  HAVE_LOCAL_LIBCPATH_FALSE='#'
33749else
33750  HAVE_LOCAL_LIBCPATH_TRUE='#'
33751  HAVE_LOCAL_LIBCPATH_FALSE=
33752fi
33753
33754  if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then :
33755  LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS
33756
33757
33758fi
33759  if test "x$ac_cv_libcpath_LIBADD" != "x"; then :
33760  LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD
33761
33762
33763fi
33764
33765  if test "x$ac_cv_libcpath" = xyes; then :
33766  ax_libcpath_pc_libs_private=-lcpath
33767
33768
33769fi
33770
33771  if test "x$ac_cv_libcpath" = xyes; then :
33772  ax_libcpath_spec_requires=libcpath
33773
33774    ax_libcpath_spec_build_requires=libcpath-devel
33775
33776
33777fi
33778
33779
33780
33781
33782# Check whether --with-libbfio was given.
33783if test "${with_libbfio+set}" = set; then :
33784  withval=$with_libbfio; ac_cv_with_libbfio=$withval
33785else
33786  ac_cv_with_libbfio=auto-detect
33787fi
33788
33789    { $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
33790$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; }
33791if ${ac_cv_with_libbfio+:} false; then :
33792  $as_echo_n "(cached) " >&6
33793else
33794  ac_cv_with_libbfio=auto-detect
33795fi
33796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5
33797$as_echo "$ac_cv_with_libbfio" >&6; }
33798
33799    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then :
33800  ac_cv_libbfio=no
33801else
33802  ac_cv_libbfio=check
33803        if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then :
33804  if test -d "$ac_cv_with_libbfio"; then :
33805  CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include"
33806        LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib"
33807else
33808  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33810as_fn_error 1 "no such directory: $ac_cv_with_libbfio
33811See \`config.log' for more details" "$LINENO" 5; }
33812
33813fi
33814
33815else
33816        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
33817
33818pkg_failed=no
33819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5
33820$as_echo_n "checking for libbfio... " >&6; }
33821
33822if test -n "$libbfio_CFLAGS"; then
33823    pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS"
33824 elif test -n "$PKG_CONFIG"; then
33825    if test -n "$PKG_CONFIG" && \
33826    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20191230\""; } >&5
33827  ($PKG_CONFIG --exists --print-errors "libbfio >= 20191230") 2>&5
33828  ac_status=$?
33829  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33830  test $ac_status = 0; }; then
33831  pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20191230" 2>/dev/null`
33832		      test "x$?" != "x0" && pkg_failed=yes
33833else
33834  pkg_failed=yes
33835fi
33836 else
33837    pkg_failed=untried
33838fi
33839if test -n "$libbfio_LIBS"; then
33840    pkg_cv_libbfio_LIBS="$libbfio_LIBS"
33841 elif test -n "$PKG_CONFIG"; then
33842    if test -n "$PKG_CONFIG" && \
33843    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20191230\""; } >&5
33844  ($PKG_CONFIG --exists --print-errors "libbfio >= 20191230") 2>&5
33845  ac_status=$?
33846  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33847  test $ac_status = 0; }; then
33848  pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20191230" 2>/dev/null`
33849		      test "x$?" != "x0" && pkg_failed=yes
33850else
33851  pkg_failed=yes
33852fi
33853 else
33854    pkg_failed=untried
33855fi
33856
33857
33858
33859if test $pkg_failed = yes; then
33860   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33861$as_echo "no" >&6; }
33862
33863if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33864        _pkg_short_errors_supported=yes
33865else
33866        _pkg_short_errors_supported=no
33867fi
33868        if test $_pkg_short_errors_supported = yes; then
33869	        libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20191230" 2>&1`
33870        else
33871	        libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20191230" 2>&1`
33872        fi
33873	# Put the nasty error message in config.log where it belongs
33874	echo "$libbfio_PKG_ERRORS" >&5
33875
33876	ac_cv_libbfio=check
33877elif test $pkg_failed = untried; then
33878     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33879$as_echo "no" >&6; }
33880	ac_cv_libbfio=check
33881else
33882	libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS
33883	libbfio_LIBS=$pkg_cv_libbfio_LIBS
33884        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33885$as_echo "yes" >&6; }
33886	ac_cv_libbfio=yes
33887fi
33888
33889fi
33890      if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
33891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
33892$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
33893if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then :
33894  $as_echo_n "(cached) " >&6
33895else
33896  ac_ext=c
33897ac_cpp='$CPP $CPPFLAGS'
33898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33900ac_compiler_gnu=$ac_cv_c_compiler_gnu
33901
33902         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33903/* end confdefs.h.  */
33904#include <libbfio/features.h>
33905int
33906main ()
33907{
33908#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 )
33909#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined
33910#endif
33911  ;
33912  return 0;
33913}
33914_ACEOF
33915if ac_fn_c_try_compile "$LINENO"; then :
33916  ac_cv_header_libbfio_features_h_have_wide_character_type=yes
33917else
33918  ac_cv_header_libbfio_features_h_have_wide_character_type=no
33919fi
33920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921         ac_ext=c
33922ac_cpp='$CPP $CPPFLAGS'
33923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927fi
33928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5
33929$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; }
33930
33931        if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then :
33932  ac_cv_libbfio=no
33933fi
33934
33935fi
33936      if test "x$ac_cv_libbfio" = xyes; then :
33937  ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS"
33938        ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS"
33939fi
33940
33941fi
33942
33943    if test "x$ac_cv_libbfio" = xcheck; then :
33944        for ac_header in libbfio.h
33945do :
33946  ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default"
33947if test "x$ac_cv_header_libbfio_h" = xyes; then :
33948  cat >>confdefs.h <<_ACEOF
33949#define HAVE_LIBBFIO_H 1
33950_ACEOF
33951
33952fi
33953
33954done
33955
33956
33957      if test "x$ac_cv_header_libbfio_h" = xno; then :
33958  ac_cv_libbfio=no
33959else
33960          ac_cv_libbfio=yes
33961
33962        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5
33963$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; }
33964if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then :
33965  $as_echo_n "(cached) " >&6
33966else
33967  ac_check_lib_save_LIBS=$LIBS
33968LIBS="-lbfio  $LIBS"
33969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33970/* end confdefs.h.  */
33971
33972/* Override any GCC internal prototype to avoid an error.
33973   Use char because int might match the return type of a GCC
33974   builtin and then its argument prototype would still apply.  */
33975#ifdef __cplusplus
33976extern "C"
33977#endif
33978char libbfio_get_version ();
33979int
33980main ()
33981{
33982return libbfio_get_version ();
33983  ;
33984  return 0;
33985}
33986_ACEOF
33987if ac_fn_c_try_link "$LINENO"; then :
33988  ac_cv_lib_bfio_libbfio_get_version=yes
33989else
33990  ac_cv_lib_bfio_libbfio_get_version=no
33991fi
33992rm -f core conftest.err conftest.$ac_objext \
33993    conftest$ac_exeext conftest.$ac_ext
33994LIBS=$ac_check_lib_save_LIBS
33995fi
33996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5
33997$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; }
33998if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then :
33999  ac_cv_libbfio_dummy=yes
34000else
34001  ac_cv_libbfio=no
34002fi
34003
34004
34005                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5
34006$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; }
34007if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then :
34008  $as_echo_n "(cached) " >&6
34009else
34010  ac_check_lib_save_LIBS=$LIBS
34011LIBS="-lbfio  $LIBS"
34012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013/* end confdefs.h.  */
34014
34015/* Override any GCC internal prototype to avoid an error.
34016   Use char because int might match the return type of a GCC
34017   builtin and then its argument prototype would still apply.  */
34018#ifdef __cplusplus
34019extern "C"
34020#endif
34021char libbfio_handle_free ();
34022int
34023main ()
34024{
34025return libbfio_handle_free ();
34026  ;
34027  return 0;
34028}
34029_ACEOF
34030if ac_fn_c_try_link "$LINENO"; then :
34031  ac_cv_lib_bfio_libbfio_handle_free=yes
34032else
34033  ac_cv_lib_bfio_libbfio_handle_free=no
34034fi
34035rm -f core conftest.err conftest.$ac_objext \
34036    conftest$ac_exeext conftest.$ac_ext
34037LIBS=$ac_check_lib_save_LIBS
34038fi
34039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5
34040$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; }
34041if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then :
34042  ac_cv_libbfio_dummy=yes
34043else
34044  ac_cv_libbfio=no
34045fi
34046
34047        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5
34048$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; }
34049if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then :
34050  $as_echo_n "(cached) " >&6
34051else
34052  ac_check_lib_save_LIBS=$LIBS
34053LIBS="-lbfio  $LIBS"
34054cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34055/* end confdefs.h.  */
34056
34057/* Override any GCC internal prototype to avoid an error.
34058   Use char because int might match the return type of a GCC
34059   builtin and then its argument prototype would still apply.  */
34060#ifdef __cplusplus
34061extern "C"
34062#endif
34063char libbfio_handle_open ();
34064int
34065main ()
34066{
34067return libbfio_handle_open ();
34068  ;
34069  return 0;
34070}
34071_ACEOF
34072if ac_fn_c_try_link "$LINENO"; then :
34073  ac_cv_lib_bfio_libbfio_handle_open=yes
34074else
34075  ac_cv_lib_bfio_libbfio_handle_open=no
34076fi
34077rm -f core conftest.err conftest.$ac_objext \
34078    conftest$ac_exeext conftest.$ac_ext
34079LIBS=$ac_check_lib_save_LIBS
34080fi
34081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5
34082$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; }
34083if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then :
34084  ac_cv_libbfio_dummy=yes
34085else
34086  ac_cv_libbfio=no
34087fi
34088
34089        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5
34090$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; }
34091if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then :
34092  $as_echo_n "(cached) " >&6
34093else
34094  ac_check_lib_save_LIBS=$LIBS
34095LIBS="-lbfio  $LIBS"
34096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34097/* end confdefs.h.  */
34098
34099/* Override any GCC internal prototype to avoid an error.
34100   Use char because int might match the return type of a GCC
34101   builtin and then its argument prototype would still apply.  */
34102#ifdef __cplusplus
34103extern "C"
34104#endif
34105char libbfio_handle_close ();
34106int
34107main ()
34108{
34109return libbfio_handle_close ();
34110  ;
34111  return 0;
34112}
34113_ACEOF
34114if ac_fn_c_try_link "$LINENO"; then :
34115  ac_cv_lib_bfio_libbfio_handle_close=yes
34116else
34117  ac_cv_lib_bfio_libbfio_handle_close=no
34118fi
34119rm -f core conftest.err conftest.$ac_objext \
34120    conftest$ac_exeext conftest.$ac_ext
34121LIBS=$ac_check_lib_save_LIBS
34122fi
34123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5
34124$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; }
34125if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then :
34126  ac_cv_libbfio_dummy=yes
34127else
34128  ac_cv_libbfio=no
34129fi
34130
34131        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5
34132$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; }
34133if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then :
34134  $as_echo_n "(cached) " >&6
34135else
34136  ac_check_lib_save_LIBS=$LIBS
34137LIBS="-lbfio  $LIBS"
34138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34139/* end confdefs.h.  */
34140
34141/* Override any GCC internal prototype to avoid an error.
34142   Use char because int might match the return type of a GCC
34143   builtin and then its argument prototype would still apply.  */
34144#ifdef __cplusplus
34145extern "C"
34146#endif
34147char libbfio_handle_exists ();
34148int
34149main ()
34150{
34151return libbfio_handle_exists ();
34152  ;
34153  return 0;
34154}
34155_ACEOF
34156if ac_fn_c_try_link "$LINENO"; then :
34157  ac_cv_lib_bfio_libbfio_handle_exists=yes
34158else
34159  ac_cv_lib_bfio_libbfio_handle_exists=no
34160fi
34161rm -f core conftest.err conftest.$ac_objext \
34162    conftest$ac_exeext conftest.$ac_ext
34163LIBS=$ac_check_lib_save_LIBS
34164fi
34165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5
34166$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; }
34167if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then :
34168  ac_cv_libbfio_dummy=yes
34169else
34170  ac_cv_libbfio=no
34171fi
34172
34173        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5
34174$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; }
34175if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then :
34176  $as_echo_n "(cached) " >&6
34177else
34178  ac_check_lib_save_LIBS=$LIBS
34179LIBS="-lbfio  $LIBS"
34180cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34181/* end confdefs.h.  */
34182
34183/* Override any GCC internal prototype to avoid an error.
34184   Use char because int might match the return type of a GCC
34185   builtin and then its argument prototype would still apply.  */
34186#ifdef __cplusplus
34187extern "C"
34188#endif
34189char libbfio_handle_read_buffer ();
34190int
34191main ()
34192{
34193return libbfio_handle_read_buffer ();
34194  ;
34195  return 0;
34196}
34197_ACEOF
34198if ac_fn_c_try_link "$LINENO"; then :
34199  ac_cv_lib_bfio_libbfio_handle_read_buffer=yes
34200else
34201  ac_cv_lib_bfio_libbfio_handle_read_buffer=no
34202fi
34203rm -f core conftest.err conftest.$ac_objext \
34204    conftest$ac_exeext conftest.$ac_ext
34205LIBS=$ac_check_lib_save_LIBS
34206fi
34207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5
34208$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; }
34209if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then :
34210  ac_cv_libbfio_dummy=yes
34211else
34212  ac_cv_libbfio=no
34213fi
34214
34215        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5
34216$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; }
34217if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then :
34218  $as_echo_n "(cached) " >&6
34219else
34220  ac_check_lib_save_LIBS=$LIBS
34221LIBS="-lbfio  $LIBS"
34222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34223/* end confdefs.h.  */
34224
34225/* Override any GCC internal prototype to avoid an error.
34226   Use char because int might match the return type of a GCC
34227   builtin and then its argument prototype would still apply.  */
34228#ifdef __cplusplus
34229extern "C"
34230#endif
34231char libbfio_handle_write_buffer ();
34232int
34233main ()
34234{
34235return libbfio_handle_write_buffer ();
34236  ;
34237  return 0;
34238}
34239_ACEOF
34240if ac_fn_c_try_link "$LINENO"; then :
34241  ac_cv_lib_bfio_libbfio_handle_write_buffer=yes
34242else
34243  ac_cv_lib_bfio_libbfio_handle_write_buffer=no
34244fi
34245rm -f core conftest.err conftest.$ac_objext \
34246    conftest$ac_exeext conftest.$ac_ext
34247LIBS=$ac_check_lib_save_LIBS
34248fi
34249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5
34250$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; }
34251if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then :
34252  ac_cv_libbfio_dummy=yes
34253else
34254  ac_cv_libbfio=no
34255fi
34256
34257        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5
34258$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; }
34259if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then :
34260  $as_echo_n "(cached) " >&6
34261else
34262  ac_check_lib_save_LIBS=$LIBS
34263LIBS="-lbfio  $LIBS"
34264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34265/* end confdefs.h.  */
34266
34267/* Override any GCC internal prototype to avoid an error.
34268   Use char because int might match the return type of a GCC
34269   builtin and then its argument prototype would still apply.  */
34270#ifdef __cplusplus
34271extern "C"
34272#endif
34273char libbfio_handle_seek_offset ();
34274int
34275main ()
34276{
34277return libbfio_handle_seek_offset ();
34278  ;
34279  return 0;
34280}
34281_ACEOF
34282if ac_fn_c_try_link "$LINENO"; then :
34283  ac_cv_lib_bfio_libbfio_handle_seek_offset=yes
34284else
34285  ac_cv_lib_bfio_libbfio_handle_seek_offset=no
34286fi
34287rm -f core conftest.err conftest.$ac_objext \
34288    conftest$ac_exeext conftest.$ac_ext
34289LIBS=$ac_check_lib_save_LIBS
34290fi
34291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5
34292$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; }
34293if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then :
34294  ac_cv_libbfio_dummy=yes
34295else
34296  ac_cv_libbfio=no
34297fi
34298
34299
34300        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5
34301$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; }
34302if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then :
34303  $as_echo_n "(cached) " >&6
34304else
34305  ac_check_lib_save_LIBS=$LIBS
34306LIBS="-lbfio  $LIBS"
34307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34308/* end confdefs.h.  */
34309
34310/* Override any GCC internal prototype to avoid an error.
34311   Use char because int might match the return type of a GCC
34312   builtin and then its argument prototype would still apply.  */
34313#ifdef __cplusplus
34314extern "C"
34315#endif
34316char libbfio_handle_is_open ();
34317int
34318main ()
34319{
34320return libbfio_handle_is_open ();
34321  ;
34322  return 0;
34323}
34324_ACEOF
34325if ac_fn_c_try_link "$LINENO"; then :
34326  ac_cv_lib_bfio_libbfio_handle_is_open=yes
34327else
34328  ac_cv_lib_bfio_libbfio_handle_is_open=no
34329fi
34330rm -f core conftest.err conftest.$ac_objext \
34331    conftest$ac_exeext conftest.$ac_ext
34332LIBS=$ac_check_lib_save_LIBS
34333fi
34334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5
34335$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; }
34336if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then :
34337  ac_cv_libbfio_dummy=yes
34338else
34339  ac_cv_libbfio=no
34340fi
34341
34342        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5
34343$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; }
34344if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then :
34345  $as_echo_n "(cached) " >&6
34346else
34347  ac_check_lib_save_LIBS=$LIBS
34348LIBS="-lbfio  $LIBS"
34349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34350/* end confdefs.h.  */
34351
34352/* Override any GCC internal prototype to avoid an error.
34353   Use char because int might match the return type of a GCC
34354   builtin and then its argument prototype would still apply.  */
34355#ifdef __cplusplus
34356extern "C"
34357#endif
34358char libbfio_handle_get_offset ();
34359int
34360main ()
34361{
34362return libbfio_handle_get_offset ();
34363  ;
34364  return 0;
34365}
34366_ACEOF
34367if ac_fn_c_try_link "$LINENO"; then :
34368  ac_cv_lib_bfio_libbfio_handle_get_offset=yes
34369else
34370  ac_cv_lib_bfio_libbfio_handle_get_offset=no
34371fi
34372rm -f core conftest.err conftest.$ac_objext \
34373    conftest$ac_exeext conftest.$ac_ext
34374LIBS=$ac_check_lib_save_LIBS
34375fi
34376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5
34377$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; }
34378if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then :
34379  ac_cv_libbfio_dummy=yes
34380else
34381  ac_cv_libbfio=no
34382fi
34383
34384        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5
34385$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; }
34386if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then :
34387  $as_echo_n "(cached) " >&6
34388else
34389  ac_check_lib_save_LIBS=$LIBS
34390LIBS="-lbfio  $LIBS"
34391cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392/* end confdefs.h.  */
34393
34394/* Override any GCC internal prototype to avoid an error.
34395   Use char because int might match the return type of a GCC
34396   builtin and then its argument prototype would still apply.  */
34397#ifdef __cplusplus
34398extern "C"
34399#endif
34400char libbfio_handle_get_size ();
34401int
34402main ()
34403{
34404return libbfio_handle_get_size ();
34405  ;
34406  return 0;
34407}
34408_ACEOF
34409if ac_fn_c_try_link "$LINENO"; then :
34410  ac_cv_lib_bfio_libbfio_handle_get_size=yes
34411else
34412  ac_cv_lib_bfio_libbfio_handle_get_size=no
34413fi
34414rm -f core conftest.err conftest.$ac_objext \
34415    conftest$ac_exeext conftest.$ac_ext
34416LIBS=$ac_check_lib_save_LIBS
34417fi
34418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5
34419$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; }
34420if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then :
34421  ac_cv_libbfio_dummy=yes
34422else
34423  ac_cv_libbfio=no
34424fi
34425
34426        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5
34427$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; }
34428if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then :
34429  $as_echo_n "(cached) " >&6
34430else
34431  ac_check_lib_save_LIBS=$LIBS
34432LIBS="-lbfio  $LIBS"
34433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34434/* end confdefs.h.  */
34435
34436/* Override any GCC internal prototype to avoid an error.
34437   Use char because int might match the return type of a GCC
34438   builtin and then its argument prototype would still apply.  */
34439#ifdef __cplusplus
34440extern "C"
34441#endif
34442char libbfio_handle_set_track_offsets_read ();
34443int
34444main ()
34445{
34446return libbfio_handle_set_track_offsets_read ();
34447  ;
34448  return 0;
34449}
34450_ACEOF
34451if ac_fn_c_try_link "$LINENO"; then :
34452  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes
34453else
34454  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no
34455fi
34456rm -f core conftest.err conftest.$ac_objext \
34457    conftest$ac_exeext conftest.$ac_ext
34458LIBS=$ac_check_lib_save_LIBS
34459fi
34460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5
34461$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; }
34462if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then :
34463  ac_cv_libbfio_dummy=yes
34464else
34465  ac_cv_libbfio=no
34466fi
34467
34468        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5
34469$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; }
34470if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then :
34471  $as_echo_n "(cached) " >&6
34472else
34473  ac_check_lib_save_LIBS=$LIBS
34474LIBS="-lbfio  $LIBS"
34475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34476/* end confdefs.h.  */
34477
34478/* Override any GCC internal prototype to avoid an error.
34479   Use char because int might match the return type of a GCC
34480   builtin and then its argument prototype would still apply.  */
34481#ifdef __cplusplus
34482extern "C"
34483#endif
34484char libbfio_handle_get_number_of_offsets_read ();
34485int
34486main ()
34487{
34488return libbfio_handle_get_number_of_offsets_read ();
34489  ;
34490  return 0;
34491}
34492_ACEOF
34493if ac_fn_c_try_link "$LINENO"; then :
34494  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes
34495else
34496  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no
34497fi
34498rm -f core conftest.err conftest.$ac_objext \
34499    conftest$ac_exeext conftest.$ac_ext
34500LIBS=$ac_check_lib_save_LIBS
34501fi
34502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5
34503$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; }
34504if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then :
34505  ac_cv_libbfio_dummy=yes
34506else
34507  ac_cv_libbfio=no
34508fi
34509
34510        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5
34511$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; }
34512if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then :
34513  $as_echo_n "(cached) " >&6
34514else
34515  ac_check_lib_save_LIBS=$LIBS
34516LIBS="-lbfio  $LIBS"
34517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34518/* end confdefs.h.  */
34519
34520/* Override any GCC internal prototype to avoid an error.
34521   Use char because int might match the return type of a GCC
34522   builtin and then its argument prototype would still apply.  */
34523#ifdef __cplusplus
34524extern "C"
34525#endif
34526char libbfio_handle_get_offset_read ();
34527int
34528main ()
34529{
34530return libbfio_handle_get_offset_read ();
34531  ;
34532  return 0;
34533}
34534_ACEOF
34535if ac_fn_c_try_link "$LINENO"; then :
34536  ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes
34537else
34538  ac_cv_lib_bfio_libbfio_handle_get_offset_read=no
34539fi
34540rm -f core conftest.err conftest.$ac_objext \
34541    conftest$ac_exeext conftest.$ac_ext
34542LIBS=$ac_check_lib_save_LIBS
34543fi
34544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5
34545$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; }
34546if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then :
34547  ac_cv_libbfio_dummy=yes
34548else
34549  ac_cv_libbfio=no
34550fi
34551
34552
34553                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5
34554$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; }
34555if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then :
34556  $as_echo_n "(cached) " >&6
34557else
34558  ac_check_lib_save_LIBS=$LIBS
34559LIBS="-lbfio  $LIBS"
34560cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34561/* end confdefs.h.  */
34562
34563/* Override any GCC internal prototype to avoid an error.
34564   Use char because int might match the return type of a GCC
34565   builtin and then its argument prototype would still apply.  */
34566#ifdef __cplusplus
34567extern "C"
34568#endif
34569char libbfio_file_initialize ();
34570int
34571main ()
34572{
34573return libbfio_file_initialize ();
34574  ;
34575  return 0;
34576}
34577_ACEOF
34578if ac_fn_c_try_link "$LINENO"; then :
34579  ac_cv_lib_bfio_libbfio_file_initialize=yes
34580else
34581  ac_cv_lib_bfio_libbfio_file_initialize=no
34582fi
34583rm -f core conftest.err conftest.$ac_objext \
34584    conftest$ac_exeext conftest.$ac_ext
34585LIBS=$ac_check_lib_save_LIBS
34586fi
34587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5
34588$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; }
34589if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then :
34590  ac_cv_libbfio_dummy=yes
34591else
34592  ac_cv_libbfio=no
34593fi
34594
34595        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5
34596$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; }
34597if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then :
34598  $as_echo_n "(cached) " >&6
34599else
34600  ac_check_lib_save_LIBS=$LIBS
34601LIBS="-lbfio  $LIBS"
34602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34603/* end confdefs.h.  */
34604
34605/* Override any GCC internal prototype to avoid an error.
34606   Use char because int might match the return type of a GCC
34607   builtin and then its argument prototype would still apply.  */
34608#ifdef __cplusplus
34609extern "C"
34610#endif
34611char libbfio_file_get_name_size ();
34612int
34613main ()
34614{
34615return libbfio_file_get_name_size ();
34616  ;
34617  return 0;
34618}
34619_ACEOF
34620if ac_fn_c_try_link "$LINENO"; then :
34621  ac_cv_lib_bfio_libbfio_file_get_name_size=yes
34622else
34623  ac_cv_lib_bfio_libbfio_file_get_name_size=no
34624fi
34625rm -f core conftest.err conftest.$ac_objext \
34626    conftest$ac_exeext conftest.$ac_ext
34627LIBS=$ac_check_lib_save_LIBS
34628fi
34629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5
34630$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; }
34631if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then :
34632  ac_cv_libbfio_dummy=yes
34633else
34634  ac_cv_libbfio=no
34635fi
34636
34637        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5
34638$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; }
34639if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then :
34640  $as_echo_n "(cached) " >&6
34641else
34642  ac_check_lib_save_LIBS=$LIBS
34643LIBS="-lbfio  $LIBS"
34644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645/* end confdefs.h.  */
34646
34647/* Override any GCC internal prototype to avoid an error.
34648   Use char because int might match the return type of a GCC
34649   builtin and then its argument prototype would still apply.  */
34650#ifdef __cplusplus
34651extern "C"
34652#endif
34653char libbfio_file_get_name ();
34654int
34655main ()
34656{
34657return libbfio_file_get_name ();
34658  ;
34659  return 0;
34660}
34661_ACEOF
34662if ac_fn_c_try_link "$LINENO"; then :
34663  ac_cv_lib_bfio_libbfio_file_get_name=yes
34664else
34665  ac_cv_lib_bfio_libbfio_file_get_name=no
34666fi
34667rm -f core conftest.err conftest.$ac_objext \
34668    conftest$ac_exeext conftest.$ac_ext
34669LIBS=$ac_check_lib_save_LIBS
34670fi
34671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5
34672$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; }
34673if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then :
34674  ac_cv_libbfio_dummy=yes
34675else
34676  ac_cv_libbfio=no
34677fi
34678
34679        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5
34680$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; }
34681if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then :
34682  $as_echo_n "(cached) " >&6
34683else
34684  ac_check_lib_save_LIBS=$LIBS
34685LIBS="-lbfio  $LIBS"
34686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687/* end confdefs.h.  */
34688
34689/* Override any GCC internal prototype to avoid an error.
34690   Use char because int might match the return type of a GCC
34691   builtin and then its argument prototype would still apply.  */
34692#ifdef __cplusplus
34693extern "C"
34694#endif
34695char libbfio_file_set_name ();
34696int
34697main ()
34698{
34699return libbfio_file_set_name ();
34700  ;
34701  return 0;
34702}
34703_ACEOF
34704if ac_fn_c_try_link "$LINENO"; then :
34705  ac_cv_lib_bfio_libbfio_file_set_name=yes
34706else
34707  ac_cv_lib_bfio_libbfio_file_set_name=no
34708fi
34709rm -f core conftest.err conftest.$ac_objext \
34710    conftest$ac_exeext conftest.$ac_ext
34711LIBS=$ac_check_lib_save_LIBS
34712fi
34713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5
34714$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; }
34715if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then :
34716  ac_cv_libbfio_dummy=yes
34717else
34718  ac_cv_libbfio=no
34719fi
34720
34721
34722        if test "x$ac_cv_enable_wide_character_type" != xno; then :
34723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5
34724$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; }
34725if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then :
34726  $as_echo_n "(cached) " >&6
34727else
34728  ac_check_lib_save_LIBS=$LIBS
34729LIBS="-lbfio  $LIBS"
34730cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34731/* end confdefs.h.  */
34732
34733/* Override any GCC internal prototype to avoid an error.
34734   Use char because int might match the return type of a GCC
34735   builtin and then its argument prototype would still apply.  */
34736#ifdef __cplusplus
34737extern "C"
34738#endif
34739char libbfio_file_get_name_size_wide ();
34740int
34741main ()
34742{
34743return libbfio_file_get_name_size_wide ();
34744  ;
34745  return 0;
34746}
34747_ACEOF
34748if ac_fn_c_try_link "$LINENO"; then :
34749  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes
34750else
34751  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no
34752fi
34753rm -f core conftest.err conftest.$ac_objext \
34754    conftest$ac_exeext conftest.$ac_ext
34755LIBS=$ac_check_lib_save_LIBS
34756fi
34757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5
34758$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; }
34759if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then :
34760  ac_cv_libbfio_dummy=yes
34761else
34762  ac_cv_libbfio=no
34763fi
34764
34765          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5
34766$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; }
34767if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then :
34768  $as_echo_n "(cached) " >&6
34769else
34770  ac_check_lib_save_LIBS=$LIBS
34771LIBS="-lbfio  $LIBS"
34772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34773/* end confdefs.h.  */
34774
34775/* Override any GCC internal prototype to avoid an error.
34776   Use char because int might match the return type of a GCC
34777   builtin and then its argument prototype would still apply.  */
34778#ifdef __cplusplus
34779extern "C"
34780#endif
34781char libbfio_file_get_name_wide ();
34782int
34783main ()
34784{
34785return libbfio_file_get_name_wide ();
34786  ;
34787  return 0;
34788}
34789_ACEOF
34790if ac_fn_c_try_link "$LINENO"; then :
34791  ac_cv_lib_bfio_libbfio_file_get_name_wide=yes
34792else
34793  ac_cv_lib_bfio_libbfio_file_get_name_wide=no
34794fi
34795rm -f core conftest.err conftest.$ac_objext \
34796    conftest$ac_exeext conftest.$ac_ext
34797LIBS=$ac_check_lib_save_LIBS
34798fi
34799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5
34800$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; }
34801if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then :
34802  ac_cv_libbfio_dummy=yes
34803else
34804  ac_cv_libbfio=no
34805fi
34806
34807          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5
34808$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; }
34809if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then :
34810  $as_echo_n "(cached) " >&6
34811else
34812  ac_check_lib_save_LIBS=$LIBS
34813LIBS="-lbfio  $LIBS"
34814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34815/* end confdefs.h.  */
34816
34817/* Override any GCC internal prototype to avoid an error.
34818   Use char because int might match the return type of a GCC
34819   builtin and then its argument prototype would still apply.  */
34820#ifdef __cplusplus
34821extern "C"
34822#endif
34823char libbfio_file_set_name_wide ();
34824int
34825main ()
34826{
34827return libbfio_file_set_name_wide ();
34828  ;
34829  return 0;
34830}
34831_ACEOF
34832if ac_fn_c_try_link "$LINENO"; then :
34833  ac_cv_lib_bfio_libbfio_file_set_name_wide=yes
34834else
34835  ac_cv_lib_bfio_libbfio_file_set_name_wide=no
34836fi
34837rm -f core conftest.err conftest.$ac_objext \
34838    conftest$ac_exeext conftest.$ac_ext
34839LIBS=$ac_check_lib_save_LIBS
34840fi
34841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5
34842$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; }
34843if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then :
34844  ac_cv_libbfio_dummy=yes
34845else
34846  ac_cv_libbfio=no
34847fi
34848
34849
34850fi
34851
34852                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5
34853$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; }
34854if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then :
34855  $as_echo_n "(cached) " >&6
34856else
34857  ac_check_lib_save_LIBS=$LIBS
34858LIBS="-lbfio  $LIBS"
34859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34860/* end confdefs.h.  */
34861
34862/* Override any GCC internal prototype to avoid an error.
34863   Use char because int might match the return type of a GCC
34864   builtin and then its argument prototype would still apply.  */
34865#ifdef __cplusplus
34866extern "C"
34867#endif
34868char libbfio_pool_initialize ();
34869int
34870main ()
34871{
34872return libbfio_pool_initialize ();
34873  ;
34874  return 0;
34875}
34876_ACEOF
34877if ac_fn_c_try_link "$LINENO"; then :
34878  ac_cv_lib_bfio_libbfio_pool_initialize=yes
34879else
34880  ac_cv_lib_bfio_libbfio_pool_initialize=no
34881fi
34882rm -f core conftest.err conftest.$ac_objext \
34883    conftest$ac_exeext conftest.$ac_ext
34884LIBS=$ac_check_lib_save_LIBS
34885fi
34886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5
34887$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; }
34888if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then :
34889  ac_cv_libbfio_dummy=yes
34890else
34891  ac_cv_libbfio=no
34892fi
34893
34894        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5
34895$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; }
34896if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then :
34897  $as_echo_n "(cached) " >&6
34898else
34899  ac_check_lib_save_LIBS=$LIBS
34900LIBS="-lbfio  $LIBS"
34901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902/* end confdefs.h.  */
34903
34904/* Override any GCC internal prototype to avoid an error.
34905   Use char because int might match the return type of a GCC
34906   builtin and then its argument prototype would still apply.  */
34907#ifdef __cplusplus
34908extern "C"
34909#endif
34910char libbfio_pool_free ();
34911int
34912main ()
34913{
34914return libbfio_pool_free ();
34915  ;
34916  return 0;
34917}
34918_ACEOF
34919if ac_fn_c_try_link "$LINENO"; then :
34920  ac_cv_lib_bfio_libbfio_pool_free=yes
34921else
34922  ac_cv_lib_bfio_libbfio_pool_free=no
34923fi
34924rm -f core conftest.err conftest.$ac_objext \
34925    conftest$ac_exeext conftest.$ac_ext
34926LIBS=$ac_check_lib_save_LIBS
34927fi
34928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5
34929$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; }
34930if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then :
34931  ac_cv_libbfio_dummy=yes
34932else
34933  ac_cv_libbfio=no
34934fi
34935
34936        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5
34937$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; }
34938if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then :
34939  $as_echo_n "(cached) " >&6
34940else
34941  ac_check_lib_save_LIBS=$LIBS
34942LIBS="-lbfio  $LIBS"
34943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34944/* end confdefs.h.  */
34945
34946/* Override any GCC internal prototype to avoid an error.
34947   Use char because int might match the return type of a GCC
34948   builtin and then its argument prototype would still apply.  */
34949#ifdef __cplusplus
34950extern "C"
34951#endif
34952char libbfio_pool_clone ();
34953int
34954main ()
34955{
34956return libbfio_pool_clone ();
34957  ;
34958  return 0;
34959}
34960_ACEOF
34961if ac_fn_c_try_link "$LINENO"; then :
34962  ac_cv_lib_bfio_libbfio_pool_clone=yes
34963else
34964  ac_cv_lib_bfio_libbfio_pool_clone=no
34965fi
34966rm -f core conftest.err conftest.$ac_objext \
34967    conftest$ac_exeext conftest.$ac_ext
34968LIBS=$ac_check_lib_save_LIBS
34969fi
34970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5
34971$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; }
34972if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then :
34973  ac_cv_libbfio_dummy=yes
34974else
34975  ac_cv_libbfio=no
34976fi
34977
34978
34979        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5
34980$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; }
34981if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then :
34982  $as_echo_n "(cached) " >&6
34983else
34984  ac_check_lib_save_LIBS=$LIBS
34985LIBS="-lbfio  $LIBS"
34986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34987/* end confdefs.h.  */
34988
34989/* Override any GCC internal prototype to avoid an error.
34990   Use char because int might match the return type of a GCC
34991   builtin and then its argument prototype would still apply.  */
34992#ifdef __cplusplus
34993extern "C"
34994#endif
34995char libbfio_pool_get_number_of_handles ();
34996int
34997main ()
34998{
34999return libbfio_pool_get_number_of_handles ();
35000  ;
35001  return 0;
35002}
35003_ACEOF
35004if ac_fn_c_try_link "$LINENO"; then :
35005  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes
35006else
35007  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no
35008fi
35009rm -f core conftest.err conftest.$ac_objext \
35010    conftest$ac_exeext conftest.$ac_ext
35011LIBS=$ac_check_lib_save_LIBS
35012fi
35013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5
35014$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; }
35015if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then :
35016  ac_cv_libbfio_dummy=yes
35017else
35018  ac_cv_libbfio=no
35019fi
35020
35021        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5
35022$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; }
35023if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then :
35024  $as_echo_n "(cached) " >&6
35025else
35026  ac_check_lib_save_LIBS=$LIBS
35027LIBS="-lbfio  $LIBS"
35028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35029/* end confdefs.h.  */
35030
35031/* Override any GCC internal prototype to avoid an error.
35032   Use char because int might match the return type of a GCC
35033   builtin and then its argument prototype would still apply.  */
35034#ifdef __cplusplus
35035extern "C"
35036#endif
35037char libbfio_pool_get_handle ();
35038int
35039main ()
35040{
35041return libbfio_pool_get_handle ();
35042  ;
35043  return 0;
35044}
35045_ACEOF
35046if ac_fn_c_try_link "$LINENO"; then :
35047  ac_cv_lib_bfio_libbfio_pool_get_handle=yes
35048else
35049  ac_cv_lib_bfio_libbfio_pool_get_handle=no
35050fi
35051rm -f core conftest.err conftest.$ac_objext \
35052    conftest$ac_exeext conftest.$ac_ext
35053LIBS=$ac_check_lib_save_LIBS
35054fi
35055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5
35056$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; }
35057if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then :
35058  ac_cv_libbfio_dummy=yes
35059else
35060  ac_cv_libbfio=no
35061fi
35062
35063        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5
35064$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; }
35065if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then :
35066  $as_echo_n "(cached) " >&6
35067else
35068  ac_check_lib_save_LIBS=$LIBS
35069LIBS="-lbfio  $LIBS"
35070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071/* end confdefs.h.  */
35072
35073/* Override any GCC internal prototype to avoid an error.
35074   Use char because int might match the return type of a GCC
35075   builtin and then its argument prototype would still apply.  */
35076#ifdef __cplusplus
35077extern "C"
35078#endif
35079char libbfio_pool_set_handle ();
35080int
35081main ()
35082{
35083return libbfio_pool_set_handle ();
35084  ;
35085  return 0;
35086}
35087_ACEOF
35088if ac_fn_c_try_link "$LINENO"; then :
35089  ac_cv_lib_bfio_libbfio_pool_set_handle=yes
35090else
35091  ac_cv_lib_bfio_libbfio_pool_set_handle=no
35092fi
35093rm -f core conftest.err conftest.$ac_objext \
35094    conftest$ac_exeext conftest.$ac_ext
35095LIBS=$ac_check_lib_save_LIBS
35096fi
35097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5
35098$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; }
35099if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then :
35100  ac_cv_libbfio_dummy=yes
35101else
35102  ac_cv_libbfio=no
35103fi
35104
35105        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5
35106$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; }
35107if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then :
35108  $as_echo_n "(cached) " >&6
35109else
35110  ac_check_lib_save_LIBS=$LIBS
35111LIBS="-lbfio  $LIBS"
35112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35113/* end confdefs.h.  */
35114
35115/* Override any GCC internal prototype to avoid an error.
35116   Use char because int might match the return type of a GCC
35117   builtin and then its argument prototype would still apply.  */
35118#ifdef __cplusplus
35119extern "C"
35120#endif
35121char libbfio_pool_append_handle ();
35122int
35123main ()
35124{
35125return libbfio_pool_append_handle ();
35126  ;
35127  return 0;
35128}
35129_ACEOF
35130if ac_fn_c_try_link "$LINENO"; then :
35131  ac_cv_lib_bfio_libbfio_pool_append_handle=yes
35132else
35133  ac_cv_lib_bfio_libbfio_pool_append_handle=no
35134fi
35135rm -f core conftest.err conftest.$ac_objext \
35136    conftest$ac_exeext conftest.$ac_ext
35137LIBS=$ac_check_lib_save_LIBS
35138fi
35139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5
35140$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; }
35141if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then :
35142  ac_cv_libbfio_dummy=yes
35143else
35144  ac_cv_libbfio=no
35145fi
35146
35147        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5
35148$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; }
35149if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then :
35150  $as_echo_n "(cached) " >&6
35151else
35152  ac_check_lib_save_LIBS=$LIBS
35153LIBS="-lbfio  $LIBS"
35154cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155/* end confdefs.h.  */
35156
35157/* Override any GCC internal prototype to avoid an error.
35158   Use char because int might match the return type of a GCC
35159   builtin and then its argument prototype would still apply.  */
35160#ifdef __cplusplus
35161extern "C"
35162#endif
35163char libbfio_pool_remove_handle ();
35164int
35165main ()
35166{
35167return libbfio_pool_remove_handle ();
35168  ;
35169  return 0;
35170}
35171_ACEOF
35172if ac_fn_c_try_link "$LINENO"; then :
35173  ac_cv_lib_bfio_libbfio_pool_remove_handle=yes
35174else
35175  ac_cv_lib_bfio_libbfio_pool_remove_handle=no
35176fi
35177rm -f core conftest.err conftest.$ac_objext \
35178    conftest$ac_exeext conftest.$ac_ext
35179LIBS=$ac_check_lib_save_LIBS
35180fi
35181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5
35182$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; }
35183if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then :
35184  ac_cv_libbfio_dummy=yes
35185else
35186  ac_cv_libbfio=no
35187fi
35188
35189        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5
35190$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; }
35191if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then :
35192  $as_echo_n "(cached) " >&6
35193else
35194  ac_check_lib_save_LIBS=$LIBS
35195LIBS="-lbfio  $LIBS"
35196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35197/* end confdefs.h.  */
35198
35199/* Override any GCC internal prototype to avoid an error.
35200   Use char because int might match the return type of a GCC
35201   builtin and then its argument prototype would still apply.  */
35202#ifdef __cplusplus
35203extern "C"
35204#endif
35205char libbfio_pool_get_maximum_number_of_open_handles ();
35206int
35207main ()
35208{
35209return libbfio_pool_get_maximum_number_of_open_handles ();
35210  ;
35211  return 0;
35212}
35213_ACEOF
35214if ac_fn_c_try_link "$LINENO"; then :
35215  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes
35216else
35217  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no
35218fi
35219rm -f core conftest.err conftest.$ac_objext \
35220    conftest$ac_exeext conftest.$ac_ext
35221LIBS=$ac_check_lib_save_LIBS
35222fi
35223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5
35224$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; }
35225if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then :
35226  ac_cv_libbfio_dummy=yes
35227else
35228  ac_cv_libbfio=no
35229fi
35230
35231        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5
35232$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; }
35233if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then :
35234  $as_echo_n "(cached) " >&6
35235else
35236  ac_check_lib_save_LIBS=$LIBS
35237LIBS="-lbfio  $LIBS"
35238cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35239/* end confdefs.h.  */
35240
35241/* Override any GCC internal prototype to avoid an error.
35242   Use char because int might match the return type of a GCC
35243   builtin and then its argument prototype would still apply.  */
35244#ifdef __cplusplus
35245extern "C"
35246#endif
35247char libbfio_pool_set_maximum_number_of_open_handles ();
35248int
35249main ()
35250{
35251return libbfio_pool_set_maximum_number_of_open_handles ();
35252  ;
35253  return 0;
35254}
35255_ACEOF
35256if ac_fn_c_try_link "$LINENO"; then :
35257  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes
35258else
35259  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no
35260fi
35261rm -f core conftest.err conftest.$ac_objext \
35262    conftest$ac_exeext conftest.$ac_ext
35263LIBS=$ac_check_lib_save_LIBS
35264fi
35265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5
35266$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; }
35267if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then :
35268  ac_cv_libbfio_dummy=yes
35269else
35270  ac_cv_libbfio=no
35271fi
35272
35273
35274        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5
35275$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; }
35276if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then :
35277  $as_echo_n "(cached) " >&6
35278else
35279  ac_check_lib_save_LIBS=$LIBS
35280LIBS="-lbfio  $LIBS"
35281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35282/* end confdefs.h.  */
35283
35284/* Override any GCC internal prototype to avoid an error.
35285   Use char because int might match the return type of a GCC
35286   builtin and then its argument prototype would still apply.  */
35287#ifdef __cplusplus
35288extern "C"
35289#endif
35290char libbfio_pool_open ();
35291int
35292main ()
35293{
35294return libbfio_pool_open ();
35295  ;
35296  return 0;
35297}
35298_ACEOF
35299if ac_fn_c_try_link "$LINENO"; then :
35300  ac_cv_lib_bfio_libbfio_pool_open=yes
35301else
35302  ac_cv_lib_bfio_libbfio_pool_open=no
35303fi
35304rm -f core conftest.err conftest.$ac_objext \
35305    conftest$ac_exeext conftest.$ac_ext
35306LIBS=$ac_check_lib_save_LIBS
35307fi
35308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5
35309$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; }
35310if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then :
35311  ac_cv_libbfio_dummy=yes
35312else
35313  ac_cv_libbfio=no
35314fi
35315
35316        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5
35317$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; }
35318if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then :
35319  $as_echo_n "(cached) " >&6
35320else
35321  ac_check_lib_save_LIBS=$LIBS
35322LIBS="-lbfio  $LIBS"
35323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35324/* end confdefs.h.  */
35325
35326/* Override any GCC internal prototype to avoid an error.
35327   Use char because int might match the return type of a GCC
35328   builtin and then its argument prototype would still apply.  */
35329#ifdef __cplusplus
35330extern "C"
35331#endif
35332char libbfio_pool_reopen ();
35333int
35334main ()
35335{
35336return libbfio_pool_reopen ();
35337  ;
35338  return 0;
35339}
35340_ACEOF
35341if ac_fn_c_try_link "$LINENO"; then :
35342  ac_cv_lib_bfio_libbfio_pool_reopen=yes
35343else
35344  ac_cv_lib_bfio_libbfio_pool_reopen=no
35345fi
35346rm -f core conftest.err conftest.$ac_objext \
35347    conftest$ac_exeext conftest.$ac_ext
35348LIBS=$ac_check_lib_save_LIBS
35349fi
35350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5
35351$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; }
35352if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then :
35353  ac_cv_libbfio_dummy=yes
35354else
35355  ac_cv_libbfio=no
35356fi
35357
35358        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5
35359$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; }
35360if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then :
35361  $as_echo_n "(cached) " >&6
35362else
35363  ac_check_lib_save_LIBS=$LIBS
35364LIBS="-lbfio  $LIBS"
35365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366/* end confdefs.h.  */
35367
35368/* Override any GCC internal prototype to avoid an error.
35369   Use char because int might match the return type of a GCC
35370   builtin and then its argument prototype would still apply.  */
35371#ifdef __cplusplus
35372extern "C"
35373#endif
35374char libbfio_pool_close ();
35375int
35376main ()
35377{
35378return libbfio_pool_close ();
35379  ;
35380  return 0;
35381}
35382_ACEOF
35383if ac_fn_c_try_link "$LINENO"; then :
35384  ac_cv_lib_bfio_libbfio_pool_close=yes
35385else
35386  ac_cv_lib_bfio_libbfio_pool_close=no
35387fi
35388rm -f core conftest.err conftest.$ac_objext \
35389    conftest$ac_exeext conftest.$ac_ext
35390LIBS=$ac_check_lib_save_LIBS
35391fi
35392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5
35393$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; }
35394if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then :
35395  ac_cv_libbfio_dummy=yes
35396else
35397  ac_cv_libbfio=no
35398fi
35399
35400        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5
35401$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; }
35402if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then :
35403  $as_echo_n "(cached) " >&6
35404else
35405  ac_check_lib_save_LIBS=$LIBS
35406LIBS="-lbfio  $LIBS"
35407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35408/* end confdefs.h.  */
35409
35410/* Override any GCC internal prototype to avoid an error.
35411   Use char because int might match the return type of a GCC
35412   builtin and then its argument prototype would still apply.  */
35413#ifdef __cplusplus
35414extern "C"
35415#endif
35416char libbfio_pool_close_all ();
35417int
35418main ()
35419{
35420return libbfio_pool_close_all ();
35421  ;
35422  return 0;
35423}
35424_ACEOF
35425if ac_fn_c_try_link "$LINENO"; then :
35426  ac_cv_lib_bfio_libbfio_pool_close_all=yes
35427else
35428  ac_cv_lib_bfio_libbfio_pool_close_all=no
35429fi
35430rm -f core conftest.err conftest.$ac_objext \
35431    conftest$ac_exeext conftest.$ac_ext
35432LIBS=$ac_check_lib_save_LIBS
35433fi
35434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5
35435$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; }
35436if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then :
35437  ac_cv_libbfio_dummy=yes
35438else
35439  ac_cv_libbfio=no
35440fi
35441
35442        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5
35443$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; }
35444if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then :
35445  $as_echo_n "(cached) " >&6
35446else
35447  ac_check_lib_save_LIBS=$LIBS
35448LIBS="-lbfio  $LIBS"
35449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450/* end confdefs.h.  */
35451
35452/* Override any GCC internal prototype to avoid an error.
35453   Use char because int might match the return type of a GCC
35454   builtin and then its argument prototype would still apply.  */
35455#ifdef __cplusplus
35456extern "C"
35457#endif
35458char libbfio_pool_read_buffer ();
35459int
35460main ()
35461{
35462return libbfio_pool_read_buffer ();
35463  ;
35464  return 0;
35465}
35466_ACEOF
35467if ac_fn_c_try_link "$LINENO"; then :
35468  ac_cv_lib_bfio_libbfio_pool_read_buffer=yes
35469else
35470  ac_cv_lib_bfio_libbfio_pool_read_buffer=no
35471fi
35472rm -f core conftest.err conftest.$ac_objext \
35473    conftest$ac_exeext conftest.$ac_ext
35474LIBS=$ac_check_lib_save_LIBS
35475fi
35476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5
35477$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; }
35478if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then :
35479  ac_cv_libbfio_dummy=yes
35480else
35481  ac_cv_libbfio=no
35482fi
35483
35484        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5
35485$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; }
35486if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then :
35487  $as_echo_n "(cached) " >&6
35488else
35489  ac_check_lib_save_LIBS=$LIBS
35490LIBS="-lbfio  $LIBS"
35491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35492/* end confdefs.h.  */
35493
35494/* Override any GCC internal prototype to avoid an error.
35495   Use char because int might match the return type of a GCC
35496   builtin and then its argument prototype would still apply.  */
35497#ifdef __cplusplus
35498extern "C"
35499#endif
35500char libbfio_pool_write_buffer ();
35501int
35502main ()
35503{
35504return libbfio_pool_write_buffer ();
35505  ;
35506  return 0;
35507}
35508_ACEOF
35509if ac_fn_c_try_link "$LINENO"; then :
35510  ac_cv_lib_bfio_libbfio_pool_write_buffer=yes
35511else
35512  ac_cv_lib_bfio_libbfio_pool_write_buffer=no
35513fi
35514rm -f core conftest.err conftest.$ac_objext \
35515    conftest$ac_exeext conftest.$ac_ext
35516LIBS=$ac_check_lib_save_LIBS
35517fi
35518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5
35519$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; }
35520if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then :
35521  ac_cv_libbfio_dummy=yes
35522else
35523  ac_cv_libbfio=no
35524fi
35525
35526        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5
35527$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; }
35528if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then :
35529  $as_echo_n "(cached) " >&6
35530else
35531  ac_check_lib_save_LIBS=$LIBS
35532LIBS="-lbfio  $LIBS"
35533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35534/* end confdefs.h.  */
35535
35536/* Override any GCC internal prototype to avoid an error.
35537   Use char because int might match the return type of a GCC
35538   builtin and then its argument prototype would still apply.  */
35539#ifdef __cplusplus
35540extern "C"
35541#endif
35542char libbfio_pool_seek_offset ();
35543int
35544main ()
35545{
35546return libbfio_pool_seek_offset ();
35547  ;
35548  return 0;
35549}
35550_ACEOF
35551if ac_fn_c_try_link "$LINENO"; then :
35552  ac_cv_lib_bfio_libbfio_pool_seek_offset=yes
35553else
35554  ac_cv_lib_bfio_libbfio_pool_seek_offset=no
35555fi
35556rm -f core conftest.err conftest.$ac_objext \
35557    conftest$ac_exeext conftest.$ac_ext
35558LIBS=$ac_check_lib_save_LIBS
35559fi
35560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5
35561$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; }
35562if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then :
35563  ac_cv_libbfio_dummy=yes
35564else
35565  ac_cv_libbfio=no
35566fi
35567
35568        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5
35569$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; }
35570if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then :
35571  $as_echo_n "(cached) " >&6
35572else
35573  ac_check_lib_save_LIBS=$LIBS
35574LIBS="-lbfio  $LIBS"
35575cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35576/* end confdefs.h.  */
35577
35578/* Override any GCC internal prototype to avoid an error.
35579   Use char because int might match the return type of a GCC
35580   builtin and then its argument prototype would still apply.  */
35581#ifdef __cplusplus
35582extern "C"
35583#endif
35584char libbfio_pool_get_offset ();
35585int
35586main ()
35587{
35588return libbfio_pool_get_offset ();
35589  ;
35590  return 0;
35591}
35592_ACEOF
35593if ac_fn_c_try_link "$LINENO"; then :
35594  ac_cv_lib_bfio_libbfio_pool_get_offset=yes
35595else
35596  ac_cv_lib_bfio_libbfio_pool_get_offset=no
35597fi
35598rm -f core conftest.err conftest.$ac_objext \
35599    conftest$ac_exeext conftest.$ac_ext
35600LIBS=$ac_check_lib_save_LIBS
35601fi
35602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5
35603$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; }
35604if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then :
35605  ac_cv_libbfio_dummy=yes
35606else
35607  ac_cv_libbfio=no
35608fi
35609
35610        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5
35611$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; }
35612if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then :
35613  $as_echo_n "(cached) " >&6
35614else
35615  ac_check_lib_save_LIBS=$LIBS
35616LIBS="-lbfio  $LIBS"
35617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618/* end confdefs.h.  */
35619
35620/* Override any GCC internal prototype to avoid an error.
35621   Use char because int might match the return type of a GCC
35622   builtin and then its argument prototype would still apply.  */
35623#ifdef __cplusplus
35624extern "C"
35625#endif
35626char libbfio_pool_get_size ();
35627int
35628main ()
35629{
35630return libbfio_pool_get_size ();
35631  ;
35632  return 0;
35633}
35634_ACEOF
35635if ac_fn_c_try_link "$LINENO"; then :
35636  ac_cv_lib_bfio_libbfio_pool_get_size=yes
35637else
35638  ac_cv_lib_bfio_libbfio_pool_get_size=no
35639fi
35640rm -f core conftest.err conftest.$ac_objext \
35641    conftest$ac_exeext conftest.$ac_ext
35642LIBS=$ac_check_lib_save_LIBS
35643fi
35644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5
35645$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; }
35646if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then :
35647  ac_cv_libbfio_dummy=yes
35648else
35649  ac_cv_libbfio=no
35650fi
35651
35652
35653        ac_cv_libbfio_LIBADD="-lbfio"
35654fi
35655
35656fi
35657    if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then :
35658  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35660as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio
35661See \`config.log' for more details" "$LINENO" 5; }
35662
35663fi
35664
35665fi
35666
35667  if test "x$ac_cv_libbfio" = xyes; then :
35668
35669$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h
35670
35671
35672fi
35673
35674  if test "x$ac_cv_libbfio" = xyes; then :
35675  HAVE_LIBBFIO=1
35676
35677else
35678  HAVE_LIBBFIO=0
35679
35680
35681fi
35682
35683
35684    if test "x$ac_cv_libbfio" != xyes; then :
35685
35686  ac_cv_libbfio_CPPFLAGS="-I../libbfio";
35687  ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
35688
35689  ac_cv_libbfio=local
35690
35691
35692
35693$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h
35694
35695    HAVE_LOCAL_LIBBFIO=1
35696
35697
35698fi
35699
35700   if test "x$ac_cv_libbfio" = xlocal; then
35701  HAVE_LOCAL_LIBBFIO_TRUE=
35702  HAVE_LOCAL_LIBBFIO_FALSE='#'
35703else
35704  HAVE_LOCAL_LIBBFIO_TRUE='#'
35705  HAVE_LOCAL_LIBBFIO_FALSE=
35706fi
35707
35708  if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then :
35709  LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS
35710
35711
35712fi
35713  if test "x$ac_cv_libbfio_LIBADD" != "x"; then :
35714  LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD
35715
35716
35717fi
35718
35719  if test "x$ac_cv_libbfio" = xyes; then :
35720  ax_libbfio_pc_libs_private=-lbfio
35721
35722
35723fi
35724
35725  if test "x$ac_cv_libbfio" = xyes; then :
35726  ax_libbfio_spec_requires=libbfio
35727
35728    ax_libbfio_spec_build_requires=libbfio-devel
35729
35730
35731fi
35732
35733
35734
35735
35736# Check whether --with-libfcache was given.
35737if test "${with_libfcache+set}" = set; then :
35738  withval=$with_libfcache; ac_cv_with_libfcache=$withval
35739else
35740  ac_cv_with_libfcache=auto-detect
35741fi
35742
35743    { $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
35744$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; }
35745if ${ac_cv_with_libfcache+:} false; then :
35746  $as_echo_n "(cached) " >&6
35747else
35748  ac_cv_with_libfcache=auto-detect
35749fi
35750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5
35751$as_echo "$ac_cv_with_libfcache" >&6; }
35752
35753    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then :
35754  ac_cv_libfcache=no
35755else
35756  ac_cv_libfcache=check
35757        if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then :
35758  if test -d "$ac_cv_with_libfcache"; then :
35759  CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include"
35760        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib"
35761else
35762  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35764as_fn_error 1 "no such directory: $ac_cv_with_libfcache
35765See \`config.log' for more details" "$LINENO" 5; }
35766
35767fi
35768
35769else
35770        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
35771
35772pkg_failed=no
35773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5
35774$as_echo_n "checking for libfcache... " >&6; }
35775
35776if test -n "$libfcache_CFLAGS"; then
35777    pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS"
35778 elif test -n "$PKG_CONFIG"; then
35779    if test -n "$PKG_CONFIG" && \
35780    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
35781  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
35782  ac_status=$?
35783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35784  test $ac_status = 0; }; then
35785  pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null`
35786		      test "x$?" != "x0" && pkg_failed=yes
35787else
35788  pkg_failed=yes
35789fi
35790 else
35791    pkg_failed=untried
35792fi
35793if test -n "$libfcache_LIBS"; then
35794    pkg_cv_libfcache_LIBS="$libfcache_LIBS"
35795 elif test -n "$PKG_CONFIG"; then
35796    if test -n "$PKG_CONFIG" && \
35797    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
35798  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
35799  ac_status=$?
35800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35801  test $ac_status = 0; }; then
35802  pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null`
35803		      test "x$?" != "x0" && pkg_failed=yes
35804else
35805  pkg_failed=yes
35806fi
35807 else
35808    pkg_failed=untried
35809fi
35810
35811
35812
35813if test $pkg_failed = yes; then
35814   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35815$as_echo "no" >&6; }
35816
35817if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35818        _pkg_short_errors_supported=yes
35819else
35820        _pkg_short_errors_supported=no
35821fi
35822        if test $_pkg_short_errors_supported = yes; then
35823	        libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
35824        else
35825	        libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
35826        fi
35827	# Put the nasty error message in config.log where it belongs
35828	echo "$libfcache_PKG_ERRORS" >&5
35829
35830	ac_cv_libfcache=check
35831elif test $pkg_failed = untried; then
35832     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35833$as_echo "no" >&6; }
35834	ac_cv_libfcache=check
35835else
35836	libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS
35837	libfcache_LIBS=$pkg_cv_libfcache_LIBS
35838        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35839$as_echo "yes" >&6; }
35840	ac_cv_libfcache=yes
35841fi
35842
35843fi
35844      if test "x$ac_cv_libfcache" = xyes; then :
35845  ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS"
35846        ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS"
35847fi
35848
35849fi
35850
35851    if test "x$ac_cv_libfcache" = xcheck; then :
35852        for ac_header in libfcache.h
35853do :
35854  ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default"
35855if test "x$ac_cv_header_libfcache_h" = xyes; then :
35856  cat >>confdefs.h <<_ACEOF
35857#define HAVE_LIBFCACHE_H 1
35858_ACEOF
35859
35860fi
35861
35862done
35863
35864
35865      if test "x$ac_cv_header_libfcache_h" = xno; then :
35866  ac_cv_libfcache=no
35867else
35868          ac_cv_libfcache=yes
35869
35870        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5
35871$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; }
35872if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then :
35873  $as_echo_n "(cached) " >&6
35874else
35875  ac_check_lib_save_LIBS=$LIBS
35876LIBS="-lfcache  $LIBS"
35877cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878/* end confdefs.h.  */
35879
35880/* Override any GCC internal prototype to avoid an error.
35881   Use char because int might match the return type of a GCC
35882   builtin and then its argument prototype would still apply.  */
35883#ifdef __cplusplus
35884extern "C"
35885#endif
35886char libfcache_get_version ();
35887int
35888main ()
35889{
35890return libfcache_get_version ();
35891  ;
35892  return 0;
35893}
35894_ACEOF
35895if ac_fn_c_try_link "$LINENO"; then :
35896  ac_cv_lib_fcache_libfcache_get_version=yes
35897else
35898  ac_cv_lib_fcache_libfcache_get_version=no
35899fi
35900rm -f core conftest.err conftest.$ac_objext \
35901    conftest$ac_exeext conftest.$ac_ext
35902LIBS=$ac_check_lib_save_LIBS
35903fi
35904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5
35905$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; }
35906if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then :
35907  ac_cv_libfcache_dummy=yes
35908else
35909  ac_cv_libfcache=no
35910fi
35911
35912
35913                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5
35914$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; }
35915if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then :
35916  $as_echo_n "(cached) " >&6
35917else
35918  ac_check_lib_save_LIBS=$LIBS
35919LIBS="-lfcache  $LIBS"
35920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35921/* end confdefs.h.  */
35922
35923/* Override any GCC internal prototype to avoid an error.
35924   Use char because int might match the return type of a GCC
35925   builtin and then its argument prototype would still apply.  */
35926#ifdef __cplusplus
35927extern "C"
35928#endif
35929char libfcache_cache_initialize ();
35930int
35931main ()
35932{
35933return libfcache_cache_initialize ();
35934  ;
35935  return 0;
35936}
35937_ACEOF
35938if ac_fn_c_try_link "$LINENO"; then :
35939  ac_cv_lib_fcache_libfcache_cache_initialize=yes
35940else
35941  ac_cv_lib_fcache_libfcache_cache_initialize=no
35942fi
35943rm -f core conftest.err conftest.$ac_objext \
35944    conftest$ac_exeext conftest.$ac_ext
35945LIBS=$ac_check_lib_save_LIBS
35946fi
35947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5
35948$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; }
35949if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then :
35950  ac_cv_libfcache_dummy=yes
35951else
35952  ac_cv_libfcache=no
35953fi
35954
35955        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5
35956$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; }
35957if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then :
35958  $as_echo_n "(cached) " >&6
35959else
35960  ac_check_lib_save_LIBS=$LIBS
35961LIBS="-lfcache  $LIBS"
35962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35963/* end confdefs.h.  */
35964
35965/* Override any GCC internal prototype to avoid an error.
35966   Use char because int might match the return type of a GCC
35967   builtin and then its argument prototype would still apply.  */
35968#ifdef __cplusplus
35969extern "C"
35970#endif
35971char libfcache_cache_free ();
35972int
35973main ()
35974{
35975return libfcache_cache_free ();
35976  ;
35977  return 0;
35978}
35979_ACEOF
35980if ac_fn_c_try_link "$LINENO"; then :
35981  ac_cv_lib_fcache_libfcache_cache_free=yes
35982else
35983  ac_cv_lib_fcache_libfcache_cache_free=no
35984fi
35985rm -f core conftest.err conftest.$ac_objext \
35986    conftest$ac_exeext conftest.$ac_ext
35987LIBS=$ac_check_lib_save_LIBS
35988fi
35989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5
35990$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; }
35991if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then :
35992  ac_cv_libfcache_dummy=yes
35993else
35994  ac_cv_libfcache=no
35995fi
35996
35997        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5
35998$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; }
35999if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then :
36000  $as_echo_n "(cached) " >&6
36001else
36002  ac_check_lib_save_LIBS=$LIBS
36003LIBS="-lfcache  $LIBS"
36004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005/* end confdefs.h.  */
36006
36007/* Override any GCC internal prototype to avoid an error.
36008   Use char because int might match the return type of a GCC
36009   builtin and then its argument prototype would still apply.  */
36010#ifdef __cplusplus
36011extern "C"
36012#endif
36013char libfcache_cache_clone ();
36014int
36015main ()
36016{
36017return libfcache_cache_clone ();
36018  ;
36019  return 0;
36020}
36021_ACEOF
36022if ac_fn_c_try_link "$LINENO"; then :
36023  ac_cv_lib_fcache_libfcache_cache_clone=yes
36024else
36025  ac_cv_lib_fcache_libfcache_cache_clone=no
36026fi
36027rm -f core conftest.err conftest.$ac_objext \
36028    conftest$ac_exeext conftest.$ac_ext
36029LIBS=$ac_check_lib_save_LIBS
36030fi
36031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5
36032$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; }
36033if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then :
36034  ac_cv_libfcache_dummy=yes
36035else
36036  ac_cv_libfcache=no
36037fi
36038
36039        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5
36040$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; }
36041if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then :
36042  $as_echo_n "(cached) " >&6
36043else
36044  ac_check_lib_save_LIBS=$LIBS
36045LIBS="-lfcache  $LIBS"
36046cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36047/* end confdefs.h.  */
36048
36049/* Override any GCC internal prototype to avoid an error.
36050   Use char because int might match the return type of a GCC
36051   builtin and then its argument prototype would still apply.  */
36052#ifdef __cplusplus
36053extern "C"
36054#endif
36055char libfcache_cache_clear ();
36056int
36057main ()
36058{
36059return libfcache_cache_clear ();
36060  ;
36061  return 0;
36062}
36063_ACEOF
36064if ac_fn_c_try_link "$LINENO"; then :
36065  ac_cv_lib_fcache_libfcache_cache_clear=yes
36066else
36067  ac_cv_lib_fcache_libfcache_cache_clear=no
36068fi
36069rm -f core conftest.err conftest.$ac_objext \
36070    conftest$ac_exeext conftest.$ac_ext
36071LIBS=$ac_check_lib_save_LIBS
36072fi
36073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5
36074$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; }
36075if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then :
36076  ac_cv_libfcache_dummy=yes
36077else
36078  ac_cv_libfcache=no
36079fi
36080
36081        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5
36082$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; }
36083if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then :
36084  $as_echo_n "(cached) " >&6
36085else
36086  ac_check_lib_save_LIBS=$LIBS
36087LIBS="-lfcache  $LIBS"
36088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36089/* end confdefs.h.  */
36090
36091/* Override any GCC internal prototype to avoid an error.
36092   Use char because int might match the return type of a GCC
36093   builtin and then its argument prototype would still apply.  */
36094#ifdef __cplusplus
36095extern "C"
36096#endif
36097char libfcache_cache_get_number_of_entries ();
36098int
36099main ()
36100{
36101return libfcache_cache_get_number_of_entries ();
36102  ;
36103  return 0;
36104}
36105_ACEOF
36106if ac_fn_c_try_link "$LINENO"; then :
36107  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes
36108else
36109  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no
36110fi
36111rm -f core conftest.err conftest.$ac_objext \
36112    conftest$ac_exeext conftest.$ac_ext
36113LIBS=$ac_check_lib_save_LIBS
36114fi
36115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5
36116$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; }
36117if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then :
36118  ac_cv_libfcache_dummy=yes
36119else
36120  ac_cv_libfcache=no
36121fi
36122
36123        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5
36124$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; }
36125if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then :
36126  $as_echo_n "(cached) " >&6
36127else
36128  ac_check_lib_save_LIBS=$LIBS
36129LIBS="-lfcache  $LIBS"
36130cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36131/* end confdefs.h.  */
36132
36133/* Override any GCC internal prototype to avoid an error.
36134   Use char because int might match the return type of a GCC
36135   builtin and then its argument prototype would still apply.  */
36136#ifdef __cplusplus
36137extern "C"
36138#endif
36139char libfcache_cache_get_number_of_cache_values ();
36140int
36141main ()
36142{
36143return libfcache_cache_get_number_of_cache_values ();
36144  ;
36145  return 0;
36146}
36147_ACEOF
36148if ac_fn_c_try_link "$LINENO"; then :
36149  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes
36150else
36151  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no
36152fi
36153rm -f core conftest.err conftest.$ac_objext \
36154    conftest$ac_exeext conftest.$ac_ext
36155LIBS=$ac_check_lib_save_LIBS
36156fi
36157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5
36158$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; }
36159if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then :
36160  ac_cv_libfcache_dummy=yes
36161else
36162  ac_cv_libfcache=no
36163fi
36164
36165        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5
36166$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; }
36167if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then :
36168  $as_echo_n "(cached) " >&6
36169else
36170  ac_check_lib_save_LIBS=$LIBS
36171LIBS="-lfcache  $LIBS"
36172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173/* end confdefs.h.  */
36174
36175/* Override any GCC internal prototype to avoid an error.
36176   Use char because int might match the return type of a GCC
36177   builtin and then its argument prototype would still apply.  */
36178#ifdef __cplusplus
36179extern "C"
36180#endif
36181char libfcache_cache_clear_value_by_index ();
36182int
36183main ()
36184{
36185return libfcache_cache_clear_value_by_index ();
36186  ;
36187  return 0;
36188}
36189_ACEOF
36190if ac_fn_c_try_link "$LINENO"; then :
36191  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes
36192else
36193  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no
36194fi
36195rm -f core conftest.err conftest.$ac_objext \
36196    conftest$ac_exeext conftest.$ac_ext
36197LIBS=$ac_check_lib_save_LIBS
36198fi
36199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5
36200$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; }
36201if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then :
36202  ac_cv_libfcache_dummy=yes
36203else
36204  ac_cv_libfcache=no
36205fi
36206
36207        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5
36208$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; }
36209if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then :
36210  $as_echo_n "(cached) " >&6
36211else
36212  ac_check_lib_save_LIBS=$LIBS
36213LIBS="-lfcache  $LIBS"
36214cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36215/* end confdefs.h.  */
36216
36217/* Override any GCC internal prototype to avoid an error.
36218   Use char because int might match the return type of a GCC
36219   builtin and then its argument prototype would still apply.  */
36220#ifdef __cplusplus
36221extern "C"
36222#endif
36223char libfcache_cache_get_value_by_identifier ();
36224int
36225main ()
36226{
36227return libfcache_cache_get_value_by_identifier ();
36228  ;
36229  return 0;
36230}
36231_ACEOF
36232if ac_fn_c_try_link "$LINENO"; then :
36233  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes
36234else
36235  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no
36236fi
36237rm -f core conftest.err conftest.$ac_objext \
36238    conftest$ac_exeext conftest.$ac_ext
36239LIBS=$ac_check_lib_save_LIBS
36240fi
36241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5
36242$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; }
36243if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then :
36244  ac_cv_libfcache_dummy=yes
36245else
36246  ac_cv_libfcache=no
36247fi
36248
36249        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5
36250$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; }
36251if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then :
36252  $as_echo_n "(cached) " >&6
36253else
36254  ac_check_lib_save_LIBS=$LIBS
36255LIBS="-lfcache  $LIBS"
36256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36257/* end confdefs.h.  */
36258
36259/* Override any GCC internal prototype to avoid an error.
36260   Use char because int might match the return type of a GCC
36261   builtin and then its argument prototype would still apply.  */
36262#ifdef __cplusplus
36263extern "C"
36264#endif
36265char libfcache_cache_get_value_by_index ();
36266int
36267main ()
36268{
36269return libfcache_cache_get_value_by_index ();
36270  ;
36271  return 0;
36272}
36273_ACEOF
36274if ac_fn_c_try_link "$LINENO"; then :
36275  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes
36276else
36277  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no
36278fi
36279rm -f core conftest.err conftest.$ac_objext \
36280    conftest$ac_exeext conftest.$ac_ext
36281LIBS=$ac_check_lib_save_LIBS
36282fi
36283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5
36284$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; }
36285if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then :
36286  ac_cv_libfcache_dummy=yes
36287else
36288  ac_cv_libfcache=no
36289fi
36290
36291        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5
36292$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; }
36293if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then :
36294  $as_echo_n "(cached) " >&6
36295else
36296  ac_check_lib_save_LIBS=$LIBS
36297LIBS="-lfcache  $LIBS"
36298cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299/* end confdefs.h.  */
36300
36301/* Override any GCC internal prototype to avoid an error.
36302   Use char because int might match the return type of a GCC
36303   builtin and then its argument prototype would still apply.  */
36304#ifdef __cplusplus
36305extern "C"
36306#endif
36307char libfcache_cache_set_value_by_identifier ();
36308int
36309main ()
36310{
36311return libfcache_cache_set_value_by_identifier ();
36312  ;
36313  return 0;
36314}
36315_ACEOF
36316if ac_fn_c_try_link "$LINENO"; then :
36317  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes
36318else
36319  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no
36320fi
36321rm -f core conftest.err conftest.$ac_objext \
36322    conftest$ac_exeext conftest.$ac_ext
36323LIBS=$ac_check_lib_save_LIBS
36324fi
36325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5
36326$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; }
36327if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then :
36328  ac_cv_libfcache_dummy=yes
36329else
36330  ac_cv_libfcache=no
36331fi
36332
36333        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5
36334$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; }
36335if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then :
36336  $as_echo_n "(cached) " >&6
36337else
36338  ac_check_lib_save_LIBS=$LIBS
36339LIBS="-lfcache  $LIBS"
36340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36341/* end confdefs.h.  */
36342
36343/* Override any GCC internal prototype to avoid an error.
36344   Use char because int might match the return type of a GCC
36345   builtin and then its argument prototype would still apply.  */
36346#ifdef __cplusplus
36347extern "C"
36348#endif
36349char libfcache_cache_set_value_by_index ();
36350int
36351main ()
36352{
36353return libfcache_cache_set_value_by_index ();
36354  ;
36355  return 0;
36356}
36357_ACEOF
36358if ac_fn_c_try_link "$LINENO"; then :
36359  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes
36360else
36361  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no
36362fi
36363rm -f core conftest.err conftest.$ac_objext \
36364    conftest$ac_exeext conftest.$ac_ext
36365LIBS=$ac_check_lib_save_LIBS
36366fi
36367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5
36368$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; }
36369if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then :
36370  ac_cv_libfcache_dummy=yes
36371else
36372  ac_cv_libfcache=no
36373fi
36374
36375
36376                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5
36377$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; }
36378if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then :
36379  $as_echo_n "(cached) " >&6
36380else
36381  ac_check_lib_save_LIBS=$LIBS
36382LIBS="-lfcache  $LIBS"
36383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384/* end confdefs.h.  */
36385
36386/* Override any GCC internal prototype to avoid an error.
36387   Use char because int might match the return type of a GCC
36388   builtin and then its argument prototype would still apply.  */
36389#ifdef __cplusplus
36390extern "C"
36391#endif
36392char libfcache_cache_value_free ();
36393int
36394main ()
36395{
36396return libfcache_cache_value_free ();
36397  ;
36398  return 0;
36399}
36400_ACEOF
36401if ac_fn_c_try_link "$LINENO"; then :
36402  ac_cv_lib_fcache_libfcache_cache_value_free=yes
36403else
36404  ac_cv_lib_fcache_libfcache_cache_value_free=no
36405fi
36406rm -f core conftest.err conftest.$ac_objext \
36407    conftest$ac_exeext conftest.$ac_ext
36408LIBS=$ac_check_lib_save_LIBS
36409fi
36410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5
36411$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; }
36412if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then :
36413  ac_cv_libfcache_dummy=yes
36414else
36415  ac_cv_libfcache=no
36416fi
36417
36418        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5
36419$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; }
36420if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then :
36421  $as_echo_n "(cached) " >&6
36422else
36423  ac_check_lib_save_LIBS=$LIBS
36424LIBS="-lfcache  $LIBS"
36425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36426/* end confdefs.h.  */
36427
36428/* Override any GCC internal prototype to avoid an error.
36429   Use char because int might match the return type of a GCC
36430   builtin and then its argument prototype would still apply.  */
36431#ifdef __cplusplus
36432extern "C"
36433#endif
36434char libfcache_cache_value_clear ();
36435int
36436main ()
36437{
36438return libfcache_cache_value_clear ();
36439  ;
36440  return 0;
36441}
36442_ACEOF
36443if ac_fn_c_try_link "$LINENO"; then :
36444  ac_cv_lib_fcache_libfcache_cache_value_clear=yes
36445else
36446  ac_cv_lib_fcache_libfcache_cache_value_clear=no
36447fi
36448rm -f core conftest.err conftest.$ac_objext \
36449    conftest$ac_exeext conftest.$ac_ext
36450LIBS=$ac_check_lib_save_LIBS
36451fi
36452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5
36453$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; }
36454if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then :
36455  ac_cv_libfcache_dummy=yes
36456else
36457  ac_cv_libfcache=no
36458fi
36459
36460        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5
36461$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; }
36462if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then :
36463  $as_echo_n "(cached) " >&6
36464else
36465  ac_check_lib_save_LIBS=$LIBS
36466LIBS="-lfcache  $LIBS"
36467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36468/* end confdefs.h.  */
36469
36470/* Override any GCC internal prototype to avoid an error.
36471   Use char because int might match the return type of a GCC
36472   builtin and then its argument prototype would still apply.  */
36473#ifdef __cplusplus
36474extern "C"
36475#endif
36476char libfcache_cache_value_get_identifier ();
36477int
36478main ()
36479{
36480return libfcache_cache_value_get_identifier ();
36481  ;
36482  return 0;
36483}
36484_ACEOF
36485if ac_fn_c_try_link "$LINENO"; then :
36486  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes
36487else
36488  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no
36489fi
36490rm -f core conftest.err conftest.$ac_objext \
36491    conftest$ac_exeext conftest.$ac_ext
36492LIBS=$ac_check_lib_save_LIBS
36493fi
36494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5
36495$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; }
36496if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then :
36497  ac_cv_libfcache_dummy=yes
36498else
36499  ac_cv_libfcache=no
36500fi
36501
36502        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5
36503$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; }
36504if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then :
36505  $as_echo_n "(cached) " >&6
36506else
36507  ac_check_lib_save_LIBS=$LIBS
36508LIBS="-lfcache  $LIBS"
36509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36510/* end confdefs.h.  */
36511
36512/* Override any GCC internal prototype to avoid an error.
36513   Use char because int might match the return type of a GCC
36514   builtin and then its argument prototype would still apply.  */
36515#ifdef __cplusplus
36516extern "C"
36517#endif
36518char libfcache_cache_value_set_identifier ();
36519int
36520main ()
36521{
36522return libfcache_cache_value_set_identifier ();
36523  ;
36524  return 0;
36525}
36526_ACEOF
36527if ac_fn_c_try_link "$LINENO"; then :
36528  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes
36529else
36530  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no
36531fi
36532rm -f core conftest.err conftest.$ac_objext \
36533    conftest$ac_exeext conftest.$ac_ext
36534LIBS=$ac_check_lib_save_LIBS
36535fi
36536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5
36537$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; }
36538if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then :
36539  ac_cv_libfcache_dummy=yes
36540else
36541  ac_cv_libfcache=no
36542fi
36543
36544        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5
36545$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; }
36546if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then :
36547  $as_echo_n "(cached) " >&6
36548else
36549  ac_check_lib_save_LIBS=$LIBS
36550LIBS="-lfcache  $LIBS"
36551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36552/* end confdefs.h.  */
36553
36554/* Override any GCC internal prototype to avoid an error.
36555   Use char because int might match the return type of a GCC
36556   builtin and then its argument prototype would still apply.  */
36557#ifdef __cplusplus
36558extern "C"
36559#endif
36560char libfcache_cache_value_get_value ();
36561int
36562main ()
36563{
36564return libfcache_cache_value_get_value ();
36565  ;
36566  return 0;
36567}
36568_ACEOF
36569if ac_fn_c_try_link "$LINENO"; then :
36570  ac_cv_lib_fcache_libfcache_cache_value_get_value=yes
36571else
36572  ac_cv_lib_fcache_libfcache_cache_value_get_value=no
36573fi
36574rm -f core conftest.err conftest.$ac_objext \
36575    conftest$ac_exeext conftest.$ac_ext
36576LIBS=$ac_check_lib_save_LIBS
36577fi
36578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5
36579$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; }
36580if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then :
36581  ac_cv_libfcache_dummy=yes
36582else
36583  ac_cv_libfcache=no
36584fi
36585
36586        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5
36587$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; }
36588if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then :
36589  $as_echo_n "(cached) " >&6
36590else
36591  ac_check_lib_save_LIBS=$LIBS
36592LIBS="-lfcache  $LIBS"
36593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36594/* end confdefs.h.  */
36595
36596/* Override any GCC internal prototype to avoid an error.
36597   Use char because int might match the return type of a GCC
36598   builtin and then its argument prototype would still apply.  */
36599#ifdef __cplusplus
36600extern "C"
36601#endif
36602char libfcache_cache_value_set_value ();
36603int
36604main ()
36605{
36606return libfcache_cache_value_set_value ();
36607  ;
36608  return 0;
36609}
36610_ACEOF
36611if ac_fn_c_try_link "$LINENO"; then :
36612  ac_cv_lib_fcache_libfcache_cache_value_set_value=yes
36613else
36614  ac_cv_lib_fcache_libfcache_cache_value_set_value=no
36615fi
36616rm -f core conftest.err conftest.$ac_objext \
36617    conftest$ac_exeext conftest.$ac_ext
36618LIBS=$ac_check_lib_save_LIBS
36619fi
36620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5
36621$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; }
36622if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then :
36623  ac_cv_libfcache_dummy=yes
36624else
36625  ac_cv_libfcache=no
36626fi
36627
36628
36629                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5
36630$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; }
36631if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then :
36632  $as_echo_n "(cached) " >&6
36633else
36634  ac_check_lib_save_LIBS=$LIBS
36635LIBS="-lfcache  $LIBS"
36636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36637/* end confdefs.h.  */
36638
36639/* Override any GCC internal prototype to avoid an error.
36640   Use char because int might match the return type of a GCC
36641   builtin and then its argument prototype would still apply.  */
36642#ifdef __cplusplus
36643extern "C"
36644#endif
36645char libfcache_date_time_get_timestamp ();
36646int
36647main ()
36648{
36649return libfcache_date_time_get_timestamp ();
36650  ;
36651  return 0;
36652}
36653_ACEOF
36654if ac_fn_c_try_link "$LINENO"; then :
36655  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes
36656else
36657  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no
36658fi
36659rm -f core conftest.err conftest.$ac_objext \
36660    conftest$ac_exeext conftest.$ac_ext
36661LIBS=$ac_check_lib_save_LIBS
36662fi
36663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5
36664$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; }
36665if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then :
36666  ac_cv_libfcache_dummy=yes
36667else
36668  ac_cv_libfcache=no
36669fi
36670
36671
36672        ac_cv_libfcache_LIBADD="-lfcache"
36673fi
36674
36675fi
36676    if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then :
36677  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36679as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache
36680See \`config.log' for more details" "$LINENO" 5; }
36681
36682fi
36683
36684fi
36685
36686  if test "x$ac_cv_libfcache" = xyes; then :
36687
36688$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h
36689
36690
36691fi
36692
36693  if test "x$ac_cv_libfcache" = xyes; then :
36694  HAVE_LIBFCACHE=1
36695
36696else
36697  HAVE_LIBFCACHE=0
36698
36699
36700fi
36701
36702
36703    if test "x$ac_cv_libfcache" != xyes; then :
36704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
36705$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
36706if ${ac_cv_struct_tm+:} false; then :
36707  $as_echo_n "(cached) " >&6
36708else
36709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710/* end confdefs.h.  */
36711#include <sys/types.h>
36712#include <time.h>
36713
36714int
36715main ()
36716{
36717struct tm tm;
36718				     int *p = &tm.tm_sec;
36719				     return !p;
36720  ;
36721  return 0;
36722}
36723_ACEOF
36724if ac_fn_c_try_compile "$LINENO"; then :
36725  ac_cv_struct_tm=time.h
36726else
36727  ac_cv_struct_tm=sys/time.h
36728fi
36729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36730fi
36731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
36732$as_echo "$ac_cv_struct_tm" >&6; }
36733if test $ac_cv_struct_tm = sys/time.h; then
36734
36735$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
36736
36737fi
36738
36739
36740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
36741$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
36742if ${ac_cv_header_time+:} false; then :
36743  $as_echo_n "(cached) " >&6
36744else
36745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36746/* end confdefs.h.  */
36747#include <sys/types.h>
36748#include <sys/time.h>
36749#include <time.h>
36750
36751int
36752main ()
36753{
36754if ((struct tm *) 0)
36755return 0;
36756  ;
36757  return 0;
36758}
36759_ACEOF
36760if ac_fn_c_try_compile "$LINENO"; then :
36761  ac_cv_header_time=yes
36762else
36763  ac_cv_header_time=no
36764fi
36765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36766fi
36767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
36768$as_echo "$ac_cv_header_time" >&6; }
36769if test $ac_cv_header_time = yes; then
36770
36771$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
36772
36773fi
36774
36775
36776    for ac_func in clock_gettime time
36777do :
36778  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36779ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36780if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36781  cat >>confdefs.h <<_ACEOF
36782#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36783_ACEOF
36784
36785fi
36786done
36787
36788
36789  if test "x$ac_cv_func_time" != xyes; then :
36790  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36791$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36792as_fn_error 1 "Missing function: time
36793See \`config.log' for more details" "$LINENO" 5; }
36794
36795fi
36796
36797  ac_cv_libfcache_CPPFLAGS="-I../libfcache";
36798  ac_cv_libfcache_LIBADD="../libfcache/libfcache.la";
36799
36800  ac_cv_libfcache=local
36801
36802
36803
36804$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h
36805
36806    HAVE_LOCAL_LIBFCACHE=1
36807
36808
36809fi
36810
36811   if test "x$ac_cv_libfcache" = xlocal; then
36812  HAVE_LOCAL_LIBFCACHE_TRUE=
36813  HAVE_LOCAL_LIBFCACHE_FALSE='#'
36814else
36815  HAVE_LOCAL_LIBFCACHE_TRUE='#'
36816  HAVE_LOCAL_LIBFCACHE_FALSE=
36817fi
36818
36819  if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then :
36820  LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS
36821
36822
36823fi
36824  if test "x$ac_cv_libfcache_LIBADD" != "x"; then :
36825  LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD
36826
36827
36828fi
36829
36830  if test "x$ac_cv_libfcache" = xyes; then :
36831  ax_libfcache_pc_libs_private=-lfcache
36832
36833
36834fi
36835
36836  if test "x$ac_cv_libfcache" = xyes; then :
36837  ax_libfcache_spec_requires=libfcache
36838
36839    ax_libfcache_spec_build_requires=libfcache-devel
36840
36841
36842fi
36843
36844
36845
36846
36847# Check whether --with-libfdata was given.
36848if test "${with_libfdata+set}" = set; then :
36849  withval=$with_libfdata; ac_cv_with_libfdata=$withval
36850else
36851  ac_cv_with_libfdata=auto-detect
36852fi
36853
36854    { $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
36855$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; }
36856if ${ac_cv_with_libfdata+:} false; then :
36857  $as_echo_n "(cached) " >&6
36858else
36859  ac_cv_with_libfdata=auto-detect
36860fi
36861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5
36862$as_echo "$ac_cv_with_libfdata" >&6; }
36863
36864    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then :
36865  ac_cv_libfdata=no
36866else
36867  ac_cv_libfdata=check
36868        if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then :
36869  if test -d "$ac_cv_with_libfdata"; then :
36870  CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include"
36871        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib"
36872else
36873  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36875as_fn_error 1 "no such directory: $ac_cv_with_libfdata
36876See \`config.log' for more details" "$LINENO" 5; }
36877
36878fi
36879
36880else
36881        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
36882
36883pkg_failed=no
36884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5
36885$as_echo_n "checking for libfdata... " >&6; }
36886
36887if test -n "$libfdata_CFLAGS"; then
36888    pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS"
36889 elif test -n "$PKG_CONFIG"; then
36890    if test -n "$PKG_CONFIG" && \
36891    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20190811\""; } >&5
36892  ($PKG_CONFIG --exists --print-errors "libfdata >= 20190811") 2>&5
36893  ac_status=$?
36894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36895  test $ac_status = 0; }; then
36896  pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20190811" 2>/dev/null`
36897		      test "x$?" != "x0" && pkg_failed=yes
36898else
36899  pkg_failed=yes
36900fi
36901 else
36902    pkg_failed=untried
36903fi
36904if test -n "$libfdata_LIBS"; then
36905    pkg_cv_libfdata_LIBS="$libfdata_LIBS"
36906 elif test -n "$PKG_CONFIG"; then
36907    if test -n "$PKG_CONFIG" && \
36908    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20190811\""; } >&5
36909  ($PKG_CONFIG --exists --print-errors "libfdata >= 20190811") 2>&5
36910  ac_status=$?
36911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36912  test $ac_status = 0; }; then
36913  pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20190811" 2>/dev/null`
36914		      test "x$?" != "x0" && pkg_failed=yes
36915else
36916  pkg_failed=yes
36917fi
36918 else
36919    pkg_failed=untried
36920fi
36921
36922
36923
36924if test $pkg_failed = yes; then
36925   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36926$as_echo "no" >&6; }
36927
36928if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36929        _pkg_short_errors_supported=yes
36930else
36931        _pkg_short_errors_supported=no
36932fi
36933        if test $_pkg_short_errors_supported = yes; then
36934	        libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20190811" 2>&1`
36935        else
36936	        libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20190811" 2>&1`
36937        fi
36938	# Put the nasty error message in config.log where it belongs
36939	echo "$libfdata_PKG_ERRORS" >&5
36940
36941	ac_cv_libfdata=check
36942elif test $pkg_failed = untried; then
36943     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36944$as_echo "no" >&6; }
36945	ac_cv_libfdata=check
36946else
36947	libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS
36948	libfdata_LIBS=$pkg_cv_libfdata_LIBS
36949        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36950$as_echo "yes" >&6; }
36951	ac_cv_libfdata=yes
36952fi
36953
36954fi
36955      if test "x$ac_cv_libfdata" = xyes; then :
36956  ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS"
36957        ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS"
36958fi
36959
36960fi
36961
36962    if test "x$ac_cv_libfdata" = xcheck; then :
36963        for ac_header in libfdata.h
36964do :
36965  ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default"
36966if test "x$ac_cv_header_libfdata_h" = xyes; then :
36967  cat >>confdefs.h <<_ACEOF
36968#define HAVE_LIBFDATA_H 1
36969_ACEOF
36970
36971fi
36972
36973done
36974
36975
36976      if test "x$ac_cv_header_libfdata_h" = xno; then :
36977  ac_cv_libfdata=no
36978else
36979          ac_cv_libfdata=yes
36980
36981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5
36982$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; }
36983if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then :
36984  $as_echo_n "(cached) " >&6
36985else
36986  ac_check_lib_save_LIBS=$LIBS
36987LIBS="-lfdata  $LIBS"
36988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36989/* end confdefs.h.  */
36990
36991/* Override any GCC internal prototype to avoid an error.
36992   Use char because int might match the return type of a GCC
36993   builtin and then its argument prototype would still apply.  */
36994#ifdef __cplusplus
36995extern "C"
36996#endif
36997char libfdata_get_version ();
36998int
36999main ()
37000{
37001return libfdata_get_version ();
37002  ;
37003  return 0;
37004}
37005_ACEOF
37006if ac_fn_c_try_link "$LINENO"; then :
37007  ac_cv_lib_fdata_libfdata_get_version=yes
37008else
37009  ac_cv_lib_fdata_libfdata_get_version=no
37010fi
37011rm -f core conftest.err conftest.$ac_objext \
37012    conftest$ac_exeext conftest.$ac_ext
37013LIBS=$ac_check_lib_save_LIBS
37014fi
37015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5
37016$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; }
37017if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then :
37018  ac_cv_libfdata_dummy=yes
37019else
37020  ac_cv_libfdata=no
37021fi
37022
37023
37024                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5
37025$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; }
37026if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then :
37027  $as_echo_n "(cached) " >&6
37028else
37029  ac_check_lib_save_LIBS=$LIBS
37030LIBS="-lfdata  $LIBS"
37031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032/* end confdefs.h.  */
37033
37034/* Override any GCC internal prototype to avoid an error.
37035   Use char because int might match the return type of a GCC
37036   builtin and then its argument prototype would still apply.  */
37037#ifdef __cplusplus
37038extern "C"
37039#endif
37040char libfdata_area_initialize ();
37041int
37042main ()
37043{
37044return libfdata_area_initialize ();
37045  ;
37046  return 0;
37047}
37048_ACEOF
37049if ac_fn_c_try_link "$LINENO"; then :
37050  ac_cv_lib_fdata_libfdata_area_initialize=yes
37051else
37052  ac_cv_lib_fdata_libfdata_area_initialize=no
37053fi
37054rm -f core conftest.err conftest.$ac_objext \
37055    conftest$ac_exeext conftest.$ac_ext
37056LIBS=$ac_check_lib_save_LIBS
37057fi
37058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5
37059$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; }
37060if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then :
37061  ac_cv_libfdata_dummy=yes
37062else
37063  ac_cv_libfdata=no
37064fi
37065
37066        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5
37067$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; }
37068if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then :
37069  $as_echo_n "(cached) " >&6
37070else
37071  ac_check_lib_save_LIBS=$LIBS
37072LIBS="-lfdata  $LIBS"
37073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37074/* end confdefs.h.  */
37075
37076/* Override any GCC internal prototype to avoid an error.
37077   Use char because int might match the return type of a GCC
37078   builtin and then its argument prototype would still apply.  */
37079#ifdef __cplusplus
37080extern "C"
37081#endif
37082char libfdata_area_free ();
37083int
37084main ()
37085{
37086return libfdata_area_free ();
37087  ;
37088  return 0;
37089}
37090_ACEOF
37091if ac_fn_c_try_link "$LINENO"; then :
37092  ac_cv_lib_fdata_libfdata_area_free=yes
37093else
37094  ac_cv_lib_fdata_libfdata_area_free=no
37095fi
37096rm -f core conftest.err conftest.$ac_objext \
37097    conftest$ac_exeext conftest.$ac_ext
37098LIBS=$ac_check_lib_save_LIBS
37099fi
37100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5
37101$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; }
37102if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then :
37103  ac_cv_libfdata_dummy=yes
37104else
37105  ac_cv_libfdata=no
37106fi
37107
37108        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5
37109$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; }
37110if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then :
37111  $as_echo_n "(cached) " >&6
37112else
37113  ac_check_lib_save_LIBS=$LIBS
37114LIBS="-lfdata  $LIBS"
37115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116/* end confdefs.h.  */
37117
37118/* Override any GCC internal prototype to avoid an error.
37119   Use char because int might match the return type of a GCC
37120   builtin and then its argument prototype would still apply.  */
37121#ifdef __cplusplus
37122extern "C"
37123#endif
37124char libfdata_area_clone ();
37125int
37126main ()
37127{
37128return libfdata_area_clone ();
37129  ;
37130  return 0;
37131}
37132_ACEOF
37133if ac_fn_c_try_link "$LINENO"; then :
37134  ac_cv_lib_fdata_libfdata_area_clone=yes
37135else
37136  ac_cv_lib_fdata_libfdata_area_clone=no
37137fi
37138rm -f core conftest.err conftest.$ac_objext \
37139    conftest$ac_exeext conftest.$ac_ext
37140LIBS=$ac_check_lib_save_LIBS
37141fi
37142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5
37143$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; }
37144if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then :
37145  ac_cv_libfdata_dummy=yes
37146else
37147  ac_cv_libfdata=no
37148fi
37149
37150        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5
37151$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; }
37152if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then :
37153  $as_echo_n "(cached) " >&6
37154else
37155  ac_check_lib_save_LIBS=$LIBS
37156LIBS="-lfdata  $LIBS"
37157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158/* end confdefs.h.  */
37159
37160/* Override any GCC internal prototype to avoid an error.
37161   Use char because int might match the return type of a GCC
37162   builtin and then its argument prototype would still apply.  */
37163#ifdef __cplusplus
37164extern "C"
37165#endif
37166char libfdata_area_empty ();
37167int
37168main ()
37169{
37170return libfdata_area_empty ();
37171  ;
37172  return 0;
37173}
37174_ACEOF
37175if ac_fn_c_try_link "$LINENO"; then :
37176  ac_cv_lib_fdata_libfdata_area_empty=yes
37177else
37178  ac_cv_lib_fdata_libfdata_area_empty=no
37179fi
37180rm -f core conftest.err conftest.$ac_objext \
37181    conftest$ac_exeext conftest.$ac_ext
37182LIBS=$ac_check_lib_save_LIBS
37183fi
37184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5
37185$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; }
37186if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then :
37187  ac_cv_libfdata_dummy=yes
37188else
37189  ac_cv_libfdata=no
37190fi
37191
37192        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5
37193$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; }
37194if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then :
37195  $as_echo_n "(cached) " >&6
37196else
37197  ac_check_lib_save_LIBS=$LIBS
37198LIBS="-lfdata  $LIBS"
37199cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37200/* end confdefs.h.  */
37201
37202/* Override any GCC internal prototype to avoid an error.
37203   Use char because int might match the return type of a GCC
37204   builtin and then its argument prototype would still apply.  */
37205#ifdef __cplusplus
37206extern "C"
37207#endif
37208char libfdata_area_resize ();
37209int
37210main ()
37211{
37212return libfdata_area_resize ();
37213  ;
37214  return 0;
37215}
37216_ACEOF
37217if ac_fn_c_try_link "$LINENO"; then :
37218  ac_cv_lib_fdata_libfdata_area_resize=yes
37219else
37220  ac_cv_lib_fdata_libfdata_area_resize=no
37221fi
37222rm -f core conftest.err conftest.$ac_objext \
37223    conftest$ac_exeext conftest.$ac_ext
37224LIBS=$ac_check_lib_save_LIBS
37225fi
37226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5
37227$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; }
37228if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then :
37229  ac_cv_libfdata_dummy=yes
37230else
37231  ac_cv_libfdata=no
37232fi
37233
37234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5
37235$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; }
37236if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then :
37237  $as_echo_n "(cached) " >&6
37238else
37239  ac_check_lib_save_LIBS=$LIBS
37240LIBS="-lfdata  $LIBS"
37241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37242/* end confdefs.h.  */
37243
37244/* Override any GCC internal prototype to avoid an error.
37245   Use char because int might match the return type of a GCC
37246   builtin and then its argument prototype would still apply.  */
37247#ifdef __cplusplus
37248extern "C"
37249#endif
37250char libfdata_area_get_number_of_segments ();
37251int
37252main ()
37253{
37254return libfdata_area_get_number_of_segments ();
37255  ;
37256  return 0;
37257}
37258_ACEOF
37259if ac_fn_c_try_link "$LINENO"; then :
37260  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes
37261else
37262  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no
37263fi
37264rm -f core conftest.err conftest.$ac_objext \
37265    conftest$ac_exeext conftest.$ac_ext
37266LIBS=$ac_check_lib_save_LIBS
37267fi
37268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5
37269$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; }
37270if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then :
37271  ac_cv_libfdata_dummy=yes
37272else
37273  ac_cv_libfdata=no
37274fi
37275
37276        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5
37277$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; }
37278if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then :
37279  $as_echo_n "(cached) " >&6
37280else
37281  ac_check_lib_save_LIBS=$LIBS
37282LIBS="-lfdata  $LIBS"
37283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37284/* end confdefs.h.  */
37285
37286/* Override any GCC internal prototype to avoid an error.
37287   Use char because int might match the return type of a GCC
37288   builtin and then its argument prototype would still apply.  */
37289#ifdef __cplusplus
37290extern "C"
37291#endif
37292char libfdata_area_get_segment_by_index ();
37293int
37294main ()
37295{
37296return libfdata_area_get_segment_by_index ();
37297  ;
37298  return 0;
37299}
37300_ACEOF
37301if ac_fn_c_try_link "$LINENO"; then :
37302  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes
37303else
37304  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no
37305fi
37306rm -f core conftest.err conftest.$ac_objext \
37307    conftest$ac_exeext conftest.$ac_ext
37308LIBS=$ac_check_lib_save_LIBS
37309fi
37310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5
37311$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; }
37312if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then :
37313  ac_cv_libfdata_dummy=yes
37314else
37315  ac_cv_libfdata=no
37316fi
37317
37318        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5
37319$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; }
37320if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then :
37321  $as_echo_n "(cached) " >&6
37322else
37323  ac_check_lib_save_LIBS=$LIBS
37324LIBS="-lfdata  $LIBS"
37325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37326/* end confdefs.h.  */
37327
37328/* Override any GCC internal prototype to avoid an error.
37329   Use char because int might match the return type of a GCC
37330   builtin and then its argument prototype would still apply.  */
37331#ifdef __cplusplus
37332extern "C"
37333#endif
37334char libfdata_area_set_segment_by_index ();
37335int
37336main ()
37337{
37338return libfdata_area_set_segment_by_index ();
37339  ;
37340  return 0;
37341}
37342_ACEOF
37343if ac_fn_c_try_link "$LINENO"; then :
37344  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes
37345else
37346  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no
37347fi
37348rm -f core conftest.err conftest.$ac_objext \
37349    conftest$ac_exeext conftest.$ac_ext
37350LIBS=$ac_check_lib_save_LIBS
37351fi
37352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5
37353$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; }
37354if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then :
37355  ac_cv_libfdata_dummy=yes
37356else
37357  ac_cv_libfdata=no
37358fi
37359
37360        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5
37361$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; }
37362if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then :
37363  $as_echo_n "(cached) " >&6
37364else
37365  ac_check_lib_save_LIBS=$LIBS
37366LIBS="-lfdata  $LIBS"
37367cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37368/* end confdefs.h.  */
37369
37370/* Override any GCC internal prototype to avoid an error.
37371   Use char because int might match the return type of a GCC
37372   builtin and then its argument prototype would still apply.  */
37373#ifdef __cplusplus
37374extern "C"
37375#endif
37376char libfdata_area_prepend_segment ();
37377int
37378main ()
37379{
37380return libfdata_area_prepend_segment ();
37381  ;
37382  return 0;
37383}
37384_ACEOF
37385if ac_fn_c_try_link "$LINENO"; then :
37386  ac_cv_lib_fdata_libfdata_area_prepend_segment=yes
37387else
37388  ac_cv_lib_fdata_libfdata_area_prepend_segment=no
37389fi
37390rm -f core conftest.err conftest.$ac_objext \
37391    conftest$ac_exeext conftest.$ac_ext
37392LIBS=$ac_check_lib_save_LIBS
37393fi
37394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5
37395$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; }
37396if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then :
37397  ac_cv_libfdata_dummy=yes
37398else
37399  ac_cv_libfdata=no
37400fi
37401
37402        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5
37403$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; }
37404if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then :
37405  $as_echo_n "(cached) " >&6
37406else
37407  ac_check_lib_save_LIBS=$LIBS
37408LIBS="-lfdata  $LIBS"
37409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37410/* end confdefs.h.  */
37411
37412/* Override any GCC internal prototype to avoid an error.
37413   Use char because int might match the return type of a GCC
37414   builtin and then its argument prototype would still apply.  */
37415#ifdef __cplusplus
37416extern "C"
37417#endif
37418char libfdata_area_append_segment ();
37419int
37420main ()
37421{
37422return libfdata_area_append_segment ();
37423  ;
37424  return 0;
37425}
37426_ACEOF
37427if ac_fn_c_try_link "$LINENO"; then :
37428  ac_cv_lib_fdata_libfdata_area_append_segment=yes
37429else
37430  ac_cv_lib_fdata_libfdata_area_append_segment=no
37431fi
37432rm -f core conftest.err conftest.$ac_objext \
37433    conftest$ac_exeext conftest.$ac_ext
37434LIBS=$ac_check_lib_save_LIBS
37435fi
37436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5
37437$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; }
37438if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then :
37439  ac_cv_libfdata_dummy=yes
37440else
37441  ac_cv_libfdata=no
37442fi
37443
37444        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5
37445$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; }
37446if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then :
37447  $as_echo_n "(cached) " >&6
37448else
37449  ac_check_lib_save_LIBS=$LIBS
37450LIBS="-lfdata  $LIBS"
37451cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37452/* end confdefs.h.  */
37453
37454/* Override any GCC internal prototype to avoid an error.
37455   Use char because int might match the return type of a GCC
37456   builtin and then its argument prototype would still apply.  */
37457#ifdef __cplusplus
37458extern "C"
37459#endif
37460char libfdata_area_get_element_data_size ();
37461int
37462main ()
37463{
37464return libfdata_area_get_element_data_size ();
37465  ;
37466  return 0;
37467}
37468_ACEOF
37469if ac_fn_c_try_link "$LINENO"; then :
37470  ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes
37471else
37472  ac_cv_lib_fdata_libfdata_area_get_element_data_size=no
37473fi
37474rm -f core conftest.err conftest.$ac_objext \
37475    conftest$ac_exeext conftest.$ac_ext
37476LIBS=$ac_check_lib_save_LIBS
37477fi
37478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5
37479$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; }
37480if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then :
37481  ac_cv_libfdata_dummy=yes
37482else
37483  ac_cv_libfdata=no
37484fi
37485
37486        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5
37487$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; }
37488if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then :
37489  $as_echo_n "(cached) " >&6
37490else
37491  ac_check_lib_save_LIBS=$LIBS
37492LIBS="-lfdata  $LIBS"
37493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37494/* end confdefs.h.  */
37495
37496/* Override any GCC internal prototype to avoid an error.
37497   Use char because int might match the return type of a GCC
37498   builtin and then its argument prototype would still apply.  */
37499#ifdef __cplusplus
37500extern "C"
37501#endif
37502char libfdata_area_get_element_value_at_offset ();
37503int
37504main ()
37505{
37506return libfdata_area_get_element_value_at_offset ();
37507  ;
37508  return 0;
37509}
37510_ACEOF
37511if ac_fn_c_try_link "$LINENO"; then :
37512  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes
37513else
37514  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no
37515fi
37516rm -f core conftest.err conftest.$ac_objext \
37517    conftest$ac_exeext conftest.$ac_ext
37518LIBS=$ac_check_lib_save_LIBS
37519fi
37520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5
37521$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; }
37522if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then :
37523  ac_cv_libfdata_dummy=yes
37524else
37525  ac_cv_libfdata=no
37526fi
37527
37528        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5
37529$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; }
37530if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then :
37531  $as_echo_n "(cached) " >&6
37532else
37533  ac_check_lib_save_LIBS=$LIBS
37534LIBS="-lfdata  $LIBS"
37535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37536/* end confdefs.h.  */
37537
37538/* Override any GCC internal prototype to avoid an error.
37539   Use char because int might match the return type of a GCC
37540   builtin and then its argument prototype would still apply.  */
37541#ifdef __cplusplus
37542extern "C"
37543#endif
37544char libfdata_area_set_element_value_at_offset ();
37545int
37546main ()
37547{
37548return libfdata_area_set_element_value_at_offset ();
37549  ;
37550  return 0;
37551}
37552_ACEOF
37553if ac_fn_c_try_link "$LINENO"; then :
37554  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes
37555else
37556  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no
37557fi
37558rm -f core conftest.err conftest.$ac_objext \
37559    conftest$ac_exeext conftest.$ac_ext
37560LIBS=$ac_check_lib_save_LIBS
37561fi
37562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5
37563$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; }
37564if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then :
37565  ac_cv_libfdata_dummy=yes
37566else
37567  ac_cv_libfdata=no
37568fi
37569
37570        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5
37571$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; }
37572if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then :
37573  $as_echo_n "(cached) " >&6
37574else
37575  ac_check_lib_save_LIBS=$LIBS
37576LIBS="-lfdata  $LIBS"
37577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37578/* end confdefs.h.  */
37579
37580/* Override any GCC internal prototype to avoid an error.
37581   Use char because int might match the return type of a GCC
37582   builtin and then its argument prototype would still apply.  */
37583#ifdef __cplusplus
37584extern "C"
37585#endif
37586char libfdata_area_get_size ();
37587int
37588main ()
37589{
37590return libfdata_area_get_size ();
37591  ;
37592  return 0;
37593}
37594_ACEOF
37595if ac_fn_c_try_link "$LINENO"; then :
37596  ac_cv_lib_fdata_libfdata_area_get_size=yes
37597else
37598  ac_cv_lib_fdata_libfdata_area_get_size=no
37599fi
37600rm -f core conftest.err conftest.$ac_objext \
37601    conftest$ac_exeext conftest.$ac_ext
37602LIBS=$ac_check_lib_save_LIBS
37603fi
37604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5
37605$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; }
37606if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then :
37607  ac_cv_libfdata_dummy=yes
37608else
37609  ac_cv_libfdata=no
37610fi
37611
37612
37613
37614                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5
37615$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; }
37616if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then :
37617  $as_echo_n "(cached) " >&6
37618else
37619  ac_check_lib_save_LIBS=$LIBS
37620LIBS="-lfdata  $LIBS"
37621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37622/* end confdefs.h.  */
37623
37624/* Override any GCC internal prototype to avoid an error.
37625   Use char because int might match the return type of a GCC
37626   builtin and then its argument prototype would still apply.  */
37627#ifdef __cplusplus
37628extern "C"
37629#endif
37630char libfdata_list_initialize ();
37631int
37632main ()
37633{
37634return libfdata_list_initialize ();
37635  ;
37636  return 0;
37637}
37638_ACEOF
37639if ac_fn_c_try_link "$LINENO"; then :
37640  ac_cv_lib_fdata_libfdata_list_initialize=yes
37641else
37642  ac_cv_lib_fdata_libfdata_list_initialize=no
37643fi
37644rm -f core conftest.err conftest.$ac_objext \
37645    conftest$ac_exeext conftest.$ac_ext
37646LIBS=$ac_check_lib_save_LIBS
37647fi
37648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5
37649$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; }
37650if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then :
37651  ac_cv_libfdata_dummy=yes
37652else
37653  ac_cv_libfdata=no
37654fi
37655
37656        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5
37657$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; }
37658if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then :
37659  $as_echo_n "(cached) " >&6
37660else
37661  ac_check_lib_save_LIBS=$LIBS
37662LIBS="-lfdata  $LIBS"
37663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37664/* end confdefs.h.  */
37665
37666/* Override any GCC internal prototype to avoid an error.
37667   Use char because int might match the return type of a GCC
37668   builtin and then its argument prototype would still apply.  */
37669#ifdef __cplusplus
37670extern "C"
37671#endif
37672char libfdata_list_free ();
37673int
37674main ()
37675{
37676return libfdata_list_free ();
37677  ;
37678  return 0;
37679}
37680_ACEOF
37681if ac_fn_c_try_link "$LINENO"; then :
37682  ac_cv_lib_fdata_libfdata_list_free=yes
37683else
37684  ac_cv_lib_fdata_libfdata_list_free=no
37685fi
37686rm -f core conftest.err conftest.$ac_objext \
37687    conftest$ac_exeext conftest.$ac_ext
37688LIBS=$ac_check_lib_save_LIBS
37689fi
37690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5
37691$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; }
37692if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then :
37693  ac_cv_libfdata_dummy=yes
37694else
37695  ac_cv_libfdata=no
37696fi
37697
37698        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5
37699$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; }
37700if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then :
37701  $as_echo_n "(cached) " >&6
37702else
37703  ac_check_lib_save_LIBS=$LIBS
37704LIBS="-lfdata  $LIBS"
37705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37706/* end confdefs.h.  */
37707
37708/* Override any GCC internal prototype to avoid an error.
37709   Use char because int might match the return type of a GCC
37710   builtin and then its argument prototype would still apply.  */
37711#ifdef __cplusplus
37712extern "C"
37713#endif
37714char libfdata_list_clone ();
37715int
37716main ()
37717{
37718return libfdata_list_clone ();
37719  ;
37720  return 0;
37721}
37722_ACEOF
37723if ac_fn_c_try_link "$LINENO"; then :
37724  ac_cv_lib_fdata_libfdata_list_clone=yes
37725else
37726  ac_cv_lib_fdata_libfdata_list_clone=no
37727fi
37728rm -f core conftest.err conftest.$ac_objext \
37729    conftest$ac_exeext conftest.$ac_ext
37730LIBS=$ac_check_lib_save_LIBS
37731fi
37732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5
37733$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; }
37734if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then :
37735  ac_cv_libfdata_dummy=yes
37736else
37737  ac_cv_libfdata=no
37738fi
37739
37740        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5
37741$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; }
37742if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then :
37743  $as_echo_n "(cached) " >&6
37744else
37745  ac_check_lib_save_LIBS=$LIBS
37746LIBS="-lfdata  $LIBS"
37747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748/* end confdefs.h.  */
37749
37750/* Override any GCC internal prototype to avoid an error.
37751   Use char because int might match the return type of a GCC
37752   builtin and then its argument prototype would still apply.  */
37753#ifdef __cplusplus
37754extern "C"
37755#endif
37756char libfdata_list_empty ();
37757int
37758main ()
37759{
37760return libfdata_list_empty ();
37761  ;
37762  return 0;
37763}
37764_ACEOF
37765if ac_fn_c_try_link "$LINENO"; then :
37766  ac_cv_lib_fdata_libfdata_list_empty=yes
37767else
37768  ac_cv_lib_fdata_libfdata_list_empty=no
37769fi
37770rm -f core conftest.err conftest.$ac_objext \
37771    conftest$ac_exeext conftest.$ac_ext
37772LIBS=$ac_check_lib_save_LIBS
37773fi
37774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5
37775$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; }
37776if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then :
37777  ac_cv_libfdata_dummy=yes
37778else
37779  ac_cv_libfdata=no
37780fi
37781
37782        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5
37783$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; }
37784if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then :
37785  $as_echo_n "(cached) " >&6
37786else
37787  ac_check_lib_save_LIBS=$LIBS
37788LIBS="-lfdata  $LIBS"
37789cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37790/* end confdefs.h.  */
37791
37792/* Override any GCC internal prototype to avoid an error.
37793   Use char because int might match the return type of a GCC
37794   builtin and then its argument prototype would still apply.  */
37795#ifdef __cplusplus
37796extern "C"
37797#endif
37798char libfdata_list_resize ();
37799int
37800main ()
37801{
37802return libfdata_list_resize ();
37803  ;
37804  return 0;
37805}
37806_ACEOF
37807if ac_fn_c_try_link "$LINENO"; then :
37808  ac_cv_lib_fdata_libfdata_list_resize=yes
37809else
37810  ac_cv_lib_fdata_libfdata_list_resize=no
37811fi
37812rm -f core conftest.err conftest.$ac_objext \
37813    conftest$ac_exeext conftest.$ac_ext
37814LIBS=$ac_check_lib_save_LIBS
37815fi
37816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5
37817$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; }
37818if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then :
37819  ac_cv_libfdata_dummy=yes
37820else
37821  ac_cv_libfdata=no
37822fi
37823
37824
37825        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5
37826$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; }
37827if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then :
37828  $as_echo_n "(cached) " >&6
37829else
37830  ac_check_lib_save_LIBS=$LIBS
37831LIBS="-lfdata  $LIBS"
37832cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37833/* end confdefs.h.  */
37834
37835/* Override any GCC internal prototype to avoid an error.
37836   Use char because int might match the return type of a GCC
37837   builtin and then its argument prototype would still apply.  */
37838#ifdef __cplusplus
37839extern "C"
37840#endif
37841char libfdata_list_reverse ();
37842int
37843main ()
37844{
37845return libfdata_list_reverse ();
37846  ;
37847  return 0;
37848}
37849_ACEOF
37850if ac_fn_c_try_link "$LINENO"; then :
37851  ac_cv_lib_fdata_libfdata_list_reverse=yes
37852else
37853  ac_cv_lib_fdata_libfdata_list_reverse=no
37854fi
37855rm -f core conftest.err conftest.$ac_objext \
37856    conftest$ac_exeext conftest.$ac_ext
37857LIBS=$ac_check_lib_save_LIBS
37858fi
37859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5
37860$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; }
37861if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then :
37862  ac_cv_libfdata_dummy=yes
37863else
37864  ac_cv_libfdata=no
37865fi
37866
37867
37868        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5
37869$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; }
37870if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then :
37871  $as_echo_n "(cached) " >&6
37872else
37873  ac_check_lib_save_LIBS=$LIBS
37874LIBS="-lfdata  $LIBS"
37875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37876/* end confdefs.h.  */
37877
37878/* Override any GCC internal prototype to avoid an error.
37879   Use char because int might match the return type of a GCC
37880   builtin and then its argument prototype would still apply.  */
37881#ifdef __cplusplus
37882extern "C"
37883#endif
37884char libfdata_list_get_number_of_elements ();
37885int
37886main ()
37887{
37888return libfdata_list_get_number_of_elements ();
37889  ;
37890  return 0;
37891}
37892_ACEOF
37893if ac_fn_c_try_link "$LINENO"; then :
37894  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes
37895else
37896  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no
37897fi
37898rm -f core conftest.err conftest.$ac_objext \
37899    conftest$ac_exeext conftest.$ac_ext
37900LIBS=$ac_check_lib_save_LIBS
37901fi
37902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5
37903$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; }
37904if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then :
37905  ac_cv_libfdata_dummy=yes
37906else
37907  ac_cv_libfdata=no
37908fi
37909
37910        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5
37911$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; }
37912if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then :
37913  $as_echo_n "(cached) " >&6
37914else
37915  ac_check_lib_save_LIBS=$LIBS
37916LIBS="-lfdata  $LIBS"
37917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918/* end confdefs.h.  */
37919
37920/* Override any GCC internal prototype to avoid an error.
37921   Use char because int might match the return type of a GCC
37922   builtin and then its argument prototype would still apply.  */
37923#ifdef __cplusplus
37924extern "C"
37925#endif
37926char libfdata_list_get_list_element_by_index ();
37927int
37928main ()
37929{
37930return libfdata_list_get_list_element_by_index ();
37931  ;
37932  return 0;
37933}
37934_ACEOF
37935if ac_fn_c_try_link "$LINENO"; then :
37936  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes
37937else
37938  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no
37939fi
37940rm -f core conftest.err conftest.$ac_objext \
37941    conftest$ac_exeext conftest.$ac_ext
37942LIBS=$ac_check_lib_save_LIBS
37943fi
37944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5
37945$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; }
37946if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then :
37947  ac_cv_libfdata_dummy=yes
37948else
37949  ac_cv_libfdata=no
37950fi
37951
37952        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5
37953$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; }
37954if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then :
37955  $as_echo_n "(cached) " >&6
37956else
37957  ac_check_lib_save_LIBS=$LIBS
37958LIBS="-lfdata  $LIBS"
37959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37960/* end confdefs.h.  */
37961
37962/* Override any GCC internal prototype to avoid an error.
37963   Use char because int might match the return type of a GCC
37964   builtin and then its argument prototype would still apply.  */
37965#ifdef __cplusplus
37966extern "C"
37967#endif
37968char libfdata_list_get_element_by_index ();
37969int
37970main ()
37971{
37972return libfdata_list_get_element_by_index ();
37973  ;
37974  return 0;
37975}
37976_ACEOF
37977if ac_fn_c_try_link "$LINENO"; then :
37978  ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes
37979else
37980  ac_cv_lib_fdata_libfdata_list_get_element_by_index=no
37981fi
37982rm -f core conftest.err conftest.$ac_objext \
37983    conftest$ac_exeext conftest.$ac_ext
37984LIBS=$ac_check_lib_save_LIBS
37985fi
37986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5
37987$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; }
37988if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then :
37989  ac_cv_libfdata_dummy=yes
37990else
37991  ac_cv_libfdata=no
37992fi
37993
37994        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5
37995$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; }
37996if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then :
37997  $as_echo_n "(cached) " >&6
37998else
37999  ac_check_lib_save_LIBS=$LIBS
38000LIBS="-lfdata  $LIBS"
38001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38002/* end confdefs.h.  */
38003
38004/* Override any GCC internal prototype to avoid an error.
38005   Use char because int might match the return type of a GCC
38006   builtin and then its argument prototype would still apply.  */
38007#ifdef __cplusplus
38008extern "C"
38009#endif
38010char libfdata_list_set_element_by_index ();
38011int
38012main ()
38013{
38014return libfdata_list_set_element_by_index ();
38015  ;
38016  return 0;
38017}
38018_ACEOF
38019if ac_fn_c_try_link "$LINENO"; then :
38020  ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes
38021else
38022  ac_cv_lib_fdata_libfdata_list_set_element_by_index=no
38023fi
38024rm -f core conftest.err conftest.$ac_objext \
38025    conftest$ac_exeext conftest.$ac_ext
38026LIBS=$ac_check_lib_save_LIBS
38027fi
38028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5
38029$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; }
38030if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then :
38031  ac_cv_libfdata_dummy=yes
38032else
38033  ac_cv_libfdata=no
38034fi
38035
38036        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5
38037$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; }
38038if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then :
38039  $as_echo_n "(cached) " >&6
38040else
38041  ac_check_lib_save_LIBS=$LIBS
38042LIBS="-lfdata  $LIBS"
38043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38044/* end confdefs.h.  */
38045
38046/* Override any GCC internal prototype to avoid an error.
38047   Use char because int might match the return type of a GCC
38048   builtin and then its argument prototype would still apply.  */
38049#ifdef __cplusplus
38050extern "C"
38051#endif
38052char libfdata_list_prepend_element ();
38053int
38054main ()
38055{
38056return libfdata_list_prepend_element ();
38057  ;
38058  return 0;
38059}
38060_ACEOF
38061if ac_fn_c_try_link "$LINENO"; then :
38062  ac_cv_lib_fdata_libfdata_list_prepend_element=yes
38063else
38064  ac_cv_lib_fdata_libfdata_list_prepend_element=no
38065fi
38066rm -f core conftest.err conftest.$ac_objext \
38067    conftest$ac_exeext conftest.$ac_ext
38068LIBS=$ac_check_lib_save_LIBS
38069fi
38070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5
38071$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; }
38072if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then :
38073  ac_cv_libfdata_dummy=yes
38074else
38075  ac_cv_libfdata=no
38076fi
38077
38078        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5
38079$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; }
38080if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then :
38081  $as_echo_n "(cached) " >&6
38082else
38083  ac_check_lib_save_LIBS=$LIBS
38084LIBS="-lfdata  $LIBS"
38085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38086/* end confdefs.h.  */
38087
38088/* Override any GCC internal prototype to avoid an error.
38089   Use char because int might match the return type of a GCC
38090   builtin and then its argument prototype would still apply.  */
38091#ifdef __cplusplus
38092extern "C"
38093#endif
38094char libfdata_list_append_element ();
38095int
38096main ()
38097{
38098return libfdata_list_append_element ();
38099  ;
38100  return 0;
38101}
38102_ACEOF
38103if ac_fn_c_try_link "$LINENO"; then :
38104  ac_cv_lib_fdata_libfdata_list_append_element=yes
38105else
38106  ac_cv_lib_fdata_libfdata_list_append_element=no
38107fi
38108rm -f core conftest.err conftest.$ac_objext \
38109    conftest$ac_exeext conftest.$ac_ext
38110LIBS=$ac_check_lib_save_LIBS
38111fi
38112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5
38113$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; }
38114if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then :
38115  ac_cv_libfdata_dummy=yes
38116else
38117  ac_cv_libfdata=no
38118fi
38119
38120        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5
38121$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; }
38122if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then :
38123  $as_echo_n "(cached) " >&6
38124else
38125  ac_check_lib_save_LIBS=$LIBS
38126LIBS="-lfdata  $LIBS"
38127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38128/* end confdefs.h.  */
38129
38130/* Override any GCC internal prototype to avoid an error.
38131   Use char because int might match the return type of a GCC
38132   builtin and then its argument prototype would still apply.  */
38133#ifdef __cplusplus
38134extern "C"
38135#endif
38136char libfdata_list_append_list ();
38137int
38138main ()
38139{
38140return libfdata_list_append_list ();
38141  ;
38142  return 0;
38143}
38144_ACEOF
38145if ac_fn_c_try_link "$LINENO"; then :
38146  ac_cv_lib_fdata_libfdata_list_append_list=yes
38147else
38148  ac_cv_lib_fdata_libfdata_list_append_list=no
38149fi
38150rm -f core conftest.err conftest.$ac_objext \
38151    conftest$ac_exeext conftest.$ac_ext
38152LIBS=$ac_check_lib_save_LIBS
38153fi
38154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5
38155$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; }
38156if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then :
38157  ac_cv_libfdata_dummy=yes
38158else
38159  ac_cv_libfdata=no
38160fi
38161
38162        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5
38163$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; }
38164if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then :
38165  $as_echo_n "(cached) " >&6
38166else
38167  ac_check_lib_save_LIBS=$LIBS
38168LIBS="-lfdata  $LIBS"
38169cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38170/* end confdefs.h.  */
38171
38172/* Override any GCC internal prototype to avoid an error.
38173   Use char because int might match the return type of a GCC
38174   builtin and then its argument prototype would still apply.  */
38175#ifdef __cplusplus
38176extern "C"
38177#endif
38178char libfdata_list_is_element_set ();
38179int
38180main ()
38181{
38182return libfdata_list_is_element_set ();
38183  ;
38184  return 0;
38185}
38186_ACEOF
38187if ac_fn_c_try_link "$LINENO"; then :
38188  ac_cv_lib_fdata_libfdata_list_is_element_set=yes
38189else
38190  ac_cv_lib_fdata_libfdata_list_is_element_set=no
38191fi
38192rm -f core conftest.err conftest.$ac_objext \
38193    conftest$ac_exeext conftest.$ac_ext
38194LIBS=$ac_check_lib_save_LIBS
38195fi
38196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5
38197$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; }
38198if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then :
38199  ac_cv_libfdata_dummy=yes
38200else
38201  ac_cv_libfdata=no
38202fi
38203
38204
38205        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5
38206$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; }
38207if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then :
38208  $as_echo_n "(cached) " >&6
38209else
38210  ac_check_lib_save_LIBS=$LIBS
38211LIBS="-lfdata  $LIBS"
38212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213/* end confdefs.h.  */
38214
38215/* Override any GCC internal prototype to avoid an error.
38216   Use char because int might match the return type of a GCC
38217   builtin and then its argument prototype would still apply.  */
38218#ifdef __cplusplus
38219extern "C"
38220#endif
38221char libfdata_list_get_mapped_offset ();
38222int
38223main ()
38224{
38225return libfdata_list_get_mapped_offset ();
38226  ;
38227  return 0;
38228}
38229_ACEOF
38230if ac_fn_c_try_link "$LINENO"; then :
38231  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes
38232else
38233  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no
38234fi
38235rm -f core conftest.err conftest.$ac_objext \
38236    conftest$ac_exeext conftest.$ac_ext
38237LIBS=$ac_check_lib_save_LIBS
38238fi
38239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5
38240$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; }
38241if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then :
38242  ac_cv_libfdata_dummy=yes
38243else
38244  ac_cv_libfdata=no
38245fi
38246
38247        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5
38248$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; }
38249if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then :
38250  $as_echo_n "(cached) " >&6
38251else
38252  ac_check_lib_save_LIBS=$LIBS
38253LIBS="-lfdata  $LIBS"
38254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38255/* end confdefs.h.  */
38256
38257/* Override any GCC internal prototype to avoid an error.
38258   Use char because int might match the return type of a GCC
38259   builtin and then its argument prototype would still apply.  */
38260#ifdef __cplusplus
38261extern "C"
38262#endif
38263char libfdata_list_set_mapped_offset ();
38264int
38265main ()
38266{
38267return libfdata_list_set_mapped_offset ();
38268  ;
38269  return 0;
38270}
38271_ACEOF
38272if ac_fn_c_try_link "$LINENO"; then :
38273  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes
38274else
38275  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no
38276fi
38277rm -f core conftest.err conftest.$ac_objext \
38278    conftest$ac_exeext conftest.$ac_ext
38279LIBS=$ac_check_lib_save_LIBS
38280fi
38281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5
38282$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; }
38283if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then :
38284  ac_cv_libfdata_dummy=yes
38285else
38286  ac_cv_libfdata=no
38287fi
38288
38289
38290        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5
38291$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; }
38292if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then :
38293  $as_echo_n "(cached) " >&6
38294else
38295  ac_check_lib_save_LIBS=$LIBS
38296LIBS="-lfdata  $LIBS"
38297cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38298/* end confdefs.h.  */
38299
38300/* Override any GCC internal prototype to avoid an error.
38301   Use char because int might match the return type of a GCC
38302   builtin and then its argument prototype would still apply.  */
38303#ifdef __cplusplus
38304extern "C"
38305#endif
38306char libfdata_list_get_mapped_size_by_index ();
38307int
38308main ()
38309{
38310return libfdata_list_get_mapped_size_by_index ();
38311  ;
38312  return 0;
38313}
38314_ACEOF
38315if ac_fn_c_try_link "$LINENO"; then :
38316  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes
38317else
38318  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no
38319fi
38320rm -f core conftest.err conftest.$ac_objext \
38321    conftest$ac_exeext conftest.$ac_ext
38322LIBS=$ac_check_lib_save_LIBS
38323fi
38324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5
38325$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; }
38326if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then :
38327  ac_cv_libfdata_dummy=yes
38328else
38329  ac_cv_libfdata=no
38330fi
38331
38332        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5
38333$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; }
38334if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then :
38335  $as_echo_n "(cached) " >&6
38336else
38337  ac_check_lib_save_LIBS=$LIBS
38338LIBS="-lfdata  $LIBS"
38339cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38340/* end confdefs.h.  */
38341
38342/* Override any GCC internal prototype to avoid an error.
38343   Use char because int might match the return type of a GCC
38344   builtin and then its argument prototype would still apply.  */
38345#ifdef __cplusplus
38346extern "C"
38347#endif
38348char libfdata_list_set_mapped_size_by_index ();
38349int
38350main ()
38351{
38352return libfdata_list_set_mapped_size_by_index ();
38353  ;
38354  return 0;
38355}
38356_ACEOF
38357if ac_fn_c_try_link "$LINENO"; then :
38358  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes
38359else
38360  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no
38361fi
38362rm -f core conftest.err conftest.$ac_objext \
38363    conftest$ac_exeext conftest.$ac_ext
38364LIBS=$ac_check_lib_save_LIBS
38365fi
38366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5
38367$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; }
38368if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then :
38369  ac_cv_libfdata_dummy=yes
38370else
38371  ac_cv_libfdata=no
38372fi
38373
38374        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5
38375$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; }
38376if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then :
38377  $as_echo_n "(cached) " >&6
38378else
38379  ac_check_lib_save_LIBS=$LIBS
38380LIBS="-lfdata  $LIBS"
38381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382/* end confdefs.h.  */
38383
38384/* Override any GCC internal prototype to avoid an error.
38385   Use char because int might match the return type of a GCC
38386   builtin and then its argument prototype would still apply.  */
38387#ifdef __cplusplus
38388extern "C"
38389#endif
38390char libfdata_list_get_element_by_index_with_mapped_size ();
38391int
38392main ()
38393{
38394return libfdata_list_get_element_by_index_with_mapped_size ();
38395  ;
38396  return 0;
38397}
38398_ACEOF
38399if ac_fn_c_try_link "$LINENO"; then :
38400  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes
38401else
38402  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no
38403fi
38404rm -f core conftest.err conftest.$ac_objext \
38405    conftest$ac_exeext conftest.$ac_ext
38406LIBS=$ac_check_lib_save_LIBS
38407fi
38408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5
38409$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; }
38410if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then :
38411  ac_cv_libfdata_dummy=yes
38412else
38413  ac_cv_libfdata=no
38414fi
38415
38416        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5
38417$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; }
38418if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then :
38419  $as_echo_n "(cached) " >&6
38420else
38421  ac_check_lib_save_LIBS=$LIBS
38422LIBS="-lfdata  $LIBS"
38423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38424/* end confdefs.h.  */
38425
38426/* Override any GCC internal prototype to avoid an error.
38427   Use char because int might match the return type of a GCC
38428   builtin and then its argument prototype would still apply.  */
38429#ifdef __cplusplus
38430extern "C"
38431#endif
38432char libfdata_list_set_element_by_index_with_mapped_size ();
38433int
38434main ()
38435{
38436return libfdata_list_set_element_by_index_with_mapped_size ();
38437  ;
38438  return 0;
38439}
38440_ACEOF
38441if ac_fn_c_try_link "$LINENO"; then :
38442  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes
38443else
38444  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no
38445fi
38446rm -f core conftest.err conftest.$ac_objext \
38447    conftest$ac_exeext conftest.$ac_ext
38448LIBS=$ac_check_lib_save_LIBS
38449fi
38450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5
38451$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; }
38452if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then :
38453  ac_cv_libfdata_dummy=yes
38454else
38455  ac_cv_libfdata=no
38456fi
38457
38458        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5
38459$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; }
38460if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then :
38461  $as_echo_n "(cached) " >&6
38462else
38463  ac_check_lib_save_LIBS=$LIBS
38464LIBS="-lfdata  $LIBS"
38465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38466/* end confdefs.h.  */
38467
38468/* Override any GCC internal prototype to avoid an error.
38469   Use char because int might match the return type of a GCC
38470   builtin and then its argument prototype would still apply.  */
38471#ifdef __cplusplus
38472extern "C"
38473#endif
38474char libfdata_list_append_element_with_mapped_size ();
38475int
38476main ()
38477{
38478return libfdata_list_append_element_with_mapped_size ();
38479  ;
38480  return 0;
38481}
38482_ACEOF
38483if ac_fn_c_try_link "$LINENO"; then :
38484  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes
38485else
38486  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no
38487fi
38488rm -f core conftest.err conftest.$ac_objext \
38489    conftest$ac_exeext conftest.$ac_ext
38490LIBS=$ac_check_lib_save_LIBS
38491fi
38492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5
38493$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; }
38494if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then :
38495  ac_cv_libfdata_dummy=yes
38496else
38497  ac_cv_libfdata=no
38498fi
38499
38500
38501        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5
38502$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; }
38503if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then :
38504  $as_echo_n "(cached) " >&6
38505else
38506  ac_check_lib_save_LIBS=$LIBS
38507LIBS="-lfdata  $LIBS"
38508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38509/* end confdefs.h.  */
38510
38511/* Override any GCC internal prototype to avoid an error.
38512   Use char because int might match the return type of a GCC
38513   builtin and then its argument prototype would still apply.  */
38514#ifdef __cplusplus
38515extern "C"
38516#endif
38517char libfdata_list_get_element_index_at_offset ();
38518int
38519main ()
38520{
38521return libfdata_list_get_element_index_at_offset ();
38522  ;
38523  return 0;
38524}
38525_ACEOF
38526if ac_fn_c_try_link "$LINENO"; then :
38527  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes
38528else
38529  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no
38530fi
38531rm -f core conftest.err conftest.$ac_objext \
38532    conftest$ac_exeext conftest.$ac_ext
38533LIBS=$ac_check_lib_save_LIBS
38534fi
38535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5
38536$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; }
38537if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then :
38538  ac_cv_libfdata_dummy=yes
38539else
38540  ac_cv_libfdata=no
38541fi
38542
38543        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5
38544$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; }
38545if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then :
38546  $as_echo_n "(cached) " >&6
38547else
38548  ac_check_lib_save_LIBS=$LIBS
38549LIBS="-lfdata  $LIBS"
38550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38551/* end confdefs.h.  */
38552
38553/* Override any GCC internal prototype to avoid an error.
38554   Use char because int might match the return type of a GCC
38555   builtin and then its argument prototype would still apply.  */
38556#ifdef __cplusplus
38557extern "C"
38558#endif
38559char libfdata_list_get_list_element_at_offset ();
38560int
38561main ()
38562{
38563return libfdata_list_get_list_element_at_offset ();
38564  ;
38565  return 0;
38566}
38567_ACEOF
38568if ac_fn_c_try_link "$LINENO"; then :
38569  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes
38570else
38571  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no
38572fi
38573rm -f core conftest.err conftest.$ac_objext \
38574    conftest$ac_exeext conftest.$ac_ext
38575LIBS=$ac_check_lib_save_LIBS
38576fi
38577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5
38578$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; }
38579if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then :
38580  ac_cv_libfdata_dummy=yes
38581else
38582  ac_cv_libfdata=no
38583fi
38584
38585        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5
38586$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; }
38587if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then :
38588  $as_echo_n "(cached) " >&6
38589else
38590  ac_check_lib_save_LIBS=$LIBS
38591LIBS="-lfdata  $LIBS"
38592cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593/* end confdefs.h.  */
38594
38595/* Override any GCC internal prototype to avoid an error.
38596   Use char because int might match the return type of a GCC
38597   builtin and then its argument prototype would still apply.  */
38598#ifdef __cplusplus
38599extern "C"
38600#endif
38601char libfdata_list_get_element_at_offset ();
38602int
38603main ()
38604{
38605return libfdata_list_get_element_at_offset ();
38606  ;
38607  return 0;
38608}
38609_ACEOF
38610if ac_fn_c_try_link "$LINENO"; then :
38611  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes
38612else
38613  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no
38614fi
38615rm -f core conftest.err conftest.$ac_objext \
38616    conftest$ac_exeext conftest.$ac_ext
38617LIBS=$ac_check_lib_save_LIBS
38618fi
38619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5
38620$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; }
38621if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then :
38622  ac_cv_libfdata_dummy=yes
38623else
38624  ac_cv_libfdata=no
38625fi
38626
38627
38628        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5
38629$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; }
38630if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then :
38631  $as_echo_n "(cached) " >&6
38632else
38633  ac_check_lib_save_LIBS=$LIBS
38634LIBS="-lfdata  $LIBS"
38635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38636/* end confdefs.h.  */
38637
38638/* Override any GCC internal prototype to avoid an error.
38639   Use char because int might match the return type of a GCC
38640   builtin and then its argument prototype would still apply.  */
38641#ifdef __cplusplus
38642extern "C"
38643#endif
38644char libfdata_list_cache_element_value ();
38645int
38646main ()
38647{
38648return libfdata_list_cache_element_value ();
38649  ;
38650  return 0;
38651}
38652_ACEOF
38653if ac_fn_c_try_link "$LINENO"; then :
38654  ac_cv_lib_fdata_libfdata_list_cache_element_value=yes
38655else
38656  ac_cv_lib_fdata_libfdata_list_cache_element_value=no
38657fi
38658rm -f core conftest.err conftest.$ac_objext \
38659    conftest$ac_exeext conftest.$ac_ext
38660LIBS=$ac_check_lib_save_LIBS
38661fi
38662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5
38663$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; }
38664if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then :
38665  ac_cv_libfdata_dummy=yes
38666else
38667  ac_cv_libfdata=no
38668fi
38669
38670        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5
38671$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; }
38672if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then :
38673  $as_echo_n "(cached) " >&6
38674else
38675  ac_check_lib_save_LIBS=$LIBS
38676LIBS="-lfdata  $LIBS"
38677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38678/* end confdefs.h.  */
38679
38680/* Override any GCC internal prototype to avoid an error.
38681   Use char because int might match the return type of a GCC
38682   builtin and then its argument prototype would still apply.  */
38683#ifdef __cplusplus
38684extern "C"
38685#endif
38686char libfdata_list_get_element_value_by_index ();
38687int
38688main ()
38689{
38690return libfdata_list_get_element_value_by_index ();
38691  ;
38692  return 0;
38693}
38694_ACEOF
38695if ac_fn_c_try_link "$LINENO"; then :
38696  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes
38697else
38698  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no
38699fi
38700rm -f core conftest.err conftest.$ac_objext \
38701    conftest$ac_exeext conftest.$ac_ext
38702LIBS=$ac_check_lib_save_LIBS
38703fi
38704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5
38705$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; }
38706if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then :
38707  ac_cv_libfdata_dummy=yes
38708else
38709  ac_cv_libfdata=no
38710fi
38711
38712        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5
38713$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; }
38714if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then :
38715  $as_echo_n "(cached) " >&6
38716else
38717  ac_check_lib_save_LIBS=$LIBS
38718LIBS="-lfdata  $LIBS"
38719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38720/* end confdefs.h.  */
38721
38722/* Override any GCC internal prototype to avoid an error.
38723   Use char because int might match the return type of a GCC
38724   builtin and then its argument prototype would still apply.  */
38725#ifdef __cplusplus
38726extern "C"
38727#endif
38728char libfdata_list_get_element_value_at_offset ();
38729int
38730main ()
38731{
38732return libfdata_list_get_element_value_at_offset ();
38733  ;
38734  return 0;
38735}
38736_ACEOF
38737if ac_fn_c_try_link "$LINENO"; then :
38738  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes
38739else
38740  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no
38741fi
38742rm -f core conftest.err conftest.$ac_objext \
38743    conftest$ac_exeext conftest.$ac_ext
38744LIBS=$ac_check_lib_save_LIBS
38745fi
38746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5
38747$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; }
38748if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then :
38749  ac_cv_libfdata_dummy=yes
38750else
38751  ac_cv_libfdata=no
38752fi
38753
38754        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5
38755$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; }
38756if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then :
38757  $as_echo_n "(cached) " >&6
38758else
38759  ac_check_lib_save_LIBS=$LIBS
38760LIBS="-lfdata  $LIBS"
38761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38762/* end confdefs.h.  */
38763
38764/* Override any GCC internal prototype to avoid an error.
38765   Use char because int might match the return type of a GCC
38766   builtin and then its argument prototype would still apply.  */
38767#ifdef __cplusplus
38768extern "C"
38769#endif
38770char libfdata_list_set_element_value_by_index ();
38771int
38772main ()
38773{
38774return libfdata_list_set_element_value_by_index ();
38775  ;
38776  return 0;
38777}
38778_ACEOF
38779if ac_fn_c_try_link "$LINENO"; then :
38780  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes
38781else
38782  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no
38783fi
38784rm -f core conftest.err conftest.$ac_objext \
38785    conftest$ac_exeext conftest.$ac_ext
38786LIBS=$ac_check_lib_save_LIBS
38787fi
38788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5
38789$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; }
38790if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then :
38791  ac_cv_libfdata_dummy=yes
38792else
38793  ac_cv_libfdata=no
38794fi
38795
38796
38797        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5
38798$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; }
38799if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then :
38800  $as_echo_n "(cached) " >&6
38801else
38802  ac_check_lib_save_LIBS=$LIBS
38803LIBS="-lfdata  $LIBS"
38804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38805/* end confdefs.h.  */
38806
38807/* Override any GCC internal prototype to avoid an error.
38808   Use char because int might match the return type of a GCC
38809   builtin and then its argument prototype would still apply.  */
38810#ifdef __cplusplus
38811extern "C"
38812#endif
38813char libfdata_list_set_element_value_at_offset ();
38814int
38815main ()
38816{
38817return libfdata_list_set_element_value_at_offset ();
38818  ;
38819  return 0;
38820}
38821_ACEOF
38822if ac_fn_c_try_link "$LINENO"; then :
38823  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes
38824else
38825  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no
38826fi
38827rm -f core conftest.err conftest.$ac_objext \
38828    conftest$ac_exeext conftest.$ac_ext
38829LIBS=$ac_check_lib_save_LIBS
38830fi
38831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5
38832$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; }
38833if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then :
38834  ac_cv_libfdata_dummy=yes
38835else
38836  ac_cv_libfdata=no
38837fi
38838
38839        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5
38840$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; }
38841if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then :
38842  $as_echo_n "(cached) " >&6
38843else
38844  ac_check_lib_save_LIBS=$LIBS
38845LIBS="-lfdata  $LIBS"
38846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38847/* end confdefs.h.  */
38848
38849/* Override any GCC internal prototype to avoid an error.
38850   Use char because int might match the return type of a GCC
38851   builtin and then its argument prototype would still apply.  */
38852#ifdef __cplusplus
38853extern "C"
38854#endif
38855char libfdata_list_get_size ();
38856int
38857main ()
38858{
38859return libfdata_list_get_size ();
38860  ;
38861  return 0;
38862}
38863_ACEOF
38864if ac_fn_c_try_link "$LINENO"; then :
38865  ac_cv_lib_fdata_libfdata_list_get_size=yes
38866else
38867  ac_cv_lib_fdata_libfdata_list_get_size=no
38868fi
38869rm -f core conftest.err conftest.$ac_objext \
38870    conftest$ac_exeext conftest.$ac_ext
38871LIBS=$ac_check_lib_save_LIBS
38872fi
38873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5
38874$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; }
38875if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then :
38876  ac_cv_libfdata_dummy=yes
38877else
38878  ac_cv_libfdata=no
38879fi
38880
38881
38882        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
38883$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
38884if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
38885  $as_echo_n "(cached) " >&6
38886else
38887  ac_check_lib_save_LIBS=$LIBS
38888LIBS="-lfdata  $LIBS"
38889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38890/* end confdefs.h.  */
38891
38892/* Override any GCC internal prototype to avoid an error.
38893   Use char because int might match the return type of a GCC
38894   builtin and then its argument prototype would still apply.  */
38895#ifdef __cplusplus
38896extern "C"
38897#endif
38898char libfdata_list_element_get_mapped_size ();
38899int
38900main ()
38901{
38902return libfdata_list_element_get_mapped_size ();
38903  ;
38904  return 0;
38905}
38906_ACEOF
38907if ac_fn_c_try_link "$LINENO"; then :
38908  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
38909else
38910  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
38911fi
38912rm -f core conftest.err conftest.$ac_objext \
38913    conftest$ac_exeext conftest.$ac_ext
38914LIBS=$ac_check_lib_save_LIBS
38915fi
38916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
38917$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
38918if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
38919  ac_cv_libfdata_dummy=yes
38920else
38921  ac_cv_libfdata=no
38922fi
38923
38924        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
38925$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
38926if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
38927  $as_echo_n "(cached) " >&6
38928else
38929  ac_check_lib_save_LIBS=$LIBS
38930LIBS="-lfdata  $LIBS"
38931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38932/* end confdefs.h.  */
38933
38934/* Override any GCC internal prototype to avoid an error.
38935   Use char because int might match the return type of a GCC
38936   builtin and then its argument prototype would still apply.  */
38937#ifdef __cplusplus
38938extern "C"
38939#endif
38940char libfdata_list_element_set_mapped_size ();
38941int
38942main ()
38943{
38944return libfdata_list_element_set_mapped_size ();
38945  ;
38946  return 0;
38947}
38948_ACEOF
38949if ac_fn_c_try_link "$LINENO"; then :
38950  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
38951else
38952  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
38953fi
38954rm -f core conftest.err conftest.$ac_objext \
38955    conftest$ac_exeext conftest.$ac_ext
38956LIBS=$ac_check_lib_save_LIBS
38957fi
38958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
38959$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
38960if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
38961  ac_cv_libfdata_dummy=yes
38962else
38963  ac_cv_libfdata=no
38964fi
38965
38966        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
38967$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
38968if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
38969  $as_echo_n "(cached) " >&6
38970else
38971  ac_check_lib_save_LIBS=$LIBS
38972LIBS="-lfdata  $LIBS"
38973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38974/* end confdefs.h.  */
38975
38976/* Override any GCC internal prototype to avoid an error.
38977   Use char because int might match the return type of a GCC
38978   builtin and then its argument prototype would still apply.  */
38979#ifdef __cplusplus
38980extern "C"
38981#endif
38982char libfdata_list_element_get_element_value ();
38983int
38984main ()
38985{
38986return libfdata_list_element_get_element_value ();
38987  ;
38988  return 0;
38989}
38990_ACEOF
38991if ac_fn_c_try_link "$LINENO"; then :
38992  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
38993else
38994  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
38995fi
38996rm -f core conftest.err conftest.$ac_objext \
38997    conftest$ac_exeext conftest.$ac_ext
38998LIBS=$ac_check_lib_save_LIBS
38999fi
39000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
39001$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
39002if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
39003  ac_cv_libfdata_dummy=yes
39004else
39005  ac_cv_libfdata=no
39006fi
39007
39008        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
39009$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
39010if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
39011  $as_echo_n "(cached) " >&6
39012else
39013  ac_check_lib_save_LIBS=$LIBS
39014LIBS="-lfdata  $LIBS"
39015cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39016/* end confdefs.h.  */
39017
39018/* Override any GCC internal prototype to avoid an error.
39019   Use char because int might match the return type of a GCC
39020   builtin and then its argument prototype would still apply.  */
39021#ifdef __cplusplus
39022extern "C"
39023#endif
39024char libfdata_list_element_set_element_value ();
39025int
39026main ()
39027{
39028return libfdata_list_element_set_element_value ();
39029  ;
39030  return 0;
39031}
39032_ACEOF
39033if ac_fn_c_try_link "$LINENO"; then :
39034  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
39035else
39036  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
39037fi
39038rm -f core conftest.err conftest.$ac_objext \
39039    conftest$ac_exeext conftest.$ac_ext
39040LIBS=$ac_check_lib_save_LIBS
39041fi
39042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
39043$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
39044if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
39045  ac_cv_libfdata_dummy=yes
39046else
39047  ac_cv_libfdata=no
39048fi
39049
39050
39051                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
39052$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
39053if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
39054  $as_echo_n "(cached) " >&6
39055else
39056  ac_check_lib_save_LIBS=$LIBS
39057LIBS="-lfdata  $LIBS"
39058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39059/* end confdefs.h.  */
39060
39061/* Override any GCC internal prototype to avoid an error.
39062   Use char because int might match the return type of a GCC
39063   builtin and then its argument prototype would still apply.  */
39064#ifdef __cplusplus
39065extern "C"
39066#endif
39067char libfdata_list_element_get_mapped_size ();
39068int
39069main ()
39070{
39071return libfdata_list_element_get_mapped_size ();
39072  ;
39073  return 0;
39074}
39075_ACEOF
39076if ac_fn_c_try_link "$LINENO"; then :
39077  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
39078else
39079  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
39080fi
39081rm -f core conftest.err conftest.$ac_objext \
39082    conftest$ac_exeext conftest.$ac_ext
39083LIBS=$ac_check_lib_save_LIBS
39084fi
39085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
39086$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
39087if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
39088  ac_cv_libfdata_dummy=yes
39089else
39090  ac_cv_libfdata=no
39091fi
39092
39093        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
39094$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
39095if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
39096  $as_echo_n "(cached) " >&6
39097else
39098  ac_check_lib_save_LIBS=$LIBS
39099LIBS="-lfdata  $LIBS"
39100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39101/* end confdefs.h.  */
39102
39103/* Override any GCC internal prototype to avoid an error.
39104   Use char because int might match the return type of a GCC
39105   builtin and then its argument prototype would still apply.  */
39106#ifdef __cplusplus
39107extern "C"
39108#endif
39109char libfdata_list_element_set_mapped_size ();
39110int
39111main ()
39112{
39113return libfdata_list_element_set_mapped_size ();
39114  ;
39115  return 0;
39116}
39117_ACEOF
39118if ac_fn_c_try_link "$LINENO"; then :
39119  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
39120else
39121  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
39122fi
39123rm -f core conftest.err conftest.$ac_objext \
39124    conftest$ac_exeext conftest.$ac_ext
39125LIBS=$ac_check_lib_save_LIBS
39126fi
39127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
39128$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
39129if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
39130  ac_cv_libfdata_dummy=yes
39131else
39132  ac_cv_libfdata=no
39133fi
39134
39135        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
39136$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
39137if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
39138  $as_echo_n "(cached) " >&6
39139else
39140  ac_check_lib_save_LIBS=$LIBS
39141LIBS="-lfdata  $LIBS"
39142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39143/* end confdefs.h.  */
39144
39145/* Override any GCC internal prototype to avoid an error.
39146   Use char because int might match the return type of a GCC
39147   builtin and then its argument prototype would still apply.  */
39148#ifdef __cplusplus
39149extern "C"
39150#endif
39151char libfdata_list_element_get_element_value ();
39152int
39153main ()
39154{
39155return libfdata_list_element_get_element_value ();
39156  ;
39157  return 0;
39158}
39159_ACEOF
39160if ac_fn_c_try_link "$LINENO"; then :
39161  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
39162else
39163  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
39164fi
39165rm -f core conftest.err conftest.$ac_objext \
39166    conftest$ac_exeext conftest.$ac_ext
39167LIBS=$ac_check_lib_save_LIBS
39168fi
39169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
39170$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
39171if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
39172  ac_cv_libfdata_dummy=yes
39173else
39174  ac_cv_libfdata=no
39175fi
39176
39177        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
39178$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
39179if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
39180  $as_echo_n "(cached) " >&6
39181else
39182  ac_check_lib_save_LIBS=$LIBS
39183LIBS="-lfdata  $LIBS"
39184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185/* end confdefs.h.  */
39186
39187/* Override any GCC internal prototype to avoid an error.
39188   Use char because int might match the return type of a GCC
39189   builtin and then its argument prototype would still apply.  */
39190#ifdef __cplusplus
39191extern "C"
39192#endif
39193char libfdata_list_element_set_element_value ();
39194int
39195main ()
39196{
39197return libfdata_list_element_set_element_value ();
39198  ;
39199  return 0;
39200}
39201_ACEOF
39202if ac_fn_c_try_link "$LINENO"; then :
39203  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
39204else
39205  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
39206fi
39207rm -f core conftest.err conftest.$ac_objext \
39208    conftest$ac_exeext conftest.$ac_ext
39209LIBS=$ac_check_lib_save_LIBS
39210fi
39211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
39212$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
39213if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
39214  ac_cv_libfdata_dummy=yes
39215else
39216  ac_cv_libfdata=no
39217fi
39218
39219
39220
39221                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5
39222$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; }
39223if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then :
39224  $as_echo_n "(cached) " >&6
39225else
39226  ac_check_lib_save_LIBS=$LIBS
39227LIBS="-lfdata  $LIBS"
39228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39229/* end confdefs.h.  */
39230
39231/* Override any GCC internal prototype to avoid an error.
39232   Use char because int might match the return type of a GCC
39233   builtin and then its argument prototype would still apply.  */
39234#ifdef __cplusplus
39235extern "C"
39236#endif
39237char libfdata_stream_initialize ();
39238int
39239main ()
39240{
39241return libfdata_stream_initialize ();
39242  ;
39243  return 0;
39244}
39245_ACEOF
39246if ac_fn_c_try_link "$LINENO"; then :
39247  ac_cv_lib_fdata_libfdata_stream_initialize=yes
39248else
39249  ac_cv_lib_fdata_libfdata_stream_initialize=no
39250fi
39251rm -f core conftest.err conftest.$ac_objext \
39252    conftest$ac_exeext conftest.$ac_ext
39253LIBS=$ac_check_lib_save_LIBS
39254fi
39255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5
39256$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; }
39257if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then :
39258  ac_cv_libfdata_dummy=yes
39259else
39260  ac_cv_libfdata=no
39261fi
39262
39263        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5
39264$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; }
39265if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then :
39266  $as_echo_n "(cached) " >&6
39267else
39268  ac_check_lib_save_LIBS=$LIBS
39269LIBS="-lfdata  $LIBS"
39270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39271/* end confdefs.h.  */
39272
39273/* Override any GCC internal prototype to avoid an error.
39274   Use char because int might match the return type of a GCC
39275   builtin and then its argument prototype would still apply.  */
39276#ifdef __cplusplus
39277extern "C"
39278#endif
39279char libfdata_stream_free ();
39280int
39281main ()
39282{
39283return libfdata_stream_free ();
39284  ;
39285  return 0;
39286}
39287_ACEOF
39288if ac_fn_c_try_link "$LINENO"; then :
39289  ac_cv_lib_fdata_libfdata_stream_free=yes
39290else
39291  ac_cv_lib_fdata_libfdata_stream_free=no
39292fi
39293rm -f core conftest.err conftest.$ac_objext \
39294    conftest$ac_exeext conftest.$ac_ext
39295LIBS=$ac_check_lib_save_LIBS
39296fi
39297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5
39298$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; }
39299if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then :
39300  ac_cv_libfdata_dummy=yes
39301else
39302  ac_cv_libfdata=no
39303fi
39304
39305        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5
39306$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; }
39307if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then :
39308  $as_echo_n "(cached) " >&6
39309else
39310  ac_check_lib_save_LIBS=$LIBS
39311LIBS="-lfdata  $LIBS"
39312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39313/* end confdefs.h.  */
39314
39315/* Override any GCC internal prototype to avoid an error.
39316   Use char because int might match the return type of a GCC
39317   builtin and then its argument prototype would still apply.  */
39318#ifdef __cplusplus
39319extern "C"
39320#endif
39321char libfdata_stream_clone ();
39322int
39323main ()
39324{
39325return libfdata_stream_clone ();
39326  ;
39327  return 0;
39328}
39329_ACEOF
39330if ac_fn_c_try_link "$LINENO"; then :
39331  ac_cv_lib_fdata_libfdata_stream_clone=yes
39332else
39333  ac_cv_lib_fdata_libfdata_stream_clone=no
39334fi
39335rm -f core conftest.err conftest.$ac_objext \
39336    conftest$ac_exeext conftest.$ac_ext
39337LIBS=$ac_check_lib_save_LIBS
39338fi
39339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5
39340$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; }
39341if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then :
39342  ac_cv_libfdata_dummy=yes
39343else
39344  ac_cv_libfdata=no
39345fi
39346
39347
39348        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5
39349$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; }
39350if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then :
39351  $as_echo_n "(cached) " >&6
39352else
39353  ac_check_lib_save_LIBS=$LIBS
39354LIBS="-lfdata  $LIBS"
39355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356/* end confdefs.h.  */
39357
39358/* Override any GCC internal prototype to avoid an error.
39359   Use char because int might match the return type of a GCC
39360   builtin and then its argument prototype would still apply.  */
39361#ifdef __cplusplus
39362extern "C"
39363#endif
39364char libfdata_stream_empty ();
39365int
39366main ()
39367{
39368return libfdata_stream_empty ();
39369  ;
39370  return 0;
39371}
39372_ACEOF
39373if ac_fn_c_try_link "$LINENO"; then :
39374  ac_cv_lib_fdata_libfdata_stream_empty=yes
39375else
39376  ac_cv_lib_fdata_libfdata_stream_empty=no
39377fi
39378rm -f core conftest.err conftest.$ac_objext \
39379    conftest$ac_exeext conftest.$ac_ext
39380LIBS=$ac_check_lib_save_LIBS
39381fi
39382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5
39383$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; }
39384if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then :
39385  ac_cv_libfdata_dummy=yes
39386else
39387  ac_cv_libfdata=no
39388fi
39389
39390        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5
39391$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; }
39392if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then :
39393  $as_echo_n "(cached) " >&6
39394else
39395  ac_check_lib_save_LIBS=$LIBS
39396LIBS="-lfdata  $LIBS"
39397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39398/* end confdefs.h.  */
39399
39400/* Override any GCC internal prototype to avoid an error.
39401   Use char because int might match the return type of a GCC
39402   builtin and then its argument prototype would still apply.  */
39403#ifdef __cplusplus
39404extern "C"
39405#endif
39406char libfdata_stream_resize ();
39407int
39408main ()
39409{
39410return libfdata_stream_resize ();
39411  ;
39412  return 0;
39413}
39414_ACEOF
39415if ac_fn_c_try_link "$LINENO"; then :
39416  ac_cv_lib_fdata_libfdata_stream_resize=yes
39417else
39418  ac_cv_lib_fdata_libfdata_stream_resize=no
39419fi
39420rm -f core conftest.err conftest.$ac_objext \
39421    conftest$ac_exeext conftest.$ac_ext
39422LIBS=$ac_check_lib_save_LIBS
39423fi
39424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5
39425$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; }
39426if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then :
39427  ac_cv_libfdata_dummy=yes
39428else
39429  ac_cv_libfdata=no
39430fi
39431
39432        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5
39433$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; }
39434if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then :
39435  $as_echo_n "(cached) " >&6
39436else
39437  ac_check_lib_save_LIBS=$LIBS
39438LIBS="-lfdata  $LIBS"
39439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39440/* end confdefs.h.  */
39441
39442/* Override any GCC internal prototype to avoid an error.
39443   Use char because int might match the return type of a GCC
39444   builtin and then its argument prototype would still apply.  */
39445#ifdef __cplusplus
39446extern "C"
39447#endif
39448char libfdata_stream_reverse ();
39449int
39450main ()
39451{
39452return libfdata_stream_reverse ();
39453  ;
39454  return 0;
39455}
39456_ACEOF
39457if ac_fn_c_try_link "$LINENO"; then :
39458  ac_cv_lib_fdata_libfdata_stream_reverse=yes
39459else
39460  ac_cv_lib_fdata_libfdata_stream_reverse=no
39461fi
39462rm -f core conftest.err conftest.$ac_objext \
39463    conftest$ac_exeext conftest.$ac_ext
39464LIBS=$ac_check_lib_save_LIBS
39465fi
39466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5
39467$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; }
39468if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then :
39469  ac_cv_libfdata_dummy=yes
39470else
39471  ac_cv_libfdata=no
39472fi
39473
39474
39475        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5
39476$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; }
39477if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then :
39478  $as_echo_n "(cached) " >&6
39479else
39480  ac_check_lib_save_LIBS=$LIBS
39481LIBS="-lfdata  $LIBS"
39482cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39483/* end confdefs.h.  */
39484
39485/* Override any GCC internal prototype to avoid an error.
39486   Use char because int might match the return type of a GCC
39487   builtin and then its argument prototype would still apply.  */
39488#ifdef __cplusplus
39489extern "C"
39490#endif
39491char libfdata_stream_get_number_of_segments ();
39492int
39493main ()
39494{
39495return libfdata_stream_get_number_of_segments ();
39496  ;
39497  return 0;
39498}
39499_ACEOF
39500if ac_fn_c_try_link "$LINENO"; then :
39501  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes
39502else
39503  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no
39504fi
39505rm -f core conftest.err conftest.$ac_objext \
39506    conftest$ac_exeext conftest.$ac_ext
39507LIBS=$ac_check_lib_save_LIBS
39508fi
39509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5
39510$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; }
39511if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then :
39512  ac_cv_libfdata_dummy=yes
39513else
39514  ac_cv_libfdata=no
39515fi
39516
39517        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5
39518$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; }
39519if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then :
39520  $as_echo_n "(cached) " >&6
39521else
39522  ac_check_lib_save_LIBS=$LIBS
39523LIBS="-lfdata  $LIBS"
39524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39525/* end confdefs.h.  */
39526
39527/* Override any GCC internal prototype to avoid an error.
39528   Use char because int might match the return type of a GCC
39529   builtin and then its argument prototype would still apply.  */
39530#ifdef __cplusplus
39531extern "C"
39532#endif
39533char libfdata_stream_get_segment_by_index ();
39534int
39535main ()
39536{
39537return libfdata_stream_get_segment_by_index ();
39538  ;
39539  return 0;
39540}
39541_ACEOF
39542if ac_fn_c_try_link "$LINENO"; then :
39543  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes
39544else
39545  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no
39546fi
39547rm -f core conftest.err conftest.$ac_objext \
39548    conftest$ac_exeext conftest.$ac_ext
39549LIBS=$ac_check_lib_save_LIBS
39550fi
39551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5
39552$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; }
39553if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then :
39554  ac_cv_libfdata_dummy=yes
39555else
39556  ac_cv_libfdata=no
39557fi
39558
39559        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5
39560$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; }
39561if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then :
39562  $as_echo_n "(cached) " >&6
39563else
39564  ac_check_lib_save_LIBS=$LIBS
39565LIBS="-lfdata  $LIBS"
39566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567/* end confdefs.h.  */
39568
39569/* Override any GCC internal prototype to avoid an error.
39570   Use char because int might match the return type of a GCC
39571   builtin and then its argument prototype would still apply.  */
39572#ifdef __cplusplus
39573extern "C"
39574#endif
39575char libfdata_stream_set_segment_by_index ();
39576int
39577main ()
39578{
39579return libfdata_stream_set_segment_by_index ();
39580  ;
39581  return 0;
39582}
39583_ACEOF
39584if ac_fn_c_try_link "$LINENO"; then :
39585  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes
39586else
39587  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no
39588fi
39589rm -f core conftest.err conftest.$ac_objext \
39590    conftest$ac_exeext conftest.$ac_ext
39591LIBS=$ac_check_lib_save_LIBS
39592fi
39593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5
39594$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; }
39595if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then :
39596  ac_cv_libfdata_dummy=yes
39597else
39598  ac_cv_libfdata=no
39599fi
39600
39601        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5
39602$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; }
39603if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then :
39604  $as_echo_n "(cached) " >&6
39605else
39606  ac_check_lib_save_LIBS=$LIBS
39607LIBS="-lfdata  $LIBS"
39608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39609/* end confdefs.h.  */
39610
39611/* Override any GCC internal prototype to avoid an error.
39612   Use char because int might match the return type of a GCC
39613   builtin and then its argument prototype would still apply.  */
39614#ifdef __cplusplus
39615extern "C"
39616#endif
39617char libfdata_stream_prepend_segment ();
39618int
39619main ()
39620{
39621return libfdata_stream_prepend_segment ();
39622  ;
39623  return 0;
39624}
39625_ACEOF
39626if ac_fn_c_try_link "$LINENO"; then :
39627  ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes
39628else
39629  ac_cv_lib_fdata_libfdata_stream_prepend_segment=no
39630fi
39631rm -f core conftest.err conftest.$ac_objext \
39632    conftest$ac_exeext conftest.$ac_ext
39633LIBS=$ac_check_lib_save_LIBS
39634fi
39635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5
39636$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; }
39637if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then :
39638  ac_cv_libfdata_dummy=yes
39639else
39640  ac_cv_libfdata=no
39641fi
39642
39643        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5
39644$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; }
39645if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then :
39646  $as_echo_n "(cached) " >&6
39647else
39648  ac_check_lib_save_LIBS=$LIBS
39649LIBS="-lfdata  $LIBS"
39650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651/* end confdefs.h.  */
39652
39653/* Override any GCC internal prototype to avoid an error.
39654   Use char because int might match the return type of a GCC
39655   builtin and then its argument prototype would still apply.  */
39656#ifdef __cplusplus
39657extern "C"
39658#endif
39659char libfdata_stream_append_segment ();
39660int
39661main ()
39662{
39663return libfdata_stream_append_segment ();
39664  ;
39665  return 0;
39666}
39667_ACEOF
39668if ac_fn_c_try_link "$LINENO"; then :
39669  ac_cv_lib_fdata_libfdata_stream_append_segment=yes
39670else
39671  ac_cv_lib_fdata_libfdata_stream_append_segment=no
39672fi
39673rm -f core conftest.err conftest.$ac_objext \
39674    conftest$ac_exeext conftest.$ac_ext
39675LIBS=$ac_check_lib_save_LIBS
39676fi
39677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5
39678$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; }
39679if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then :
39680  ac_cv_libfdata_dummy=yes
39681else
39682  ac_cv_libfdata=no
39683fi
39684
39685        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5
39686$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; }
39687if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then :
39688  $as_echo_n "(cached) " >&6
39689else
39690  ac_check_lib_save_LIBS=$LIBS
39691LIBS="-lfdata  $LIBS"
39692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39693/* end confdefs.h.  */
39694
39695/* Override any GCC internal prototype to avoid an error.
39696   Use char because int might match the return type of a GCC
39697   builtin and then its argument prototype would still apply.  */
39698#ifdef __cplusplus
39699extern "C"
39700#endif
39701char libfdata_stream_set_mapped_size ();
39702int
39703main ()
39704{
39705return libfdata_stream_set_mapped_size ();
39706  ;
39707  return 0;
39708}
39709_ACEOF
39710if ac_fn_c_try_link "$LINENO"; then :
39711  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes
39712else
39713  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no
39714fi
39715rm -f core conftest.err conftest.$ac_objext \
39716    conftest$ac_exeext conftest.$ac_ext
39717LIBS=$ac_check_lib_save_LIBS
39718fi
39719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5
39720$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; }
39721if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then :
39722  ac_cv_libfdata_dummy=yes
39723else
39724  ac_cv_libfdata=no
39725fi
39726
39727
39728        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5
39729$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; }
39730if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then :
39731  $as_echo_n "(cached) " >&6
39732else
39733  ac_check_lib_save_LIBS=$LIBS
39734LIBS="-lfdata  $LIBS"
39735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39736/* end confdefs.h.  */
39737
39738/* Override any GCC internal prototype to avoid an error.
39739   Use char because int might match the return type of a GCC
39740   builtin and then its argument prototype would still apply.  */
39741#ifdef __cplusplus
39742extern "C"
39743#endif
39744char libfdata_stream_get_segment_mapped_range ();
39745int
39746main ()
39747{
39748return libfdata_stream_get_segment_mapped_range ();
39749  ;
39750  return 0;
39751}
39752_ACEOF
39753if ac_fn_c_try_link "$LINENO"; then :
39754  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes
39755else
39756  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no
39757fi
39758rm -f core conftest.err conftest.$ac_objext \
39759    conftest$ac_exeext conftest.$ac_ext
39760LIBS=$ac_check_lib_save_LIBS
39761fi
39762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5
39763$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; }
39764if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then :
39765  ac_cv_libfdata_dummy=yes
39766else
39767  ac_cv_libfdata=no
39768fi
39769
39770        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5
39771$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; }
39772if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then :
39773  $as_echo_n "(cached) " >&6
39774else
39775  ac_check_lib_save_LIBS=$LIBS
39776LIBS="-lfdata  $LIBS"
39777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778/* end confdefs.h.  */
39779
39780/* Override any GCC internal prototype to avoid an error.
39781   Use char because int might match the return type of a GCC
39782   builtin and then its argument prototype would still apply.  */
39783#ifdef __cplusplus
39784extern "C"
39785#endif
39786char libfdata_stream_get_segment_index_at_offset ();
39787int
39788main ()
39789{
39790return libfdata_stream_get_segment_index_at_offset ();
39791  ;
39792  return 0;
39793}
39794_ACEOF
39795if ac_fn_c_try_link "$LINENO"; then :
39796  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes
39797else
39798  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no
39799fi
39800rm -f core conftest.err conftest.$ac_objext \
39801    conftest$ac_exeext conftest.$ac_ext
39802LIBS=$ac_check_lib_save_LIBS
39803fi
39804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5
39805$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; }
39806if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then :
39807  ac_cv_libfdata_dummy=yes
39808else
39809  ac_cv_libfdata=no
39810fi
39811
39812        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5
39813$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; }
39814if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then :
39815  $as_echo_n "(cached) " >&6
39816else
39817  ac_check_lib_save_LIBS=$LIBS
39818LIBS="-lfdata  $LIBS"
39819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39820/* end confdefs.h.  */
39821
39822/* Override any GCC internal prototype to avoid an error.
39823   Use char because int might match the return type of a GCC
39824   builtin and then its argument prototype would still apply.  */
39825#ifdef __cplusplus
39826extern "C"
39827#endif
39828char libfdata_stream_get_segment_at_offset ();
39829int
39830main ()
39831{
39832return libfdata_stream_get_segment_at_offset ();
39833  ;
39834  return 0;
39835}
39836_ACEOF
39837if ac_fn_c_try_link "$LINENO"; then :
39838  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes
39839else
39840  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no
39841fi
39842rm -f core conftest.err conftest.$ac_objext \
39843    conftest$ac_exeext conftest.$ac_ext
39844LIBS=$ac_check_lib_save_LIBS
39845fi
39846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5
39847$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; }
39848if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then :
39849  ac_cv_libfdata_dummy=yes
39850else
39851  ac_cv_libfdata=no
39852fi
39853
39854
39855        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5
39856$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; }
39857if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then :
39858  $as_echo_n "(cached) " >&6
39859else
39860  ac_check_lib_save_LIBS=$LIBS
39861LIBS="-lfdata  $LIBS"
39862cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39863/* end confdefs.h.  */
39864
39865/* Override any GCC internal prototype to avoid an error.
39866   Use char because int might match the return type of a GCC
39867   builtin and then its argument prototype would still apply.  */
39868#ifdef __cplusplus
39869extern "C"
39870#endif
39871char libfdata_stream_read_buffer ();
39872int
39873main ()
39874{
39875return libfdata_stream_read_buffer ();
39876  ;
39877  return 0;
39878}
39879_ACEOF
39880if ac_fn_c_try_link "$LINENO"; then :
39881  ac_cv_lib_fdata_libfdata_stream_read_buffer=yes
39882else
39883  ac_cv_lib_fdata_libfdata_stream_read_buffer=no
39884fi
39885rm -f core conftest.err conftest.$ac_objext \
39886    conftest$ac_exeext conftest.$ac_ext
39887LIBS=$ac_check_lib_save_LIBS
39888fi
39889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5
39890$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; }
39891if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then :
39892  ac_cv_libfdata_dummy=yes
39893else
39894  ac_cv_libfdata=no
39895fi
39896
39897        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5
39898$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; }
39899if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then :
39900  $as_echo_n "(cached) " >&6
39901else
39902  ac_check_lib_save_LIBS=$LIBS
39903LIBS="-lfdata  $LIBS"
39904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39905/* end confdefs.h.  */
39906
39907/* Override any GCC internal prototype to avoid an error.
39908   Use char because int might match the return type of a GCC
39909   builtin and then its argument prototype would still apply.  */
39910#ifdef __cplusplus
39911extern "C"
39912#endif
39913char libfdata_stream_read_buffer_at_offset ();
39914int
39915main ()
39916{
39917return libfdata_stream_read_buffer_at_offset ();
39918  ;
39919  return 0;
39920}
39921_ACEOF
39922if ac_fn_c_try_link "$LINENO"; then :
39923  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes
39924else
39925  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no
39926fi
39927rm -f core conftest.err conftest.$ac_objext \
39928    conftest$ac_exeext conftest.$ac_ext
39929LIBS=$ac_check_lib_save_LIBS
39930fi
39931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5
39932$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; }
39933if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then :
39934  ac_cv_libfdata_dummy=yes
39935else
39936  ac_cv_libfdata=no
39937fi
39938
39939        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5
39940$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; }
39941if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then :
39942  $as_echo_n "(cached) " >&6
39943else
39944  ac_check_lib_save_LIBS=$LIBS
39945LIBS="-lfdata  $LIBS"
39946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947/* end confdefs.h.  */
39948
39949/* Override any GCC internal prototype to avoid an error.
39950   Use char because int might match the return type of a GCC
39951   builtin and then its argument prototype would still apply.  */
39952#ifdef __cplusplus
39953extern "C"
39954#endif
39955char libfdata_stream_write_buffer ();
39956int
39957main ()
39958{
39959return libfdata_stream_write_buffer ();
39960  ;
39961  return 0;
39962}
39963_ACEOF
39964if ac_fn_c_try_link "$LINENO"; then :
39965  ac_cv_lib_fdata_libfdata_stream_write_buffer=yes
39966else
39967  ac_cv_lib_fdata_libfdata_stream_write_buffer=no
39968fi
39969rm -f core conftest.err conftest.$ac_objext \
39970    conftest$ac_exeext conftest.$ac_ext
39971LIBS=$ac_check_lib_save_LIBS
39972fi
39973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5
39974$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; }
39975if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then :
39976  ac_cv_libfdata_dummy=yes
39977else
39978  ac_cv_libfdata=no
39979fi
39980
39981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5
39982$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; }
39983if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then :
39984  $as_echo_n "(cached) " >&6
39985else
39986  ac_check_lib_save_LIBS=$LIBS
39987LIBS="-lfdata  $LIBS"
39988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39989/* end confdefs.h.  */
39990
39991/* Override any GCC internal prototype to avoid an error.
39992   Use char because int might match the return type of a GCC
39993   builtin and then its argument prototype would still apply.  */
39994#ifdef __cplusplus
39995extern "C"
39996#endif
39997char libfdata_stream_seek_offset ();
39998int
39999main ()
40000{
40001return libfdata_stream_seek_offset ();
40002  ;
40003  return 0;
40004}
40005_ACEOF
40006if ac_fn_c_try_link "$LINENO"; then :
40007  ac_cv_lib_fdata_libfdata_stream_seek_offset=yes
40008else
40009  ac_cv_lib_fdata_libfdata_stream_seek_offset=no
40010fi
40011rm -f core conftest.err conftest.$ac_objext \
40012    conftest$ac_exeext conftest.$ac_ext
40013LIBS=$ac_check_lib_save_LIBS
40014fi
40015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5
40016$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; }
40017if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then :
40018  ac_cv_libfdata_dummy=yes
40019else
40020  ac_cv_libfdata=no
40021fi
40022
40023        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5
40024$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; }
40025if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then :
40026  $as_echo_n "(cached) " >&6
40027else
40028  ac_check_lib_save_LIBS=$LIBS
40029LIBS="-lfdata  $LIBS"
40030cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031/* end confdefs.h.  */
40032
40033/* Override any GCC internal prototype to avoid an error.
40034   Use char because int might match the return type of a GCC
40035   builtin and then its argument prototype would still apply.  */
40036#ifdef __cplusplus
40037extern "C"
40038#endif
40039char libfdata_stream_get_offset ();
40040int
40041main ()
40042{
40043return libfdata_stream_get_offset ();
40044  ;
40045  return 0;
40046}
40047_ACEOF
40048if ac_fn_c_try_link "$LINENO"; then :
40049  ac_cv_lib_fdata_libfdata_stream_get_offset=yes
40050else
40051  ac_cv_lib_fdata_libfdata_stream_get_offset=no
40052fi
40053rm -f core conftest.err conftest.$ac_objext \
40054    conftest$ac_exeext conftest.$ac_ext
40055LIBS=$ac_check_lib_save_LIBS
40056fi
40057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5
40058$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; }
40059if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then :
40060  ac_cv_libfdata_dummy=yes
40061else
40062  ac_cv_libfdata=no
40063fi
40064
40065        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5
40066$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; }
40067if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then :
40068  $as_echo_n "(cached) " >&6
40069else
40070  ac_check_lib_save_LIBS=$LIBS
40071LIBS="-lfdata  $LIBS"
40072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40073/* end confdefs.h.  */
40074
40075/* Override any GCC internal prototype to avoid an error.
40076   Use char because int might match the return type of a GCC
40077   builtin and then its argument prototype would still apply.  */
40078#ifdef __cplusplus
40079extern "C"
40080#endif
40081char libfdata_stream_get_size ();
40082int
40083main ()
40084{
40085return libfdata_stream_get_size ();
40086  ;
40087  return 0;
40088}
40089_ACEOF
40090if ac_fn_c_try_link "$LINENO"; then :
40091  ac_cv_lib_fdata_libfdata_stream_get_size=yes
40092else
40093  ac_cv_lib_fdata_libfdata_stream_get_size=no
40094fi
40095rm -f core conftest.err conftest.$ac_objext \
40096    conftest$ac_exeext conftest.$ac_ext
40097LIBS=$ac_check_lib_save_LIBS
40098fi
40099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5
40100$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; }
40101if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then :
40102  ac_cv_libfdata_dummy=yes
40103else
40104  ac_cv_libfdata=no
40105fi
40106
40107
40108
40109
40110        ac_cv_libfdata_LIBADD="-lfdata"
40111fi
40112
40113fi
40114    if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then :
40115  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40117as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata
40118See \`config.log' for more details" "$LINENO" 5; }
40119
40120fi
40121
40122fi
40123
40124  if test "x$ac_cv_libfdata" = xyes; then :
40125
40126$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h
40127
40128
40129fi
40130
40131  if test "x$ac_cv_libfdata" = xyes; then :
40132  HAVE_LIBFDATA=1
40133
40134else
40135  HAVE_LIBFDATA=0
40136
40137
40138fi
40139
40140
40141    if test "x$ac_cv_libfdata" != xyes; then :
40142
40143  ac_cv_libfdata_CPPFLAGS="-I../libfdata";
40144  ac_cv_libfdata_LIBADD="../libfdata/libfdata.la";
40145
40146  ac_cv_libfdata=local
40147
40148
40149
40150$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h
40151
40152    HAVE_LOCAL_LIBFDATA=1
40153
40154
40155fi
40156
40157   if test "x$ac_cv_libfdata" = xlocal; then
40158  HAVE_LOCAL_LIBFDATA_TRUE=
40159  HAVE_LOCAL_LIBFDATA_FALSE='#'
40160else
40161  HAVE_LOCAL_LIBFDATA_TRUE='#'
40162  HAVE_LOCAL_LIBFDATA_FALSE=
40163fi
40164
40165  if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then :
40166  LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS
40167
40168
40169fi
40170  if test "x$ac_cv_libfdata_LIBADD" != "x"; then :
40171  LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD
40172
40173
40174fi
40175
40176  if test "x$ac_cv_libfdata" = xyes; then :
40177  ax_libfdata_pc_libs_private=-lfdata
40178
40179
40180fi
40181
40182  if test "x$ac_cv_libfdata" = xyes; then :
40183  ax_libfdata_spec_requires=libfdata
40184
40185    ax_libfdata_spec_build_requires=libfdata-devel
40186
40187
40188fi
40189
40190
40191
40192
40193# Check whether --with-libfguid was given.
40194if test "${with_libfguid+set}" = set; then :
40195  withval=$with_libfguid; ac_cv_with_libfguid=$withval
40196else
40197  ac_cv_with_libfguid=auto-detect
40198fi
40199
40200    { $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
40201$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; }
40202if ${ac_cv_with_libfguid+:} false; then :
40203  $as_echo_n "(cached) " >&6
40204else
40205  ac_cv_with_libfguid=auto-detect
40206fi
40207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5
40208$as_echo "$ac_cv_with_libfguid" >&6; }
40209
40210    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then :
40211  ac_cv_libfguid=no
40212else
40213  ac_cv_libfguid=check
40214        if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then :
40215  if test -d "$ac_cv_with_libfguid"; then :
40216  CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include"
40217        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib"
40218else
40219  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40221as_fn_error 1 "no such directory: $ac_cv_with_libfguid
40222See \`config.log' for more details" "$LINENO" 5; }
40223
40224fi
40225
40226else
40227        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
40228
40229pkg_failed=no
40230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5
40231$as_echo_n "checking for libfguid... " >&6; }
40232
40233if test -n "$libfguid_CFLAGS"; then
40234    pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS"
40235 elif test -n "$PKG_CONFIG"; then
40236    if test -n "$PKG_CONFIG" && \
40237    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
40238  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
40239  ac_status=$?
40240  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40241  test $ac_status = 0; }; then
40242  pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null`
40243		      test "x$?" != "x0" && pkg_failed=yes
40244else
40245  pkg_failed=yes
40246fi
40247 else
40248    pkg_failed=untried
40249fi
40250if test -n "$libfguid_LIBS"; then
40251    pkg_cv_libfguid_LIBS="$libfguid_LIBS"
40252 elif test -n "$PKG_CONFIG"; then
40253    if test -n "$PKG_CONFIG" && \
40254    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
40255  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
40256  ac_status=$?
40257  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40258  test $ac_status = 0; }; then
40259  pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null`
40260		      test "x$?" != "x0" && pkg_failed=yes
40261else
40262  pkg_failed=yes
40263fi
40264 else
40265    pkg_failed=untried
40266fi
40267
40268
40269
40270if test $pkg_failed = yes; then
40271   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40272$as_echo "no" >&6; }
40273
40274if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40275        _pkg_short_errors_supported=yes
40276else
40277        _pkg_short_errors_supported=no
40278fi
40279        if test $_pkg_short_errors_supported = yes; then
40280	        libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
40281        else
40282	        libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
40283        fi
40284	# Put the nasty error message in config.log where it belongs
40285	echo "$libfguid_PKG_ERRORS" >&5
40286
40287	ac_cv_libfguid=check
40288elif test $pkg_failed = untried; then
40289     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40290$as_echo "no" >&6; }
40291	ac_cv_libfguid=check
40292else
40293	libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS
40294	libfguid_LIBS=$pkg_cv_libfguid_LIBS
40295        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40296$as_echo "yes" >&6; }
40297	ac_cv_libfguid=yes
40298fi
40299
40300fi
40301      if test "x$ac_cv_libfguid" = xyes; then :
40302  ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS"
40303        ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS"
40304fi
40305
40306fi
40307
40308    if test "x$ac_cv_libfguid" = xcheck; then :
40309        for ac_header in libfguid.h
40310do :
40311  ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default"
40312if test "x$ac_cv_header_libfguid_h" = xyes; then :
40313  cat >>confdefs.h <<_ACEOF
40314#define HAVE_LIBFGUID_H 1
40315_ACEOF
40316
40317fi
40318
40319done
40320
40321
40322      if test "x$ac_cv_header_libfguid_h" = xno; then :
40323  ac_cv_libfguid=no
40324else
40325          ac_cv_libfguid=yes
40326
40327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5
40328$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; }
40329if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then :
40330  $as_echo_n "(cached) " >&6
40331else
40332  ac_check_lib_save_LIBS=$LIBS
40333LIBS="-lfguid  $LIBS"
40334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40335/* end confdefs.h.  */
40336
40337/* Override any GCC internal prototype to avoid an error.
40338   Use char because int might match the return type of a GCC
40339   builtin and then its argument prototype would still apply.  */
40340#ifdef __cplusplus
40341extern "C"
40342#endif
40343char libfguid_get_version ();
40344int
40345main ()
40346{
40347return libfguid_get_version ();
40348  ;
40349  return 0;
40350}
40351_ACEOF
40352if ac_fn_c_try_link "$LINENO"; then :
40353  ac_cv_lib_fguid_libfguid_get_version=yes
40354else
40355  ac_cv_lib_fguid_libfguid_get_version=no
40356fi
40357rm -f core conftest.err conftest.$ac_objext \
40358    conftest$ac_exeext conftest.$ac_ext
40359LIBS=$ac_check_lib_save_LIBS
40360fi
40361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5
40362$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; }
40363if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then :
40364  ac_cv_libfguid_dummy=yes
40365else
40366  ac_cv_libfguid=no
40367fi
40368
40369
40370                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5
40371$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; }
40372if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then :
40373  $as_echo_n "(cached) " >&6
40374else
40375  ac_check_lib_save_LIBS=$LIBS
40376LIBS="-lfguid  $LIBS"
40377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40378/* end confdefs.h.  */
40379
40380/* Override any GCC internal prototype to avoid an error.
40381   Use char because int might match the return type of a GCC
40382   builtin and then its argument prototype would still apply.  */
40383#ifdef __cplusplus
40384extern "C"
40385#endif
40386char libfguid_identifier_initialize ();
40387int
40388main ()
40389{
40390return libfguid_identifier_initialize ();
40391  ;
40392  return 0;
40393}
40394_ACEOF
40395if ac_fn_c_try_link "$LINENO"; then :
40396  ac_cv_lib_fguid_libfguid_identifier_initialize=yes
40397else
40398  ac_cv_lib_fguid_libfguid_identifier_initialize=no
40399fi
40400rm -f core conftest.err conftest.$ac_objext \
40401    conftest$ac_exeext conftest.$ac_ext
40402LIBS=$ac_check_lib_save_LIBS
40403fi
40404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5
40405$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; }
40406if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then :
40407  ac_cv_libfguid_dummy=yes
40408else
40409  ac_cv_libfguid=no
40410fi
40411
40412        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5
40413$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; }
40414if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then :
40415  $as_echo_n "(cached) " >&6
40416else
40417  ac_check_lib_save_LIBS=$LIBS
40418LIBS="-lfguid  $LIBS"
40419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420/* end confdefs.h.  */
40421
40422/* Override any GCC internal prototype to avoid an error.
40423   Use char because int might match the return type of a GCC
40424   builtin and then its argument prototype would still apply.  */
40425#ifdef __cplusplus
40426extern "C"
40427#endif
40428char libfguid_identifier_free ();
40429int
40430main ()
40431{
40432return libfguid_identifier_free ();
40433  ;
40434  return 0;
40435}
40436_ACEOF
40437if ac_fn_c_try_link "$LINENO"; then :
40438  ac_cv_lib_fguid_libfguid_identifier_free=yes
40439else
40440  ac_cv_lib_fguid_libfguid_identifier_free=no
40441fi
40442rm -f core conftest.err conftest.$ac_objext \
40443    conftest$ac_exeext conftest.$ac_ext
40444LIBS=$ac_check_lib_save_LIBS
40445fi
40446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5
40447$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; }
40448if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then :
40449  ac_cv_libfguid_dummy=yes
40450else
40451  ac_cv_libfguid=no
40452fi
40453
40454        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5
40455$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; }
40456if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then :
40457  $as_echo_n "(cached) " >&6
40458else
40459  ac_check_lib_save_LIBS=$LIBS
40460LIBS="-lfguid  $LIBS"
40461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40462/* end confdefs.h.  */
40463
40464/* Override any GCC internal prototype to avoid an error.
40465   Use char because int might match the return type of a GCC
40466   builtin and then its argument prototype would still apply.  */
40467#ifdef __cplusplus
40468extern "C"
40469#endif
40470char libfguid_identifier_copy_from_byte_stream ();
40471int
40472main ()
40473{
40474return libfguid_identifier_copy_from_byte_stream ();
40475  ;
40476  return 0;
40477}
40478_ACEOF
40479if ac_fn_c_try_link "$LINENO"; then :
40480  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes
40481else
40482  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no
40483fi
40484rm -f core conftest.err conftest.$ac_objext \
40485    conftest$ac_exeext conftest.$ac_ext
40486LIBS=$ac_check_lib_save_LIBS
40487fi
40488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5
40489$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; }
40490if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then :
40491  ac_cv_libfguid_dummy=yes
40492else
40493  ac_cv_libfguid=no
40494fi
40495
40496        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5
40497$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; }
40498if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then :
40499  $as_echo_n "(cached) " >&6
40500else
40501  ac_check_lib_save_LIBS=$LIBS
40502LIBS="-lfguid  $LIBS"
40503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40504/* end confdefs.h.  */
40505
40506/* Override any GCC internal prototype to avoid an error.
40507   Use char because int might match the return type of a GCC
40508   builtin and then its argument prototype would still apply.  */
40509#ifdef __cplusplus
40510extern "C"
40511#endif
40512char libfguid_identifier_get_string_size ();
40513int
40514main ()
40515{
40516return libfguid_identifier_get_string_size ();
40517  ;
40518  return 0;
40519}
40520_ACEOF
40521if ac_fn_c_try_link "$LINENO"; then :
40522  ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes
40523else
40524  ac_cv_lib_fguid_libfguid_identifier_get_string_size=no
40525fi
40526rm -f core conftest.err conftest.$ac_objext \
40527    conftest$ac_exeext conftest.$ac_ext
40528LIBS=$ac_check_lib_save_LIBS
40529fi
40530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5
40531$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; }
40532if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then :
40533  ac_cv_libfguid_dummy=yes
40534else
40535  ac_cv_libfguid=no
40536fi
40537
40538        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5
40539$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; }
40540if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then :
40541  $as_echo_n "(cached) " >&6
40542else
40543  ac_check_lib_save_LIBS=$LIBS
40544LIBS="-lfguid  $LIBS"
40545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40546/* end confdefs.h.  */
40547
40548/* Override any GCC internal prototype to avoid an error.
40549   Use char because int might match the return type of a GCC
40550   builtin and then its argument prototype would still apply.  */
40551#ifdef __cplusplus
40552extern "C"
40553#endif
40554char libfguid_identifier_copy_to_utf8_string ();
40555int
40556main ()
40557{
40558return libfguid_identifier_copy_to_utf8_string ();
40559  ;
40560  return 0;
40561}
40562_ACEOF
40563if ac_fn_c_try_link "$LINENO"; then :
40564  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes
40565else
40566  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no
40567fi
40568rm -f core conftest.err conftest.$ac_objext \
40569    conftest$ac_exeext conftest.$ac_ext
40570LIBS=$ac_check_lib_save_LIBS
40571fi
40572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5
40573$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; }
40574if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then :
40575  ac_cv_libfguid_dummy=yes
40576else
40577  ac_cv_libfguid=no
40578fi
40579
40580        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5
40581$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; }
40582if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then :
40583  $as_echo_n "(cached) " >&6
40584else
40585  ac_check_lib_save_LIBS=$LIBS
40586LIBS="-lfguid  $LIBS"
40587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588/* end confdefs.h.  */
40589
40590/* Override any GCC internal prototype to avoid an error.
40591   Use char because int might match the return type of a GCC
40592   builtin and then its argument prototype would still apply.  */
40593#ifdef __cplusplus
40594extern "C"
40595#endif
40596char libfguid_identifier_copy_to_utf8_string_with_index ();
40597int
40598main ()
40599{
40600return libfguid_identifier_copy_to_utf8_string_with_index ();
40601  ;
40602  return 0;
40603}
40604_ACEOF
40605if ac_fn_c_try_link "$LINENO"; then :
40606  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes
40607else
40608  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no
40609fi
40610rm -f core conftest.err conftest.$ac_objext \
40611    conftest$ac_exeext conftest.$ac_ext
40612LIBS=$ac_check_lib_save_LIBS
40613fi
40614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5
40615$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; }
40616if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then :
40617  ac_cv_libfguid_dummy=yes
40618else
40619  ac_cv_libfguid=no
40620fi
40621
40622        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5
40623$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; }
40624if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then :
40625  $as_echo_n "(cached) " >&6
40626else
40627  ac_check_lib_save_LIBS=$LIBS
40628LIBS="-lfguid  $LIBS"
40629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40630/* end confdefs.h.  */
40631
40632/* Override any GCC internal prototype to avoid an error.
40633   Use char because int might match the return type of a GCC
40634   builtin and then its argument prototype would still apply.  */
40635#ifdef __cplusplus
40636extern "C"
40637#endif
40638char libfguid_identifier_copy_to_utf16_string ();
40639int
40640main ()
40641{
40642return libfguid_identifier_copy_to_utf16_string ();
40643  ;
40644  return 0;
40645}
40646_ACEOF
40647if ac_fn_c_try_link "$LINENO"; then :
40648  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes
40649else
40650  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no
40651fi
40652rm -f core conftest.err conftest.$ac_objext \
40653    conftest$ac_exeext conftest.$ac_ext
40654LIBS=$ac_check_lib_save_LIBS
40655fi
40656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5
40657$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; }
40658if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then :
40659  ac_cv_libfguid_dummy=yes
40660else
40661  ac_cv_libfguid=no
40662fi
40663
40664        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5
40665$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; }
40666if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then :
40667  $as_echo_n "(cached) " >&6
40668else
40669  ac_check_lib_save_LIBS=$LIBS
40670LIBS="-lfguid  $LIBS"
40671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40672/* end confdefs.h.  */
40673
40674/* Override any GCC internal prototype to avoid an error.
40675   Use char because int might match the return type of a GCC
40676   builtin and then its argument prototype would still apply.  */
40677#ifdef __cplusplus
40678extern "C"
40679#endif
40680char libfguid_identifier_copy_to_utf16_string_with_index ();
40681int
40682main ()
40683{
40684return libfguid_identifier_copy_to_utf16_string_with_index ();
40685  ;
40686  return 0;
40687}
40688_ACEOF
40689if ac_fn_c_try_link "$LINENO"; then :
40690  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes
40691else
40692  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no
40693fi
40694rm -f core conftest.err conftest.$ac_objext \
40695    conftest$ac_exeext conftest.$ac_ext
40696LIBS=$ac_check_lib_save_LIBS
40697fi
40698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5
40699$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; }
40700if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then :
40701  ac_cv_libfguid_dummy=yes
40702else
40703  ac_cv_libfguid=no
40704fi
40705
40706        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5
40707$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; }
40708if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then :
40709  $as_echo_n "(cached) " >&6
40710else
40711  ac_check_lib_save_LIBS=$LIBS
40712LIBS="-lfguid  $LIBS"
40713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714/* end confdefs.h.  */
40715
40716/* Override any GCC internal prototype to avoid an error.
40717   Use char because int might match the return type of a GCC
40718   builtin and then its argument prototype would still apply.  */
40719#ifdef __cplusplus
40720extern "C"
40721#endif
40722char libfguid_identifier_copy_to_utf32_string ();
40723int
40724main ()
40725{
40726return libfguid_identifier_copy_to_utf32_string ();
40727  ;
40728  return 0;
40729}
40730_ACEOF
40731if ac_fn_c_try_link "$LINENO"; then :
40732  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes
40733else
40734  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no
40735fi
40736rm -f core conftest.err conftest.$ac_objext \
40737    conftest$ac_exeext conftest.$ac_ext
40738LIBS=$ac_check_lib_save_LIBS
40739fi
40740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5
40741$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; }
40742if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then :
40743  ac_cv_libfguid_dummy=yes
40744else
40745  ac_cv_libfguid=no
40746fi
40747
40748        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5
40749$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; }
40750if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then :
40751  $as_echo_n "(cached) " >&6
40752else
40753  ac_check_lib_save_LIBS=$LIBS
40754LIBS="-lfguid  $LIBS"
40755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40756/* end confdefs.h.  */
40757
40758/* Override any GCC internal prototype to avoid an error.
40759   Use char because int might match the return type of a GCC
40760   builtin and then its argument prototype would still apply.  */
40761#ifdef __cplusplus
40762extern "C"
40763#endif
40764char libfguid_identifier_copy_to_utf32_string_with_index ();
40765int
40766main ()
40767{
40768return libfguid_identifier_copy_to_utf32_string_with_index ();
40769  ;
40770  return 0;
40771}
40772_ACEOF
40773if ac_fn_c_try_link "$LINENO"; then :
40774  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes
40775else
40776  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no
40777fi
40778rm -f core conftest.err conftest.$ac_objext \
40779    conftest$ac_exeext conftest.$ac_ext
40780LIBS=$ac_check_lib_save_LIBS
40781fi
40782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5
40783$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; }
40784if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then :
40785  ac_cv_libfguid_dummy=yes
40786else
40787  ac_cv_libfguid=no
40788fi
40789
40790
40791        ac_cv_libfguid_LIBADD="-lfguid"
40792fi
40793
40794fi
40795    if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then :
40796  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40798as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid
40799See \`config.log' for more details" "$LINENO" 5; }
40800
40801fi
40802
40803fi
40804
40805  if test "x$ac_cv_libfguid" = xyes; then :
40806
40807$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h
40808
40809
40810fi
40811
40812  if test "x$ac_cv_libfguid" = xyes; then :
40813  HAVE_LIBFGUID=1
40814
40815else
40816  HAVE_LIBFGUID=0
40817
40818
40819fi
40820
40821
40822    if test "x$ac_cv_libfguid" != xyes; then :
40823
40824  ac_cv_libfguid_CPPFLAGS="-I../libfguid";
40825  ac_cv_libfguid_LIBADD="../libfguid/libfguid.la";
40826
40827  ac_cv_libfguid=local
40828
40829
40830
40831$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h
40832
40833    HAVE_LOCAL_LIBFGUID=1
40834
40835
40836fi
40837
40838   if test "x$ac_cv_libfguid" = xlocal; then
40839  HAVE_LOCAL_LIBFGUID_TRUE=
40840  HAVE_LOCAL_LIBFGUID_FALSE='#'
40841else
40842  HAVE_LOCAL_LIBFGUID_TRUE='#'
40843  HAVE_LOCAL_LIBFGUID_FALSE=
40844fi
40845
40846  if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then :
40847  LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS
40848
40849
40850fi
40851  if test "x$ac_cv_libfguid_LIBADD" != "x"; then :
40852  LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD
40853
40854
40855fi
40856
40857  if test "x$ac_cv_libfguid" = xyes; then :
40858  ax_libfguid_pc_libs_private=-lfguid
40859
40860
40861fi
40862
40863  if test "x$ac_cv_libfguid" = xyes; then :
40864  ax_libfguid_spec_requires=libfguid
40865
40866    ax_libfguid_spec_build_requires=libfguid-devel
40867
40868
40869fi
40870
40871
40872
40873
40874# Check whether --with-libhmac was given.
40875if test "${with_libhmac+set}" = set; then :
40876  withval=$with_libhmac; ac_cv_with_libhmac=$withval
40877else
40878  ac_cv_with_libhmac=auto-detect
40879fi
40880
40881    { $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
40882$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; }
40883if ${ac_cv_with_libhmac+:} false; then :
40884  $as_echo_n "(cached) " >&6
40885else
40886  ac_cv_with_libhmac=auto-detect
40887fi
40888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libhmac" >&5
40889$as_echo "$ac_cv_with_libhmac" >&6; }
40890
40891    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libhmac" = xno; then :
40892  ac_cv_libhmac=no
40893else
40894  ac_cv_libhmac=check
40895        if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect; then :
40896  if test -d "$ac_cv_with_libhmac"; then :
40897  CFLAGS="$CFLAGS -I${ac_cv_with_libhmac}/include"
40898        LDFLAGS="$LDFLAGS -L${ac_cv_with_libhmac}/lib"
40899else
40900  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40901$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40902as_fn_error 1 "no such directory: $ac_cv_with_libhmac
40903See \`config.log' for more details" "$LINENO" 5; }
40904
40905fi
40906
40907else
40908        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
40909
40910pkg_failed=no
40911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac" >&5
40912$as_echo_n "checking for libhmac... " >&6; }
40913
40914if test -n "$libhmac_CFLAGS"; then
40915    pkg_cv_libhmac_CFLAGS="$libhmac_CFLAGS"
40916 elif test -n "$PKG_CONFIG"; then
40917    if test -n "$PKG_CONFIG" && \
40918    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
40919  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
40920  ac_status=$?
40921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40922  test $ac_status = 0; }; then
40923  pkg_cv_libhmac_CFLAGS=`$PKG_CONFIG --cflags "libhmac >= 20200104" 2>/dev/null`
40924		      test "x$?" != "x0" && pkg_failed=yes
40925else
40926  pkg_failed=yes
40927fi
40928 else
40929    pkg_failed=untried
40930fi
40931if test -n "$libhmac_LIBS"; then
40932    pkg_cv_libhmac_LIBS="$libhmac_LIBS"
40933 elif test -n "$PKG_CONFIG"; then
40934    if test -n "$PKG_CONFIG" && \
40935    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
40936  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
40937  ac_status=$?
40938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40939  test $ac_status = 0; }; then
40940  pkg_cv_libhmac_LIBS=`$PKG_CONFIG --libs "libhmac >= 20200104" 2>/dev/null`
40941		      test "x$?" != "x0" && pkg_failed=yes
40942else
40943  pkg_failed=yes
40944fi
40945 else
40946    pkg_failed=untried
40947fi
40948
40949
40950
40951if test $pkg_failed = yes; then
40952   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40953$as_echo "no" >&6; }
40954
40955if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40956        _pkg_short_errors_supported=yes
40957else
40958        _pkg_short_errors_supported=no
40959fi
40960        if test $_pkg_short_errors_supported = yes; then
40961	        libhmac_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
40962        else
40963	        libhmac_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
40964        fi
40965	# Put the nasty error message in config.log where it belongs
40966	echo "$libhmac_PKG_ERRORS" >&5
40967
40968	ac_cv_libhmac=check
40969elif test $pkg_failed = untried; then
40970     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40971$as_echo "no" >&6; }
40972	ac_cv_libhmac=check
40973else
40974	libhmac_CFLAGS=$pkg_cv_libhmac_CFLAGS
40975	libhmac_LIBS=$pkg_cv_libhmac_LIBS
40976        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40977$as_echo "yes" >&6; }
40978	ac_cv_libhmac=yes
40979fi
40980
40981fi
40982      if test "x$ac_cv_libhmac" = xyes; then :
40983  ac_cv_libhmac_CPPFLAGS="$pkg_cv_libhmac_CFLAGS"
40984        ac_cv_libhmac_LIBADD="$pkg_cv_libhmac_LIBS"
40985fi
40986
40987fi
40988
40989    if test "x$ac_cv_libhmac" = xcheck; then :
40990        for ac_header in libhmac.h
40991do :
40992  ac_fn_c_check_header_mongrel "$LINENO" "libhmac.h" "ac_cv_header_libhmac_h" "$ac_includes_default"
40993if test "x$ac_cv_header_libhmac_h" = xyes; then :
40994  cat >>confdefs.h <<_ACEOF
40995#define HAVE_LIBHMAC_H 1
40996_ACEOF
40997
40998fi
40999
41000done
41001
41002
41003      if test "x$ac_cv_header_libhmac_h" = xno; then :
41004  ac_cv_libhmac=no
41005else
41006          ac_cv_libhmac=yes
41007
41008        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_get_version in -lhmac" >&5
41009$as_echo_n "checking for libhmac_get_version in -lhmac... " >&6; }
41010if ${ac_cv_lib_hmac_libhmac_get_version+:} false; then :
41011  $as_echo_n "(cached) " >&6
41012else
41013  ac_check_lib_save_LIBS=$LIBS
41014LIBS="-lhmac  $LIBS"
41015cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41016/* end confdefs.h.  */
41017
41018/* Override any GCC internal prototype to avoid an error.
41019   Use char because int might match the return type of a GCC
41020   builtin and then its argument prototype would still apply.  */
41021#ifdef __cplusplus
41022extern "C"
41023#endif
41024char libhmac_get_version ();
41025int
41026main ()
41027{
41028return libhmac_get_version ();
41029  ;
41030  return 0;
41031}
41032_ACEOF
41033if ac_fn_c_try_link "$LINENO"; then :
41034  ac_cv_lib_hmac_libhmac_get_version=yes
41035else
41036  ac_cv_lib_hmac_libhmac_get_version=no
41037fi
41038rm -f core conftest.err conftest.$ac_objext \
41039    conftest$ac_exeext conftest.$ac_ext
41040LIBS=$ac_check_lib_save_LIBS
41041fi
41042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_get_version" >&5
41043$as_echo "$ac_cv_lib_hmac_libhmac_get_version" >&6; }
41044if test "x$ac_cv_lib_hmac_libhmac_get_version" = xyes; then :
41045  ac_cv_libhmac_dummy=yes
41046else
41047  ac_cv_libhmac=no
41048fi
41049
41050
41051                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_initialize in -lhmac" >&5
41052$as_echo_n "checking for libhmac_md5_initialize in -lhmac... " >&6; }
41053if ${ac_cv_lib_hmac_libhmac_md5_initialize+:} false; then :
41054  $as_echo_n "(cached) " >&6
41055else
41056  ac_check_lib_save_LIBS=$LIBS
41057LIBS="-lhmac  $LIBS"
41058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41059/* end confdefs.h.  */
41060
41061/* Override any GCC internal prototype to avoid an error.
41062   Use char because int might match the return type of a GCC
41063   builtin and then its argument prototype would still apply.  */
41064#ifdef __cplusplus
41065extern "C"
41066#endif
41067char libhmac_md5_initialize ();
41068int
41069main ()
41070{
41071return libhmac_md5_initialize ();
41072  ;
41073  return 0;
41074}
41075_ACEOF
41076if ac_fn_c_try_link "$LINENO"; then :
41077  ac_cv_lib_hmac_libhmac_md5_initialize=yes
41078else
41079  ac_cv_lib_hmac_libhmac_md5_initialize=no
41080fi
41081rm -f core conftest.err conftest.$ac_objext \
41082    conftest$ac_exeext conftest.$ac_ext
41083LIBS=$ac_check_lib_save_LIBS
41084fi
41085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_initialize" >&5
41086$as_echo "$ac_cv_lib_hmac_libhmac_md5_initialize" >&6; }
41087if test "x$ac_cv_lib_hmac_libhmac_md5_initialize" = xyes; then :
41088  ac_cv_libhmac_dummy=yes
41089else
41090  ac_cv_libhmac=no
41091fi
41092
41093        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_update in -lhmac" >&5
41094$as_echo_n "checking for libhmac_md5_update in -lhmac... " >&6; }
41095if ${ac_cv_lib_hmac_libhmac_md5_update+:} false; then :
41096  $as_echo_n "(cached) " >&6
41097else
41098  ac_check_lib_save_LIBS=$LIBS
41099LIBS="-lhmac  $LIBS"
41100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101/* end confdefs.h.  */
41102
41103/* Override any GCC internal prototype to avoid an error.
41104   Use char because int might match the return type of a GCC
41105   builtin and then its argument prototype would still apply.  */
41106#ifdef __cplusplus
41107extern "C"
41108#endif
41109char libhmac_md5_update ();
41110int
41111main ()
41112{
41113return libhmac_md5_update ();
41114  ;
41115  return 0;
41116}
41117_ACEOF
41118if ac_fn_c_try_link "$LINENO"; then :
41119  ac_cv_lib_hmac_libhmac_md5_update=yes
41120else
41121  ac_cv_lib_hmac_libhmac_md5_update=no
41122fi
41123rm -f core conftest.err conftest.$ac_objext \
41124    conftest$ac_exeext conftest.$ac_ext
41125LIBS=$ac_check_lib_save_LIBS
41126fi
41127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_update" >&5
41128$as_echo "$ac_cv_lib_hmac_libhmac_md5_update" >&6; }
41129if test "x$ac_cv_lib_hmac_libhmac_md5_update" = xyes; then :
41130  ac_cv_libhmac_dummy=yes
41131else
41132  ac_cv_libhmac=no
41133fi
41134
41135        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_finalize in -lhmac" >&5
41136$as_echo_n "checking for libhmac_md5_finalize in -lhmac... " >&6; }
41137if ${ac_cv_lib_hmac_libhmac_md5_finalize+:} false; then :
41138  $as_echo_n "(cached) " >&6
41139else
41140  ac_check_lib_save_LIBS=$LIBS
41141LIBS="-lhmac  $LIBS"
41142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41143/* end confdefs.h.  */
41144
41145/* Override any GCC internal prototype to avoid an error.
41146   Use char because int might match the return type of a GCC
41147   builtin and then its argument prototype would still apply.  */
41148#ifdef __cplusplus
41149extern "C"
41150#endif
41151char libhmac_md5_finalize ();
41152int
41153main ()
41154{
41155return libhmac_md5_finalize ();
41156  ;
41157  return 0;
41158}
41159_ACEOF
41160if ac_fn_c_try_link "$LINENO"; then :
41161  ac_cv_lib_hmac_libhmac_md5_finalize=yes
41162else
41163  ac_cv_lib_hmac_libhmac_md5_finalize=no
41164fi
41165rm -f core conftest.err conftest.$ac_objext \
41166    conftest$ac_exeext conftest.$ac_ext
41167LIBS=$ac_check_lib_save_LIBS
41168fi
41169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_finalize" >&5
41170$as_echo "$ac_cv_lib_hmac_libhmac_md5_finalize" >&6; }
41171if test "x$ac_cv_lib_hmac_libhmac_md5_finalize" = xyes; then :
41172  ac_cv_libhmac_dummy=yes
41173else
41174  ac_cv_libhmac=no
41175fi
41176
41177        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_free in -lhmac" >&5
41178$as_echo_n "checking for libhmac_md5_free in -lhmac... " >&6; }
41179if ${ac_cv_lib_hmac_libhmac_md5_free+:} false; then :
41180  $as_echo_n "(cached) " >&6
41181else
41182  ac_check_lib_save_LIBS=$LIBS
41183LIBS="-lhmac  $LIBS"
41184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41185/* end confdefs.h.  */
41186
41187/* Override any GCC internal prototype to avoid an error.
41188   Use char because int might match the return type of a GCC
41189   builtin and then its argument prototype would still apply.  */
41190#ifdef __cplusplus
41191extern "C"
41192#endif
41193char libhmac_md5_free ();
41194int
41195main ()
41196{
41197return libhmac_md5_free ();
41198  ;
41199  return 0;
41200}
41201_ACEOF
41202if ac_fn_c_try_link "$LINENO"; then :
41203  ac_cv_lib_hmac_libhmac_md5_free=yes
41204else
41205  ac_cv_lib_hmac_libhmac_md5_free=no
41206fi
41207rm -f core conftest.err conftest.$ac_objext \
41208    conftest$ac_exeext conftest.$ac_ext
41209LIBS=$ac_check_lib_save_LIBS
41210fi
41211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_free" >&5
41212$as_echo "$ac_cv_lib_hmac_libhmac_md5_free" >&6; }
41213if test "x$ac_cv_lib_hmac_libhmac_md5_free" = xyes; then :
41214  ac_cv_libhmac_dummy=yes
41215else
41216  ac_cv_libhmac=no
41217fi
41218
41219
41220                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_initialize in -lhmac" >&5
41221$as_echo_n "checking for libhmac_sha1_initialize in -lhmac... " >&6; }
41222if ${ac_cv_lib_hmac_libhmac_sha1_initialize+:} false; then :
41223  $as_echo_n "(cached) " >&6
41224else
41225  ac_check_lib_save_LIBS=$LIBS
41226LIBS="-lhmac  $LIBS"
41227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228/* end confdefs.h.  */
41229
41230/* Override any GCC internal prototype to avoid an error.
41231   Use char because int might match the return type of a GCC
41232   builtin and then its argument prototype would still apply.  */
41233#ifdef __cplusplus
41234extern "C"
41235#endif
41236char libhmac_sha1_initialize ();
41237int
41238main ()
41239{
41240return libhmac_sha1_initialize ();
41241  ;
41242  return 0;
41243}
41244_ACEOF
41245if ac_fn_c_try_link "$LINENO"; then :
41246  ac_cv_lib_hmac_libhmac_sha1_initialize=yes
41247else
41248  ac_cv_lib_hmac_libhmac_sha1_initialize=no
41249fi
41250rm -f core conftest.err conftest.$ac_objext \
41251    conftest$ac_exeext conftest.$ac_ext
41252LIBS=$ac_check_lib_save_LIBS
41253fi
41254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_initialize" >&5
41255$as_echo "$ac_cv_lib_hmac_libhmac_sha1_initialize" >&6; }
41256if test "x$ac_cv_lib_hmac_libhmac_sha1_initialize" = xyes; then :
41257  ac_cv_libhmac_dummy=yes
41258else
41259  ac_cv_libhmac=no
41260fi
41261
41262        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_update in -lhmac" >&5
41263$as_echo_n "checking for libhmac_sha1_update in -lhmac... " >&6; }
41264if ${ac_cv_lib_hmac_libhmac_sha1_update+:} false; then :
41265  $as_echo_n "(cached) " >&6
41266else
41267  ac_check_lib_save_LIBS=$LIBS
41268LIBS="-lhmac  $LIBS"
41269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41270/* end confdefs.h.  */
41271
41272/* Override any GCC internal prototype to avoid an error.
41273   Use char because int might match the return type of a GCC
41274   builtin and then its argument prototype would still apply.  */
41275#ifdef __cplusplus
41276extern "C"
41277#endif
41278char libhmac_sha1_update ();
41279int
41280main ()
41281{
41282return libhmac_sha1_update ();
41283  ;
41284  return 0;
41285}
41286_ACEOF
41287if ac_fn_c_try_link "$LINENO"; then :
41288  ac_cv_lib_hmac_libhmac_sha1_update=yes
41289else
41290  ac_cv_lib_hmac_libhmac_sha1_update=no
41291fi
41292rm -f core conftest.err conftest.$ac_objext \
41293    conftest$ac_exeext conftest.$ac_ext
41294LIBS=$ac_check_lib_save_LIBS
41295fi
41296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_update" >&5
41297$as_echo "$ac_cv_lib_hmac_libhmac_sha1_update" >&6; }
41298if test "x$ac_cv_lib_hmac_libhmac_sha1_update" = xyes; then :
41299  ac_cv_libhmac_dummy=yes
41300else
41301  ac_cv_libhmac=no
41302fi
41303
41304        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_finalize in -lhmac" >&5
41305$as_echo_n "checking for libhmac_sha1_finalize in -lhmac... " >&6; }
41306if ${ac_cv_lib_hmac_libhmac_sha1_finalize+:} false; then :
41307  $as_echo_n "(cached) " >&6
41308else
41309  ac_check_lib_save_LIBS=$LIBS
41310LIBS="-lhmac  $LIBS"
41311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312/* end confdefs.h.  */
41313
41314/* Override any GCC internal prototype to avoid an error.
41315   Use char because int might match the return type of a GCC
41316   builtin and then its argument prototype would still apply.  */
41317#ifdef __cplusplus
41318extern "C"
41319#endif
41320char libhmac_sha1_finalize ();
41321int
41322main ()
41323{
41324return libhmac_sha1_finalize ();
41325  ;
41326  return 0;
41327}
41328_ACEOF
41329if ac_fn_c_try_link "$LINENO"; then :
41330  ac_cv_lib_hmac_libhmac_sha1_finalize=yes
41331else
41332  ac_cv_lib_hmac_libhmac_sha1_finalize=no
41333fi
41334rm -f core conftest.err conftest.$ac_objext \
41335    conftest$ac_exeext conftest.$ac_ext
41336LIBS=$ac_check_lib_save_LIBS
41337fi
41338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_finalize" >&5
41339$as_echo "$ac_cv_lib_hmac_libhmac_sha1_finalize" >&6; }
41340if test "x$ac_cv_lib_hmac_libhmac_sha1_finalize" = xyes; then :
41341  ac_cv_libhmac_dummy=yes
41342else
41343  ac_cv_libhmac=no
41344fi
41345
41346        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_free in -lhmac" >&5
41347$as_echo_n "checking for libhmac_sha1_free in -lhmac... " >&6; }
41348if ${ac_cv_lib_hmac_libhmac_sha1_free+:} false; then :
41349  $as_echo_n "(cached) " >&6
41350else
41351  ac_check_lib_save_LIBS=$LIBS
41352LIBS="-lhmac  $LIBS"
41353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354/* end confdefs.h.  */
41355
41356/* Override any GCC internal prototype to avoid an error.
41357   Use char because int might match the return type of a GCC
41358   builtin and then its argument prototype would still apply.  */
41359#ifdef __cplusplus
41360extern "C"
41361#endif
41362char libhmac_sha1_free ();
41363int
41364main ()
41365{
41366return libhmac_sha1_free ();
41367  ;
41368  return 0;
41369}
41370_ACEOF
41371if ac_fn_c_try_link "$LINENO"; then :
41372  ac_cv_lib_hmac_libhmac_sha1_free=yes
41373else
41374  ac_cv_lib_hmac_libhmac_sha1_free=no
41375fi
41376rm -f core conftest.err conftest.$ac_objext \
41377    conftest$ac_exeext conftest.$ac_ext
41378LIBS=$ac_check_lib_save_LIBS
41379fi
41380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_free" >&5
41381$as_echo "$ac_cv_lib_hmac_libhmac_sha1_free" >&6; }
41382if test "x$ac_cv_lib_hmac_libhmac_sha1_free" = xyes; then :
41383  ac_cv_libhmac_dummy=yes
41384else
41385  ac_cv_libhmac=no
41386fi
41387
41388
41389                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_initialize in -lhmac" >&5
41390$as_echo_n "checking for libhmac_sha224_initialize in -lhmac... " >&6; }
41391if ${ac_cv_lib_hmac_libhmac_sha224_initialize+:} false; then :
41392  $as_echo_n "(cached) " >&6
41393else
41394  ac_check_lib_save_LIBS=$LIBS
41395LIBS="-lhmac  $LIBS"
41396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41397/* end confdefs.h.  */
41398
41399/* Override any GCC internal prototype to avoid an error.
41400   Use char because int might match the return type of a GCC
41401   builtin and then its argument prototype would still apply.  */
41402#ifdef __cplusplus
41403extern "C"
41404#endif
41405char libhmac_sha224_initialize ();
41406int
41407main ()
41408{
41409return libhmac_sha224_initialize ();
41410  ;
41411  return 0;
41412}
41413_ACEOF
41414if ac_fn_c_try_link "$LINENO"; then :
41415  ac_cv_lib_hmac_libhmac_sha224_initialize=yes
41416else
41417  ac_cv_lib_hmac_libhmac_sha224_initialize=no
41418fi
41419rm -f core conftest.err conftest.$ac_objext \
41420    conftest$ac_exeext conftest.$ac_ext
41421LIBS=$ac_check_lib_save_LIBS
41422fi
41423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_initialize" >&5
41424$as_echo "$ac_cv_lib_hmac_libhmac_sha224_initialize" >&6; }
41425if test "x$ac_cv_lib_hmac_libhmac_sha224_initialize" = xyes; then :
41426  ac_cv_libhmac_dummy=yes
41427else
41428  ac_cv_libhmac=no
41429fi
41430
41431        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_update in -lhmac" >&5
41432$as_echo_n "checking for libhmac_sha224_update in -lhmac... " >&6; }
41433if ${ac_cv_lib_hmac_libhmac_sha224_update+:} false; then :
41434  $as_echo_n "(cached) " >&6
41435else
41436  ac_check_lib_save_LIBS=$LIBS
41437LIBS="-lhmac  $LIBS"
41438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41439/* end confdefs.h.  */
41440
41441/* Override any GCC internal prototype to avoid an error.
41442   Use char because int might match the return type of a GCC
41443   builtin and then its argument prototype would still apply.  */
41444#ifdef __cplusplus
41445extern "C"
41446#endif
41447char libhmac_sha224_update ();
41448int
41449main ()
41450{
41451return libhmac_sha224_update ();
41452  ;
41453  return 0;
41454}
41455_ACEOF
41456if ac_fn_c_try_link "$LINENO"; then :
41457  ac_cv_lib_hmac_libhmac_sha224_update=yes
41458else
41459  ac_cv_lib_hmac_libhmac_sha224_update=no
41460fi
41461rm -f core conftest.err conftest.$ac_objext \
41462    conftest$ac_exeext conftest.$ac_ext
41463LIBS=$ac_check_lib_save_LIBS
41464fi
41465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_update" >&5
41466$as_echo "$ac_cv_lib_hmac_libhmac_sha224_update" >&6; }
41467if test "x$ac_cv_lib_hmac_libhmac_sha224_update" = xyes; then :
41468  ac_cv_libhmac_dummy=yes
41469else
41470  ac_cv_libhmac=no
41471fi
41472
41473        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_finalize in -lhmac" >&5
41474$as_echo_n "checking for libhmac_sha224_finalize in -lhmac... " >&6; }
41475if ${ac_cv_lib_hmac_libhmac_sha224_finalize+:} false; then :
41476  $as_echo_n "(cached) " >&6
41477else
41478  ac_check_lib_save_LIBS=$LIBS
41479LIBS="-lhmac  $LIBS"
41480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41481/* end confdefs.h.  */
41482
41483/* Override any GCC internal prototype to avoid an error.
41484   Use char because int might match the return type of a GCC
41485   builtin and then its argument prototype would still apply.  */
41486#ifdef __cplusplus
41487extern "C"
41488#endif
41489char libhmac_sha224_finalize ();
41490int
41491main ()
41492{
41493return libhmac_sha224_finalize ();
41494  ;
41495  return 0;
41496}
41497_ACEOF
41498if ac_fn_c_try_link "$LINENO"; then :
41499  ac_cv_lib_hmac_libhmac_sha224_finalize=yes
41500else
41501  ac_cv_lib_hmac_libhmac_sha224_finalize=no
41502fi
41503rm -f core conftest.err conftest.$ac_objext \
41504    conftest$ac_exeext conftest.$ac_ext
41505LIBS=$ac_check_lib_save_LIBS
41506fi
41507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_finalize" >&5
41508$as_echo "$ac_cv_lib_hmac_libhmac_sha224_finalize" >&6; }
41509if test "x$ac_cv_lib_hmac_libhmac_sha224_finalize" = xyes; then :
41510  ac_cv_libhmac_dummy=yes
41511else
41512  ac_cv_libhmac=no
41513fi
41514
41515        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_free in -lhmac" >&5
41516$as_echo_n "checking for libhmac_sha224_free in -lhmac... " >&6; }
41517if ${ac_cv_lib_hmac_libhmac_sha224_free+:} false; then :
41518  $as_echo_n "(cached) " >&6
41519else
41520  ac_check_lib_save_LIBS=$LIBS
41521LIBS="-lhmac  $LIBS"
41522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523/* end confdefs.h.  */
41524
41525/* Override any GCC internal prototype to avoid an error.
41526   Use char because int might match the return type of a GCC
41527   builtin and then its argument prototype would still apply.  */
41528#ifdef __cplusplus
41529extern "C"
41530#endif
41531char libhmac_sha224_free ();
41532int
41533main ()
41534{
41535return libhmac_sha224_free ();
41536  ;
41537  return 0;
41538}
41539_ACEOF
41540if ac_fn_c_try_link "$LINENO"; then :
41541  ac_cv_lib_hmac_libhmac_sha224_free=yes
41542else
41543  ac_cv_lib_hmac_libhmac_sha224_free=no
41544fi
41545rm -f core conftest.err conftest.$ac_objext \
41546    conftest$ac_exeext conftest.$ac_ext
41547LIBS=$ac_check_lib_save_LIBS
41548fi
41549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_free" >&5
41550$as_echo "$ac_cv_lib_hmac_libhmac_sha224_free" >&6; }
41551if test "x$ac_cv_lib_hmac_libhmac_sha224_free" = xyes; then :
41552  ac_cv_libhmac_dummy=yes
41553else
41554  ac_cv_libhmac=no
41555fi
41556
41557
41558                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_initialize in -lhmac" >&5
41559$as_echo_n "checking for libhmac_sha256_initialize in -lhmac... " >&6; }
41560if ${ac_cv_lib_hmac_libhmac_sha256_initialize+:} false; then :
41561  $as_echo_n "(cached) " >&6
41562else
41563  ac_check_lib_save_LIBS=$LIBS
41564LIBS="-lhmac  $LIBS"
41565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566/* end confdefs.h.  */
41567
41568/* Override any GCC internal prototype to avoid an error.
41569   Use char because int might match the return type of a GCC
41570   builtin and then its argument prototype would still apply.  */
41571#ifdef __cplusplus
41572extern "C"
41573#endif
41574char libhmac_sha256_initialize ();
41575int
41576main ()
41577{
41578return libhmac_sha256_initialize ();
41579  ;
41580  return 0;
41581}
41582_ACEOF
41583if ac_fn_c_try_link "$LINENO"; then :
41584  ac_cv_lib_hmac_libhmac_sha256_initialize=yes
41585else
41586  ac_cv_lib_hmac_libhmac_sha256_initialize=no
41587fi
41588rm -f core conftest.err conftest.$ac_objext \
41589    conftest$ac_exeext conftest.$ac_ext
41590LIBS=$ac_check_lib_save_LIBS
41591fi
41592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_initialize" >&5
41593$as_echo "$ac_cv_lib_hmac_libhmac_sha256_initialize" >&6; }
41594if test "x$ac_cv_lib_hmac_libhmac_sha256_initialize" = xyes; then :
41595  ac_cv_libhmac_dummy=yes
41596else
41597  ac_cv_libhmac=no
41598fi
41599
41600        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_update in -lhmac" >&5
41601$as_echo_n "checking for libhmac_sha256_update in -lhmac... " >&6; }
41602if ${ac_cv_lib_hmac_libhmac_sha256_update+:} false; then :
41603  $as_echo_n "(cached) " >&6
41604else
41605  ac_check_lib_save_LIBS=$LIBS
41606LIBS="-lhmac  $LIBS"
41607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41608/* end confdefs.h.  */
41609
41610/* Override any GCC internal prototype to avoid an error.
41611   Use char because int might match the return type of a GCC
41612   builtin and then its argument prototype would still apply.  */
41613#ifdef __cplusplus
41614extern "C"
41615#endif
41616char libhmac_sha256_update ();
41617int
41618main ()
41619{
41620return libhmac_sha256_update ();
41621  ;
41622  return 0;
41623}
41624_ACEOF
41625if ac_fn_c_try_link "$LINENO"; then :
41626  ac_cv_lib_hmac_libhmac_sha256_update=yes
41627else
41628  ac_cv_lib_hmac_libhmac_sha256_update=no
41629fi
41630rm -f core conftest.err conftest.$ac_objext \
41631    conftest$ac_exeext conftest.$ac_ext
41632LIBS=$ac_check_lib_save_LIBS
41633fi
41634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_update" >&5
41635$as_echo "$ac_cv_lib_hmac_libhmac_sha256_update" >&6; }
41636if test "x$ac_cv_lib_hmac_libhmac_sha256_update" = xyes; then :
41637  ac_cv_libhmac_dummy=yes
41638else
41639  ac_cv_libhmac=no
41640fi
41641
41642        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_finalize in -lhmac" >&5
41643$as_echo_n "checking for libhmac_sha256_finalize in -lhmac... " >&6; }
41644if ${ac_cv_lib_hmac_libhmac_sha256_finalize+:} false; then :
41645  $as_echo_n "(cached) " >&6
41646else
41647  ac_check_lib_save_LIBS=$LIBS
41648LIBS="-lhmac  $LIBS"
41649cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41650/* end confdefs.h.  */
41651
41652/* Override any GCC internal prototype to avoid an error.
41653   Use char because int might match the return type of a GCC
41654   builtin and then its argument prototype would still apply.  */
41655#ifdef __cplusplus
41656extern "C"
41657#endif
41658char libhmac_sha256_finalize ();
41659int
41660main ()
41661{
41662return libhmac_sha256_finalize ();
41663  ;
41664  return 0;
41665}
41666_ACEOF
41667if ac_fn_c_try_link "$LINENO"; then :
41668  ac_cv_lib_hmac_libhmac_sha256_finalize=yes
41669else
41670  ac_cv_lib_hmac_libhmac_sha256_finalize=no
41671fi
41672rm -f core conftest.err conftest.$ac_objext \
41673    conftest$ac_exeext conftest.$ac_ext
41674LIBS=$ac_check_lib_save_LIBS
41675fi
41676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_finalize" >&5
41677$as_echo "$ac_cv_lib_hmac_libhmac_sha256_finalize" >&6; }
41678if test "x$ac_cv_lib_hmac_libhmac_sha256_finalize" = xyes; then :
41679  ac_cv_libhmac_dummy=yes
41680else
41681  ac_cv_libhmac=no
41682fi
41683
41684        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_free in -lhmac" >&5
41685$as_echo_n "checking for libhmac_sha256_free in -lhmac... " >&6; }
41686if ${ac_cv_lib_hmac_libhmac_sha256_free+:} false; then :
41687  $as_echo_n "(cached) " >&6
41688else
41689  ac_check_lib_save_LIBS=$LIBS
41690LIBS="-lhmac  $LIBS"
41691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41692/* end confdefs.h.  */
41693
41694/* Override any GCC internal prototype to avoid an error.
41695   Use char because int might match the return type of a GCC
41696   builtin and then its argument prototype would still apply.  */
41697#ifdef __cplusplus
41698extern "C"
41699#endif
41700char libhmac_sha256_free ();
41701int
41702main ()
41703{
41704return libhmac_sha256_free ();
41705  ;
41706  return 0;
41707}
41708_ACEOF
41709if ac_fn_c_try_link "$LINENO"; then :
41710  ac_cv_lib_hmac_libhmac_sha256_free=yes
41711else
41712  ac_cv_lib_hmac_libhmac_sha256_free=no
41713fi
41714rm -f core conftest.err conftest.$ac_objext \
41715    conftest$ac_exeext conftest.$ac_ext
41716LIBS=$ac_check_lib_save_LIBS
41717fi
41718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_free" >&5
41719$as_echo "$ac_cv_lib_hmac_libhmac_sha256_free" >&6; }
41720if test "x$ac_cv_lib_hmac_libhmac_sha256_free" = xyes; then :
41721  ac_cv_libhmac_dummy=yes
41722else
41723  ac_cv_libhmac=no
41724fi
41725
41726
41727                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_initialize in -lhmac" >&5
41728$as_echo_n "checking for libhmac_sha512_initialize in -lhmac... " >&6; }
41729if ${ac_cv_lib_hmac_libhmac_sha512_initialize+:} false; then :
41730  $as_echo_n "(cached) " >&6
41731else
41732  ac_check_lib_save_LIBS=$LIBS
41733LIBS="-lhmac  $LIBS"
41734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41735/* end confdefs.h.  */
41736
41737/* Override any GCC internal prototype to avoid an error.
41738   Use char because int might match the return type of a GCC
41739   builtin and then its argument prototype would still apply.  */
41740#ifdef __cplusplus
41741extern "C"
41742#endif
41743char libhmac_sha512_initialize ();
41744int
41745main ()
41746{
41747return libhmac_sha512_initialize ();
41748  ;
41749  return 0;
41750}
41751_ACEOF
41752if ac_fn_c_try_link "$LINENO"; then :
41753  ac_cv_lib_hmac_libhmac_sha512_initialize=yes
41754else
41755  ac_cv_lib_hmac_libhmac_sha512_initialize=no
41756fi
41757rm -f core conftest.err conftest.$ac_objext \
41758    conftest$ac_exeext conftest.$ac_ext
41759LIBS=$ac_check_lib_save_LIBS
41760fi
41761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_initialize" >&5
41762$as_echo "$ac_cv_lib_hmac_libhmac_sha512_initialize" >&6; }
41763if test "x$ac_cv_lib_hmac_libhmac_sha512_initialize" = xyes; then :
41764  ac_cv_libhmac_dummy=yes
41765else
41766  ac_cv_libhmac=no
41767fi
41768
41769        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_update in -lhmac" >&5
41770$as_echo_n "checking for libhmac_sha512_update in -lhmac... " >&6; }
41771if ${ac_cv_lib_hmac_libhmac_sha512_update+:} false; then :
41772  $as_echo_n "(cached) " >&6
41773else
41774  ac_check_lib_save_LIBS=$LIBS
41775LIBS="-lhmac  $LIBS"
41776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41777/* end confdefs.h.  */
41778
41779/* Override any GCC internal prototype to avoid an error.
41780   Use char because int might match the return type of a GCC
41781   builtin and then its argument prototype would still apply.  */
41782#ifdef __cplusplus
41783extern "C"
41784#endif
41785char libhmac_sha512_update ();
41786int
41787main ()
41788{
41789return libhmac_sha512_update ();
41790  ;
41791  return 0;
41792}
41793_ACEOF
41794if ac_fn_c_try_link "$LINENO"; then :
41795  ac_cv_lib_hmac_libhmac_sha512_update=yes
41796else
41797  ac_cv_lib_hmac_libhmac_sha512_update=no
41798fi
41799rm -f core conftest.err conftest.$ac_objext \
41800    conftest$ac_exeext conftest.$ac_ext
41801LIBS=$ac_check_lib_save_LIBS
41802fi
41803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_update" >&5
41804$as_echo "$ac_cv_lib_hmac_libhmac_sha512_update" >&6; }
41805if test "x$ac_cv_lib_hmac_libhmac_sha512_update" = xyes; then :
41806  ac_cv_libhmac_dummy=yes
41807else
41808  ac_cv_libhmac=no
41809fi
41810
41811        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_finalize in -lhmac" >&5
41812$as_echo_n "checking for libhmac_sha512_finalize in -lhmac... " >&6; }
41813if ${ac_cv_lib_hmac_libhmac_sha512_finalize+:} false; then :
41814  $as_echo_n "(cached) " >&6
41815else
41816  ac_check_lib_save_LIBS=$LIBS
41817LIBS="-lhmac  $LIBS"
41818cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41819/* end confdefs.h.  */
41820
41821/* Override any GCC internal prototype to avoid an error.
41822   Use char because int might match the return type of a GCC
41823   builtin and then its argument prototype would still apply.  */
41824#ifdef __cplusplus
41825extern "C"
41826#endif
41827char libhmac_sha512_finalize ();
41828int
41829main ()
41830{
41831return libhmac_sha512_finalize ();
41832  ;
41833  return 0;
41834}
41835_ACEOF
41836if ac_fn_c_try_link "$LINENO"; then :
41837  ac_cv_lib_hmac_libhmac_sha512_finalize=yes
41838else
41839  ac_cv_lib_hmac_libhmac_sha512_finalize=no
41840fi
41841rm -f core conftest.err conftest.$ac_objext \
41842    conftest$ac_exeext conftest.$ac_ext
41843LIBS=$ac_check_lib_save_LIBS
41844fi
41845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_finalize" >&5
41846$as_echo "$ac_cv_lib_hmac_libhmac_sha512_finalize" >&6; }
41847if test "x$ac_cv_lib_hmac_libhmac_sha512_finalize" = xyes; then :
41848  ac_cv_libhmac_dummy=yes
41849else
41850  ac_cv_libhmac=no
41851fi
41852
41853        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_free in -lhmac" >&5
41854$as_echo_n "checking for libhmac_sha512_free in -lhmac... " >&6; }
41855if ${ac_cv_lib_hmac_libhmac_sha512_free+:} false; then :
41856  $as_echo_n "(cached) " >&6
41857else
41858  ac_check_lib_save_LIBS=$LIBS
41859LIBS="-lhmac  $LIBS"
41860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41861/* end confdefs.h.  */
41862
41863/* Override any GCC internal prototype to avoid an error.
41864   Use char because int might match the return type of a GCC
41865   builtin and then its argument prototype would still apply.  */
41866#ifdef __cplusplus
41867extern "C"
41868#endif
41869char libhmac_sha512_free ();
41870int
41871main ()
41872{
41873return libhmac_sha512_free ();
41874  ;
41875  return 0;
41876}
41877_ACEOF
41878if ac_fn_c_try_link "$LINENO"; then :
41879  ac_cv_lib_hmac_libhmac_sha512_free=yes
41880else
41881  ac_cv_lib_hmac_libhmac_sha512_free=no
41882fi
41883rm -f core conftest.err conftest.$ac_objext \
41884    conftest$ac_exeext conftest.$ac_ext
41885LIBS=$ac_check_lib_save_LIBS
41886fi
41887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_free" >&5
41888$as_echo "$ac_cv_lib_hmac_libhmac_sha512_free" >&6; }
41889if test "x$ac_cv_lib_hmac_libhmac_sha512_free" = xyes; then :
41890  ac_cv_libhmac_dummy=yes
41891else
41892  ac_cv_libhmac=no
41893fi
41894
41895
41896        ac_cv_libhmac_LIBADD="-lhmac"
41897fi
41898
41899fi
41900    if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect && test "x$ac_cv_libhmac" != xyes; then :
41901  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41903as_fn_error 1 "unable to find supported libhmac in directory: $ac_cv_with_libhmac
41904See \`config.log' for more details" "$LINENO" 5; }
41905
41906fi
41907
41908fi
41909
41910  if test "x$ac_cv_libhmac" = xyes; then :
41911
41912$as_echo "#define HAVE_LIBHMAC 1" >>confdefs.h
41913
41914
41915fi
41916
41917  if test "x$ac_cv_libhmac" = xyes; then :
41918  ac_cv_libhmac_md5=libhmac
41919    ac_cv_libhmac_sha1=libhmac
41920    ac_cv_libhmac_sha224=libhmac
41921    ac_cv_libhmac_sha256=libhmac
41922    ac_cv_libhmac_sha512=libhmac
41923else
41924  ac_cv_libhmac_md5=no
41925    ac_cv_libhmac_sha1=no
41926    ac_cv_libhmac_sha224=no
41927    ac_cv_libhmac_sha256=no
41928    ac_cv_libhmac_sha512=no
41929fi
41930
41931  if test "x$ac_cv_libhmac" = xyes; then :
41932  HAVE_LIBHMAC=1
41933
41934else
41935  HAVE_LIBHMAC=0
41936
41937
41938fi
41939
41940
41941    if test "x$ac_cv_libhmac" != xyes; then :
41942
41943
41944# Check whether --with-openssl was given.
41945if test "${with_openssl+set}" = set; then :
41946  withval=$with_openssl; ac_cv_with_openssl=$withval
41947else
41948  ac_cv_with_openssl=auto-detect
41949fi
41950
41951    { $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
41952$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; }
41953if ${ac_cv_with_openssl+:} false; then :
41954  $as_echo_n "(cached) " >&6
41955else
41956  ac_cv_with_openssl=auto-detect
41957fi
41958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
41959$as_echo "$ac_cv_with_openssl" >&6; }
41960
41961
41962  # Check whether --enable-openssl-evp-cipher was given.
41963if test "${enable_openssl_evp_cipher+set}" = set; then :
41964  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
41965else
41966  ac_cv_enable_openssl_evp_cipher=auto-detect
41967fi
41968
41969    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
41970$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
41971if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
41972  $as_echo_n "(cached) " >&6
41973else
41974  ac_cv_enable_openssl_evp_cipher=auto-detect
41975fi
41976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
41977$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
41978
41979
41980  # Check whether --enable-openssl-evp-md was given.
41981if test "${enable_openssl_evp_md+set}" = set; then :
41982  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
41983else
41984  ac_cv_enable_openssl_evp_md=auto-detect
41985fi
41986
41987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
41988$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
41989if ${ac_cv_enable_openssl_evp_md+:} false; then :
41990  $as_echo_n "(cached) " >&6
41991else
41992  ac_cv_enable_openssl_evp_md=auto-detect
41993fi
41994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
41995$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
41996
41997    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
41998  ac_cv_libcrypto=no
41999else
42000      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
42001  if test -d "$ac_cv_with_openssl"; then :
42002  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
42003        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
42004else
42005  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
42007as_fn_error 1 "no such directory: $ac_cv_with_openssl
42008See \`config.log' for more details" "$LINENO" 5; }
42009
42010fi
42011else
42012        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
42013
42014pkg_failed=no
42015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
42016$as_echo_n "checking for openssl... " >&6; }
42017
42018if test -n "$openssl_CFLAGS"; then
42019    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
42020 elif test -n "$PKG_CONFIG"; then
42021    if test -n "$PKG_CONFIG" && \
42022    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
42023  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
42024  ac_status=$?
42025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42026  test $ac_status = 0; }; then
42027  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
42028		      test "x$?" != "x0" && pkg_failed=yes
42029else
42030  pkg_failed=yes
42031fi
42032 else
42033    pkg_failed=untried
42034fi
42035if test -n "$openssl_LIBS"; then
42036    pkg_cv_openssl_LIBS="$openssl_LIBS"
42037 elif test -n "$PKG_CONFIG"; then
42038    if test -n "$PKG_CONFIG" && \
42039    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
42040  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
42041  ac_status=$?
42042  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42043  test $ac_status = 0; }; then
42044  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
42045		      test "x$?" != "x0" && pkg_failed=yes
42046else
42047  pkg_failed=yes
42048fi
42049 else
42050    pkg_failed=untried
42051fi
42052
42053
42054
42055if test $pkg_failed = yes; then
42056   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42057$as_echo "no" >&6; }
42058
42059if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42060        _pkg_short_errors_supported=yes
42061else
42062        _pkg_short_errors_supported=no
42063fi
42064        if test $_pkg_short_errors_supported = yes; then
42065	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
42066        else
42067	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
42068        fi
42069	# Put the nasty error message in config.log where it belongs
42070	echo "$openssl_PKG_ERRORS" >&5
42071
42072	ac_cv_libcrypto=no
42073          ac_cv_libcrypto_evp=no
42074elif test $pkg_failed = untried; then
42075     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42076$as_echo "no" >&6; }
42077	ac_cv_libcrypto=no
42078          ac_cv_libcrypto_evp=no
42079else
42080	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
42081	openssl_LIBS=$pkg_cv_openssl_LIBS
42082        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42083$as_echo "yes" >&6; }
42084	ac_cv_libcrypto=yes
42085          ac_cv_libcrypto_evp=yes
42086fi
42087
42088fi
42089      if test "x$ac_cv_libcrypto" = xyes; then :
42090  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
42091        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
42092fi
42093
42094fi
42095
42096    if test "x$ac_cv_libcrypto" != xyes; then :
42097        for ac_header in openssl/opensslv.h
42098do :
42099  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
42100if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
42101  cat >>confdefs.h <<_ACEOF
42102#define HAVE_OPENSSL_OPENSSLV_H 1
42103_ACEOF
42104
42105fi
42106
42107done
42108
42109
42110      for ac_header in openssl/evp.h
42111do :
42112  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
42113if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
42114  cat >>confdefs.h <<_ACEOF
42115#define HAVE_OPENSSL_EVP_H 1
42116_ACEOF
42117
42118fi
42119
42120done
42121
42122
42123  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
42124  ac_cv_libcrypto=no
42125    ac_cv_libcrypto_evp=no
42126else
42127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
42128$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
42129if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
42130  $as_echo_n "(cached) " >&6
42131else
42132  ac_ext=c
42133ac_cpp='$CPP $CPPFLAGS'
42134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136ac_compiler_gnu=$ac_cv_c_compiler_gnu
42137
42138    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42139/* end confdefs.h.  */
42140#include <zlib.h>
42141#include <openssl/evp.h>
42142int
42143main ()
42144{
42145
42146  ;
42147  return 0;
42148}
42149_ACEOF
42150if ac_fn_c_try_link "$LINENO"; then :
42151  ac_cv_openssl_evp_zlib_compatible=yes
42152else
42153  ac_cv_openssl_evp_zlib_compatible=no
42154fi
42155rm -f core conftest.err conftest.$ac_objext \
42156    conftest$ac_exeext conftest.$ac_ext
42157    ac_ext=c
42158ac_cpp='$CPP $CPPFLAGS'
42159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162
42163fi
42164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
42165$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
42166
42167
42168    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
42169  ac_cv_libcrypto=yes
42170      ac_cv_libcrypto_evp=yes
42171else
42172  ac_cv_libcrypto=no
42173      ac_cv_libcrypto_evp=no
42174fi
42175
42176fi
42177
42178
42179      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
42180  ac_cv_libcrypto=yes
42181fi
42182
42183fi
42184
42185        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
42186
42187$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
42188
42189      HAVE_OPENSSL_EVP_H=1
42190
42191else
42192  HAVE_OPENSSL_EVP_H=0
42193
42194
42195fi
42196
42197    if test "x$ac_cv_libcrypto" != xno; then :
42198
42199$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
42200
42201
42202      ac_cv_libcrypto_LIBADD="-lcrypto"
42203
42204            case $host in #(
42205  *cygwin*) :
42206    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
42207  *) :
42208     ;;
42209esac
42210
42211            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
42212$as_echo_n "checking for dlopen in -ldl... " >&6; }
42213if ${ac_cv_lib_dl_dlopen+:} false; then :
42214  $as_echo_n "(cached) " >&6
42215else
42216  ac_check_lib_save_LIBS=$LIBS
42217LIBS="-ldl  $LIBS"
42218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42219/* end confdefs.h.  */
42220
42221/* Override any GCC internal prototype to avoid an error.
42222   Use char because int might match the return type of a GCC
42223   builtin and then its argument prototype would still apply.  */
42224#ifdef __cplusplus
42225extern "C"
42226#endif
42227char dlopen ();
42228int
42229main ()
42230{
42231return dlopen ();
42232  ;
42233  return 0;
42234}
42235_ACEOF
42236if ac_fn_c_try_link "$LINENO"; then :
42237  ac_cv_lib_dl_dlopen=yes
42238else
42239  ac_cv_lib_dl_dlopen=no
42240fi
42241rm -f core conftest.err conftest.$ac_objext \
42242    conftest$ac_exeext conftest.$ac_ext
42243LIBS=$ac_check_lib_save_LIBS
42244fi
42245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
42246$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
42247if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
42248  LIBDL_LIBADD="-ldl"
42249
42250fi
42251
42252
42253fi
42254
42255fi
42256
42257
42258  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
42259  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
42260
42261
42262fi
42263  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
42264  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
42265
42266
42267fi
42268
42269  if test "x$ac_cv_libcrypto" != xno; then :
42270  ax_libcrypto_pc_libs_private=-lcrypto
42271
42272
42273fi
42274
42275  if test "x$ac_cv_libcrypto" != xno; then :
42276  ax_libcrypto_spec_requires=openssl
42277
42278    ax_libcrypto_spec_build_requires=openssl-devel
42279
42280
42281fi
42282
42283
42284  if test "x$ac_cv_libcrypto" != xno; then :
42285  ac_cv_libcrypto_md5=no
42286
42287    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
42288  ac_cv_libcrypto_evp_md=yes
42289
42290  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
42291$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
42292if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
42293  $as_echo_n "(cached) " >&6
42294else
42295  ac_check_lib_save_LIBS=$LIBS
42296LIBS="-lcrypto  $LIBS"
42297cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42298/* end confdefs.h.  */
42299
42300/* Override any GCC internal prototype to avoid an error.
42301   Use char because int might match the return type of a GCC
42302   builtin and then its argument prototype would still apply.  */
42303#ifdef __cplusplus
42304extern "C"
42305#endif
42306char EVP_MD_CTX_new ();
42307int
42308main ()
42309{
42310return EVP_MD_CTX_new ();
42311  ;
42312  return 0;
42313}
42314_ACEOF
42315if ac_fn_c_try_link "$LINENO"; then :
42316  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
42317else
42318  ac_cv_lib_crypto_EVP_MD_CTX_new=no
42319fi
42320rm -f core conftest.err conftest.$ac_objext \
42321    conftest$ac_exeext conftest.$ac_ext
42322LIBS=$ac_check_lib_save_LIBS
42323fi
42324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
42325$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
42326if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
42327  ac_cv_libcrypto_dummy=yes
42328else
42329  ac_cv_libcrypto_dummy=no
42330fi
42331
42332
42333  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
42334      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
42335$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
42336if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
42337  $as_echo_n "(cached) " >&6
42338else
42339  ac_check_lib_save_LIBS=$LIBS
42340LIBS="-lcrypto  $LIBS"
42341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42342/* end confdefs.h.  */
42343
42344/* Override any GCC internal prototype to avoid an error.
42345   Use char because int might match the return type of a GCC
42346   builtin and then its argument prototype would still apply.  */
42347#ifdef __cplusplus
42348extern "C"
42349#endif
42350char EVP_MD_CTX_free ();
42351int
42352main ()
42353{
42354return EVP_MD_CTX_free ();
42355  ;
42356  return 0;
42357}
42358_ACEOF
42359if ac_fn_c_try_link "$LINENO"; then :
42360  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
42361else
42362  ac_cv_lib_crypto_EVP_MD_CTX_free=no
42363fi
42364rm -f core conftest.err conftest.$ac_objext \
42365    conftest$ac_exeext conftest.$ac_ext
42366LIBS=$ac_check_lib_save_LIBS
42367fi
42368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
42369$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
42370if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
42371  ac_cv_libcrypto_dummy=yes
42372else
42373  ac_cv_libcrypto_evp_md=no
42374fi
42375
42376
42377else
42378      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
42379$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
42380if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
42381  $as_echo_n "(cached) " >&6
42382else
42383  ac_check_lib_save_LIBS=$LIBS
42384LIBS="-lcrypto  $LIBS"
42385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42386/* end confdefs.h.  */
42387
42388/* Override any GCC internal prototype to avoid an error.
42389   Use char because int might match the return type of a GCC
42390   builtin and then its argument prototype would still apply.  */
42391#ifdef __cplusplus
42392extern "C"
42393#endif
42394char EVP_MD_CTX_init ();
42395int
42396main ()
42397{
42398return EVP_MD_CTX_init ();
42399  ;
42400  return 0;
42401}
42402_ACEOF
42403if ac_fn_c_try_link "$LINENO"; then :
42404  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
42405else
42406  ac_cv_lib_crypto_EVP_MD_CTX_init=no
42407fi
42408rm -f core conftest.err conftest.$ac_objext \
42409    conftest$ac_exeext conftest.$ac_ext
42410LIBS=$ac_check_lib_save_LIBS
42411fi
42412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
42413$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
42414if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
42415  ac_cv_libcrypto_dummy=yes
42416else
42417  ac_cv_libcrypto_evp_md=no
42418fi
42419
42420    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
42421$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
42422if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
42423  $as_echo_n "(cached) " >&6
42424else
42425  ac_check_lib_save_LIBS=$LIBS
42426LIBS="-lcrypto  $LIBS"
42427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42428/* end confdefs.h.  */
42429
42430/* Override any GCC internal prototype to avoid an error.
42431   Use char because int might match the return type of a GCC
42432   builtin and then its argument prototype would still apply.  */
42433#ifdef __cplusplus
42434extern "C"
42435#endif
42436char EVP_MD_CTX_cleanup ();
42437int
42438main ()
42439{
42440return EVP_MD_CTX_cleanup ();
42441  ;
42442  return 0;
42443}
42444_ACEOF
42445if ac_fn_c_try_link "$LINENO"; then :
42446  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
42447else
42448  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
42449fi
42450rm -f core conftest.err conftest.$ac_objext \
42451    conftest$ac_exeext conftest.$ac_ext
42452LIBS=$ac_check_lib_save_LIBS
42453fi
42454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
42455$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
42456if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
42457  ac_cv_libcrypto_dummy=yes
42458else
42459  ac_cv_libcrypto_evp_md=no
42460fi
42461
42462
42463    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
42464$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
42465if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
42466  $as_echo_n "(cached) " >&6
42467else
42468  ac_check_lib_save_LIBS=$LIBS
42469LIBS="-lcrypto  $LIBS"
42470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42471/* end confdefs.h.  */
42472
42473/* Override any GCC internal prototype to avoid an error.
42474   Use char because int might match the return type of a GCC
42475   builtin and then its argument prototype would still apply.  */
42476#ifdef __cplusplus
42477extern "C"
42478#endif
42479char ERR_remove_thread_state ();
42480int
42481main ()
42482{
42483return ERR_remove_thread_state ();
42484  ;
42485  return 0;
42486}
42487_ACEOF
42488if ac_fn_c_try_link "$LINENO"; then :
42489  ac_cv_lib_crypto_ERR_remove_thread_state=yes
42490else
42491  ac_cv_lib_crypto_ERR_remove_thread_state=no
42492fi
42493rm -f core conftest.err conftest.$ac_objext \
42494    conftest$ac_exeext conftest.$ac_ext
42495LIBS=$ac_check_lib_save_LIBS
42496fi
42497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
42498$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
42499if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
42500  ac_cv_libcrypto_dummy=yes
42501else
42502  ac_cv_libcrypto_evp_md=no
42503fi
42504
42505
42506fi
42507
42508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
42509$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
42510if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
42511  $as_echo_n "(cached) " >&6
42512else
42513  ac_check_lib_save_LIBS=$LIBS
42514LIBS="-lcrypto  $LIBS"
42515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42516/* end confdefs.h.  */
42517
42518/* Override any GCC internal prototype to avoid an error.
42519   Use char because int might match the return type of a GCC
42520   builtin and then its argument prototype would still apply.  */
42521#ifdef __cplusplus
42522extern "C"
42523#endif
42524char EVP_DigestInit_ex ();
42525int
42526main ()
42527{
42528return EVP_DigestInit_ex ();
42529  ;
42530  return 0;
42531}
42532_ACEOF
42533if ac_fn_c_try_link "$LINENO"; then :
42534  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
42535else
42536  ac_cv_lib_crypto_EVP_DigestInit_ex=no
42537fi
42538rm -f core conftest.err conftest.$ac_objext \
42539    conftest$ac_exeext conftest.$ac_ext
42540LIBS=$ac_check_lib_save_LIBS
42541fi
42542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
42543$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
42544if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
42545  ac_cv_libcrypto_dummy=yes
42546else
42547  ac_cv_libcrypto_evp_md=no
42548fi
42549
42550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
42551$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
42552if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
42553  $as_echo_n "(cached) " >&6
42554else
42555  ac_check_lib_save_LIBS=$LIBS
42556LIBS="-lcrypto  $LIBS"
42557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42558/* end confdefs.h.  */
42559
42560/* Override any GCC internal prototype to avoid an error.
42561   Use char because int might match the return type of a GCC
42562   builtin and then its argument prototype would still apply.  */
42563#ifdef __cplusplus
42564extern "C"
42565#endif
42566char EVP_DigestUpdate ();
42567int
42568main ()
42569{
42570return EVP_DigestUpdate ();
42571  ;
42572  return 0;
42573}
42574_ACEOF
42575if ac_fn_c_try_link "$LINENO"; then :
42576  ac_cv_lib_crypto_EVP_DigestUpdate=yes
42577else
42578  ac_cv_lib_crypto_EVP_DigestUpdate=no
42579fi
42580rm -f core conftest.err conftest.$ac_objext \
42581    conftest$ac_exeext conftest.$ac_ext
42582LIBS=$ac_check_lib_save_LIBS
42583fi
42584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
42585$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
42586if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
42587  ac_cv_libcrypto_dummy=yes
42588else
42589  ac_cv_libcrypto_evp_md=no
42590fi
42591
42592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
42593$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
42594if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
42595  $as_echo_n "(cached) " >&6
42596else
42597  ac_check_lib_save_LIBS=$LIBS
42598LIBS="-lcrypto  $LIBS"
42599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42600/* end confdefs.h.  */
42601
42602/* Override any GCC internal prototype to avoid an error.
42603   Use char because int might match the return type of a GCC
42604   builtin and then its argument prototype would still apply.  */
42605#ifdef __cplusplus
42606extern "C"
42607#endif
42608char EVP_DigestFinal_ex ();
42609int
42610main ()
42611{
42612return EVP_DigestFinal_ex ();
42613  ;
42614  return 0;
42615}
42616_ACEOF
42617if ac_fn_c_try_link "$LINENO"; then :
42618  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
42619else
42620  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
42621fi
42622rm -f core conftest.err conftest.$ac_objext \
42623    conftest$ac_exeext conftest.$ac_ext
42624LIBS=$ac_check_lib_save_LIBS
42625fi
42626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
42627$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
42628if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
42629  ac_cv_libcrypto_dummy=yes
42630else
42631  ac_cv_libcrypto_evp_md=no
42632fi
42633
42634
42635  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
42636  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42637$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
42638as_fn_error 1 "Missing OpenSSL EVP MD support
42639See \`config.log' for more details" "$LINENO" 5; }
42640
42641fi
42642
42643  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
42644
42645$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
42646
42647
42648fi
42649
42650  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
42651
42652$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
42653
42654
42655fi
42656
42657fi
42658
42659    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
42660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_md5 in -lcrypto" >&5
42661$as_echo_n "checking for EVP_md5 in -lcrypto... " >&6; }
42662if ${ac_cv_lib_crypto_EVP_md5+:} false; then :
42663  $as_echo_n "(cached) " >&6
42664else
42665  ac_check_lib_save_LIBS=$LIBS
42666LIBS="-lcrypto  $LIBS"
42667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42668/* end confdefs.h.  */
42669
42670/* Override any GCC internal prototype to avoid an error.
42671   Use char because int might match the return type of a GCC
42672   builtin and then its argument prototype would still apply.  */
42673#ifdef __cplusplus
42674extern "C"
42675#endif
42676char EVP_md5 ();
42677int
42678main ()
42679{
42680return EVP_md5 ();
42681  ;
42682  return 0;
42683}
42684_ACEOF
42685if ac_fn_c_try_link "$LINENO"; then :
42686  ac_cv_lib_crypto_EVP_md5=yes
42687else
42688  ac_cv_lib_crypto_EVP_md5=no
42689fi
42690rm -f core conftest.err conftest.$ac_objext \
42691    conftest$ac_exeext conftest.$ac_ext
42692LIBS=$ac_check_lib_save_LIBS
42693fi
42694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_md5" >&5
42695$as_echo "$ac_cv_lib_crypto_EVP_md5" >&6; }
42696if test "x$ac_cv_lib_crypto_EVP_md5" = xyes; then :
42697  ac_cv_libcrypto_md5=libcrypto_evp
42698else
42699  ac_cv_libcrypto_md5=no
42700fi
42701
42702
42703  if test "x$ac_cv_libcrypto_md5" = xlibcrypto_evp; then :
42704
42705$as_echo "#define HAVE_EVP_MD5 1" >>confdefs.h
42706
42707
42708fi
42709
42710fi
42711
42712    if test "x$ac_cv_libcrypto_md5" = xno; then :
42713  for ac_header in openssl/md5.h
42714do :
42715  ac_fn_c_check_header_mongrel "$LINENO" "openssl/md5.h" "ac_cv_header_openssl_md5_h" "$ac_includes_default"
42716if test "x$ac_cv_header_openssl_md5_h" = xyes; then :
42717  cat >>confdefs.h <<_ACEOF
42718#define HAVE_OPENSSL_MD5_H 1
42719_ACEOF
42720
42721fi
42722
42723done
42724
42725
42726  if test "x$ac_cv_header_openssl_md5_h" = xno; then :
42727  ac_cv_libcrypto_md5=no
42728else
42729  ac_cv_libcrypto_md5=libcrypto
42730
42731    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Init in -lcrypto" >&5
42732$as_echo_n "checking for MD5_Init in -lcrypto... " >&6; }
42733if ${ac_cv_lib_crypto_MD5_Init+:} false; then :
42734  $as_echo_n "(cached) " >&6
42735else
42736  ac_check_lib_save_LIBS=$LIBS
42737LIBS="-lcrypto  $LIBS"
42738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739/* end confdefs.h.  */
42740
42741/* Override any GCC internal prototype to avoid an error.
42742   Use char because int might match the return type of a GCC
42743   builtin and then its argument prototype would still apply.  */
42744#ifdef __cplusplus
42745extern "C"
42746#endif
42747char MD5_Init ();
42748int
42749main ()
42750{
42751return MD5_Init ();
42752  ;
42753  return 0;
42754}
42755_ACEOF
42756if ac_fn_c_try_link "$LINENO"; then :
42757  ac_cv_lib_crypto_MD5_Init=yes
42758else
42759  ac_cv_lib_crypto_MD5_Init=no
42760fi
42761rm -f core conftest.err conftest.$ac_objext \
42762    conftest$ac_exeext conftest.$ac_ext
42763LIBS=$ac_check_lib_save_LIBS
42764fi
42765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Init" >&5
42766$as_echo "$ac_cv_lib_crypto_MD5_Init" >&6; }
42767if test "x$ac_cv_lib_crypto_MD5_Init" = xyes; then :
42768  ac_cv_libcrypto_dummy=yes
42769else
42770  ac_cv_libcrypto_md5=no
42771fi
42772
42773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Update in -lcrypto" >&5
42774$as_echo_n "checking for MD5_Update in -lcrypto... " >&6; }
42775if ${ac_cv_lib_crypto_MD5_Update+:} false; then :
42776  $as_echo_n "(cached) " >&6
42777else
42778  ac_check_lib_save_LIBS=$LIBS
42779LIBS="-lcrypto  $LIBS"
42780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781/* end confdefs.h.  */
42782
42783/* Override any GCC internal prototype to avoid an error.
42784   Use char because int might match the return type of a GCC
42785   builtin and then its argument prototype would still apply.  */
42786#ifdef __cplusplus
42787extern "C"
42788#endif
42789char MD5_Update ();
42790int
42791main ()
42792{
42793return MD5_Update ();
42794  ;
42795  return 0;
42796}
42797_ACEOF
42798if ac_fn_c_try_link "$LINENO"; then :
42799  ac_cv_lib_crypto_MD5_Update=yes
42800else
42801  ac_cv_lib_crypto_MD5_Update=no
42802fi
42803rm -f core conftest.err conftest.$ac_objext \
42804    conftest$ac_exeext conftest.$ac_ext
42805LIBS=$ac_check_lib_save_LIBS
42806fi
42807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Update" >&5
42808$as_echo "$ac_cv_lib_crypto_MD5_Update" >&6; }
42809if test "x$ac_cv_lib_crypto_MD5_Update" = xyes; then :
42810  ac_cv_libcrypto_dummy=yes
42811else
42812  ac_cv_libcrypto_md5=no
42813fi
42814
42815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Final in -lcrypto" >&5
42816$as_echo_n "checking for MD5_Final in -lcrypto... " >&6; }
42817if ${ac_cv_lib_crypto_MD5_Final+:} false; then :
42818  $as_echo_n "(cached) " >&6
42819else
42820  ac_check_lib_save_LIBS=$LIBS
42821LIBS="-lcrypto  $LIBS"
42822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42823/* end confdefs.h.  */
42824
42825/* Override any GCC internal prototype to avoid an error.
42826   Use char because int might match the return type of a GCC
42827   builtin and then its argument prototype would still apply.  */
42828#ifdef __cplusplus
42829extern "C"
42830#endif
42831char MD5_Final ();
42832int
42833main ()
42834{
42835return MD5_Final ();
42836  ;
42837  return 0;
42838}
42839_ACEOF
42840if ac_fn_c_try_link "$LINENO"; then :
42841  ac_cv_lib_crypto_MD5_Final=yes
42842else
42843  ac_cv_lib_crypto_MD5_Final=no
42844fi
42845rm -f core conftest.err conftest.$ac_objext \
42846    conftest$ac_exeext conftest.$ac_ext
42847LIBS=$ac_check_lib_save_LIBS
42848fi
42849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Final" >&5
42850$as_echo "$ac_cv_lib_crypto_MD5_Final" >&6; }
42851if test "x$ac_cv_lib_crypto_MD5_Final" = xyes; then :
42852  ac_cv_libcrypto_dummy=yes
42853else
42854  ac_cv_libcrypto_md5=no
42855fi
42856
42857
42858fi
42859
42860  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_md5" = xlibcrypto; then :
42861  ac_cv_libcrypto=yes
42862fi
42863
42864fi
42865
42866    ac_cv_libcrypto_sha1=no
42867
42868    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 :
42869  ac_cv_libcrypto_evp_md=yes
42870
42871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
42872$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
42873if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
42874  $as_echo_n "(cached) " >&6
42875else
42876  ac_check_lib_save_LIBS=$LIBS
42877LIBS="-lcrypto  $LIBS"
42878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879/* end confdefs.h.  */
42880
42881/* Override any GCC internal prototype to avoid an error.
42882   Use char because int might match the return type of a GCC
42883   builtin and then its argument prototype would still apply.  */
42884#ifdef __cplusplus
42885extern "C"
42886#endif
42887char EVP_MD_CTX_new ();
42888int
42889main ()
42890{
42891return EVP_MD_CTX_new ();
42892  ;
42893  return 0;
42894}
42895_ACEOF
42896if ac_fn_c_try_link "$LINENO"; then :
42897  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
42898else
42899  ac_cv_lib_crypto_EVP_MD_CTX_new=no
42900fi
42901rm -f core conftest.err conftest.$ac_objext \
42902    conftest$ac_exeext conftest.$ac_ext
42903LIBS=$ac_check_lib_save_LIBS
42904fi
42905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
42906$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
42907if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
42908  ac_cv_libcrypto_dummy=yes
42909else
42910  ac_cv_libcrypto_dummy=no
42911fi
42912
42913
42914  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
42915      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
42916$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
42917if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
42918  $as_echo_n "(cached) " >&6
42919else
42920  ac_check_lib_save_LIBS=$LIBS
42921LIBS="-lcrypto  $LIBS"
42922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42923/* end confdefs.h.  */
42924
42925/* Override any GCC internal prototype to avoid an error.
42926   Use char because int might match the return type of a GCC
42927   builtin and then its argument prototype would still apply.  */
42928#ifdef __cplusplus
42929extern "C"
42930#endif
42931char EVP_MD_CTX_free ();
42932int
42933main ()
42934{
42935return EVP_MD_CTX_free ();
42936  ;
42937  return 0;
42938}
42939_ACEOF
42940if ac_fn_c_try_link "$LINENO"; then :
42941  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
42942else
42943  ac_cv_lib_crypto_EVP_MD_CTX_free=no
42944fi
42945rm -f core conftest.err conftest.$ac_objext \
42946    conftest$ac_exeext conftest.$ac_ext
42947LIBS=$ac_check_lib_save_LIBS
42948fi
42949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
42950$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
42951if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
42952  ac_cv_libcrypto_dummy=yes
42953else
42954  ac_cv_libcrypto_evp_md=no
42955fi
42956
42957
42958else
42959      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
42960$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
42961if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
42962  $as_echo_n "(cached) " >&6
42963else
42964  ac_check_lib_save_LIBS=$LIBS
42965LIBS="-lcrypto  $LIBS"
42966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967/* end confdefs.h.  */
42968
42969/* Override any GCC internal prototype to avoid an error.
42970   Use char because int might match the return type of a GCC
42971   builtin and then its argument prototype would still apply.  */
42972#ifdef __cplusplus
42973extern "C"
42974#endif
42975char EVP_MD_CTX_init ();
42976int
42977main ()
42978{
42979return EVP_MD_CTX_init ();
42980  ;
42981  return 0;
42982}
42983_ACEOF
42984if ac_fn_c_try_link "$LINENO"; then :
42985  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
42986else
42987  ac_cv_lib_crypto_EVP_MD_CTX_init=no
42988fi
42989rm -f core conftest.err conftest.$ac_objext \
42990    conftest$ac_exeext conftest.$ac_ext
42991LIBS=$ac_check_lib_save_LIBS
42992fi
42993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
42994$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
42995if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
42996  ac_cv_libcrypto_dummy=yes
42997else
42998  ac_cv_libcrypto_evp_md=no
42999fi
43000
43001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
43002$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
43003if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
43004  $as_echo_n "(cached) " >&6
43005else
43006  ac_check_lib_save_LIBS=$LIBS
43007LIBS="-lcrypto  $LIBS"
43008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009/* end confdefs.h.  */
43010
43011/* Override any GCC internal prototype to avoid an error.
43012   Use char because int might match the return type of a GCC
43013   builtin and then its argument prototype would still apply.  */
43014#ifdef __cplusplus
43015extern "C"
43016#endif
43017char EVP_MD_CTX_cleanup ();
43018int
43019main ()
43020{
43021return EVP_MD_CTX_cleanup ();
43022  ;
43023  return 0;
43024}
43025_ACEOF
43026if ac_fn_c_try_link "$LINENO"; then :
43027  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
43028else
43029  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
43030fi
43031rm -f core conftest.err conftest.$ac_objext \
43032    conftest$ac_exeext conftest.$ac_ext
43033LIBS=$ac_check_lib_save_LIBS
43034fi
43035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
43036$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
43037if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
43038  ac_cv_libcrypto_dummy=yes
43039else
43040  ac_cv_libcrypto_evp_md=no
43041fi
43042
43043
43044    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
43045$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
43046if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
43047  $as_echo_n "(cached) " >&6
43048else
43049  ac_check_lib_save_LIBS=$LIBS
43050LIBS="-lcrypto  $LIBS"
43051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43052/* end confdefs.h.  */
43053
43054/* Override any GCC internal prototype to avoid an error.
43055   Use char because int might match the return type of a GCC
43056   builtin and then its argument prototype would still apply.  */
43057#ifdef __cplusplus
43058extern "C"
43059#endif
43060char ERR_remove_thread_state ();
43061int
43062main ()
43063{
43064return ERR_remove_thread_state ();
43065  ;
43066  return 0;
43067}
43068_ACEOF
43069if ac_fn_c_try_link "$LINENO"; then :
43070  ac_cv_lib_crypto_ERR_remove_thread_state=yes
43071else
43072  ac_cv_lib_crypto_ERR_remove_thread_state=no
43073fi
43074rm -f core conftest.err conftest.$ac_objext \
43075    conftest$ac_exeext conftest.$ac_ext
43076LIBS=$ac_check_lib_save_LIBS
43077fi
43078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
43079$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
43080if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
43081  ac_cv_libcrypto_dummy=yes
43082else
43083  ac_cv_libcrypto_evp_md=no
43084fi
43085
43086
43087fi
43088
43089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
43090$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
43091if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
43092  $as_echo_n "(cached) " >&6
43093else
43094  ac_check_lib_save_LIBS=$LIBS
43095LIBS="-lcrypto  $LIBS"
43096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43097/* end confdefs.h.  */
43098
43099/* Override any GCC internal prototype to avoid an error.
43100   Use char because int might match the return type of a GCC
43101   builtin and then its argument prototype would still apply.  */
43102#ifdef __cplusplus
43103extern "C"
43104#endif
43105char EVP_DigestInit_ex ();
43106int
43107main ()
43108{
43109return EVP_DigestInit_ex ();
43110  ;
43111  return 0;
43112}
43113_ACEOF
43114if ac_fn_c_try_link "$LINENO"; then :
43115  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
43116else
43117  ac_cv_lib_crypto_EVP_DigestInit_ex=no
43118fi
43119rm -f core conftest.err conftest.$ac_objext \
43120    conftest$ac_exeext conftest.$ac_ext
43121LIBS=$ac_check_lib_save_LIBS
43122fi
43123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
43124$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
43125if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
43126  ac_cv_libcrypto_dummy=yes
43127else
43128  ac_cv_libcrypto_evp_md=no
43129fi
43130
43131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
43132$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
43133if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
43134  $as_echo_n "(cached) " >&6
43135else
43136  ac_check_lib_save_LIBS=$LIBS
43137LIBS="-lcrypto  $LIBS"
43138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43139/* end confdefs.h.  */
43140
43141/* Override any GCC internal prototype to avoid an error.
43142   Use char because int might match the return type of a GCC
43143   builtin and then its argument prototype would still apply.  */
43144#ifdef __cplusplus
43145extern "C"
43146#endif
43147char EVP_DigestUpdate ();
43148int
43149main ()
43150{
43151return EVP_DigestUpdate ();
43152  ;
43153  return 0;
43154}
43155_ACEOF
43156if ac_fn_c_try_link "$LINENO"; then :
43157  ac_cv_lib_crypto_EVP_DigestUpdate=yes
43158else
43159  ac_cv_lib_crypto_EVP_DigestUpdate=no
43160fi
43161rm -f core conftest.err conftest.$ac_objext \
43162    conftest$ac_exeext conftest.$ac_ext
43163LIBS=$ac_check_lib_save_LIBS
43164fi
43165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
43166$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
43167if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
43168  ac_cv_libcrypto_dummy=yes
43169else
43170  ac_cv_libcrypto_evp_md=no
43171fi
43172
43173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
43174$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
43175if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
43176  $as_echo_n "(cached) " >&6
43177else
43178  ac_check_lib_save_LIBS=$LIBS
43179LIBS="-lcrypto  $LIBS"
43180cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43181/* end confdefs.h.  */
43182
43183/* Override any GCC internal prototype to avoid an error.
43184   Use char because int might match the return type of a GCC
43185   builtin and then its argument prototype would still apply.  */
43186#ifdef __cplusplus
43187extern "C"
43188#endif
43189char EVP_DigestFinal_ex ();
43190int
43191main ()
43192{
43193return EVP_DigestFinal_ex ();
43194  ;
43195  return 0;
43196}
43197_ACEOF
43198if ac_fn_c_try_link "$LINENO"; then :
43199  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
43200else
43201  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
43202fi
43203rm -f core conftest.err conftest.$ac_objext \
43204    conftest$ac_exeext conftest.$ac_ext
43205LIBS=$ac_check_lib_save_LIBS
43206fi
43207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
43208$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
43209if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
43210  ac_cv_libcrypto_dummy=yes
43211else
43212  ac_cv_libcrypto_evp_md=no
43213fi
43214
43215
43216  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
43217  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
43219as_fn_error 1 "Missing OpenSSL EVP MD support
43220See \`config.log' for more details" "$LINENO" 5; }
43221
43222fi
43223
43224  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
43225
43226$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
43227
43228
43229fi
43230
43231  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
43232
43233$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
43234
43235
43236fi
43237
43238fi
43239
43240    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
43241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha1 in -lcrypto" >&5
43242$as_echo_n "checking for EVP_sha1 in -lcrypto... " >&6; }
43243if ${ac_cv_lib_crypto_EVP_sha1+:} false; then :
43244  $as_echo_n "(cached) " >&6
43245else
43246  ac_check_lib_save_LIBS=$LIBS
43247LIBS="-lcrypto  $LIBS"
43248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43249/* end confdefs.h.  */
43250
43251/* Override any GCC internal prototype to avoid an error.
43252   Use char because int might match the return type of a GCC
43253   builtin and then its argument prototype would still apply.  */
43254#ifdef __cplusplus
43255extern "C"
43256#endif
43257char EVP_sha1 ();
43258int
43259main ()
43260{
43261return EVP_sha1 ();
43262  ;
43263  return 0;
43264}
43265_ACEOF
43266if ac_fn_c_try_link "$LINENO"; then :
43267  ac_cv_lib_crypto_EVP_sha1=yes
43268else
43269  ac_cv_lib_crypto_EVP_sha1=no
43270fi
43271rm -f core conftest.err conftest.$ac_objext \
43272    conftest$ac_exeext conftest.$ac_ext
43273LIBS=$ac_check_lib_save_LIBS
43274fi
43275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha1" >&5
43276$as_echo "$ac_cv_lib_crypto_EVP_sha1" >&6; }
43277if test "x$ac_cv_lib_crypto_EVP_sha1" = xyes; then :
43278  ac_cv_libcrypto_sha1=libcrypto_evp
43279else
43280  ac_cv_libcrypto_sha1=no
43281fi
43282
43283
43284  if test "x$ac_cv_libcrypto_sha1" = xlibcrypto_evp; then :
43285
43286$as_echo "#define HAVE_EVP_SHA1 1" >>confdefs.h
43287
43288
43289fi
43290
43291fi
43292
43293    if test "x$ac_cv_libcrypto_sha1" = xno; then :
43294  for ac_header in openssl/sha.h
43295do :
43296  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
43297if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
43298  cat >>confdefs.h <<_ACEOF
43299#define HAVE_OPENSSL_SHA_H 1
43300_ACEOF
43301
43302fi
43303
43304done
43305
43306
43307  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
43308  ac_cv_libcrypto_sha1=no
43309else
43310  ac_cv_libcrypto_sha1=libcrypto
43311
43312    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
43313$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
43314if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
43315  $as_echo_n "(cached) " >&6
43316else
43317  ac_check_lib_save_LIBS=$LIBS
43318LIBS="-lcrypto  $LIBS"
43319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320/* end confdefs.h.  */
43321
43322/* Override any GCC internal prototype to avoid an error.
43323   Use char because int might match the return type of a GCC
43324   builtin and then its argument prototype would still apply.  */
43325#ifdef __cplusplus
43326extern "C"
43327#endif
43328char SHA1_Init ();
43329int
43330main ()
43331{
43332return SHA1_Init ();
43333  ;
43334  return 0;
43335}
43336_ACEOF
43337if ac_fn_c_try_link "$LINENO"; then :
43338  ac_cv_lib_crypto_SHA1_Init=yes
43339else
43340  ac_cv_lib_crypto_SHA1_Init=no
43341fi
43342rm -f core conftest.err conftest.$ac_objext \
43343    conftest$ac_exeext conftest.$ac_ext
43344LIBS=$ac_check_lib_save_LIBS
43345fi
43346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
43347$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
43348if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
43349  ac_cv_libcrypto_dummy=yes
43350else
43351  ac_cv_libcrypto_sha1=no
43352fi
43353
43354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Update in -lcrypto" >&5
43355$as_echo_n "checking for SHA1_Update in -lcrypto... " >&6; }
43356if ${ac_cv_lib_crypto_SHA1_Update+:} false; then :
43357  $as_echo_n "(cached) " >&6
43358else
43359  ac_check_lib_save_LIBS=$LIBS
43360LIBS="-lcrypto  $LIBS"
43361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43362/* end confdefs.h.  */
43363
43364/* Override any GCC internal prototype to avoid an error.
43365   Use char because int might match the return type of a GCC
43366   builtin and then its argument prototype would still apply.  */
43367#ifdef __cplusplus
43368extern "C"
43369#endif
43370char SHA1_Update ();
43371int
43372main ()
43373{
43374return SHA1_Update ();
43375  ;
43376  return 0;
43377}
43378_ACEOF
43379if ac_fn_c_try_link "$LINENO"; then :
43380  ac_cv_lib_crypto_SHA1_Update=yes
43381else
43382  ac_cv_lib_crypto_SHA1_Update=no
43383fi
43384rm -f core conftest.err conftest.$ac_objext \
43385    conftest$ac_exeext conftest.$ac_ext
43386LIBS=$ac_check_lib_save_LIBS
43387fi
43388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Update" >&5
43389$as_echo "$ac_cv_lib_crypto_SHA1_Update" >&6; }
43390if test "x$ac_cv_lib_crypto_SHA1_Update" = xyes; then :
43391  ac_cv_libcrypto_dummy=yes
43392else
43393  ac_cv_libcrypto_sha1=no
43394fi
43395
43396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Final in -lcrypto" >&5
43397$as_echo_n "checking for SHA1_Final in -lcrypto... " >&6; }
43398if ${ac_cv_lib_crypto_SHA1_Final+:} false; then :
43399  $as_echo_n "(cached) " >&6
43400else
43401  ac_check_lib_save_LIBS=$LIBS
43402LIBS="-lcrypto  $LIBS"
43403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43404/* end confdefs.h.  */
43405
43406/* Override any GCC internal prototype to avoid an error.
43407   Use char because int might match the return type of a GCC
43408   builtin and then its argument prototype would still apply.  */
43409#ifdef __cplusplus
43410extern "C"
43411#endif
43412char SHA1_Final ();
43413int
43414main ()
43415{
43416return SHA1_Final ();
43417  ;
43418  return 0;
43419}
43420_ACEOF
43421if ac_fn_c_try_link "$LINENO"; then :
43422  ac_cv_lib_crypto_SHA1_Final=yes
43423else
43424  ac_cv_lib_crypto_SHA1_Final=no
43425fi
43426rm -f core conftest.err conftest.$ac_objext \
43427    conftest$ac_exeext conftest.$ac_ext
43428LIBS=$ac_check_lib_save_LIBS
43429fi
43430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Final" >&5
43431$as_echo "$ac_cv_lib_crypto_SHA1_Final" >&6; }
43432if test "x$ac_cv_lib_crypto_SHA1_Final" = xyes; then :
43433  ac_cv_libcrypto_dummy=yes
43434else
43435  ac_cv_libcrypto_sha1=no
43436fi
43437
43438
43439fi
43440
43441  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha1" = xlibcrypto; then :
43442  ac_cv_libcrypto=yes
43443fi
43444
43445fi
43446
43447    ac_cv_libcrypto_sha224=no
43448
43449    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 :
43450  ac_cv_libcrypto_evp_md=yes
43451
43452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
43453$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
43454if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
43455  $as_echo_n "(cached) " >&6
43456else
43457  ac_check_lib_save_LIBS=$LIBS
43458LIBS="-lcrypto  $LIBS"
43459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43460/* end confdefs.h.  */
43461
43462/* Override any GCC internal prototype to avoid an error.
43463   Use char because int might match the return type of a GCC
43464   builtin and then its argument prototype would still apply.  */
43465#ifdef __cplusplus
43466extern "C"
43467#endif
43468char EVP_MD_CTX_new ();
43469int
43470main ()
43471{
43472return EVP_MD_CTX_new ();
43473  ;
43474  return 0;
43475}
43476_ACEOF
43477if ac_fn_c_try_link "$LINENO"; then :
43478  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
43479else
43480  ac_cv_lib_crypto_EVP_MD_CTX_new=no
43481fi
43482rm -f core conftest.err conftest.$ac_objext \
43483    conftest$ac_exeext conftest.$ac_ext
43484LIBS=$ac_check_lib_save_LIBS
43485fi
43486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
43487$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
43488if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
43489  ac_cv_libcrypto_dummy=yes
43490else
43491  ac_cv_libcrypto_dummy=no
43492fi
43493
43494
43495  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
43496      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
43497$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
43498if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
43499  $as_echo_n "(cached) " >&6
43500else
43501  ac_check_lib_save_LIBS=$LIBS
43502LIBS="-lcrypto  $LIBS"
43503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43504/* end confdefs.h.  */
43505
43506/* Override any GCC internal prototype to avoid an error.
43507   Use char because int might match the return type of a GCC
43508   builtin and then its argument prototype would still apply.  */
43509#ifdef __cplusplus
43510extern "C"
43511#endif
43512char EVP_MD_CTX_free ();
43513int
43514main ()
43515{
43516return EVP_MD_CTX_free ();
43517  ;
43518  return 0;
43519}
43520_ACEOF
43521if ac_fn_c_try_link "$LINENO"; then :
43522  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
43523else
43524  ac_cv_lib_crypto_EVP_MD_CTX_free=no
43525fi
43526rm -f core conftest.err conftest.$ac_objext \
43527    conftest$ac_exeext conftest.$ac_ext
43528LIBS=$ac_check_lib_save_LIBS
43529fi
43530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
43531$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
43532if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
43533  ac_cv_libcrypto_dummy=yes
43534else
43535  ac_cv_libcrypto_evp_md=no
43536fi
43537
43538
43539else
43540      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
43541$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
43542if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
43543  $as_echo_n "(cached) " >&6
43544else
43545  ac_check_lib_save_LIBS=$LIBS
43546LIBS="-lcrypto  $LIBS"
43547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43548/* end confdefs.h.  */
43549
43550/* Override any GCC internal prototype to avoid an error.
43551   Use char because int might match the return type of a GCC
43552   builtin and then its argument prototype would still apply.  */
43553#ifdef __cplusplus
43554extern "C"
43555#endif
43556char EVP_MD_CTX_init ();
43557int
43558main ()
43559{
43560return EVP_MD_CTX_init ();
43561  ;
43562  return 0;
43563}
43564_ACEOF
43565if ac_fn_c_try_link "$LINENO"; then :
43566  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
43567else
43568  ac_cv_lib_crypto_EVP_MD_CTX_init=no
43569fi
43570rm -f core conftest.err conftest.$ac_objext \
43571    conftest$ac_exeext conftest.$ac_ext
43572LIBS=$ac_check_lib_save_LIBS
43573fi
43574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
43575$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
43576if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
43577  ac_cv_libcrypto_dummy=yes
43578else
43579  ac_cv_libcrypto_evp_md=no
43580fi
43581
43582    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
43583$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
43584if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
43585  $as_echo_n "(cached) " >&6
43586else
43587  ac_check_lib_save_LIBS=$LIBS
43588LIBS="-lcrypto  $LIBS"
43589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43590/* end confdefs.h.  */
43591
43592/* Override any GCC internal prototype to avoid an error.
43593   Use char because int might match the return type of a GCC
43594   builtin and then its argument prototype would still apply.  */
43595#ifdef __cplusplus
43596extern "C"
43597#endif
43598char EVP_MD_CTX_cleanup ();
43599int
43600main ()
43601{
43602return EVP_MD_CTX_cleanup ();
43603  ;
43604  return 0;
43605}
43606_ACEOF
43607if ac_fn_c_try_link "$LINENO"; then :
43608  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
43609else
43610  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
43611fi
43612rm -f core conftest.err conftest.$ac_objext \
43613    conftest$ac_exeext conftest.$ac_ext
43614LIBS=$ac_check_lib_save_LIBS
43615fi
43616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
43617$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
43618if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
43619  ac_cv_libcrypto_dummy=yes
43620else
43621  ac_cv_libcrypto_evp_md=no
43622fi
43623
43624
43625    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
43626$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
43627if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
43628  $as_echo_n "(cached) " >&6
43629else
43630  ac_check_lib_save_LIBS=$LIBS
43631LIBS="-lcrypto  $LIBS"
43632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43633/* end confdefs.h.  */
43634
43635/* Override any GCC internal prototype to avoid an error.
43636   Use char because int might match the return type of a GCC
43637   builtin and then its argument prototype would still apply.  */
43638#ifdef __cplusplus
43639extern "C"
43640#endif
43641char ERR_remove_thread_state ();
43642int
43643main ()
43644{
43645return ERR_remove_thread_state ();
43646  ;
43647  return 0;
43648}
43649_ACEOF
43650if ac_fn_c_try_link "$LINENO"; then :
43651  ac_cv_lib_crypto_ERR_remove_thread_state=yes
43652else
43653  ac_cv_lib_crypto_ERR_remove_thread_state=no
43654fi
43655rm -f core conftest.err conftest.$ac_objext \
43656    conftest$ac_exeext conftest.$ac_ext
43657LIBS=$ac_check_lib_save_LIBS
43658fi
43659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
43660$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
43661if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
43662  ac_cv_libcrypto_dummy=yes
43663else
43664  ac_cv_libcrypto_evp_md=no
43665fi
43666
43667
43668fi
43669
43670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
43671$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
43672if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
43673  $as_echo_n "(cached) " >&6
43674else
43675  ac_check_lib_save_LIBS=$LIBS
43676LIBS="-lcrypto  $LIBS"
43677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43678/* end confdefs.h.  */
43679
43680/* Override any GCC internal prototype to avoid an error.
43681   Use char because int might match the return type of a GCC
43682   builtin and then its argument prototype would still apply.  */
43683#ifdef __cplusplus
43684extern "C"
43685#endif
43686char EVP_DigestInit_ex ();
43687int
43688main ()
43689{
43690return EVP_DigestInit_ex ();
43691  ;
43692  return 0;
43693}
43694_ACEOF
43695if ac_fn_c_try_link "$LINENO"; then :
43696  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
43697else
43698  ac_cv_lib_crypto_EVP_DigestInit_ex=no
43699fi
43700rm -f core conftest.err conftest.$ac_objext \
43701    conftest$ac_exeext conftest.$ac_ext
43702LIBS=$ac_check_lib_save_LIBS
43703fi
43704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
43705$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
43706if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
43707  ac_cv_libcrypto_dummy=yes
43708else
43709  ac_cv_libcrypto_evp_md=no
43710fi
43711
43712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
43713$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
43714if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
43715  $as_echo_n "(cached) " >&6
43716else
43717  ac_check_lib_save_LIBS=$LIBS
43718LIBS="-lcrypto  $LIBS"
43719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43720/* end confdefs.h.  */
43721
43722/* Override any GCC internal prototype to avoid an error.
43723   Use char because int might match the return type of a GCC
43724   builtin and then its argument prototype would still apply.  */
43725#ifdef __cplusplus
43726extern "C"
43727#endif
43728char EVP_DigestUpdate ();
43729int
43730main ()
43731{
43732return EVP_DigestUpdate ();
43733  ;
43734  return 0;
43735}
43736_ACEOF
43737if ac_fn_c_try_link "$LINENO"; then :
43738  ac_cv_lib_crypto_EVP_DigestUpdate=yes
43739else
43740  ac_cv_lib_crypto_EVP_DigestUpdate=no
43741fi
43742rm -f core conftest.err conftest.$ac_objext \
43743    conftest$ac_exeext conftest.$ac_ext
43744LIBS=$ac_check_lib_save_LIBS
43745fi
43746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
43747$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
43748if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
43749  ac_cv_libcrypto_dummy=yes
43750else
43751  ac_cv_libcrypto_evp_md=no
43752fi
43753
43754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
43755$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
43756if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
43757  $as_echo_n "(cached) " >&6
43758else
43759  ac_check_lib_save_LIBS=$LIBS
43760LIBS="-lcrypto  $LIBS"
43761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43762/* end confdefs.h.  */
43763
43764/* Override any GCC internal prototype to avoid an error.
43765   Use char because int might match the return type of a GCC
43766   builtin and then its argument prototype would still apply.  */
43767#ifdef __cplusplus
43768extern "C"
43769#endif
43770char EVP_DigestFinal_ex ();
43771int
43772main ()
43773{
43774return EVP_DigestFinal_ex ();
43775  ;
43776  return 0;
43777}
43778_ACEOF
43779if ac_fn_c_try_link "$LINENO"; then :
43780  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
43781else
43782  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
43783fi
43784rm -f core conftest.err conftest.$ac_objext \
43785    conftest$ac_exeext conftest.$ac_ext
43786LIBS=$ac_check_lib_save_LIBS
43787fi
43788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
43789$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
43790if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
43791  ac_cv_libcrypto_dummy=yes
43792else
43793  ac_cv_libcrypto_evp_md=no
43794fi
43795
43796
43797  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
43798  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43799$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
43800as_fn_error 1 "Missing OpenSSL EVP MD support
43801See \`config.log' for more details" "$LINENO" 5; }
43802
43803fi
43804
43805  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
43806
43807$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
43808
43809
43810fi
43811
43812  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
43813
43814$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
43815
43816
43817fi
43818
43819fi
43820
43821    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
43822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha224 in -lcrypto" >&5
43823$as_echo_n "checking for EVP_sha224 in -lcrypto... " >&6; }
43824if ${ac_cv_lib_crypto_EVP_sha224+:} false; then :
43825  $as_echo_n "(cached) " >&6
43826else
43827  ac_check_lib_save_LIBS=$LIBS
43828LIBS="-lcrypto  $LIBS"
43829cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43830/* end confdefs.h.  */
43831
43832/* Override any GCC internal prototype to avoid an error.
43833   Use char because int might match the return type of a GCC
43834   builtin and then its argument prototype would still apply.  */
43835#ifdef __cplusplus
43836extern "C"
43837#endif
43838char EVP_sha224 ();
43839int
43840main ()
43841{
43842return EVP_sha224 ();
43843  ;
43844  return 0;
43845}
43846_ACEOF
43847if ac_fn_c_try_link "$LINENO"; then :
43848  ac_cv_lib_crypto_EVP_sha224=yes
43849else
43850  ac_cv_lib_crypto_EVP_sha224=no
43851fi
43852rm -f core conftest.err conftest.$ac_objext \
43853    conftest$ac_exeext conftest.$ac_ext
43854LIBS=$ac_check_lib_save_LIBS
43855fi
43856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha224" >&5
43857$as_echo "$ac_cv_lib_crypto_EVP_sha224" >&6; }
43858if test "x$ac_cv_lib_crypto_EVP_sha224" = xyes; then :
43859  ac_cv_libcrypto_sha224=libcrypto_evp
43860else
43861  ac_cv_libcrypto_sha224=no
43862fi
43863
43864
43865  if test "x$ac_cv_libcrypto_sha224" = xlibcrypto_evp; then :
43866
43867$as_echo "#define HAVE_EVP_SHA224 1" >>confdefs.h
43868
43869
43870fi
43871
43872fi
43873
43874    if test "x$ac_cv_libcrypto_sha224" = xno; then :
43875  for ac_header in openssl/sha.h
43876do :
43877  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
43878if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
43879  cat >>confdefs.h <<_ACEOF
43880#define HAVE_OPENSSL_SHA_H 1
43881_ACEOF
43882
43883fi
43884
43885done
43886
43887
43888  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
43889  ac_cv_libcrypto_sha224=no
43890else
43891  ac_cv_libcrypto_sha224=libcrypto
43892
43893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Init in -lcrypto" >&5
43894$as_echo_n "checking for SHA224_Init in -lcrypto... " >&6; }
43895if ${ac_cv_lib_crypto_SHA224_Init+:} false; then :
43896  $as_echo_n "(cached) " >&6
43897else
43898  ac_check_lib_save_LIBS=$LIBS
43899LIBS="-lcrypto  $LIBS"
43900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43901/* end confdefs.h.  */
43902
43903/* Override any GCC internal prototype to avoid an error.
43904   Use char because int might match the return type of a GCC
43905   builtin and then its argument prototype would still apply.  */
43906#ifdef __cplusplus
43907extern "C"
43908#endif
43909char SHA224_Init ();
43910int
43911main ()
43912{
43913return SHA224_Init ();
43914  ;
43915  return 0;
43916}
43917_ACEOF
43918if ac_fn_c_try_link "$LINENO"; then :
43919  ac_cv_lib_crypto_SHA224_Init=yes
43920else
43921  ac_cv_lib_crypto_SHA224_Init=no
43922fi
43923rm -f core conftest.err conftest.$ac_objext \
43924    conftest$ac_exeext conftest.$ac_ext
43925LIBS=$ac_check_lib_save_LIBS
43926fi
43927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Init" >&5
43928$as_echo "$ac_cv_lib_crypto_SHA224_Init" >&6; }
43929if test "x$ac_cv_lib_crypto_SHA224_Init" = xyes; then :
43930  ac_cv_libcrypto_dummy=yes
43931else
43932  ac_cv_libcrypto_sha224=no
43933fi
43934
43935    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Update in -lcrypto" >&5
43936$as_echo_n "checking for SHA224_Update in -lcrypto... " >&6; }
43937if ${ac_cv_lib_crypto_SHA224_Update+:} false; then :
43938  $as_echo_n "(cached) " >&6
43939else
43940  ac_check_lib_save_LIBS=$LIBS
43941LIBS="-lcrypto  $LIBS"
43942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43943/* end confdefs.h.  */
43944
43945/* Override any GCC internal prototype to avoid an error.
43946   Use char because int might match the return type of a GCC
43947   builtin and then its argument prototype would still apply.  */
43948#ifdef __cplusplus
43949extern "C"
43950#endif
43951char SHA224_Update ();
43952int
43953main ()
43954{
43955return SHA224_Update ();
43956  ;
43957  return 0;
43958}
43959_ACEOF
43960if ac_fn_c_try_link "$LINENO"; then :
43961  ac_cv_lib_crypto_SHA224_Update=yes
43962else
43963  ac_cv_lib_crypto_SHA224_Update=no
43964fi
43965rm -f core conftest.err conftest.$ac_objext \
43966    conftest$ac_exeext conftest.$ac_ext
43967LIBS=$ac_check_lib_save_LIBS
43968fi
43969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Update" >&5
43970$as_echo "$ac_cv_lib_crypto_SHA224_Update" >&6; }
43971if test "x$ac_cv_lib_crypto_SHA224_Update" = xyes; then :
43972  ac_cv_libcrypto_dummy=yes
43973else
43974  ac_cv_libcrypto_sha224=no
43975fi
43976
43977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Final in -lcrypto" >&5
43978$as_echo_n "checking for SHA224_Final in -lcrypto... " >&6; }
43979if ${ac_cv_lib_crypto_SHA224_Final+:} false; then :
43980  $as_echo_n "(cached) " >&6
43981else
43982  ac_check_lib_save_LIBS=$LIBS
43983LIBS="-lcrypto  $LIBS"
43984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985/* end confdefs.h.  */
43986
43987/* Override any GCC internal prototype to avoid an error.
43988   Use char because int might match the return type of a GCC
43989   builtin and then its argument prototype would still apply.  */
43990#ifdef __cplusplus
43991extern "C"
43992#endif
43993char SHA224_Final ();
43994int
43995main ()
43996{
43997return SHA224_Final ();
43998  ;
43999  return 0;
44000}
44001_ACEOF
44002if ac_fn_c_try_link "$LINENO"; then :
44003  ac_cv_lib_crypto_SHA224_Final=yes
44004else
44005  ac_cv_lib_crypto_SHA224_Final=no
44006fi
44007rm -f core conftest.err conftest.$ac_objext \
44008    conftest$ac_exeext conftest.$ac_ext
44009LIBS=$ac_check_lib_save_LIBS
44010fi
44011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Final" >&5
44012$as_echo "$ac_cv_lib_crypto_SHA224_Final" >&6; }
44013if test "x$ac_cv_lib_crypto_SHA224_Final" = xyes; then :
44014  ac_cv_libcrypto_dummy=yes
44015else
44016  ac_cv_libcrypto_sha224=no
44017fi
44018
44019
44020fi
44021
44022  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha224" = xlibcrypto; then :
44023  ac_cv_libcrypto=yes
44024fi
44025
44026fi
44027
44028    ac_cv_libcrypto_sha256=no
44029
44030    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 :
44031  ac_cv_libcrypto_evp_md=yes
44032
44033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
44034$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
44035if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
44036  $as_echo_n "(cached) " >&6
44037else
44038  ac_check_lib_save_LIBS=$LIBS
44039LIBS="-lcrypto  $LIBS"
44040cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44041/* end confdefs.h.  */
44042
44043/* Override any GCC internal prototype to avoid an error.
44044   Use char because int might match the return type of a GCC
44045   builtin and then its argument prototype would still apply.  */
44046#ifdef __cplusplus
44047extern "C"
44048#endif
44049char EVP_MD_CTX_new ();
44050int
44051main ()
44052{
44053return EVP_MD_CTX_new ();
44054  ;
44055  return 0;
44056}
44057_ACEOF
44058if ac_fn_c_try_link "$LINENO"; then :
44059  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
44060else
44061  ac_cv_lib_crypto_EVP_MD_CTX_new=no
44062fi
44063rm -f core conftest.err conftest.$ac_objext \
44064    conftest$ac_exeext conftest.$ac_ext
44065LIBS=$ac_check_lib_save_LIBS
44066fi
44067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
44068$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
44069if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
44070  ac_cv_libcrypto_dummy=yes
44071else
44072  ac_cv_libcrypto_dummy=no
44073fi
44074
44075
44076  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
44077      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
44078$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
44079if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
44080  $as_echo_n "(cached) " >&6
44081else
44082  ac_check_lib_save_LIBS=$LIBS
44083LIBS="-lcrypto  $LIBS"
44084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44085/* end confdefs.h.  */
44086
44087/* Override any GCC internal prototype to avoid an error.
44088   Use char because int might match the return type of a GCC
44089   builtin and then its argument prototype would still apply.  */
44090#ifdef __cplusplus
44091extern "C"
44092#endif
44093char EVP_MD_CTX_free ();
44094int
44095main ()
44096{
44097return EVP_MD_CTX_free ();
44098  ;
44099  return 0;
44100}
44101_ACEOF
44102if ac_fn_c_try_link "$LINENO"; then :
44103  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
44104else
44105  ac_cv_lib_crypto_EVP_MD_CTX_free=no
44106fi
44107rm -f core conftest.err conftest.$ac_objext \
44108    conftest$ac_exeext conftest.$ac_ext
44109LIBS=$ac_check_lib_save_LIBS
44110fi
44111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
44112$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
44113if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
44114  ac_cv_libcrypto_dummy=yes
44115else
44116  ac_cv_libcrypto_evp_md=no
44117fi
44118
44119
44120else
44121      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
44122$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
44123if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
44124  $as_echo_n "(cached) " >&6
44125else
44126  ac_check_lib_save_LIBS=$LIBS
44127LIBS="-lcrypto  $LIBS"
44128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44129/* end confdefs.h.  */
44130
44131/* Override any GCC internal prototype to avoid an error.
44132   Use char because int might match the return type of a GCC
44133   builtin and then its argument prototype would still apply.  */
44134#ifdef __cplusplus
44135extern "C"
44136#endif
44137char EVP_MD_CTX_init ();
44138int
44139main ()
44140{
44141return EVP_MD_CTX_init ();
44142  ;
44143  return 0;
44144}
44145_ACEOF
44146if ac_fn_c_try_link "$LINENO"; then :
44147  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
44148else
44149  ac_cv_lib_crypto_EVP_MD_CTX_init=no
44150fi
44151rm -f core conftest.err conftest.$ac_objext \
44152    conftest$ac_exeext conftest.$ac_ext
44153LIBS=$ac_check_lib_save_LIBS
44154fi
44155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
44156$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
44157if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
44158  ac_cv_libcrypto_dummy=yes
44159else
44160  ac_cv_libcrypto_evp_md=no
44161fi
44162
44163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
44164$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
44165if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
44166  $as_echo_n "(cached) " >&6
44167else
44168  ac_check_lib_save_LIBS=$LIBS
44169LIBS="-lcrypto  $LIBS"
44170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44171/* end confdefs.h.  */
44172
44173/* Override any GCC internal prototype to avoid an error.
44174   Use char because int might match the return type of a GCC
44175   builtin and then its argument prototype would still apply.  */
44176#ifdef __cplusplus
44177extern "C"
44178#endif
44179char EVP_MD_CTX_cleanup ();
44180int
44181main ()
44182{
44183return EVP_MD_CTX_cleanup ();
44184  ;
44185  return 0;
44186}
44187_ACEOF
44188if ac_fn_c_try_link "$LINENO"; then :
44189  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
44190else
44191  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
44192fi
44193rm -f core conftest.err conftest.$ac_objext \
44194    conftest$ac_exeext conftest.$ac_ext
44195LIBS=$ac_check_lib_save_LIBS
44196fi
44197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
44198$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
44199if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
44200  ac_cv_libcrypto_dummy=yes
44201else
44202  ac_cv_libcrypto_evp_md=no
44203fi
44204
44205
44206    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
44207$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
44208if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
44209  $as_echo_n "(cached) " >&6
44210else
44211  ac_check_lib_save_LIBS=$LIBS
44212LIBS="-lcrypto  $LIBS"
44213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44214/* end confdefs.h.  */
44215
44216/* Override any GCC internal prototype to avoid an error.
44217   Use char because int might match the return type of a GCC
44218   builtin and then its argument prototype would still apply.  */
44219#ifdef __cplusplus
44220extern "C"
44221#endif
44222char ERR_remove_thread_state ();
44223int
44224main ()
44225{
44226return ERR_remove_thread_state ();
44227  ;
44228  return 0;
44229}
44230_ACEOF
44231if ac_fn_c_try_link "$LINENO"; then :
44232  ac_cv_lib_crypto_ERR_remove_thread_state=yes
44233else
44234  ac_cv_lib_crypto_ERR_remove_thread_state=no
44235fi
44236rm -f core conftest.err conftest.$ac_objext \
44237    conftest$ac_exeext conftest.$ac_ext
44238LIBS=$ac_check_lib_save_LIBS
44239fi
44240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
44241$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
44242if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
44243  ac_cv_libcrypto_dummy=yes
44244else
44245  ac_cv_libcrypto_evp_md=no
44246fi
44247
44248
44249fi
44250
44251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
44252$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
44253if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
44254  $as_echo_n "(cached) " >&6
44255else
44256  ac_check_lib_save_LIBS=$LIBS
44257LIBS="-lcrypto  $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 EVP_DigestInit_ex ();
44268int
44269main ()
44270{
44271return EVP_DigestInit_ex ();
44272  ;
44273  return 0;
44274}
44275_ACEOF
44276if ac_fn_c_try_link "$LINENO"; then :
44277  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
44278else
44279  ac_cv_lib_crypto_EVP_DigestInit_ex=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_crypto_EVP_DigestInit_ex" >&5
44286$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
44287if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
44288  ac_cv_libcrypto_dummy=yes
44289else
44290  ac_cv_libcrypto_evp_md=no
44291fi
44292
44293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
44294$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
44295if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
44296  $as_echo_n "(cached) " >&6
44297else
44298  ac_check_lib_save_LIBS=$LIBS
44299LIBS="-lcrypto  $LIBS"
44300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44301/* end confdefs.h.  */
44302
44303/* Override any GCC internal prototype to avoid an error.
44304   Use char because int might match the return type of a GCC
44305   builtin and then its argument prototype would still apply.  */
44306#ifdef __cplusplus
44307extern "C"
44308#endif
44309char EVP_DigestUpdate ();
44310int
44311main ()
44312{
44313return EVP_DigestUpdate ();
44314  ;
44315  return 0;
44316}
44317_ACEOF
44318if ac_fn_c_try_link "$LINENO"; then :
44319  ac_cv_lib_crypto_EVP_DigestUpdate=yes
44320else
44321  ac_cv_lib_crypto_EVP_DigestUpdate=no
44322fi
44323rm -f core conftest.err conftest.$ac_objext \
44324    conftest$ac_exeext conftest.$ac_ext
44325LIBS=$ac_check_lib_save_LIBS
44326fi
44327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
44328$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
44329if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
44330  ac_cv_libcrypto_dummy=yes
44331else
44332  ac_cv_libcrypto_evp_md=no
44333fi
44334
44335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
44336$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
44337if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
44338  $as_echo_n "(cached) " >&6
44339else
44340  ac_check_lib_save_LIBS=$LIBS
44341LIBS="-lcrypto  $LIBS"
44342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44343/* end confdefs.h.  */
44344
44345/* Override any GCC internal prototype to avoid an error.
44346   Use char because int might match the return type of a GCC
44347   builtin and then its argument prototype would still apply.  */
44348#ifdef __cplusplus
44349extern "C"
44350#endif
44351char EVP_DigestFinal_ex ();
44352int
44353main ()
44354{
44355return EVP_DigestFinal_ex ();
44356  ;
44357  return 0;
44358}
44359_ACEOF
44360if ac_fn_c_try_link "$LINENO"; then :
44361  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
44362else
44363  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
44364fi
44365rm -f core conftest.err conftest.$ac_objext \
44366    conftest$ac_exeext conftest.$ac_ext
44367LIBS=$ac_check_lib_save_LIBS
44368fi
44369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
44370$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
44371if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
44372  ac_cv_libcrypto_dummy=yes
44373else
44374  ac_cv_libcrypto_evp_md=no
44375fi
44376
44377
44378  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
44379  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44381as_fn_error 1 "Missing OpenSSL EVP MD support
44382See \`config.log' for more details" "$LINENO" 5; }
44383
44384fi
44385
44386  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
44387
44388$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
44389
44390
44391fi
44392
44393  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
44394
44395$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
44396
44397
44398fi
44399
44400fi
44401
44402    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
44403  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
44404$as_echo_n "checking for EVP_sha256 in -lcrypto... " >&6; }
44405if ${ac_cv_lib_crypto_EVP_sha256+:} false; then :
44406  $as_echo_n "(cached) " >&6
44407else
44408  ac_check_lib_save_LIBS=$LIBS
44409LIBS="-lcrypto  $LIBS"
44410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44411/* end confdefs.h.  */
44412
44413/* Override any GCC internal prototype to avoid an error.
44414   Use char because int might match the return type of a GCC
44415   builtin and then its argument prototype would still apply.  */
44416#ifdef __cplusplus
44417extern "C"
44418#endif
44419char EVP_sha256 ();
44420int
44421main ()
44422{
44423return EVP_sha256 ();
44424  ;
44425  return 0;
44426}
44427_ACEOF
44428if ac_fn_c_try_link "$LINENO"; then :
44429  ac_cv_lib_crypto_EVP_sha256=yes
44430else
44431  ac_cv_lib_crypto_EVP_sha256=no
44432fi
44433rm -f core conftest.err conftest.$ac_objext \
44434    conftest$ac_exeext conftest.$ac_ext
44435LIBS=$ac_check_lib_save_LIBS
44436fi
44437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha256" >&5
44438$as_echo "$ac_cv_lib_crypto_EVP_sha256" >&6; }
44439if test "x$ac_cv_lib_crypto_EVP_sha256" = xyes; then :
44440  ac_cv_libcrypto_sha256=libcrypto_evp
44441else
44442  ac_cv_libcrypto_sha256=no
44443fi
44444
44445
44446  if test "x$ac_cv_libcrypto_sha256" = xlibcrypto_evp; then :
44447
44448$as_echo "#define HAVE_EVP_SHA256 1" >>confdefs.h
44449
44450
44451fi
44452
44453fi
44454
44455    if test "x$ac_cv_libcrypto_sha256" = xno; then :
44456  for ac_header in openssl/sha.h
44457do :
44458  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
44459if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
44460  cat >>confdefs.h <<_ACEOF
44461#define HAVE_OPENSSL_SHA_H 1
44462_ACEOF
44463
44464fi
44465
44466done
44467
44468
44469  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
44470  ac_cv_libcrypto_sha256=no
44471else
44472  ac_cv_libcrypto_sha256=libcrypto
44473
44474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Init in -lcrypto" >&5
44475$as_echo_n "checking for SHA256_Init in -lcrypto... " >&6; }
44476if ${ac_cv_lib_crypto_SHA256_Init+:} false; then :
44477  $as_echo_n "(cached) " >&6
44478else
44479  ac_check_lib_save_LIBS=$LIBS
44480LIBS="-lcrypto  $LIBS"
44481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44482/* end confdefs.h.  */
44483
44484/* Override any GCC internal prototype to avoid an error.
44485   Use char because int might match the return type of a GCC
44486   builtin and then its argument prototype would still apply.  */
44487#ifdef __cplusplus
44488extern "C"
44489#endif
44490char SHA256_Init ();
44491int
44492main ()
44493{
44494return SHA256_Init ();
44495  ;
44496  return 0;
44497}
44498_ACEOF
44499if ac_fn_c_try_link "$LINENO"; then :
44500  ac_cv_lib_crypto_SHA256_Init=yes
44501else
44502  ac_cv_lib_crypto_SHA256_Init=no
44503fi
44504rm -f core conftest.err conftest.$ac_objext \
44505    conftest$ac_exeext conftest.$ac_ext
44506LIBS=$ac_check_lib_save_LIBS
44507fi
44508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Init" >&5
44509$as_echo "$ac_cv_lib_crypto_SHA256_Init" >&6; }
44510if test "x$ac_cv_lib_crypto_SHA256_Init" = xyes; then :
44511  ac_cv_libcrypto_dummy=yes
44512else
44513  ac_cv_libcrypto_sha256=no
44514fi
44515
44516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Update in -lcrypto" >&5
44517$as_echo_n "checking for SHA256_Update in -lcrypto... " >&6; }
44518if ${ac_cv_lib_crypto_SHA256_Update+:} false; then :
44519  $as_echo_n "(cached) " >&6
44520else
44521  ac_check_lib_save_LIBS=$LIBS
44522LIBS="-lcrypto  $LIBS"
44523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44524/* end confdefs.h.  */
44525
44526/* Override any GCC internal prototype to avoid an error.
44527   Use char because int might match the return type of a GCC
44528   builtin and then its argument prototype would still apply.  */
44529#ifdef __cplusplus
44530extern "C"
44531#endif
44532char SHA256_Update ();
44533int
44534main ()
44535{
44536return SHA256_Update ();
44537  ;
44538  return 0;
44539}
44540_ACEOF
44541if ac_fn_c_try_link "$LINENO"; then :
44542  ac_cv_lib_crypto_SHA256_Update=yes
44543else
44544  ac_cv_lib_crypto_SHA256_Update=no
44545fi
44546rm -f core conftest.err conftest.$ac_objext \
44547    conftest$ac_exeext conftest.$ac_ext
44548LIBS=$ac_check_lib_save_LIBS
44549fi
44550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Update" >&5
44551$as_echo "$ac_cv_lib_crypto_SHA256_Update" >&6; }
44552if test "x$ac_cv_lib_crypto_SHA256_Update" = xyes; then :
44553  ac_cv_libcrypto_dummy=yes
44554else
44555  ac_cv_libcrypto_sha256=no
44556fi
44557
44558    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Final in -lcrypto" >&5
44559$as_echo_n "checking for SHA256_Final in -lcrypto... " >&6; }
44560if ${ac_cv_lib_crypto_SHA256_Final+:} false; then :
44561  $as_echo_n "(cached) " >&6
44562else
44563  ac_check_lib_save_LIBS=$LIBS
44564LIBS="-lcrypto  $LIBS"
44565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44566/* end confdefs.h.  */
44567
44568/* Override any GCC internal prototype to avoid an error.
44569   Use char because int might match the return type of a GCC
44570   builtin and then its argument prototype would still apply.  */
44571#ifdef __cplusplus
44572extern "C"
44573#endif
44574char SHA256_Final ();
44575int
44576main ()
44577{
44578return SHA256_Final ();
44579  ;
44580  return 0;
44581}
44582_ACEOF
44583if ac_fn_c_try_link "$LINENO"; then :
44584  ac_cv_lib_crypto_SHA256_Final=yes
44585else
44586  ac_cv_lib_crypto_SHA256_Final=no
44587fi
44588rm -f core conftest.err conftest.$ac_objext \
44589    conftest$ac_exeext conftest.$ac_ext
44590LIBS=$ac_check_lib_save_LIBS
44591fi
44592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Final" >&5
44593$as_echo "$ac_cv_lib_crypto_SHA256_Final" >&6; }
44594if test "x$ac_cv_lib_crypto_SHA256_Final" = xyes; then :
44595  ac_cv_libcrypto_dummy=yes
44596else
44597  ac_cv_libcrypto_sha256=no
44598fi
44599
44600
44601fi
44602
44603  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha256" = xlibcrypto; then :
44604  ac_cv_libcrypto=yes
44605fi
44606
44607fi
44608
44609    ac_cv_libcrypto_sha512=no
44610
44611    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 :
44612  ac_cv_libcrypto_evp_md=yes
44613
44614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
44615$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
44616if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
44617  $as_echo_n "(cached) " >&6
44618else
44619  ac_check_lib_save_LIBS=$LIBS
44620LIBS="-lcrypto  $LIBS"
44621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44622/* end confdefs.h.  */
44623
44624/* Override any GCC internal prototype to avoid an error.
44625   Use char because int might match the return type of a GCC
44626   builtin and then its argument prototype would still apply.  */
44627#ifdef __cplusplus
44628extern "C"
44629#endif
44630char EVP_MD_CTX_new ();
44631int
44632main ()
44633{
44634return EVP_MD_CTX_new ();
44635  ;
44636  return 0;
44637}
44638_ACEOF
44639if ac_fn_c_try_link "$LINENO"; then :
44640  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
44641else
44642  ac_cv_lib_crypto_EVP_MD_CTX_new=no
44643fi
44644rm -f core conftest.err conftest.$ac_objext \
44645    conftest$ac_exeext conftest.$ac_ext
44646LIBS=$ac_check_lib_save_LIBS
44647fi
44648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
44649$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
44650if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
44651  ac_cv_libcrypto_dummy=yes
44652else
44653  ac_cv_libcrypto_dummy=no
44654fi
44655
44656
44657  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
44658      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
44659$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
44660if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
44661  $as_echo_n "(cached) " >&6
44662else
44663  ac_check_lib_save_LIBS=$LIBS
44664LIBS="-lcrypto  $LIBS"
44665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44666/* end confdefs.h.  */
44667
44668/* Override any GCC internal prototype to avoid an error.
44669   Use char because int might match the return type of a GCC
44670   builtin and then its argument prototype would still apply.  */
44671#ifdef __cplusplus
44672extern "C"
44673#endif
44674char EVP_MD_CTX_free ();
44675int
44676main ()
44677{
44678return EVP_MD_CTX_free ();
44679  ;
44680  return 0;
44681}
44682_ACEOF
44683if ac_fn_c_try_link "$LINENO"; then :
44684  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
44685else
44686  ac_cv_lib_crypto_EVP_MD_CTX_free=no
44687fi
44688rm -f core conftest.err conftest.$ac_objext \
44689    conftest$ac_exeext conftest.$ac_ext
44690LIBS=$ac_check_lib_save_LIBS
44691fi
44692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
44693$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
44694if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
44695  ac_cv_libcrypto_dummy=yes
44696else
44697  ac_cv_libcrypto_evp_md=no
44698fi
44699
44700
44701else
44702      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
44703$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
44704if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
44705  $as_echo_n "(cached) " >&6
44706else
44707  ac_check_lib_save_LIBS=$LIBS
44708LIBS="-lcrypto  $LIBS"
44709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44710/* end confdefs.h.  */
44711
44712/* Override any GCC internal prototype to avoid an error.
44713   Use char because int might match the return type of a GCC
44714   builtin and then its argument prototype would still apply.  */
44715#ifdef __cplusplus
44716extern "C"
44717#endif
44718char EVP_MD_CTX_init ();
44719int
44720main ()
44721{
44722return EVP_MD_CTX_init ();
44723  ;
44724  return 0;
44725}
44726_ACEOF
44727if ac_fn_c_try_link "$LINENO"; then :
44728  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
44729else
44730  ac_cv_lib_crypto_EVP_MD_CTX_init=no
44731fi
44732rm -f core conftest.err conftest.$ac_objext \
44733    conftest$ac_exeext conftest.$ac_ext
44734LIBS=$ac_check_lib_save_LIBS
44735fi
44736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
44737$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
44738if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
44739  ac_cv_libcrypto_dummy=yes
44740else
44741  ac_cv_libcrypto_evp_md=no
44742fi
44743
44744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
44745$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
44746if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
44747  $as_echo_n "(cached) " >&6
44748else
44749  ac_check_lib_save_LIBS=$LIBS
44750LIBS="-lcrypto  $LIBS"
44751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44752/* end confdefs.h.  */
44753
44754/* Override any GCC internal prototype to avoid an error.
44755   Use char because int might match the return type of a GCC
44756   builtin and then its argument prototype would still apply.  */
44757#ifdef __cplusplus
44758extern "C"
44759#endif
44760char EVP_MD_CTX_cleanup ();
44761int
44762main ()
44763{
44764return EVP_MD_CTX_cleanup ();
44765  ;
44766  return 0;
44767}
44768_ACEOF
44769if ac_fn_c_try_link "$LINENO"; then :
44770  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
44771else
44772  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
44773fi
44774rm -f core conftest.err conftest.$ac_objext \
44775    conftest$ac_exeext conftest.$ac_ext
44776LIBS=$ac_check_lib_save_LIBS
44777fi
44778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
44779$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
44780if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
44781  ac_cv_libcrypto_dummy=yes
44782else
44783  ac_cv_libcrypto_evp_md=no
44784fi
44785
44786
44787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
44788$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
44789if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
44790  $as_echo_n "(cached) " >&6
44791else
44792  ac_check_lib_save_LIBS=$LIBS
44793LIBS="-lcrypto  $LIBS"
44794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44795/* end confdefs.h.  */
44796
44797/* Override any GCC internal prototype to avoid an error.
44798   Use char because int might match the return type of a GCC
44799   builtin and then its argument prototype would still apply.  */
44800#ifdef __cplusplus
44801extern "C"
44802#endif
44803char ERR_remove_thread_state ();
44804int
44805main ()
44806{
44807return ERR_remove_thread_state ();
44808  ;
44809  return 0;
44810}
44811_ACEOF
44812if ac_fn_c_try_link "$LINENO"; then :
44813  ac_cv_lib_crypto_ERR_remove_thread_state=yes
44814else
44815  ac_cv_lib_crypto_ERR_remove_thread_state=no
44816fi
44817rm -f core conftest.err conftest.$ac_objext \
44818    conftest$ac_exeext conftest.$ac_ext
44819LIBS=$ac_check_lib_save_LIBS
44820fi
44821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
44822$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
44823if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
44824  ac_cv_libcrypto_dummy=yes
44825else
44826  ac_cv_libcrypto_evp_md=no
44827fi
44828
44829
44830fi
44831
44832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
44833$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
44834if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
44835  $as_echo_n "(cached) " >&6
44836else
44837  ac_check_lib_save_LIBS=$LIBS
44838LIBS="-lcrypto  $LIBS"
44839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44840/* end confdefs.h.  */
44841
44842/* Override any GCC internal prototype to avoid an error.
44843   Use char because int might match the return type of a GCC
44844   builtin and then its argument prototype would still apply.  */
44845#ifdef __cplusplus
44846extern "C"
44847#endif
44848char EVP_DigestInit_ex ();
44849int
44850main ()
44851{
44852return EVP_DigestInit_ex ();
44853  ;
44854  return 0;
44855}
44856_ACEOF
44857if ac_fn_c_try_link "$LINENO"; then :
44858  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
44859else
44860  ac_cv_lib_crypto_EVP_DigestInit_ex=no
44861fi
44862rm -f core conftest.err conftest.$ac_objext \
44863    conftest$ac_exeext conftest.$ac_ext
44864LIBS=$ac_check_lib_save_LIBS
44865fi
44866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
44867$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
44868if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
44869  ac_cv_libcrypto_dummy=yes
44870else
44871  ac_cv_libcrypto_evp_md=no
44872fi
44873
44874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
44875$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
44876if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
44877  $as_echo_n "(cached) " >&6
44878else
44879  ac_check_lib_save_LIBS=$LIBS
44880LIBS="-lcrypto  $LIBS"
44881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44882/* end confdefs.h.  */
44883
44884/* Override any GCC internal prototype to avoid an error.
44885   Use char because int might match the return type of a GCC
44886   builtin and then its argument prototype would still apply.  */
44887#ifdef __cplusplus
44888extern "C"
44889#endif
44890char EVP_DigestUpdate ();
44891int
44892main ()
44893{
44894return EVP_DigestUpdate ();
44895  ;
44896  return 0;
44897}
44898_ACEOF
44899if ac_fn_c_try_link "$LINENO"; then :
44900  ac_cv_lib_crypto_EVP_DigestUpdate=yes
44901else
44902  ac_cv_lib_crypto_EVP_DigestUpdate=no
44903fi
44904rm -f core conftest.err conftest.$ac_objext \
44905    conftest$ac_exeext conftest.$ac_ext
44906LIBS=$ac_check_lib_save_LIBS
44907fi
44908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
44909$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
44910if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
44911  ac_cv_libcrypto_dummy=yes
44912else
44913  ac_cv_libcrypto_evp_md=no
44914fi
44915
44916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
44917$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
44918if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
44919  $as_echo_n "(cached) " >&6
44920else
44921  ac_check_lib_save_LIBS=$LIBS
44922LIBS="-lcrypto  $LIBS"
44923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924/* end confdefs.h.  */
44925
44926/* Override any GCC internal prototype to avoid an error.
44927   Use char because int might match the return type of a GCC
44928   builtin and then its argument prototype would still apply.  */
44929#ifdef __cplusplus
44930extern "C"
44931#endif
44932char EVP_DigestFinal_ex ();
44933int
44934main ()
44935{
44936return EVP_DigestFinal_ex ();
44937  ;
44938  return 0;
44939}
44940_ACEOF
44941if ac_fn_c_try_link "$LINENO"; then :
44942  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
44943else
44944  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
44945fi
44946rm -f core conftest.err conftest.$ac_objext \
44947    conftest$ac_exeext conftest.$ac_ext
44948LIBS=$ac_check_lib_save_LIBS
44949fi
44950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
44951$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
44952if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
44953  ac_cv_libcrypto_dummy=yes
44954else
44955  ac_cv_libcrypto_evp_md=no
44956fi
44957
44958
44959  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
44960  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44962as_fn_error 1 "Missing OpenSSL EVP MD support
44963See \`config.log' for more details" "$LINENO" 5; }
44964
44965fi
44966
44967  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
44968
44969$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
44970
44971
44972fi
44973
44974  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
44975
44976$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
44977
44978
44979fi
44980
44981fi
44982
44983    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
44984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha512 in -lcrypto" >&5
44985$as_echo_n "checking for EVP_sha512 in -lcrypto... " >&6; }
44986if ${ac_cv_lib_crypto_EVP_sha512+:} false; then :
44987  $as_echo_n "(cached) " >&6
44988else
44989  ac_check_lib_save_LIBS=$LIBS
44990LIBS="-lcrypto  $LIBS"
44991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44992/* end confdefs.h.  */
44993
44994/* Override any GCC internal prototype to avoid an error.
44995   Use char because int might match the return type of a GCC
44996   builtin and then its argument prototype would still apply.  */
44997#ifdef __cplusplus
44998extern "C"
44999#endif
45000char EVP_sha512 ();
45001int
45002main ()
45003{
45004return EVP_sha512 ();
45005  ;
45006  return 0;
45007}
45008_ACEOF
45009if ac_fn_c_try_link "$LINENO"; then :
45010  ac_cv_lib_crypto_EVP_sha512=yes
45011else
45012  ac_cv_lib_crypto_EVP_sha512=no
45013fi
45014rm -f core conftest.err conftest.$ac_objext \
45015    conftest$ac_exeext conftest.$ac_ext
45016LIBS=$ac_check_lib_save_LIBS
45017fi
45018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha512" >&5
45019$as_echo "$ac_cv_lib_crypto_EVP_sha512" >&6; }
45020if test "x$ac_cv_lib_crypto_EVP_sha512" = xyes; then :
45021  ac_cv_libcrypto_sha512=libcrypto_evp
45022else
45023  ac_cv_libcrypto_sha512=no
45024fi
45025
45026
45027  if test "x$ac_cv_libcrypto_sha512" = xlibcrypto_evp; then :
45028
45029$as_echo "#define HAVE_EVP_SHA512 1" >>confdefs.h
45030
45031
45032fi
45033
45034fi
45035
45036    if test "x$ac_cv_libcrypto_sha512" = xno; then :
45037  for ac_header in openssl/sha.h
45038do :
45039  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
45040if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
45041  cat >>confdefs.h <<_ACEOF
45042#define HAVE_OPENSSL_SHA_H 1
45043_ACEOF
45044
45045fi
45046
45047done
45048
45049
45050  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
45051  ac_cv_libcrypto_sha512=no
45052else
45053  ac_cv_libcrypto_sha512=libcrypto
45054
45055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Init in -lcrypto" >&5
45056$as_echo_n "checking for SHA512_Init in -lcrypto... " >&6; }
45057if ${ac_cv_lib_crypto_SHA512_Init+:} false; then :
45058  $as_echo_n "(cached) " >&6
45059else
45060  ac_check_lib_save_LIBS=$LIBS
45061LIBS="-lcrypto  $LIBS"
45062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45063/* end confdefs.h.  */
45064
45065/* Override any GCC internal prototype to avoid an error.
45066   Use char because int might match the return type of a GCC
45067   builtin and then its argument prototype would still apply.  */
45068#ifdef __cplusplus
45069extern "C"
45070#endif
45071char SHA512_Init ();
45072int
45073main ()
45074{
45075return SHA512_Init ();
45076  ;
45077  return 0;
45078}
45079_ACEOF
45080if ac_fn_c_try_link "$LINENO"; then :
45081  ac_cv_lib_crypto_SHA512_Init=yes
45082else
45083  ac_cv_lib_crypto_SHA512_Init=no
45084fi
45085rm -f core conftest.err conftest.$ac_objext \
45086    conftest$ac_exeext conftest.$ac_ext
45087LIBS=$ac_check_lib_save_LIBS
45088fi
45089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Init" >&5
45090$as_echo "$ac_cv_lib_crypto_SHA512_Init" >&6; }
45091if test "x$ac_cv_lib_crypto_SHA512_Init" = xyes; then :
45092  ac_cv_libcrypto_dummy=yes
45093else
45094  ac_cv_libcrypto_sha512=no
45095fi
45096
45097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Update in -lcrypto" >&5
45098$as_echo_n "checking for SHA512_Update in -lcrypto... " >&6; }
45099if ${ac_cv_lib_crypto_SHA512_Update+:} false; then :
45100  $as_echo_n "(cached) " >&6
45101else
45102  ac_check_lib_save_LIBS=$LIBS
45103LIBS="-lcrypto  $LIBS"
45104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45105/* end confdefs.h.  */
45106
45107/* Override any GCC internal prototype to avoid an error.
45108   Use char because int might match the return type of a GCC
45109   builtin and then its argument prototype would still apply.  */
45110#ifdef __cplusplus
45111extern "C"
45112#endif
45113char SHA512_Update ();
45114int
45115main ()
45116{
45117return SHA512_Update ();
45118  ;
45119  return 0;
45120}
45121_ACEOF
45122if ac_fn_c_try_link "$LINENO"; then :
45123  ac_cv_lib_crypto_SHA512_Update=yes
45124else
45125  ac_cv_lib_crypto_SHA512_Update=no
45126fi
45127rm -f core conftest.err conftest.$ac_objext \
45128    conftest$ac_exeext conftest.$ac_ext
45129LIBS=$ac_check_lib_save_LIBS
45130fi
45131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Update" >&5
45132$as_echo "$ac_cv_lib_crypto_SHA512_Update" >&6; }
45133if test "x$ac_cv_lib_crypto_SHA512_Update" = xyes; then :
45134  ac_cv_libcrypto_dummy=yes
45135else
45136  ac_cv_libcrypto_sha512=no
45137fi
45138
45139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Final in -lcrypto" >&5
45140$as_echo_n "checking for SHA512_Final in -lcrypto... " >&6; }
45141if ${ac_cv_lib_crypto_SHA512_Final+:} false; then :
45142  $as_echo_n "(cached) " >&6
45143else
45144  ac_check_lib_save_LIBS=$LIBS
45145LIBS="-lcrypto  $LIBS"
45146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45147/* end confdefs.h.  */
45148
45149/* Override any GCC internal prototype to avoid an error.
45150   Use char because int might match the return type of a GCC
45151   builtin and then its argument prototype would still apply.  */
45152#ifdef __cplusplus
45153extern "C"
45154#endif
45155char SHA512_Final ();
45156int
45157main ()
45158{
45159return SHA512_Final ();
45160  ;
45161  return 0;
45162}
45163_ACEOF
45164if ac_fn_c_try_link "$LINENO"; then :
45165  ac_cv_lib_crypto_SHA512_Final=yes
45166else
45167  ac_cv_lib_crypto_SHA512_Final=no
45168fi
45169rm -f core conftest.err conftest.$ac_objext \
45170    conftest$ac_exeext conftest.$ac_ext
45171LIBS=$ac_check_lib_save_LIBS
45172fi
45173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Final" >&5
45174$as_echo "$ac_cv_lib_crypto_SHA512_Final" >&6; }
45175if test "x$ac_cv_lib_crypto_SHA512_Final" = xyes; then :
45176  ac_cv_libcrypto_dummy=yes
45177else
45178  ac_cv_libcrypto_sha512=no
45179fi
45180
45181
45182fi
45183
45184  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha512" = xlibcrypto; then :
45185  ac_cv_libcrypto=yes
45186fi
45187
45188fi
45189
45190fi
45191
45192    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_md5" = xno; then :
45193  ac_cv_libhmac_md5=local
45194else
45195  ac_cv_libhmac_md5=$ac_cv_libcrypto_md5
45196fi
45197
45198  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha1" = xno; then :
45199  ac_cv_libhmac_sha1=local
45200else
45201  ac_cv_libhmac_sha1=$ac_cv_libcrypto_sha1
45202fi
45203
45204  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha224" = xno; then :
45205  ac_cv_libhmac_sha224=local
45206else
45207  ac_cv_libhmac_sha224=$ac_cv_libcrypto_sha224
45208fi
45209
45210  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha256" = xno; then :
45211  ac_cv_libhmac_sha256=local
45212else
45213  ac_cv_libhmac_sha256=$ac_cv_libcrypto_sha256
45214fi
45215
45216  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha512" = xno; then :
45217  ac_cv_libhmac_sha512=local
45218else
45219  ac_cv_libhmac_sha512=$ac_cv_libcrypto_sha512
45220fi
45221
45222  ac_cv_libhmac_CPPFLAGS="-I../libhmac";
45223  ac_cv_libhmac_LIBADD="../libhmac/libhmac.la";
45224
45225  ac_cv_libhmac=local
45226
45227
45228
45229$as_echo "#define HAVE_LOCAL_LIBHMAC 1" >>confdefs.h
45230
45231    HAVE_LOCAL_LIBHMAC=1
45232
45233
45234fi
45235
45236   if test "x$ac_cv_libhmac" = xlocal; then
45237  HAVE_LOCAL_LIBHMAC_TRUE=
45238  HAVE_LOCAL_LIBHMAC_FALSE='#'
45239else
45240  HAVE_LOCAL_LIBHMAC_TRUE='#'
45241  HAVE_LOCAL_LIBHMAC_FALSE=
45242fi
45243
45244  if test "x$ac_cv_libhmac_CPPFLAGS" != "x"; then :
45245  LIBHMAC_CPPFLAGS=$ac_cv_libhmac_CPPFLAGS
45246
45247
45248fi
45249  if test "x$ac_cv_libhmac_LIBADD" != "x"; then :
45250  LIBHMAC_LIBADD=$ac_cv_libhmac_LIBADD
45251
45252
45253fi
45254
45255  if test "x$ac_cv_libhmac" = xyes; then :
45256  ax_libhmac_pc_libs_private=-lhmac
45257
45258
45259fi
45260
45261  if test "x$ac_cv_libhmac" = xyes; then :
45262  ax_libhmac_spec_requires=libhmac
45263
45264    ax_libhmac_spec_build_requires=libhmac-devel
45265
45266
45267fi
45268
45269
45270
45271
45272# Check whether --with-libcaes was given.
45273if test "${with_libcaes+set}" = set; then :
45274  withval=$with_libcaes; ac_cv_with_libcaes=$withval
45275else
45276  ac_cv_with_libcaes=auto-detect
45277fi
45278
45279    { $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
45280$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; }
45281if ${ac_cv_with_libcaes+:} false; then :
45282  $as_echo_n "(cached) " >&6
45283else
45284  ac_cv_with_libcaes=auto-detect
45285fi
45286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcaes" >&5
45287$as_echo "$ac_cv_with_libcaes" >&6; }
45288
45289    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcaes" = xno; then :
45290  ac_cv_libcaes=no
45291else
45292  ac_cv_libcaes=check
45293        if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect; then :
45294  if test -d "$ac_cv_with_libcaes"; then :
45295  CFLAGS="$CFLAGS -I${ac_cv_with_libcaes}/include"
45296        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcaes}/lib"
45297else
45298  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45300as_fn_error 1 "no such directory: $ac_cv_with_libcaes
45301See \`config.log' for more details" "$LINENO" 5; }
45302
45303fi
45304
45305else
45306        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
45307
45308pkg_failed=no
45309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes" >&5
45310$as_echo_n "checking for libcaes... " >&6; }
45311
45312if test -n "$libcaes_CFLAGS"; then
45313    pkg_cv_libcaes_CFLAGS="$libcaes_CFLAGS"
45314 elif test -n "$PKG_CONFIG"; then
45315    if test -n "$PKG_CONFIG" && \
45316    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
45317  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
45318  ac_status=$?
45319  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45320  test $ac_status = 0; }; then
45321  pkg_cv_libcaes_CFLAGS=`$PKG_CONFIG --cflags "libcaes >= 20161025" 2>/dev/null`
45322		      test "x$?" != "x0" && pkg_failed=yes
45323else
45324  pkg_failed=yes
45325fi
45326 else
45327    pkg_failed=untried
45328fi
45329if test -n "$libcaes_LIBS"; then
45330    pkg_cv_libcaes_LIBS="$libcaes_LIBS"
45331 elif test -n "$PKG_CONFIG"; then
45332    if test -n "$PKG_CONFIG" && \
45333    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
45334  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
45335  ac_status=$?
45336  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45337  test $ac_status = 0; }; then
45338  pkg_cv_libcaes_LIBS=`$PKG_CONFIG --libs "libcaes >= 20161025" 2>/dev/null`
45339		      test "x$?" != "x0" && pkg_failed=yes
45340else
45341  pkg_failed=yes
45342fi
45343 else
45344    pkg_failed=untried
45345fi
45346
45347
45348
45349if test $pkg_failed = yes; then
45350   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45351$as_echo "no" >&6; }
45352
45353if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45354        _pkg_short_errors_supported=yes
45355else
45356        _pkg_short_errors_supported=no
45357fi
45358        if test $_pkg_short_errors_supported = yes; then
45359	        libcaes_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
45360        else
45361	        libcaes_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
45362        fi
45363	# Put the nasty error message in config.log where it belongs
45364	echo "$libcaes_PKG_ERRORS" >&5
45365
45366	ac_cv_libcaes=check
45367elif test $pkg_failed = untried; then
45368     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45369$as_echo "no" >&6; }
45370	ac_cv_libcaes=check
45371else
45372	libcaes_CFLAGS=$pkg_cv_libcaes_CFLAGS
45373	libcaes_LIBS=$pkg_cv_libcaes_LIBS
45374        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45375$as_echo "yes" >&6; }
45376	ac_cv_libcaes=yes
45377fi
45378
45379fi
45380      if test "x$ac_cv_libcaes" = xyes; then :
45381  ac_cv_libcaes_CPPFLAGS="$pkg_cv_libcaes_CFLAGS"
45382        ac_cv_libcaes_LIBADD="$pkg_cv_libcaes_LIBS"
45383fi
45384
45385fi
45386
45387    if test "x$ac_cv_libcaes" = xcheck; then :
45388        for ac_header in libcaes.h
45389do :
45390  ac_fn_c_check_header_mongrel "$LINENO" "libcaes.h" "ac_cv_header_libcaes_h" "$ac_includes_default"
45391if test "x$ac_cv_header_libcaes_h" = xyes; then :
45392  cat >>confdefs.h <<_ACEOF
45393#define HAVE_LIBCAES_H 1
45394_ACEOF
45395
45396fi
45397
45398done
45399
45400
45401      if test "x$ac_cv_header_libcaes_h" = xno; then :
45402  ac_cv_libcaes=no
45403else
45404          ac_cv_libcaes=yes
45405
45406        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_get_version in -lcaes" >&5
45407$as_echo_n "checking for libcaes_get_version in -lcaes... " >&6; }
45408if ${ac_cv_lib_caes_libcaes_get_version+:} false; then :
45409  $as_echo_n "(cached) " >&6
45410else
45411  ac_check_lib_save_LIBS=$LIBS
45412LIBS="-lcaes  $LIBS"
45413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45414/* end confdefs.h.  */
45415
45416/* Override any GCC internal prototype to avoid an error.
45417   Use char because int might match the return type of a GCC
45418   builtin and then its argument prototype would still apply.  */
45419#ifdef __cplusplus
45420extern "C"
45421#endif
45422char libcaes_get_version ();
45423int
45424main ()
45425{
45426return libcaes_get_version ();
45427  ;
45428  return 0;
45429}
45430_ACEOF
45431if ac_fn_c_try_link "$LINENO"; then :
45432  ac_cv_lib_caes_libcaes_get_version=yes
45433else
45434  ac_cv_lib_caes_libcaes_get_version=no
45435fi
45436rm -f core conftest.err conftest.$ac_objext \
45437    conftest$ac_exeext conftest.$ac_ext
45438LIBS=$ac_check_lib_save_LIBS
45439fi
45440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_get_version" >&5
45441$as_echo "$ac_cv_lib_caes_libcaes_get_version" >&6; }
45442if test "x$ac_cv_lib_caes_libcaes_get_version" = xyes; then :
45443  ac_cv_libcaes_dummy=yes
45444else
45445  ac_cv_libcaes=no
45446fi
45447
45448
45449                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_initialize in -lcaes" >&5
45450$as_echo_n "checking for libcaes_context_initialize in -lcaes... " >&6; }
45451if ${ac_cv_lib_caes_libcaes_context_initialize+:} false; then :
45452  $as_echo_n "(cached) " >&6
45453else
45454  ac_check_lib_save_LIBS=$LIBS
45455LIBS="-lcaes  $LIBS"
45456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45457/* end confdefs.h.  */
45458
45459/* Override any GCC internal prototype to avoid an error.
45460   Use char because int might match the return type of a GCC
45461   builtin and then its argument prototype would still apply.  */
45462#ifdef __cplusplus
45463extern "C"
45464#endif
45465char libcaes_context_initialize ();
45466int
45467main ()
45468{
45469return libcaes_context_initialize ();
45470  ;
45471  return 0;
45472}
45473_ACEOF
45474if ac_fn_c_try_link "$LINENO"; then :
45475  ac_cv_lib_caes_libcaes_context_initialize=yes
45476else
45477  ac_cv_lib_caes_libcaes_context_initialize=no
45478fi
45479rm -f core conftest.err conftest.$ac_objext \
45480    conftest$ac_exeext conftest.$ac_ext
45481LIBS=$ac_check_lib_save_LIBS
45482fi
45483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_initialize" >&5
45484$as_echo "$ac_cv_lib_caes_libcaes_context_initialize" >&6; }
45485if test "x$ac_cv_lib_caes_libcaes_context_initialize" = xyes; then :
45486  ac_cv_libcaes_dummy=yes
45487else
45488  ac_cv_libcaes=no
45489fi
45490
45491        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_free in -lcaes" >&5
45492$as_echo_n "checking for libcaes_context_free in -lcaes... " >&6; }
45493if ${ac_cv_lib_caes_libcaes_context_free+:} false; then :
45494  $as_echo_n "(cached) " >&6
45495else
45496  ac_check_lib_save_LIBS=$LIBS
45497LIBS="-lcaes  $LIBS"
45498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45499/* end confdefs.h.  */
45500
45501/* Override any GCC internal prototype to avoid an error.
45502   Use char because int might match the return type of a GCC
45503   builtin and then its argument prototype would still apply.  */
45504#ifdef __cplusplus
45505extern "C"
45506#endif
45507char libcaes_context_free ();
45508int
45509main ()
45510{
45511return libcaes_context_free ();
45512  ;
45513  return 0;
45514}
45515_ACEOF
45516if ac_fn_c_try_link "$LINENO"; then :
45517  ac_cv_lib_caes_libcaes_context_free=yes
45518else
45519  ac_cv_lib_caes_libcaes_context_free=no
45520fi
45521rm -f core conftest.err conftest.$ac_objext \
45522    conftest$ac_exeext conftest.$ac_ext
45523LIBS=$ac_check_lib_save_LIBS
45524fi
45525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_free" >&5
45526$as_echo "$ac_cv_lib_caes_libcaes_context_free" >&6; }
45527if test "x$ac_cv_lib_caes_libcaes_context_free" = xyes; then :
45528  ac_cv_libcaes_dummy=yes
45529else
45530  ac_cv_libcaes=no
45531fi
45532
45533        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_set_key in -lcaes" >&5
45534$as_echo_n "checking for libcaes_context_set_key in -lcaes... " >&6; }
45535if ${ac_cv_lib_caes_libcaes_context_set_key+:} false; then :
45536  $as_echo_n "(cached) " >&6
45537else
45538  ac_check_lib_save_LIBS=$LIBS
45539LIBS="-lcaes  $LIBS"
45540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45541/* end confdefs.h.  */
45542
45543/* Override any GCC internal prototype to avoid an error.
45544   Use char because int might match the return type of a GCC
45545   builtin and then its argument prototype would still apply.  */
45546#ifdef __cplusplus
45547extern "C"
45548#endif
45549char libcaes_context_set_key ();
45550int
45551main ()
45552{
45553return libcaes_context_set_key ();
45554  ;
45555  return 0;
45556}
45557_ACEOF
45558if ac_fn_c_try_link "$LINENO"; then :
45559  ac_cv_lib_caes_libcaes_context_set_key=yes
45560else
45561  ac_cv_lib_caes_libcaes_context_set_key=no
45562fi
45563rm -f core conftest.err conftest.$ac_objext \
45564    conftest$ac_exeext conftest.$ac_ext
45565LIBS=$ac_check_lib_save_LIBS
45566fi
45567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_set_key" >&5
45568$as_echo "$ac_cv_lib_caes_libcaes_context_set_key" >&6; }
45569if test "x$ac_cv_lib_caes_libcaes_context_set_key" = xyes; then :
45570  ac_cv_libcaes_dummy=yes
45571else
45572  ac_cv_libcaes=no
45573fi
45574
45575
45576                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_initialize in -lcaes" >&5
45577$as_echo_n "checking for libcaes_tweaked_context_initialize in -lcaes... " >&6; }
45578if ${ac_cv_lib_caes_libcaes_tweaked_context_initialize+:} false; then :
45579  $as_echo_n "(cached) " >&6
45580else
45581  ac_check_lib_save_LIBS=$LIBS
45582LIBS="-lcaes  $LIBS"
45583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45584/* end confdefs.h.  */
45585
45586/* Override any GCC internal prototype to avoid an error.
45587   Use char because int might match the return type of a GCC
45588   builtin and then its argument prototype would still apply.  */
45589#ifdef __cplusplus
45590extern "C"
45591#endif
45592char libcaes_tweaked_context_initialize ();
45593int
45594main ()
45595{
45596return libcaes_tweaked_context_initialize ();
45597  ;
45598  return 0;
45599}
45600_ACEOF
45601if ac_fn_c_try_link "$LINENO"; then :
45602  ac_cv_lib_caes_libcaes_tweaked_context_initialize=yes
45603else
45604  ac_cv_lib_caes_libcaes_tweaked_context_initialize=no
45605fi
45606rm -f core conftest.err conftest.$ac_objext \
45607    conftest$ac_exeext conftest.$ac_ext
45608LIBS=$ac_check_lib_save_LIBS
45609fi
45610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&5
45611$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&6; }
45612if test "x$ac_cv_lib_caes_libcaes_tweaked_context_initialize" = xyes; then :
45613  ac_cv_libcaes_dummy=yes
45614else
45615  ac_cv_libcaes=no
45616fi
45617
45618        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_free in -lcaes" >&5
45619$as_echo_n "checking for libcaes_tweaked_context_free in -lcaes... " >&6; }
45620if ${ac_cv_lib_caes_libcaes_tweaked_context_free+:} false; then :
45621  $as_echo_n "(cached) " >&6
45622else
45623  ac_check_lib_save_LIBS=$LIBS
45624LIBS="-lcaes  $LIBS"
45625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45626/* end confdefs.h.  */
45627
45628/* Override any GCC internal prototype to avoid an error.
45629   Use char because int might match the return type of a GCC
45630   builtin and then its argument prototype would still apply.  */
45631#ifdef __cplusplus
45632extern "C"
45633#endif
45634char libcaes_tweaked_context_free ();
45635int
45636main ()
45637{
45638return libcaes_tweaked_context_free ();
45639  ;
45640  return 0;
45641}
45642_ACEOF
45643if ac_fn_c_try_link "$LINENO"; then :
45644  ac_cv_lib_caes_libcaes_tweaked_context_free=yes
45645else
45646  ac_cv_lib_caes_libcaes_tweaked_context_free=no
45647fi
45648rm -f core conftest.err conftest.$ac_objext \
45649    conftest$ac_exeext conftest.$ac_ext
45650LIBS=$ac_check_lib_save_LIBS
45651fi
45652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_free" >&5
45653$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_free" >&6; }
45654if test "x$ac_cv_lib_caes_libcaes_tweaked_context_free" = xyes; then :
45655  ac_cv_libcaes_dummy=yes
45656else
45657  ac_cv_libcaes=no
45658fi
45659
45660        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_set_keys in -lcaes" >&5
45661$as_echo_n "checking for libcaes_tweaked_context_set_keys in -lcaes... " >&6; }
45662if ${ac_cv_lib_caes_libcaes_tweaked_context_set_keys+:} false; then :
45663  $as_echo_n "(cached) " >&6
45664else
45665  ac_check_lib_save_LIBS=$LIBS
45666LIBS="-lcaes  $LIBS"
45667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45668/* end confdefs.h.  */
45669
45670/* Override any GCC internal prototype to avoid an error.
45671   Use char because int might match the return type of a GCC
45672   builtin and then its argument prototype would still apply.  */
45673#ifdef __cplusplus
45674extern "C"
45675#endif
45676char libcaes_tweaked_context_set_keys ();
45677int
45678main ()
45679{
45680return libcaes_tweaked_context_set_keys ();
45681  ;
45682  return 0;
45683}
45684_ACEOF
45685if ac_fn_c_try_link "$LINENO"; then :
45686  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=yes
45687else
45688  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=no
45689fi
45690rm -f core conftest.err conftest.$ac_objext \
45691    conftest$ac_exeext conftest.$ac_ext
45692LIBS=$ac_check_lib_save_LIBS
45693fi
45694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&5
45695$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&6; }
45696if test "x$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" = xyes; then :
45697  ac_cv_libcaes_dummy=yes
45698else
45699  ac_cv_libcaes=no
45700fi
45701
45702
45703                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_cbc in -lcaes" >&5
45704$as_echo_n "checking for libcaes_crypt_cbc in -lcaes... " >&6; }
45705if ${ac_cv_lib_caes_libcaes_crypt_cbc+:} false; then :
45706  $as_echo_n "(cached) " >&6
45707else
45708  ac_check_lib_save_LIBS=$LIBS
45709LIBS="-lcaes  $LIBS"
45710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45711/* end confdefs.h.  */
45712
45713/* Override any GCC internal prototype to avoid an error.
45714   Use char because int might match the return type of a GCC
45715   builtin and then its argument prototype would still apply.  */
45716#ifdef __cplusplus
45717extern "C"
45718#endif
45719char libcaes_crypt_cbc ();
45720int
45721main ()
45722{
45723return libcaes_crypt_cbc ();
45724  ;
45725  return 0;
45726}
45727_ACEOF
45728if ac_fn_c_try_link "$LINENO"; then :
45729  ac_cv_lib_caes_libcaes_crypt_cbc=yes
45730else
45731  ac_cv_lib_caes_libcaes_crypt_cbc=no
45732fi
45733rm -f core conftest.err conftest.$ac_objext \
45734    conftest$ac_exeext conftest.$ac_ext
45735LIBS=$ac_check_lib_save_LIBS
45736fi
45737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_cbc" >&5
45738$as_echo "$ac_cv_lib_caes_libcaes_crypt_cbc" >&6; }
45739if test "x$ac_cv_lib_caes_libcaes_crypt_cbc" = xyes; then :
45740  ac_cv_libcaes_dummy=yes
45741else
45742  ac_cv_libcaes=no
45743fi
45744
45745        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ccm in -lcaes" >&5
45746$as_echo_n "checking for libcaes_crypt_ccm in -lcaes... " >&6; }
45747if ${ac_cv_lib_caes_libcaes_crypt_ccm+:} false; then :
45748  $as_echo_n "(cached) " >&6
45749else
45750  ac_check_lib_save_LIBS=$LIBS
45751LIBS="-lcaes  $LIBS"
45752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45753/* end confdefs.h.  */
45754
45755/* Override any GCC internal prototype to avoid an error.
45756   Use char because int might match the return type of a GCC
45757   builtin and then its argument prototype would still apply.  */
45758#ifdef __cplusplus
45759extern "C"
45760#endif
45761char libcaes_crypt_ccm ();
45762int
45763main ()
45764{
45765return libcaes_crypt_ccm ();
45766  ;
45767  return 0;
45768}
45769_ACEOF
45770if ac_fn_c_try_link "$LINENO"; then :
45771  ac_cv_lib_caes_libcaes_crypt_ccm=yes
45772else
45773  ac_cv_lib_caes_libcaes_crypt_ccm=no
45774fi
45775rm -f core conftest.err conftest.$ac_objext \
45776    conftest$ac_exeext conftest.$ac_ext
45777LIBS=$ac_check_lib_save_LIBS
45778fi
45779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ccm" >&5
45780$as_echo "$ac_cv_lib_caes_libcaes_crypt_ccm" >&6; }
45781if test "x$ac_cv_lib_caes_libcaes_crypt_ccm" = xyes; then :
45782  ac_cv_libcaes_dummy=yes
45783else
45784  ac_cv_libcaes=no
45785fi
45786
45787        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ecb in -lcaes" >&5
45788$as_echo_n "checking for libcaes_crypt_ecb in -lcaes... " >&6; }
45789if ${ac_cv_lib_caes_libcaes_crypt_ecb+:} false; then :
45790  $as_echo_n "(cached) " >&6
45791else
45792  ac_check_lib_save_LIBS=$LIBS
45793LIBS="-lcaes  $LIBS"
45794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45795/* end confdefs.h.  */
45796
45797/* Override any GCC internal prototype to avoid an error.
45798   Use char because int might match the return type of a GCC
45799   builtin and then its argument prototype would still apply.  */
45800#ifdef __cplusplus
45801extern "C"
45802#endif
45803char libcaes_crypt_ecb ();
45804int
45805main ()
45806{
45807return libcaes_crypt_ecb ();
45808  ;
45809  return 0;
45810}
45811_ACEOF
45812if ac_fn_c_try_link "$LINENO"; then :
45813  ac_cv_lib_caes_libcaes_crypt_ecb=yes
45814else
45815  ac_cv_lib_caes_libcaes_crypt_ecb=no
45816fi
45817rm -f core conftest.err conftest.$ac_objext \
45818    conftest$ac_exeext conftest.$ac_ext
45819LIBS=$ac_check_lib_save_LIBS
45820fi
45821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ecb" >&5
45822$as_echo "$ac_cv_lib_caes_libcaes_crypt_ecb" >&6; }
45823if test "x$ac_cv_lib_caes_libcaes_crypt_ecb" = xyes; then :
45824  ac_cv_libcaes_dummy=yes
45825else
45826  ac_cv_libcaes=no
45827fi
45828
45829        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_xts in -lcaes" >&5
45830$as_echo_n "checking for libcaes_crypt_xts in -lcaes... " >&6; }
45831if ${ac_cv_lib_caes_libcaes_crypt_xts+:} false; then :
45832  $as_echo_n "(cached) " >&6
45833else
45834  ac_check_lib_save_LIBS=$LIBS
45835LIBS="-lcaes  $LIBS"
45836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45837/* end confdefs.h.  */
45838
45839/* Override any GCC internal prototype to avoid an error.
45840   Use char because int might match the return type of a GCC
45841   builtin and then its argument prototype would still apply.  */
45842#ifdef __cplusplus
45843extern "C"
45844#endif
45845char libcaes_crypt_xts ();
45846int
45847main ()
45848{
45849return libcaes_crypt_xts ();
45850  ;
45851  return 0;
45852}
45853_ACEOF
45854if ac_fn_c_try_link "$LINENO"; then :
45855  ac_cv_lib_caes_libcaes_crypt_xts=yes
45856else
45857  ac_cv_lib_caes_libcaes_crypt_xts=no
45858fi
45859rm -f core conftest.err conftest.$ac_objext \
45860    conftest$ac_exeext conftest.$ac_ext
45861LIBS=$ac_check_lib_save_LIBS
45862fi
45863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_xts" >&5
45864$as_echo "$ac_cv_lib_caes_libcaes_crypt_xts" >&6; }
45865if test "x$ac_cv_lib_caes_libcaes_crypt_xts" = xyes; then :
45866  ac_cv_libcaes_dummy=yes
45867else
45868  ac_cv_libcaes=no
45869fi
45870
45871
45872        ac_cv_libcaes_LIBADD="-lcaes"
45873fi
45874
45875fi
45876    if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect && test "x$ac_cv_libcaes" != xyes; then :
45877  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45879as_fn_error 1 "unable to find supported libcaes in directory: $ac_cv_with_libcaes
45880See \`config.log' for more details" "$LINENO" 5; }
45881
45882fi
45883
45884fi
45885
45886  if test "x$ac_cv_libcaes" = xyes; then :
45887
45888$as_echo "#define HAVE_LIBCAES 1" >>confdefs.h
45889
45890
45891fi
45892
45893  if test "x$ac_cv_libcaes" = xyes; then :
45894  ac_cv_libcaes_aes=libcaes
45895else
45896  ac_cv_libcaes_aes=no
45897fi
45898
45899  if test "x$ac_cv_libcaes" = xyes; then :
45900  HAVE_LIBCAES=1
45901
45902else
45903  HAVE_LIBCAES=0
45904
45905
45906fi
45907
45908
45909    if test "x$ac_cv_libcaes" != xyes; then :
45910
45911
45912# Check whether --with-openssl was given.
45913if test "${with_openssl+set}" = set; then :
45914  withval=$with_openssl; ac_cv_with_openssl=$withval
45915else
45916  ac_cv_with_openssl=auto-detect
45917fi
45918
45919    { $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
45920$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; }
45921if ${ac_cv_with_openssl+:} false; then :
45922  $as_echo_n "(cached) " >&6
45923else
45924  ac_cv_with_openssl=auto-detect
45925fi
45926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
45927$as_echo "$ac_cv_with_openssl" >&6; }
45928
45929
45930  # Check whether --enable-openssl-evp-cipher was given.
45931if test "${enable_openssl_evp_cipher+set}" = set; then :
45932  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
45933else
45934  ac_cv_enable_openssl_evp_cipher=auto-detect
45935fi
45936
45937    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
45938$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
45939if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
45940  $as_echo_n "(cached) " >&6
45941else
45942  ac_cv_enable_openssl_evp_cipher=auto-detect
45943fi
45944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
45945$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
45946
45947
45948  # Check whether --enable-openssl-evp-md was given.
45949if test "${enable_openssl_evp_md+set}" = set; then :
45950  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
45951else
45952  ac_cv_enable_openssl_evp_md=auto-detect
45953fi
45954
45955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
45956$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
45957if ${ac_cv_enable_openssl_evp_md+:} false; then :
45958  $as_echo_n "(cached) " >&6
45959else
45960  ac_cv_enable_openssl_evp_md=auto-detect
45961fi
45962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
45963$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
45964
45965    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
45966  ac_cv_libcrypto=no
45967else
45968      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
45969  if test -d "$ac_cv_with_openssl"; then :
45970  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
45971        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
45972else
45973  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45974$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45975as_fn_error 1 "no such directory: $ac_cv_with_openssl
45976See \`config.log' for more details" "$LINENO" 5; }
45977
45978fi
45979else
45980        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
45981
45982pkg_failed=no
45983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
45984$as_echo_n "checking for openssl... " >&6; }
45985
45986if test -n "$openssl_CFLAGS"; then
45987    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
45988 elif test -n "$PKG_CONFIG"; then
45989    if test -n "$PKG_CONFIG" && \
45990    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
45991  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
45992  ac_status=$?
45993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45994  test $ac_status = 0; }; then
45995  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
45996		      test "x$?" != "x0" && pkg_failed=yes
45997else
45998  pkg_failed=yes
45999fi
46000 else
46001    pkg_failed=untried
46002fi
46003if test -n "$openssl_LIBS"; then
46004    pkg_cv_openssl_LIBS="$openssl_LIBS"
46005 elif test -n "$PKG_CONFIG"; then
46006    if test -n "$PKG_CONFIG" && \
46007    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
46008  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
46009  ac_status=$?
46010  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46011  test $ac_status = 0; }; then
46012  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
46013		      test "x$?" != "x0" && pkg_failed=yes
46014else
46015  pkg_failed=yes
46016fi
46017 else
46018    pkg_failed=untried
46019fi
46020
46021
46022
46023if test $pkg_failed = yes; then
46024   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46025$as_echo "no" >&6; }
46026
46027if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46028        _pkg_short_errors_supported=yes
46029else
46030        _pkg_short_errors_supported=no
46031fi
46032        if test $_pkg_short_errors_supported = yes; then
46033	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
46034        else
46035	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
46036        fi
46037	# Put the nasty error message in config.log where it belongs
46038	echo "$openssl_PKG_ERRORS" >&5
46039
46040	ac_cv_libcrypto=no
46041          ac_cv_libcrypto_evp=no
46042elif test $pkg_failed = untried; then
46043     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46044$as_echo "no" >&6; }
46045	ac_cv_libcrypto=no
46046          ac_cv_libcrypto_evp=no
46047else
46048	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
46049	openssl_LIBS=$pkg_cv_openssl_LIBS
46050        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46051$as_echo "yes" >&6; }
46052	ac_cv_libcrypto=yes
46053          ac_cv_libcrypto_evp=yes
46054fi
46055
46056fi
46057      if test "x$ac_cv_libcrypto" = xyes; then :
46058  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
46059        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
46060fi
46061
46062fi
46063
46064    if test "x$ac_cv_libcrypto" != xyes; then :
46065        for ac_header in openssl/opensslv.h
46066do :
46067  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
46068if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
46069  cat >>confdefs.h <<_ACEOF
46070#define HAVE_OPENSSL_OPENSSLV_H 1
46071_ACEOF
46072
46073fi
46074
46075done
46076
46077
46078      for ac_header in openssl/evp.h
46079do :
46080  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
46081if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
46082  cat >>confdefs.h <<_ACEOF
46083#define HAVE_OPENSSL_EVP_H 1
46084_ACEOF
46085
46086fi
46087
46088done
46089
46090
46091  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
46092  ac_cv_libcrypto=no
46093    ac_cv_libcrypto_evp=no
46094else
46095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
46096$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
46097if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
46098  $as_echo_n "(cached) " >&6
46099else
46100  ac_ext=c
46101ac_cpp='$CPP $CPPFLAGS'
46102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105
46106    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46107/* end confdefs.h.  */
46108#include <zlib.h>
46109#include <openssl/evp.h>
46110int
46111main ()
46112{
46113
46114  ;
46115  return 0;
46116}
46117_ACEOF
46118if ac_fn_c_try_link "$LINENO"; then :
46119  ac_cv_openssl_evp_zlib_compatible=yes
46120else
46121  ac_cv_openssl_evp_zlib_compatible=no
46122fi
46123rm -f core conftest.err conftest.$ac_objext \
46124    conftest$ac_exeext conftest.$ac_ext
46125    ac_ext=c
46126ac_cpp='$CPP $CPPFLAGS'
46127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46129ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130
46131fi
46132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
46133$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
46134
46135
46136    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
46137  ac_cv_libcrypto=yes
46138      ac_cv_libcrypto_evp=yes
46139else
46140  ac_cv_libcrypto=no
46141      ac_cv_libcrypto_evp=no
46142fi
46143
46144fi
46145
46146
46147      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
46148  ac_cv_libcrypto=yes
46149fi
46150
46151fi
46152
46153        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
46154
46155$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
46156
46157      HAVE_OPENSSL_EVP_H=1
46158
46159else
46160  HAVE_OPENSSL_EVP_H=0
46161
46162
46163fi
46164
46165    if test "x$ac_cv_libcrypto" != xno; then :
46166
46167$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
46168
46169
46170      ac_cv_libcrypto_LIBADD="-lcrypto"
46171
46172            case $host in #(
46173  *cygwin*) :
46174    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
46175  *) :
46176     ;;
46177esac
46178
46179            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
46180$as_echo_n "checking for dlopen in -ldl... " >&6; }
46181if ${ac_cv_lib_dl_dlopen+:} false; then :
46182  $as_echo_n "(cached) " >&6
46183else
46184  ac_check_lib_save_LIBS=$LIBS
46185LIBS="-ldl  $LIBS"
46186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46187/* end confdefs.h.  */
46188
46189/* Override any GCC internal prototype to avoid an error.
46190   Use char because int might match the return type of a GCC
46191   builtin and then its argument prototype would still apply.  */
46192#ifdef __cplusplus
46193extern "C"
46194#endif
46195char dlopen ();
46196int
46197main ()
46198{
46199return dlopen ();
46200  ;
46201  return 0;
46202}
46203_ACEOF
46204if ac_fn_c_try_link "$LINENO"; then :
46205  ac_cv_lib_dl_dlopen=yes
46206else
46207  ac_cv_lib_dl_dlopen=no
46208fi
46209rm -f core conftest.err conftest.$ac_objext \
46210    conftest$ac_exeext conftest.$ac_ext
46211LIBS=$ac_check_lib_save_LIBS
46212fi
46213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
46214$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
46215if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
46216  LIBDL_LIBADD="-ldl"
46217
46218fi
46219
46220
46221fi
46222
46223fi
46224
46225
46226  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
46227  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
46228
46229
46230fi
46231  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
46232  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
46233
46234
46235fi
46236
46237  if test "x$ac_cv_libcrypto" != xno; then :
46238  ax_libcrypto_pc_libs_private=-lcrypto
46239
46240
46241fi
46242
46243  if test "x$ac_cv_libcrypto" != xno; then :
46244  ax_libcrypto_spec_requires=openssl
46245
46246    ax_libcrypto_spec_build_requires=openssl-devel
46247
46248
46249fi
46250
46251
46252  if test "x$ac_cv_libcrypto" != xno; then :
46253    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 :
46254  ac_cv_libcrypto_evp_cipher=yes
46255
46256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
46257$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
46258if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
46259  $as_echo_n "(cached) " >&6
46260else
46261  ac_check_lib_save_LIBS=$LIBS
46262LIBS="-lcrypto  $LIBS"
46263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46264/* end confdefs.h.  */
46265
46266/* Override any GCC internal prototype to avoid an error.
46267   Use char because int might match the return type of a GCC
46268   builtin and then its argument prototype would still apply.  */
46269#ifdef __cplusplus
46270extern "C"
46271#endif
46272char EVP_CIPHER_CTX_new ();
46273int
46274main ()
46275{
46276return EVP_CIPHER_CTX_new ();
46277  ;
46278  return 0;
46279}
46280_ACEOF
46281if ac_fn_c_try_link "$LINENO"; then :
46282  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
46283else
46284  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
46285fi
46286rm -f core conftest.err conftest.$ac_objext \
46287    conftest$ac_exeext conftest.$ac_ext
46288LIBS=$ac_check_lib_save_LIBS
46289fi
46290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
46291$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
46292if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
46293  ac_cv_libcrypto_dummy=yes
46294else
46295  ac_cv_libcrypto_dummy=no
46296fi
46297
46298
46299  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
46300      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
46301$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
46302if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
46303  $as_echo_n "(cached) " >&6
46304else
46305  ac_check_lib_save_LIBS=$LIBS
46306LIBS="-lcrypto  $LIBS"
46307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46308/* end confdefs.h.  */
46309
46310/* Override any GCC internal prototype to avoid an error.
46311   Use char because int might match the return type of a GCC
46312   builtin and then its argument prototype would still apply.  */
46313#ifdef __cplusplus
46314extern "C"
46315#endif
46316char EVP_CIPHER_CTX_free ();
46317int
46318main ()
46319{
46320return EVP_CIPHER_CTX_free ();
46321  ;
46322  return 0;
46323}
46324_ACEOF
46325if ac_fn_c_try_link "$LINENO"; then :
46326  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
46327else
46328  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
46329fi
46330rm -f core conftest.err conftest.$ac_objext \
46331    conftest$ac_exeext conftest.$ac_ext
46332LIBS=$ac_check_lib_save_LIBS
46333fi
46334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
46335$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
46336if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
46337  ac_cv_libcrypto_dummy=yes
46338else
46339  ac_cv_libcrypto_evp_cipher=no
46340fi
46341
46342
46343else
46344      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
46345$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
46346if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
46347  $as_echo_n "(cached) " >&6
46348else
46349  ac_check_lib_save_LIBS=$LIBS
46350LIBS="-lcrypto  $LIBS"
46351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46352/* end confdefs.h.  */
46353
46354/* Override any GCC internal prototype to avoid an error.
46355   Use char because int might match the return type of a GCC
46356   builtin and then its argument prototype would still apply.  */
46357#ifdef __cplusplus
46358extern "C"
46359#endif
46360char EVP_CIPHER_CTX_init ();
46361int
46362main ()
46363{
46364return EVP_CIPHER_CTX_init ();
46365  ;
46366  return 0;
46367}
46368_ACEOF
46369if ac_fn_c_try_link "$LINENO"; then :
46370  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
46371else
46372  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
46373fi
46374rm -f core conftest.err conftest.$ac_objext \
46375    conftest$ac_exeext conftest.$ac_ext
46376LIBS=$ac_check_lib_save_LIBS
46377fi
46378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
46379$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
46380if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
46381  ac_cv_libcrypto_dummy=yes
46382else
46383  ac_cv_libcrypto_evp_cipher=no
46384fi
46385
46386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
46387$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
46388if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
46389  $as_echo_n "(cached) " >&6
46390else
46391  ac_check_lib_save_LIBS=$LIBS
46392LIBS="-lcrypto  $LIBS"
46393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46394/* end confdefs.h.  */
46395
46396/* Override any GCC internal prototype to avoid an error.
46397   Use char because int might match the return type of a GCC
46398   builtin and then its argument prototype would still apply.  */
46399#ifdef __cplusplus
46400extern "C"
46401#endif
46402char EVP_CIPHER_CTX_cleanup ();
46403int
46404main ()
46405{
46406return EVP_CIPHER_CTX_cleanup ();
46407  ;
46408  return 0;
46409}
46410_ACEOF
46411if ac_fn_c_try_link "$LINENO"; then :
46412  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
46413else
46414  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
46415fi
46416rm -f core conftest.err conftest.$ac_objext \
46417    conftest$ac_exeext conftest.$ac_ext
46418LIBS=$ac_check_lib_save_LIBS
46419fi
46420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
46421$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
46422if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
46423  ac_cv_libcrypto_dummy=yes
46424else
46425  ac_cv_libcrypto_evp_cipher=no
46426fi
46427
46428
46429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
46430$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
46431if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
46432  $as_echo_n "(cached) " >&6
46433else
46434  ac_check_lib_save_LIBS=$LIBS
46435LIBS="-lcrypto  $LIBS"
46436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46437/* end confdefs.h.  */
46438
46439/* Override any GCC internal prototype to avoid an error.
46440   Use char because int might match the return type of a GCC
46441   builtin and then its argument prototype would still apply.  */
46442#ifdef __cplusplus
46443extern "C"
46444#endif
46445char ERR_remove_thread_state ();
46446int
46447main ()
46448{
46449return ERR_remove_thread_state ();
46450  ;
46451  return 0;
46452}
46453_ACEOF
46454if ac_fn_c_try_link "$LINENO"; then :
46455  ac_cv_lib_crypto_ERR_remove_thread_state=yes
46456else
46457  ac_cv_lib_crypto_ERR_remove_thread_state=no
46458fi
46459rm -f core conftest.err conftest.$ac_objext \
46460    conftest$ac_exeext conftest.$ac_ext
46461LIBS=$ac_check_lib_save_LIBS
46462fi
46463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
46464$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
46465if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
46466  ac_cv_libcrypto_dummy=yes
46467else
46468  ac_cv_libcrypto_evp_cipher=no
46469fi
46470
46471
46472fi
46473
46474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
46475$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
46476if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
46477  $as_echo_n "(cached) " >&6
46478else
46479  ac_check_lib_save_LIBS=$LIBS
46480LIBS="-lcrypto  $LIBS"
46481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46482/* end confdefs.h.  */
46483
46484/* Override any GCC internal prototype to avoid an error.
46485   Use char because int might match the return type of a GCC
46486   builtin and then its argument prototype would still apply.  */
46487#ifdef __cplusplus
46488extern "C"
46489#endif
46490char EVP_CIPHER_CTX_set_padding ();
46491int
46492main ()
46493{
46494return EVP_CIPHER_CTX_set_padding ();
46495  ;
46496  return 0;
46497}
46498_ACEOF
46499if ac_fn_c_try_link "$LINENO"; then :
46500  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
46501else
46502  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
46503fi
46504rm -f core conftest.err conftest.$ac_objext \
46505    conftest$ac_exeext conftest.$ac_ext
46506LIBS=$ac_check_lib_save_LIBS
46507fi
46508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
46509$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
46510if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
46511  ac_cv_libcrypto_dummy=yes
46512else
46513  ac_cv_libcrypto_evp_cipher=no
46514fi
46515
46516
46517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
46518$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
46519if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
46520  $as_echo_n "(cached) " >&6
46521else
46522  ac_check_lib_save_LIBS=$LIBS
46523LIBS="-lcrypto  $LIBS"
46524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46525/* end confdefs.h.  */
46526
46527/* Override any GCC internal prototype to avoid an error.
46528   Use char because int might match the return type of a GCC
46529   builtin and then its argument prototype would still apply.  */
46530#ifdef __cplusplus
46531extern "C"
46532#endif
46533char EVP_CipherInit_ex ();
46534int
46535main ()
46536{
46537return EVP_CipherInit_ex ();
46538  ;
46539  return 0;
46540}
46541_ACEOF
46542if ac_fn_c_try_link "$LINENO"; then :
46543  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
46544else
46545  ac_cv_lib_crypto_EVP_CipherInit_ex=no
46546fi
46547rm -f core conftest.err conftest.$ac_objext \
46548    conftest$ac_exeext conftest.$ac_ext
46549LIBS=$ac_check_lib_save_LIBS
46550fi
46551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
46552$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
46553if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
46554  ac_cv_libcrypto_dummy=yes
46555else
46556  ac_cv_libcrypto_evp_cipher=no
46557fi
46558
46559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
46560$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
46561if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
46562  $as_echo_n "(cached) " >&6
46563else
46564  ac_check_lib_save_LIBS=$LIBS
46565LIBS="-lcrypto  $LIBS"
46566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46567/* end confdefs.h.  */
46568
46569/* Override any GCC internal prototype to avoid an error.
46570   Use char because int might match the return type of a GCC
46571   builtin and then its argument prototype would still apply.  */
46572#ifdef __cplusplus
46573extern "C"
46574#endif
46575char EVP_CipherUpdate ();
46576int
46577main ()
46578{
46579return EVP_CipherUpdate ();
46580  ;
46581  return 0;
46582}
46583_ACEOF
46584if ac_fn_c_try_link "$LINENO"; then :
46585  ac_cv_lib_crypto_EVP_CipherUpdate=yes
46586else
46587  ac_cv_lib_crypto_EVP_CipherUpdate=no
46588fi
46589rm -f core conftest.err conftest.$ac_objext \
46590    conftest$ac_exeext conftest.$ac_ext
46591LIBS=$ac_check_lib_save_LIBS
46592fi
46593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
46594$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
46595if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
46596  ac_cv_libcrypto_dummy=yes
46597else
46598  ac_cv_libcrypto_evp_cipher=no
46599fi
46600
46601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
46602$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
46603if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
46604  $as_echo_n "(cached) " >&6
46605else
46606  ac_check_lib_save_LIBS=$LIBS
46607LIBS="-lcrypto  $LIBS"
46608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46609/* end confdefs.h.  */
46610
46611/* Override any GCC internal prototype to avoid an error.
46612   Use char because int might match the return type of a GCC
46613   builtin and then its argument prototype would still apply.  */
46614#ifdef __cplusplus
46615extern "C"
46616#endif
46617char EVP_CipherFinal_ex ();
46618int
46619main ()
46620{
46621return EVP_CipherFinal_ex ();
46622  ;
46623  return 0;
46624}
46625_ACEOF
46626if ac_fn_c_try_link "$LINENO"; then :
46627  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
46628else
46629  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
46630fi
46631rm -f core conftest.err conftest.$ac_objext \
46632    conftest$ac_exeext conftest.$ac_ext
46633LIBS=$ac_check_lib_save_LIBS
46634fi
46635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
46636$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
46637if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
46638  ac_cv_libcrypto_dummy=yes
46639else
46640  ac_cv_libcrypto_evp_cipher=no
46641fi
46642
46643
46644  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
46645  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46647as_fn_error 1 "Missing OpenSSL EVP CIPHER support
46648See \`config.log' for more details" "$LINENO" 5; }
46649
46650fi
46651
46652  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
46653
46654$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
46655
46656
46657fi
46658
46659  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
46660
46661$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
46662
46663
46664fi
46665
46666fi
46667
46668  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
46669  ac_cv_libcrypto_aes_cbc=no
46670else
46671  ac_cv_libcrypto_aes_cbc=libcrypto_evp
46672
46673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_cbc in -lcrypto" >&5
46674$as_echo_n "checking for EVP_aes_128_cbc in -lcrypto... " >&6; }
46675if ${ac_cv_lib_crypto_EVP_aes_128_cbc+:} false; then :
46676  $as_echo_n "(cached) " >&6
46677else
46678  ac_check_lib_save_LIBS=$LIBS
46679LIBS="-lcrypto  $LIBS"
46680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46681/* end confdefs.h.  */
46682
46683/* Override any GCC internal prototype to avoid an error.
46684   Use char because int might match the return type of a GCC
46685   builtin and then its argument prototype would still apply.  */
46686#ifdef __cplusplus
46687extern "C"
46688#endif
46689char EVP_aes_128_cbc ();
46690int
46691main ()
46692{
46693return EVP_aes_128_cbc ();
46694  ;
46695  return 0;
46696}
46697_ACEOF
46698if ac_fn_c_try_link "$LINENO"; then :
46699  ac_cv_lib_crypto_EVP_aes_128_cbc=yes
46700else
46701  ac_cv_lib_crypto_EVP_aes_128_cbc=no
46702fi
46703rm -f core conftest.err conftest.$ac_objext \
46704    conftest$ac_exeext conftest.$ac_ext
46705LIBS=$ac_check_lib_save_LIBS
46706fi
46707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_cbc" >&5
46708$as_echo "$ac_cv_lib_crypto_EVP_aes_128_cbc" >&6; }
46709if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes; then :
46710  ac_cv_libcrypto_dummy=yes
46711else
46712  ac_cv_libcrypto_aes_cbc=no
46713fi
46714
46715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_cbc in -lcrypto" >&5
46716$as_echo_n "checking for EVP_aes_192_cbc in -lcrypto... " >&6; }
46717if ${ac_cv_lib_crypto_EVP_aes_192_cbc+:} false; then :
46718  $as_echo_n "(cached) " >&6
46719else
46720  ac_check_lib_save_LIBS=$LIBS
46721LIBS="-lcrypto  $LIBS"
46722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46723/* end confdefs.h.  */
46724
46725/* Override any GCC internal prototype to avoid an error.
46726   Use char because int might match the return type of a GCC
46727   builtin and then its argument prototype would still apply.  */
46728#ifdef __cplusplus
46729extern "C"
46730#endif
46731char EVP_aes_192_cbc ();
46732int
46733main ()
46734{
46735return EVP_aes_192_cbc ();
46736  ;
46737  return 0;
46738}
46739_ACEOF
46740if ac_fn_c_try_link "$LINENO"; then :
46741  ac_cv_lib_crypto_EVP_aes_192_cbc=yes
46742else
46743  ac_cv_lib_crypto_EVP_aes_192_cbc=no
46744fi
46745rm -f core conftest.err conftest.$ac_objext \
46746    conftest$ac_exeext conftest.$ac_ext
46747LIBS=$ac_check_lib_save_LIBS
46748fi
46749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_cbc" >&5
46750$as_echo "$ac_cv_lib_crypto_EVP_aes_192_cbc" >&6; }
46751if test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes; then :
46752  ac_cv_libcrypto_dummy=yes
46753else
46754  ac_cv_libcrypto_aes_cbc=no
46755fi
46756
46757    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_cbc in -lcrypto" >&5
46758$as_echo_n "checking for EVP_aes_256_cbc in -lcrypto... " >&6; }
46759if ${ac_cv_lib_crypto_EVP_aes_256_cbc+:} false; then :
46760  $as_echo_n "(cached) " >&6
46761else
46762  ac_check_lib_save_LIBS=$LIBS
46763LIBS="-lcrypto  $LIBS"
46764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765/* end confdefs.h.  */
46766
46767/* Override any GCC internal prototype to avoid an error.
46768   Use char because int might match the return type of a GCC
46769   builtin and then its argument prototype would still apply.  */
46770#ifdef __cplusplus
46771extern "C"
46772#endif
46773char EVP_aes_256_cbc ();
46774int
46775main ()
46776{
46777return EVP_aes_256_cbc ();
46778  ;
46779  return 0;
46780}
46781_ACEOF
46782if ac_fn_c_try_link "$LINENO"; then :
46783  ac_cv_lib_crypto_EVP_aes_256_cbc=yes
46784else
46785  ac_cv_lib_crypto_EVP_aes_256_cbc=no
46786fi
46787rm -f core conftest.err conftest.$ac_objext \
46788    conftest$ac_exeext conftest.$ac_ext
46789LIBS=$ac_check_lib_save_LIBS
46790fi
46791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_cbc" >&5
46792$as_echo "$ac_cv_lib_crypto_EVP_aes_256_cbc" >&6; }
46793if test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then :
46794  ac_cv_libcrypto_dummy=yes
46795else
46796  ac_cv_libcrypto_aes_cbc=no
46797fi
46798
46799
46800    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 :
46801
46802$as_echo "#define HAVE_EVP_CRYPTO_AES_CBC 1" >>confdefs.h
46803
46804
46805fi
46806
46807fi
46808
46809  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 :
46810  ac_cv_libcrypto_evp_cipher=yes
46811
46812    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
46813$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
46814if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
46815  $as_echo_n "(cached) " >&6
46816else
46817  ac_check_lib_save_LIBS=$LIBS
46818LIBS="-lcrypto  $LIBS"
46819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46820/* end confdefs.h.  */
46821
46822/* Override any GCC internal prototype to avoid an error.
46823   Use char because int might match the return type of a GCC
46824   builtin and then its argument prototype would still apply.  */
46825#ifdef __cplusplus
46826extern "C"
46827#endif
46828char EVP_CIPHER_CTX_new ();
46829int
46830main ()
46831{
46832return EVP_CIPHER_CTX_new ();
46833  ;
46834  return 0;
46835}
46836_ACEOF
46837if ac_fn_c_try_link "$LINENO"; then :
46838  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
46839else
46840  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
46841fi
46842rm -f core conftest.err conftest.$ac_objext \
46843    conftest$ac_exeext conftest.$ac_ext
46844LIBS=$ac_check_lib_save_LIBS
46845fi
46846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
46847$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
46848if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
46849  ac_cv_libcrypto_dummy=yes
46850else
46851  ac_cv_libcrypto_dummy=no
46852fi
46853
46854
46855  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
46856      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
46857$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
46858if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
46859  $as_echo_n "(cached) " >&6
46860else
46861  ac_check_lib_save_LIBS=$LIBS
46862LIBS="-lcrypto  $LIBS"
46863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46864/* end confdefs.h.  */
46865
46866/* Override any GCC internal prototype to avoid an error.
46867   Use char because int might match the return type of a GCC
46868   builtin and then its argument prototype would still apply.  */
46869#ifdef __cplusplus
46870extern "C"
46871#endif
46872char EVP_CIPHER_CTX_free ();
46873int
46874main ()
46875{
46876return EVP_CIPHER_CTX_free ();
46877  ;
46878  return 0;
46879}
46880_ACEOF
46881if ac_fn_c_try_link "$LINENO"; then :
46882  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
46883else
46884  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
46885fi
46886rm -f core conftest.err conftest.$ac_objext \
46887    conftest$ac_exeext conftest.$ac_ext
46888LIBS=$ac_check_lib_save_LIBS
46889fi
46890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
46891$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
46892if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
46893  ac_cv_libcrypto_dummy=yes
46894else
46895  ac_cv_libcrypto_evp_cipher=no
46896fi
46897
46898
46899else
46900      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
46901$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
46902if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
46903  $as_echo_n "(cached) " >&6
46904else
46905  ac_check_lib_save_LIBS=$LIBS
46906LIBS="-lcrypto  $LIBS"
46907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46908/* end confdefs.h.  */
46909
46910/* Override any GCC internal prototype to avoid an error.
46911   Use char because int might match the return type of a GCC
46912   builtin and then its argument prototype would still apply.  */
46913#ifdef __cplusplus
46914extern "C"
46915#endif
46916char EVP_CIPHER_CTX_init ();
46917int
46918main ()
46919{
46920return EVP_CIPHER_CTX_init ();
46921  ;
46922  return 0;
46923}
46924_ACEOF
46925if ac_fn_c_try_link "$LINENO"; then :
46926  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
46927else
46928  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
46929fi
46930rm -f core conftest.err conftest.$ac_objext \
46931    conftest$ac_exeext conftest.$ac_ext
46932LIBS=$ac_check_lib_save_LIBS
46933fi
46934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
46935$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
46936if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
46937  ac_cv_libcrypto_dummy=yes
46938else
46939  ac_cv_libcrypto_evp_cipher=no
46940fi
46941
46942    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
46943$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
46944if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
46945  $as_echo_n "(cached) " >&6
46946else
46947  ac_check_lib_save_LIBS=$LIBS
46948LIBS="-lcrypto  $LIBS"
46949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46950/* end confdefs.h.  */
46951
46952/* Override any GCC internal prototype to avoid an error.
46953   Use char because int might match the return type of a GCC
46954   builtin and then its argument prototype would still apply.  */
46955#ifdef __cplusplus
46956extern "C"
46957#endif
46958char EVP_CIPHER_CTX_cleanup ();
46959int
46960main ()
46961{
46962return EVP_CIPHER_CTX_cleanup ();
46963  ;
46964  return 0;
46965}
46966_ACEOF
46967if ac_fn_c_try_link "$LINENO"; then :
46968  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
46969else
46970  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
46971fi
46972rm -f core conftest.err conftest.$ac_objext \
46973    conftest$ac_exeext conftest.$ac_ext
46974LIBS=$ac_check_lib_save_LIBS
46975fi
46976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
46977$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
46978if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
46979  ac_cv_libcrypto_dummy=yes
46980else
46981  ac_cv_libcrypto_evp_cipher=no
46982fi
46983
46984
46985    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
46986$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
46987if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
46988  $as_echo_n "(cached) " >&6
46989else
46990  ac_check_lib_save_LIBS=$LIBS
46991LIBS="-lcrypto  $LIBS"
46992cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46993/* end confdefs.h.  */
46994
46995/* Override any GCC internal prototype to avoid an error.
46996   Use char because int might match the return type of a GCC
46997   builtin and then its argument prototype would still apply.  */
46998#ifdef __cplusplus
46999extern "C"
47000#endif
47001char ERR_remove_thread_state ();
47002int
47003main ()
47004{
47005return ERR_remove_thread_state ();
47006  ;
47007  return 0;
47008}
47009_ACEOF
47010if ac_fn_c_try_link "$LINENO"; then :
47011  ac_cv_lib_crypto_ERR_remove_thread_state=yes
47012else
47013  ac_cv_lib_crypto_ERR_remove_thread_state=no
47014fi
47015rm -f core conftest.err conftest.$ac_objext \
47016    conftest$ac_exeext conftest.$ac_ext
47017LIBS=$ac_check_lib_save_LIBS
47018fi
47019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
47020$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
47021if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
47022  ac_cv_libcrypto_dummy=yes
47023else
47024  ac_cv_libcrypto_evp_cipher=no
47025fi
47026
47027
47028fi
47029
47030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
47031$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
47032if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
47033  $as_echo_n "(cached) " >&6
47034else
47035  ac_check_lib_save_LIBS=$LIBS
47036LIBS="-lcrypto  $LIBS"
47037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038/* end confdefs.h.  */
47039
47040/* Override any GCC internal prototype to avoid an error.
47041   Use char because int might match the return type of a GCC
47042   builtin and then its argument prototype would still apply.  */
47043#ifdef __cplusplus
47044extern "C"
47045#endif
47046char EVP_CIPHER_CTX_set_padding ();
47047int
47048main ()
47049{
47050return EVP_CIPHER_CTX_set_padding ();
47051  ;
47052  return 0;
47053}
47054_ACEOF
47055if ac_fn_c_try_link "$LINENO"; then :
47056  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
47057else
47058  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
47059fi
47060rm -f core conftest.err conftest.$ac_objext \
47061    conftest$ac_exeext conftest.$ac_ext
47062LIBS=$ac_check_lib_save_LIBS
47063fi
47064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
47065$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
47066if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
47067  ac_cv_libcrypto_dummy=yes
47068else
47069  ac_cv_libcrypto_evp_cipher=no
47070fi
47071
47072
47073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
47074$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
47075if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
47076  $as_echo_n "(cached) " >&6
47077else
47078  ac_check_lib_save_LIBS=$LIBS
47079LIBS="-lcrypto  $LIBS"
47080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47081/* end confdefs.h.  */
47082
47083/* Override any GCC internal prototype to avoid an error.
47084   Use char because int might match the return type of a GCC
47085   builtin and then its argument prototype would still apply.  */
47086#ifdef __cplusplus
47087extern "C"
47088#endif
47089char EVP_CipherInit_ex ();
47090int
47091main ()
47092{
47093return EVP_CipherInit_ex ();
47094  ;
47095  return 0;
47096}
47097_ACEOF
47098if ac_fn_c_try_link "$LINENO"; then :
47099  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
47100else
47101  ac_cv_lib_crypto_EVP_CipherInit_ex=no
47102fi
47103rm -f core conftest.err conftest.$ac_objext \
47104    conftest$ac_exeext conftest.$ac_ext
47105LIBS=$ac_check_lib_save_LIBS
47106fi
47107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
47108$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
47109if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
47110  ac_cv_libcrypto_dummy=yes
47111else
47112  ac_cv_libcrypto_evp_cipher=no
47113fi
47114
47115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
47116$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
47117if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
47118  $as_echo_n "(cached) " >&6
47119else
47120  ac_check_lib_save_LIBS=$LIBS
47121LIBS="-lcrypto  $LIBS"
47122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47123/* end confdefs.h.  */
47124
47125/* Override any GCC internal prototype to avoid an error.
47126   Use char because int might match the return type of a GCC
47127   builtin and then its argument prototype would still apply.  */
47128#ifdef __cplusplus
47129extern "C"
47130#endif
47131char EVP_CipherUpdate ();
47132int
47133main ()
47134{
47135return EVP_CipherUpdate ();
47136  ;
47137  return 0;
47138}
47139_ACEOF
47140if ac_fn_c_try_link "$LINENO"; then :
47141  ac_cv_lib_crypto_EVP_CipherUpdate=yes
47142else
47143  ac_cv_lib_crypto_EVP_CipherUpdate=no
47144fi
47145rm -f core conftest.err conftest.$ac_objext \
47146    conftest$ac_exeext conftest.$ac_ext
47147LIBS=$ac_check_lib_save_LIBS
47148fi
47149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
47150$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
47151if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
47152  ac_cv_libcrypto_dummy=yes
47153else
47154  ac_cv_libcrypto_evp_cipher=no
47155fi
47156
47157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
47158$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
47159if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
47160  $as_echo_n "(cached) " >&6
47161else
47162  ac_check_lib_save_LIBS=$LIBS
47163LIBS="-lcrypto  $LIBS"
47164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47165/* end confdefs.h.  */
47166
47167/* Override any GCC internal prototype to avoid an error.
47168   Use char because int might match the return type of a GCC
47169   builtin and then its argument prototype would still apply.  */
47170#ifdef __cplusplus
47171extern "C"
47172#endif
47173char EVP_CipherFinal_ex ();
47174int
47175main ()
47176{
47177return EVP_CipherFinal_ex ();
47178  ;
47179  return 0;
47180}
47181_ACEOF
47182if ac_fn_c_try_link "$LINENO"; then :
47183  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
47184else
47185  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
47186fi
47187rm -f core conftest.err conftest.$ac_objext \
47188    conftest$ac_exeext conftest.$ac_ext
47189LIBS=$ac_check_lib_save_LIBS
47190fi
47191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
47192$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
47193if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
47194  ac_cv_libcrypto_dummy=yes
47195else
47196  ac_cv_libcrypto_evp_cipher=no
47197fi
47198
47199
47200  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
47201  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47203as_fn_error 1 "Missing OpenSSL EVP CIPHER support
47204See \`config.log' for more details" "$LINENO" 5; }
47205
47206fi
47207
47208  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
47209
47210$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
47211
47212
47213fi
47214
47215  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
47216
47217$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
47218
47219
47220fi
47221
47222fi
47223
47224  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
47225  ac_cv_libcrypto_aes_ecb=no
47226else
47227  ac_cv_libcrypto_aes_ecb=libcrypto_evp
47228
47229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_ecb in -lcrypto" >&5
47230$as_echo_n "checking for EVP_aes_128_ecb in -lcrypto... " >&6; }
47231if ${ac_cv_lib_crypto_EVP_aes_128_ecb+:} false; then :
47232  $as_echo_n "(cached) " >&6
47233else
47234  ac_check_lib_save_LIBS=$LIBS
47235LIBS="-lcrypto  $LIBS"
47236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47237/* end confdefs.h.  */
47238
47239/* Override any GCC internal prototype to avoid an error.
47240   Use char because int might match the return type of a GCC
47241   builtin and then its argument prototype would still apply.  */
47242#ifdef __cplusplus
47243extern "C"
47244#endif
47245char EVP_aes_128_ecb ();
47246int
47247main ()
47248{
47249return EVP_aes_128_ecb ();
47250  ;
47251  return 0;
47252}
47253_ACEOF
47254if ac_fn_c_try_link "$LINENO"; then :
47255  ac_cv_lib_crypto_EVP_aes_128_ecb=yes
47256else
47257  ac_cv_lib_crypto_EVP_aes_128_ecb=no
47258fi
47259rm -f core conftest.err conftest.$ac_objext \
47260    conftest$ac_exeext conftest.$ac_ext
47261LIBS=$ac_check_lib_save_LIBS
47262fi
47263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_ecb" >&5
47264$as_echo "$ac_cv_lib_crypto_EVP_aes_128_ecb" >&6; }
47265if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes; then :
47266  ac_cv_libcrypto_dummy=yes
47267else
47268  ac_cv_libcrypto_aes_ecb=no
47269fi
47270
47271    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_ecb in -lcrypto" >&5
47272$as_echo_n "checking for EVP_aes_192_ecb in -lcrypto... " >&6; }
47273if ${ac_cv_lib_crypto_EVP_aes_192_ecb+:} false; then :
47274  $as_echo_n "(cached) " >&6
47275else
47276  ac_check_lib_save_LIBS=$LIBS
47277LIBS="-lcrypto  $LIBS"
47278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47279/* end confdefs.h.  */
47280
47281/* Override any GCC internal prototype to avoid an error.
47282   Use char because int might match the return type of a GCC
47283   builtin and then its argument prototype would still apply.  */
47284#ifdef __cplusplus
47285extern "C"
47286#endif
47287char EVP_aes_192_ecb ();
47288int
47289main ()
47290{
47291return EVP_aes_192_ecb ();
47292  ;
47293  return 0;
47294}
47295_ACEOF
47296if ac_fn_c_try_link "$LINENO"; then :
47297  ac_cv_lib_crypto_EVP_aes_192_ecb=yes
47298else
47299  ac_cv_lib_crypto_EVP_aes_192_ecb=no
47300fi
47301rm -f core conftest.err conftest.$ac_objext \
47302    conftest$ac_exeext conftest.$ac_ext
47303LIBS=$ac_check_lib_save_LIBS
47304fi
47305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_ecb" >&5
47306$as_echo "$ac_cv_lib_crypto_EVP_aes_192_ecb" >&6; }
47307if test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes; then :
47308  ac_cv_libcrypto_dummy=yes
47309else
47310  ac_cv_libcrypto_aes_ecb=no
47311fi
47312
47313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_ecb in -lcrypto" >&5
47314$as_echo_n "checking for EVP_aes_256_ecb in -lcrypto... " >&6; }
47315if ${ac_cv_lib_crypto_EVP_aes_256_ecb+:} false; then :
47316  $as_echo_n "(cached) " >&6
47317else
47318  ac_check_lib_save_LIBS=$LIBS
47319LIBS="-lcrypto  $LIBS"
47320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47321/* end confdefs.h.  */
47322
47323/* Override any GCC internal prototype to avoid an error.
47324   Use char because int might match the return type of a GCC
47325   builtin and then its argument prototype would still apply.  */
47326#ifdef __cplusplus
47327extern "C"
47328#endif
47329char EVP_aes_256_ecb ();
47330int
47331main ()
47332{
47333return EVP_aes_256_ecb ();
47334  ;
47335  return 0;
47336}
47337_ACEOF
47338if ac_fn_c_try_link "$LINENO"; then :
47339  ac_cv_lib_crypto_EVP_aes_256_ecb=yes
47340else
47341  ac_cv_lib_crypto_EVP_aes_256_ecb=no
47342fi
47343rm -f core conftest.err conftest.$ac_objext \
47344    conftest$ac_exeext conftest.$ac_ext
47345LIBS=$ac_check_lib_save_LIBS
47346fi
47347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_ecb" >&5
47348$as_echo "$ac_cv_lib_crypto_EVP_aes_256_ecb" >&6; }
47349if test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then :
47350  ac_cv_libcrypto_dummy=yes
47351else
47352  ac_cv_libcrypto_aes_ecb=no
47353fi
47354
47355
47356    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 :
47357
47358$as_echo "#define HAVE_EVP_CRYPTO_AES_ECB 1" >>confdefs.h
47359
47360
47361fi
47362
47363fi
47364
47365
47366    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
47367  ac_cv_libcrypto_aes=no
47368else
47369  ac_cv_libcrypto_aes=libcrypto_evp
47370fi
47371
47372    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
47373  for ac_header in openssl/aes.h
47374do :
47375  ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
47376if test "x$ac_cv_header_openssl_aes_h" = xyes; then :
47377  cat >>confdefs.h <<_ACEOF
47378#define HAVE_OPENSSL_AES_H 1
47379_ACEOF
47380
47381fi
47382
47383done
47384
47385
47386  if test "x$ac_cv_header_openssl_aes_h" = xno; then :
47387  ac_cv_libcrypto_aes_cbc=no
47388    ac_cv_libcrypto_aes_ecb=no
47389else
47390  ac_cv_libcrypto_aes_cbc=libcrypto
47391    ac_cv_libcrypto_aes_ecb=libcrypto
47392
47393    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_decrypt_key in -lcrypto" >&5
47394$as_echo_n "checking for AES_set_decrypt_key in -lcrypto... " >&6; }
47395if ${ac_cv_lib_crypto_AES_set_decrypt_key+:} false; then :
47396  $as_echo_n "(cached) " >&6
47397else
47398  ac_check_lib_save_LIBS=$LIBS
47399LIBS="-lcrypto  $LIBS"
47400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47401/* end confdefs.h.  */
47402
47403/* Override any GCC internal prototype to avoid an error.
47404   Use char because int might match the return type of a GCC
47405   builtin and then its argument prototype would still apply.  */
47406#ifdef __cplusplus
47407extern "C"
47408#endif
47409char AES_set_decrypt_key ();
47410int
47411main ()
47412{
47413return AES_set_decrypt_key ();
47414  ;
47415  return 0;
47416}
47417_ACEOF
47418if ac_fn_c_try_link "$LINENO"; then :
47419  ac_cv_lib_crypto_AES_set_decrypt_key=yes
47420else
47421  ac_cv_lib_crypto_AES_set_decrypt_key=no
47422fi
47423rm -f core conftest.err conftest.$ac_objext \
47424    conftest$ac_exeext conftest.$ac_ext
47425LIBS=$ac_check_lib_save_LIBS
47426fi
47427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_decrypt_key" >&5
47428$as_echo "$ac_cv_lib_crypto_AES_set_decrypt_key" >&6; }
47429if test "x$ac_cv_lib_crypto_AES_set_decrypt_key" = xyes; then :
47430  ac_cv_libcrypto_dummy=yes
47431else
47432  ac_cv_libcrypto_aes_cbc=no,
47433      ac_cv_libcrypto_aes_ecb=no
47434fi
47435
47436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_encrypt_key in -lcrypto" >&5
47437$as_echo_n "checking for AES_set_encrypt_key in -lcrypto... " >&6; }
47438if ${ac_cv_lib_crypto_AES_set_encrypt_key+:} false; then :
47439  $as_echo_n "(cached) " >&6
47440else
47441  ac_check_lib_save_LIBS=$LIBS
47442LIBS="-lcrypto  $LIBS"
47443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47444/* end confdefs.h.  */
47445
47446/* Override any GCC internal prototype to avoid an error.
47447   Use char because int might match the return type of a GCC
47448   builtin and then its argument prototype would still apply.  */
47449#ifdef __cplusplus
47450extern "C"
47451#endif
47452char AES_set_encrypt_key ();
47453int
47454main ()
47455{
47456return AES_set_encrypt_key ();
47457  ;
47458  return 0;
47459}
47460_ACEOF
47461if ac_fn_c_try_link "$LINENO"; then :
47462  ac_cv_lib_crypto_AES_set_encrypt_key=yes
47463else
47464  ac_cv_lib_crypto_AES_set_encrypt_key=no
47465fi
47466rm -f core conftest.err conftest.$ac_objext \
47467    conftest$ac_exeext conftest.$ac_ext
47468LIBS=$ac_check_lib_save_LIBS
47469fi
47470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_encrypt_key" >&5
47471$as_echo "$ac_cv_lib_crypto_AES_set_encrypt_key" >&6; }
47472if test "x$ac_cv_lib_crypto_AES_set_encrypt_key" = xyes; then :
47473  ac_cv_libcrypto_dummy=yes
47474else
47475  ac_cv_libcrypto_aes_cbc=no,
47476      ac_cv_libcrypto_aes_ecb=no
47477fi
47478
47479
47480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_cbc_encrypt in -lcrypto" >&5
47481$as_echo_n "checking for AES_cbc_encrypt in -lcrypto... " >&6; }
47482if ${ac_cv_lib_crypto_AES_cbc_encrypt+:} false; then :
47483  $as_echo_n "(cached) " >&6
47484else
47485  ac_check_lib_save_LIBS=$LIBS
47486LIBS="-lcrypto  $LIBS"
47487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47488/* end confdefs.h.  */
47489
47490/* Override any GCC internal prototype to avoid an error.
47491   Use char because int might match the return type of a GCC
47492   builtin and then its argument prototype would still apply.  */
47493#ifdef __cplusplus
47494extern "C"
47495#endif
47496char AES_cbc_encrypt ();
47497int
47498main ()
47499{
47500return AES_cbc_encrypt ();
47501  ;
47502  return 0;
47503}
47504_ACEOF
47505if ac_fn_c_try_link "$LINENO"; then :
47506  ac_cv_lib_crypto_AES_cbc_encrypt=yes
47507else
47508  ac_cv_lib_crypto_AES_cbc_encrypt=no
47509fi
47510rm -f core conftest.err conftest.$ac_objext \
47511    conftest$ac_exeext conftest.$ac_ext
47512LIBS=$ac_check_lib_save_LIBS
47513fi
47514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_cbc_encrypt" >&5
47515$as_echo "$ac_cv_lib_crypto_AES_cbc_encrypt" >&6; }
47516if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
47517  ac_cv_libcrypto_dummy=yes
47518else
47519  ac_cv_libcrypto_aes_cbc=no
47520fi
47521
47522
47523    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ecb_encrypt in -lcrypto" >&5
47524$as_echo_n "checking for AES_ecb_encrypt in -lcrypto... " >&6; }
47525if ${ac_cv_lib_crypto_AES_ecb_encrypt+:} false; then :
47526  $as_echo_n "(cached) " >&6
47527else
47528  ac_check_lib_save_LIBS=$LIBS
47529LIBS="-lcrypto  $LIBS"
47530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47531/* end confdefs.h.  */
47532
47533/* Override any GCC internal prototype to avoid an error.
47534   Use char because int might match the return type of a GCC
47535   builtin and then its argument prototype would still apply.  */
47536#ifdef __cplusplus
47537extern "C"
47538#endif
47539char AES_ecb_encrypt ();
47540int
47541main ()
47542{
47543return AES_ecb_encrypt ();
47544  ;
47545  return 0;
47546}
47547_ACEOF
47548if ac_fn_c_try_link "$LINENO"; then :
47549  ac_cv_lib_crypto_AES_ecb_encrypt=yes
47550else
47551  ac_cv_lib_crypto_AES_ecb_encrypt=no
47552fi
47553rm -f core conftest.err conftest.$ac_objext \
47554    conftest$ac_exeext conftest.$ac_ext
47555LIBS=$ac_check_lib_save_LIBS
47556fi
47557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ecb_encrypt" >&5
47558$as_echo "$ac_cv_lib_crypto_AES_ecb_encrypt" >&6; }
47559if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
47560  ac_cv_libcrypto_dummy=yes
47561else
47562  ac_cv_libcrypto_aes_ecb=no
47563fi
47564
47565
47566    if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
47567
47568$as_echo "#define HAVE_AES_CBC_ENCRYPT 1" >>confdefs.h
47569
47570
47571fi
47572
47573    if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
47574
47575$as_echo "#define HAVE_AES_ECB_ENCRYPT 1" >>confdefs.h
47576
47577
47578fi
47579
47580fi
47581
47582  if test "x$ac_cv_libcrypto" = xno; then :
47583  if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
47584  ac_cv_libcrypto=yes
47585fi
47586
47587fi
47588
47589    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
47590  ac_cv_libcrypto_aes=no
47591else
47592  ac_cv_libcrypto_aes=libcrypto
47593fi
47594
47595fi
47596
47597    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 :
47598  ac_cv_libcrypto_evp_cipher=yes
47599
47600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
47601$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
47602if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
47603  $as_echo_n "(cached) " >&6
47604else
47605  ac_check_lib_save_LIBS=$LIBS
47606LIBS="-lcrypto  $LIBS"
47607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47608/* end confdefs.h.  */
47609
47610/* Override any GCC internal prototype to avoid an error.
47611   Use char because int might match the return type of a GCC
47612   builtin and then its argument prototype would still apply.  */
47613#ifdef __cplusplus
47614extern "C"
47615#endif
47616char EVP_CIPHER_CTX_new ();
47617int
47618main ()
47619{
47620return EVP_CIPHER_CTX_new ();
47621  ;
47622  return 0;
47623}
47624_ACEOF
47625if ac_fn_c_try_link "$LINENO"; then :
47626  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
47627else
47628  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
47629fi
47630rm -f core conftest.err conftest.$ac_objext \
47631    conftest$ac_exeext conftest.$ac_ext
47632LIBS=$ac_check_lib_save_LIBS
47633fi
47634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
47635$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
47636if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
47637  ac_cv_libcrypto_dummy=yes
47638else
47639  ac_cv_libcrypto_dummy=no
47640fi
47641
47642
47643  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
47644      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
47645$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
47646if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
47647  $as_echo_n "(cached) " >&6
47648else
47649  ac_check_lib_save_LIBS=$LIBS
47650LIBS="-lcrypto  $LIBS"
47651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47652/* end confdefs.h.  */
47653
47654/* Override any GCC internal prototype to avoid an error.
47655   Use char because int might match the return type of a GCC
47656   builtin and then its argument prototype would still apply.  */
47657#ifdef __cplusplus
47658extern "C"
47659#endif
47660char EVP_CIPHER_CTX_free ();
47661int
47662main ()
47663{
47664return EVP_CIPHER_CTX_free ();
47665  ;
47666  return 0;
47667}
47668_ACEOF
47669if ac_fn_c_try_link "$LINENO"; then :
47670  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
47671else
47672  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
47673fi
47674rm -f core conftest.err conftest.$ac_objext \
47675    conftest$ac_exeext conftest.$ac_ext
47676LIBS=$ac_check_lib_save_LIBS
47677fi
47678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
47679$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
47680if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
47681  ac_cv_libcrypto_dummy=yes
47682else
47683  ac_cv_libcrypto_evp_cipher=no
47684fi
47685
47686
47687else
47688      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
47689$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
47690if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
47691  $as_echo_n "(cached) " >&6
47692else
47693  ac_check_lib_save_LIBS=$LIBS
47694LIBS="-lcrypto  $LIBS"
47695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47696/* end confdefs.h.  */
47697
47698/* Override any GCC internal prototype to avoid an error.
47699   Use char because int might match the return type of a GCC
47700   builtin and then its argument prototype would still apply.  */
47701#ifdef __cplusplus
47702extern "C"
47703#endif
47704char EVP_CIPHER_CTX_init ();
47705int
47706main ()
47707{
47708return EVP_CIPHER_CTX_init ();
47709  ;
47710  return 0;
47711}
47712_ACEOF
47713if ac_fn_c_try_link "$LINENO"; then :
47714  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
47715else
47716  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
47717fi
47718rm -f core conftest.err conftest.$ac_objext \
47719    conftest$ac_exeext conftest.$ac_ext
47720LIBS=$ac_check_lib_save_LIBS
47721fi
47722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
47723$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
47724if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
47725  ac_cv_libcrypto_dummy=yes
47726else
47727  ac_cv_libcrypto_evp_cipher=no
47728fi
47729
47730    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
47731$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
47732if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
47733  $as_echo_n "(cached) " >&6
47734else
47735  ac_check_lib_save_LIBS=$LIBS
47736LIBS="-lcrypto  $LIBS"
47737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47738/* end confdefs.h.  */
47739
47740/* Override any GCC internal prototype to avoid an error.
47741   Use char because int might match the return type of a GCC
47742   builtin and then its argument prototype would still apply.  */
47743#ifdef __cplusplus
47744extern "C"
47745#endif
47746char EVP_CIPHER_CTX_cleanup ();
47747int
47748main ()
47749{
47750return EVP_CIPHER_CTX_cleanup ();
47751  ;
47752  return 0;
47753}
47754_ACEOF
47755if ac_fn_c_try_link "$LINENO"; then :
47756  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
47757else
47758  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
47759fi
47760rm -f core conftest.err conftest.$ac_objext \
47761    conftest$ac_exeext conftest.$ac_ext
47762LIBS=$ac_check_lib_save_LIBS
47763fi
47764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
47765$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
47766if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
47767  ac_cv_libcrypto_dummy=yes
47768else
47769  ac_cv_libcrypto_evp_cipher=no
47770fi
47771
47772
47773    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
47774$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
47775if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
47776  $as_echo_n "(cached) " >&6
47777else
47778  ac_check_lib_save_LIBS=$LIBS
47779LIBS="-lcrypto  $LIBS"
47780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781/* end confdefs.h.  */
47782
47783/* Override any GCC internal prototype to avoid an error.
47784   Use char because int might match the return type of a GCC
47785   builtin and then its argument prototype would still apply.  */
47786#ifdef __cplusplus
47787extern "C"
47788#endif
47789char ERR_remove_thread_state ();
47790int
47791main ()
47792{
47793return ERR_remove_thread_state ();
47794  ;
47795  return 0;
47796}
47797_ACEOF
47798if ac_fn_c_try_link "$LINENO"; then :
47799  ac_cv_lib_crypto_ERR_remove_thread_state=yes
47800else
47801  ac_cv_lib_crypto_ERR_remove_thread_state=no
47802fi
47803rm -f core conftest.err conftest.$ac_objext \
47804    conftest$ac_exeext conftest.$ac_ext
47805LIBS=$ac_check_lib_save_LIBS
47806fi
47807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
47808$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
47809if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
47810  ac_cv_libcrypto_dummy=yes
47811else
47812  ac_cv_libcrypto_evp_cipher=no
47813fi
47814
47815
47816fi
47817
47818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
47819$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
47820if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
47821  $as_echo_n "(cached) " >&6
47822else
47823  ac_check_lib_save_LIBS=$LIBS
47824LIBS="-lcrypto  $LIBS"
47825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826/* end confdefs.h.  */
47827
47828/* Override any GCC internal prototype to avoid an error.
47829   Use char because int might match the return type of a GCC
47830   builtin and then its argument prototype would still apply.  */
47831#ifdef __cplusplus
47832extern "C"
47833#endif
47834char EVP_CIPHER_CTX_set_padding ();
47835int
47836main ()
47837{
47838return EVP_CIPHER_CTX_set_padding ();
47839  ;
47840  return 0;
47841}
47842_ACEOF
47843if ac_fn_c_try_link "$LINENO"; then :
47844  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
47845else
47846  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
47847fi
47848rm -f core conftest.err conftest.$ac_objext \
47849    conftest$ac_exeext conftest.$ac_ext
47850LIBS=$ac_check_lib_save_LIBS
47851fi
47852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
47853$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
47854if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
47855  ac_cv_libcrypto_dummy=yes
47856else
47857  ac_cv_libcrypto_evp_cipher=no
47858fi
47859
47860
47861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
47862$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
47863if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
47864  $as_echo_n "(cached) " >&6
47865else
47866  ac_check_lib_save_LIBS=$LIBS
47867LIBS="-lcrypto  $LIBS"
47868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47869/* end confdefs.h.  */
47870
47871/* Override any GCC internal prototype to avoid an error.
47872   Use char because int might match the return type of a GCC
47873   builtin and then its argument prototype would still apply.  */
47874#ifdef __cplusplus
47875extern "C"
47876#endif
47877char EVP_CipherInit_ex ();
47878int
47879main ()
47880{
47881return EVP_CipherInit_ex ();
47882  ;
47883  return 0;
47884}
47885_ACEOF
47886if ac_fn_c_try_link "$LINENO"; then :
47887  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
47888else
47889  ac_cv_lib_crypto_EVP_CipherInit_ex=no
47890fi
47891rm -f core conftest.err conftest.$ac_objext \
47892    conftest$ac_exeext conftest.$ac_ext
47893LIBS=$ac_check_lib_save_LIBS
47894fi
47895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
47896$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
47897if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
47898  ac_cv_libcrypto_dummy=yes
47899else
47900  ac_cv_libcrypto_evp_cipher=no
47901fi
47902
47903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
47904$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
47905if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
47906  $as_echo_n "(cached) " >&6
47907else
47908  ac_check_lib_save_LIBS=$LIBS
47909LIBS="-lcrypto  $LIBS"
47910cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47911/* end confdefs.h.  */
47912
47913/* Override any GCC internal prototype to avoid an error.
47914   Use char because int might match the return type of a GCC
47915   builtin and then its argument prototype would still apply.  */
47916#ifdef __cplusplus
47917extern "C"
47918#endif
47919char EVP_CipherUpdate ();
47920int
47921main ()
47922{
47923return EVP_CipherUpdate ();
47924  ;
47925  return 0;
47926}
47927_ACEOF
47928if ac_fn_c_try_link "$LINENO"; then :
47929  ac_cv_lib_crypto_EVP_CipherUpdate=yes
47930else
47931  ac_cv_lib_crypto_EVP_CipherUpdate=no
47932fi
47933rm -f core conftest.err conftest.$ac_objext \
47934    conftest$ac_exeext conftest.$ac_ext
47935LIBS=$ac_check_lib_save_LIBS
47936fi
47937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
47938$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
47939if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
47940  ac_cv_libcrypto_dummy=yes
47941else
47942  ac_cv_libcrypto_evp_cipher=no
47943fi
47944
47945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
47946$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
47947if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
47948  $as_echo_n "(cached) " >&6
47949else
47950  ac_check_lib_save_LIBS=$LIBS
47951LIBS="-lcrypto  $LIBS"
47952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47953/* end confdefs.h.  */
47954
47955/* Override any GCC internal prototype to avoid an error.
47956   Use char because int might match the return type of a GCC
47957   builtin and then its argument prototype would still apply.  */
47958#ifdef __cplusplus
47959extern "C"
47960#endif
47961char EVP_CipherFinal_ex ();
47962int
47963main ()
47964{
47965return EVP_CipherFinal_ex ();
47966  ;
47967  return 0;
47968}
47969_ACEOF
47970if ac_fn_c_try_link "$LINENO"; then :
47971  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
47972else
47973  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
47974fi
47975rm -f core conftest.err conftest.$ac_objext \
47976    conftest$ac_exeext conftest.$ac_ext
47977LIBS=$ac_check_lib_save_LIBS
47978fi
47979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
47980$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
47981if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
47982  ac_cv_libcrypto_dummy=yes
47983else
47984  ac_cv_libcrypto_evp_cipher=no
47985fi
47986
47987
47988  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
47989  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47990$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47991as_fn_error 1 "Missing OpenSSL EVP CIPHER support
47992See \`config.log' for more details" "$LINENO" 5; }
47993
47994fi
47995
47996  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
47997
47998$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
47999
48000
48001fi
48002
48003  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
48004
48005$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
48006
48007
48008fi
48009
48010fi
48011
48012  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
48013  ac_cv_libcrypto_aes_xts=no
48014else
48015  ac_cv_libcrypto_aes_xts=libcrypto_evp
48016
48017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_xts in -lcrypto" >&5
48018$as_echo_n "checking for EVP_aes_128_xts in -lcrypto... " >&6; }
48019if ${ac_cv_lib_crypto_EVP_aes_128_xts+:} false; then :
48020  $as_echo_n "(cached) " >&6
48021else
48022  ac_check_lib_save_LIBS=$LIBS
48023LIBS="-lcrypto  $LIBS"
48024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48025/* end confdefs.h.  */
48026
48027/* Override any GCC internal prototype to avoid an error.
48028   Use char because int might match the return type of a GCC
48029   builtin and then its argument prototype would still apply.  */
48030#ifdef __cplusplus
48031extern "C"
48032#endif
48033char EVP_aes_128_xts ();
48034int
48035main ()
48036{
48037return EVP_aes_128_xts ();
48038  ;
48039  return 0;
48040}
48041_ACEOF
48042if ac_fn_c_try_link "$LINENO"; then :
48043  ac_cv_lib_crypto_EVP_aes_128_xts=yes
48044else
48045  ac_cv_lib_crypto_EVP_aes_128_xts=no
48046fi
48047rm -f core conftest.err conftest.$ac_objext \
48048    conftest$ac_exeext conftest.$ac_ext
48049LIBS=$ac_check_lib_save_LIBS
48050fi
48051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_xts" >&5
48052$as_echo "$ac_cv_lib_crypto_EVP_aes_128_xts" >&6; }
48053if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes; then :
48054  ac_cv_libcrypto_dummy=yes
48055else
48056  ac_cv_libcrypto_aes_xts=no
48057fi
48058
48059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_xts in -lcrypto" >&5
48060$as_echo_n "checking for EVP_aes_256_xts in -lcrypto... " >&6; }
48061if ${ac_cv_lib_crypto_EVP_aes_256_xts+:} false; then :
48062  $as_echo_n "(cached) " >&6
48063else
48064  ac_check_lib_save_LIBS=$LIBS
48065LIBS="-lcrypto  $LIBS"
48066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48067/* end confdefs.h.  */
48068
48069/* Override any GCC internal prototype to avoid an error.
48070   Use char because int might match the return type of a GCC
48071   builtin and then its argument prototype would still apply.  */
48072#ifdef __cplusplus
48073extern "C"
48074#endif
48075char EVP_aes_256_xts ();
48076int
48077main ()
48078{
48079return EVP_aes_256_xts ();
48080  ;
48081  return 0;
48082}
48083_ACEOF
48084if ac_fn_c_try_link "$LINENO"; then :
48085  ac_cv_lib_crypto_EVP_aes_256_xts=yes
48086else
48087  ac_cv_lib_crypto_EVP_aes_256_xts=no
48088fi
48089rm -f core conftest.err conftest.$ac_objext \
48090    conftest$ac_exeext conftest.$ac_ext
48091LIBS=$ac_check_lib_save_LIBS
48092fi
48093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_xts" >&5
48094$as_echo "$ac_cv_lib_crypto_EVP_aes_256_xts" >&6; }
48095if test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
48096  ac_cv_libcrypto_dummy=yes
48097else
48098  ac_cv_libcrypto_aes_xts=no
48099fi
48100
48101
48102        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`EVP_CipherInit_ex' can be used with duplicate keys" >&5
48103$as_echo_n "checking if \`EVP_CipherInit_ex' can be used with duplicate keys... " >&6; }
48104if ${ac_cv_openssl_xts_duplicate_keys+:} false; then :
48105  $as_echo_n "(cached) " >&6
48106else
48107  ac_ext=c
48108ac_cpp='$CPP $CPPFLAGS'
48109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112
48113    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48114/* end confdefs.h.  */
48115#include <openssl/err.h>
48116#include <openssl/evp.h>
48117int
48118main ()
48119{
48120unsigned char key[ 16 ] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
48121EVP_CIPHER_CTX ctx;
48122int result;
48123
48124EVP_CIPHER_CTX_init( &ctx );
48125result = EVP_CipherInit_ex(ctx, EVP_aes_128_xts(), NULL, key, key, 0);
48126EVP_CIPHER_CTX_cleanup( &ctx );
48127
48128return( result == 1 );
48129  ;
48130  return 0;
48131}
48132_ACEOF
48133if ac_fn_c_try_link "$LINENO"; then :
48134  ac_cv_openssl_xts_duplicate_keys=yes
48135else
48136  ac_cv_openssl_xts_duplicate_keys=no
48137fi
48138rm -f core conftest.err conftest.$ac_objext \
48139    conftest$ac_exeext conftest.$ac_ext
48140    ac_ext=c
48141ac_cpp='$CPP $CPPFLAGS'
48142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145
48146fi
48147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_xts_duplicate_keys" >&5
48148$as_echo "$ac_cv_openssl_xts_duplicate_keys" >&6; }
48149
48150    if test "x$ac_cv_openssl_xts_duplicate_keys" = xno; then :
48151  ac_cv_libcrypto_aes_xts=no
48152else
48153  if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
48154
48155$as_echo "#define HAVE_EVP_CRYPTO_AES_XTS 1" >>confdefs.h
48156
48157
48158fi
48159
48160fi
48161
48162fi
48163
48164fi
48165
48166    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_cbc" = xno; then :
48167  ac_cv_libcaes_aes_cbc=local
48168else
48169  ac_cv_libcaes_aes_cbc=$ac_cv_libcrypto_aes_cbc
48170fi
48171
48172  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
48173  ac_cv_libcaes_aes_ecb=local
48174else
48175  ac_cv_libcaes_aes_ecb=$ac_cv_libcrypto_aes_ecb
48176fi
48177
48178  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_xts" = xno; then :
48179  ac_cv_libcaes_aes_xts=local
48180else
48181  ac_cv_libcaes_aes_xts=$ac_cv_libcrypto_aes_xts
48182fi
48183
48184  ac_cv_libcaes_CPPFLAGS="-I../libcaes";
48185  ac_cv_libcaes_LIBADD="../libcaes/libcaes.la";
48186
48187  ac_cv_libcaes=local
48188
48189
48190
48191$as_echo "#define HAVE_LOCAL_LIBCAES 1" >>confdefs.h
48192
48193    HAVE_LOCAL_LIBCAES=1
48194
48195
48196fi
48197
48198   if test "x$ac_cv_libcaes" = xlocal; then
48199  HAVE_LOCAL_LIBCAES_TRUE=
48200  HAVE_LOCAL_LIBCAES_FALSE='#'
48201else
48202  HAVE_LOCAL_LIBCAES_TRUE='#'
48203  HAVE_LOCAL_LIBCAES_FALSE=
48204fi
48205
48206  if test "x$ac_cv_libcaes_CPPFLAGS" != "x"; then :
48207  LIBCAES_CPPFLAGS=$ac_cv_libcaes_CPPFLAGS
48208
48209
48210fi
48211  if test "x$ac_cv_libcaes_LIBADD" != "x"; then :
48212  LIBCAES_LIBADD=$ac_cv_libcaes_LIBADD
48213
48214
48215fi
48216
48217  if test "x$ac_cv_libcaes" = xyes; then :
48218  ax_libcaes_pc_libs_private=-lcaes
48219
48220
48221fi
48222
48223  if test "x$ac_cv_libcaes" = xyes; then :
48224  ax_libcaes_spec_requires=libcaes
48225
48226    ax_libcaes_spec_build_requires=libcaes-devel
48227
48228
48229fi
48230
48231
48232
48233
48234# Check whether --with-libfcrypto was given.
48235if test "${with_libfcrypto+set}" = set; then :
48236  withval=$with_libfcrypto; ac_cv_with_libfcrypto=$withval
48237else
48238  ac_cv_with_libfcrypto=auto-detect
48239fi
48240
48241    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfcrypto in includedir and libdir or in the specified DIR, or no if to use local version" >&5
48242$as_echo_n "checking whether to use search for libfcrypto in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
48243if ${ac_cv_with_libfcrypto+:} false; then :
48244  $as_echo_n "(cached) " >&6
48245else
48246  ac_cv_with_libfcrypto=auto-detect
48247fi
48248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcrypto" >&5
48249$as_echo "$ac_cv_with_libfcrypto" >&6; }
48250
48251    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcrypto" = xno; then :
48252  ac_cv_libfcrypto=no
48253else
48254      if test "x$ac_cv_with_libfcrypto" != x && test "x$ac_cv_with_libfcrypto" != xauto-detect; then :
48255  if test -d "$ac_cv_with_libfcrypto"; then :
48256  CFLAGS="$CFLAGS -I${ac_cv_with_libfcrypto}/include"
48257        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcrypto}/lib"
48258else
48259  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48261as_fn_error 1 "no such directory: $ac_cv_with_libfcrypto
48262See \`config.log' for more details" "$LINENO" 5; }
48263
48264fi
48265        ac_cv_libfcrypto=check
48266else
48267        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
48268
48269pkg_failed=no
48270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto" >&5
48271$as_echo_n "checking for libfcrypto... " >&6; }
48272
48273if test -n "$libfcrypto_CFLAGS"; then
48274    pkg_cv_libfcrypto_CFLAGS="$libfcrypto_CFLAGS"
48275 elif test -n "$PKG_CONFIG"; then
48276    if test -n "$PKG_CONFIG" && \
48277    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcrypto >= 20200104\""; } >&5
48278  ($PKG_CONFIG --exists --print-errors "libfcrypto >= 20200104") 2>&5
48279  ac_status=$?
48280  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48281  test $ac_status = 0; }; then
48282  pkg_cv_libfcrypto_CFLAGS=`$PKG_CONFIG --cflags "libfcrypto >= 20200104" 2>/dev/null`
48283		      test "x$?" != "x0" && pkg_failed=yes
48284else
48285  pkg_failed=yes
48286fi
48287 else
48288    pkg_failed=untried
48289fi
48290if test -n "$libfcrypto_LIBS"; then
48291    pkg_cv_libfcrypto_LIBS="$libfcrypto_LIBS"
48292 elif test -n "$PKG_CONFIG"; then
48293    if test -n "$PKG_CONFIG" && \
48294    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcrypto >= 20200104\""; } >&5
48295  ($PKG_CONFIG --exists --print-errors "libfcrypto >= 20200104") 2>&5
48296  ac_status=$?
48297  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48298  test $ac_status = 0; }; then
48299  pkg_cv_libfcrypto_LIBS=`$PKG_CONFIG --libs "libfcrypto >= 20200104" 2>/dev/null`
48300		      test "x$?" != "x0" && pkg_failed=yes
48301else
48302  pkg_failed=yes
48303fi
48304 else
48305    pkg_failed=untried
48306fi
48307
48308
48309
48310if test $pkg_failed = yes; then
48311   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48312$as_echo "no" >&6; }
48313
48314if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48315        _pkg_short_errors_supported=yes
48316else
48317        _pkg_short_errors_supported=no
48318fi
48319        if test $_pkg_short_errors_supported = yes; then
48320	        libfcrypto_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcrypto >= 20200104" 2>&1`
48321        else
48322	        libfcrypto_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcrypto >= 20200104" 2>&1`
48323        fi
48324	# Put the nasty error message in config.log where it belongs
48325	echo "$libfcrypto_PKG_ERRORS" >&5
48326
48327	ac_cv_libfcrypto=check
48328elif test $pkg_failed = untried; then
48329     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48330$as_echo "no" >&6; }
48331	ac_cv_libfcrypto=check
48332else
48333	libfcrypto_CFLAGS=$pkg_cv_libfcrypto_CFLAGS
48334	libfcrypto_LIBS=$pkg_cv_libfcrypto_LIBS
48335        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48336$as_echo "yes" >&6; }
48337	ac_cv_libfcrypto=yes
48338fi
48339
48340fi
48341      if test "x$ac_cv_libfcrypto" = xyes; then :
48342  ac_cv_libfcrypto_CPPFLAGS="$pkg_cv_libfcrypto_CFLAGS"
48343        ac_cv_libfcrypto_LIBADD="$pkg_cv_libfcrypto_LIBS"
48344fi
48345
48346fi
48347
48348    if test "x$ac_cv_libfcrypto" = xcheck; then :
48349        for ac_header in libfcrypto.h
48350do :
48351  ac_fn_c_check_header_mongrel "$LINENO" "libfcrypto.h" "ac_cv_header_libfcrypto_h" "$ac_includes_default"
48352if test "x$ac_cv_header_libfcrypto_h" = xyes; then :
48353  cat >>confdefs.h <<_ACEOF
48354#define HAVE_LIBFCRYPTO_H 1
48355_ACEOF
48356
48357fi
48358
48359done
48360
48361
48362      if test "x$ac_cv_header_libfcrypto_h" = xno; then :
48363  ac_cv_libfcrypto=no
48364else
48365          ac_cv_libfcrypto=yes
48366
48367        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_get_version in -lfcrypto" >&5
48368$as_echo_n "checking for libfcrypto_get_version in -lfcrypto... " >&6; }
48369if ${ac_cv_lib_fcrypto_libfcrypto_get_version+:} false; then :
48370  $as_echo_n "(cached) " >&6
48371else
48372  ac_check_lib_save_LIBS=$LIBS
48373LIBS="-lfcrypto  $LIBS"
48374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48375/* end confdefs.h.  */
48376
48377/* Override any GCC internal prototype to avoid an error.
48378   Use char because int might match the return type of a GCC
48379   builtin and then its argument prototype would still apply.  */
48380#ifdef __cplusplus
48381extern "C"
48382#endif
48383char libfcrypto_get_version ();
48384int
48385main ()
48386{
48387return libfcrypto_get_version ();
48388  ;
48389  return 0;
48390}
48391_ACEOF
48392if ac_fn_c_try_link "$LINENO"; then :
48393  ac_cv_lib_fcrypto_libfcrypto_get_version=yes
48394else
48395  ac_cv_lib_fcrypto_libfcrypto_get_version=no
48396fi
48397rm -f core conftest.err conftest.$ac_objext \
48398    conftest$ac_exeext conftest.$ac_ext
48399LIBS=$ac_check_lib_save_LIBS
48400fi
48401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_get_version" >&5
48402$as_echo "$ac_cv_lib_fcrypto_libfcrypto_get_version" >&6; }
48403if test "x$ac_cv_lib_fcrypto_libfcrypto_get_version" = xyes; then :
48404  ac_cv_libfcrypto_dummy=yes
48405else
48406  ac_cv_libfcrypto=no
48407fi
48408
48409
48410                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_rc4_context_initialize in -lfcrypto" >&5
48411$as_echo_n "checking for libfcrypto_rc4_context_initialize in -lfcrypto... " >&6; }
48412if ${ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize+:} false; then :
48413  $as_echo_n "(cached) " >&6
48414else
48415  ac_check_lib_save_LIBS=$LIBS
48416LIBS="-lfcrypto  $LIBS"
48417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48418/* end confdefs.h.  */
48419
48420/* Override any GCC internal prototype to avoid an error.
48421   Use char because int might match the return type of a GCC
48422   builtin and then its argument prototype would still apply.  */
48423#ifdef __cplusplus
48424extern "C"
48425#endif
48426char libfcrypto_rc4_context_initialize ();
48427int
48428main ()
48429{
48430return libfcrypto_rc4_context_initialize ();
48431  ;
48432  return 0;
48433}
48434_ACEOF
48435if ac_fn_c_try_link "$LINENO"; then :
48436  ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize=yes
48437else
48438  ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize=no
48439fi
48440rm -f core conftest.err conftest.$ac_objext \
48441    conftest$ac_exeext conftest.$ac_ext
48442LIBS=$ac_check_lib_save_LIBS
48443fi
48444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize" >&5
48445$as_echo "$ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize" >&6; }
48446if test "x$ac_cv_lib_fcrypto_libfcrypto_rc4_context_initialize" = xyes; then :
48447  ac_cv_libfcrypto_dummy=yes
48448else
48449  ac_cv_libfcrypto=no
48450fi
48451
48452        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_rc4_context_free in -lfcrypto" >&5
48453$as_echo_n "checking for libfcrypto_rc4_context_free in -lfcrypto... " >&6; }
48454if ${ac_cv_lib_fcrypto_libfcrypto_rc4_context_free+:} false; then :
48455  $as_echo_n "(cached) " >&6
48456else
48457  ac_check_lib_save_LIBS=$LIBS
48458LIBS="-lfcrypto  $LIBS"
48459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48460/* end confdefs.h.  */
48461
48462/* Override any GCC internal prototype to avoid an error.
48463   Use char because int might match the return type of a GCC
48464   builtin and then its argument prototype would still apply.  */
48465#ifdef __cplusplus
48466extern "C"
48467#endif
48468char libfcrypto_rc4_context_free ();
48469int
48470main ()
48471{
48472return libfcrypto_rc4_context_free ();
48473  ;
48474  return 0;
48475}
48476_ACEOF
48477if ac_fn_c_try_link "$LINENO"; then :
48478  ac_cv_lib_fcrypto_libfcrypto_rc4_context_free=yes
48479else
48480  ac_cv_lib_fcrypto_libfcrypto_rc4_context_free=no
48481fi
48482rm -f core conftest.err conftest.$ac_objext \
48483    conftest$ac_exeext conftest.$ac_ext
48484LIBS=$ac_check_lib_save_LIBS
48485fi
48486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_rc4_context_free" >&5
48487$as_echo "$ac_cv_lib_fcrypto_libfcrypto_rc4_context_free" >&6; }
48488if test "x$ac_cv_lib_fcrypto_libfcrypto_rc4_context_free" = xyes; then :
48489  ac_cv_libfcrypto_dummy=yes
48490else
48491  ac_cv_libfcrypto=no
48492fi
48493
48494
48495        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_rc4_context_set_key in -lfcrypto" >&5
48496$as_echo_n "checking for libfcrypto_rc4_context_set_key in -lfcrypto... " >&6; }
48497if ${ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key+:} false; then :
48498  $as_echo_n "(cached) " >&6
48499else
48500  ac_check_lib_save_LIBS=$LIBS
48501LIBS="-lfcrypto  $LIBS"
48502cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48503/* end confdefs.h.  */
48504
48505/* Override any GCC internal prototype to avoid an error.
48506   Use char because int might match the return type of a GCC
48507   builtin and then its argument prototype would still apply.  */
48508#ifdef __cplusplus
48509extern "C"
48510#endif
48511char libfcrypto_rc4_context_set_key ();
48512int
48513main ()
48514{
48515return libfcrypto_rc4_context_set_key ();
48516  ;
48517  return 0;
48518}
48519_ACEOF
48520if ac_fn_c_try_link "$LINENO"; then :
48521  ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key=yes
48522else
48523  ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key=no
48524fi
48525rm -f core conftest.err conftest.$ac_objext \
48526    conftest$ac_exeext conftest.$ac_ext
48527LIBS=$ac_check_lib_save_LIBS
48528fi
48529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key" >&5
48530$as_echo "$ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key" >&6; }
48531if test "x$ac_cv_lib_fcrypto_libfcrypto_rc4_context_set_key" = xyes; then :
48532  ac_cv_libfcrypto_dummy=yes
48533else
48534  ac_cv_libfcrypto=no
48535fi
48536
48537
48538        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_rc4_crypt in -lfcrypto" >&5
48539$as_echo_n "checking for libfcrypto_rc4_crypt in -lfcrypto... " >&6; }
48540if ${ac_cv_lib_fcrypto_libfcrypto_rc4_crypt+:} false; then :
48541  $as_echo_n "(cached) " >&6
48542else
48543  ac_check_lib_save_LIBS=$LIBS
48544LIBS="-lfcrypto  $LIBS"
48545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48546/* end confdefs.h.  */
48547
48548/* Override any GCC internal prototype to avoid an error.
48549   Use char because int might match the return type of a GCC
48550   builtin and then its argument prototype would still apply.  */
48551#ifdef __cplusplus
48552extern "C"
48553#endif
48554char libfcrypto_rc4_crypt ();
48555int
48556main ()
48557{
48558return libfcrypto_rc4_crypt ();
48559  ;
48560  return 0;
48561}
48562_ACEOF
48563if ac_fn_c_try_link "$LINENO"; then :
48564  ac_cv_lib_fcrypto_libfcrypto_rc4_crypt=yes
48565else
48566  ac_cv_lib_fcrypto_libfcrypto_rc4_crypt=no
48567fi
48568rm -f core conftest.err conftest.$ac_objext \
48569    conftest$ac_exeext conftest.$ac_ext
48570LIBS=$ac_check_lib_save_LIBS
48571fi
48572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_rc4_crypt" >&5
48573$as_echo "$ac_cv_lib_fcrypto_libfcrypto_rc4_crypt" >&6; }
48574if test "x$ac_cv_lib_fcrypto_libfcrypto_rc4_crypt" = xyes; then :
48575  ac_cv_libfcrypto_dummy=yes
48576else
48577  ac_cv_libfcrypto=no
48578fi
48579
48580
48581                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_serpent_context_initialize in -lfcrypto" >&5
48582$as_echo_n "checking for libfcrypto_serpent_context_initialize in -lfcrypto... " >&6; }
48583if ${ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize+:} false; then :
48584  $as_echo_n "(cached) " >&6
48585else
48586  ac_check_lib_save_LIBS=$LIBS
48587LIBS="-lfcrypto  $LIBS"
48588cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48589/* end confdefs.h.  */
48590
48591/* Override any GCC internal prototype to avoid an error.
48592   Use char because int might match the return type of a GCC
48593   builtin and then its argument prototype would still apply.  */
48594#ifdef __cplusplus
48595extern "C"
48596#endif
48597char libfcrypto_serpent_context_initialize ();
48598int
48599main ()
48600{
48601return libfcrypto_serpent_context_initialize ();
48602  ;
48603  return 0;
48604}
48605_ACEOF
48606if ac_fn_c_try_link "$LINENO"; then :
48607  ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize=yes
48608else
48609  ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize=no
48610fi
48611rm -f core conftest.err conftest.$ac_objext \
48612    conftest$ac_exeext conftest.$ac_ext
48613LIBS=$ac_check_lib_save_LIBS
48614fi
48615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize" >&5
48616$as_echo "$ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize" >&6; }
48617if test "x$ac_cv_lib_fcrypto_libfcrypto_serpent_context_initialize" = xyes; then :
48618  ac_cv_libfcrypto_dummy=yes
48619else
48620  ac_cv_libfcrypto=no
48621fi
48622
48623        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_serpent_context_free in -lfcrypto" >&5
48624$as_echo_n "checking for libfcrypto_serpent_context_free in -lfcrypto... " >&6; }
48625if ${ac_cv_lib_fcrypto_libfcrypto_serpent_context_free+:} false; then :
48626  $as_echo_n "(cached) " >&6
48627else
48628  ac_check_lib_save_LIBS=$LIBS
48629LIBS="-lfcrypto  $LIBS"
48630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48631/* end confdefs.h.  */
48632
48633/* Override any GCC internal prototype to avoid an error.
48634   Use char because int might match the return type of a GCC
48635   builtin and then its argument prototype would still apply.  */
48636#ifdef __cplusplus
48637extern "C"
48638#endif
48639char libfcrypto_serpent_context_free ();
48640int
48641main ()
48642{
48643return libfcrypto_serpent_context_free ();
48644  ;
48645  return 0;
48646}
48647_ACEOF
48648if ac_fn_c_try_link "$LINENO"; then :
48649  ac_cv_lib_fcrypto_libfcrypto_serpent_context_free=yes
48650else
48651  ac_cv_lib_fcrypto_libfcrypto_serpent_context_free=no
48652fi
48653rm -f core conftest.err conftest.$ac_objext \
48654    conftest$ac_exeext conftest.$ac_ext
48655LIBS=$ac_check_lib_save_LIBS
48656fi
48657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_serpent_context_free" >&5
48658$as_echo "$ac_cv_lib_fcrypto_libfcrypto_serpent_context_free" >&6; }
48659if test "x$ac_cv_lib_fcrypto_libfcrypto_serpent_context_free" = xyes; then :
48660  ac_cv_libfcrypto_dummy=yes
48661else
48662  ac_cv_libfcrypto=no
48663fi
48664
48665
48666        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_serpent_context_set_key in -lfcrypto" >&5
48667$as_echo_n "checking for libfcrypto_serpent_context_set_key in -lfcrypto... " >&6; }
48668if ${ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key+:} false; then :
48669  $as_echo_n "(cached) " >&6
48670else
48671  ac_check_lib_save_LIBS=$LIBS
48672LIBS="-lfcrypto  $LIBS"
48673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48674/* end confdefs.h.  */
48675
48676/* Override any GCC internal prototype to avoid an error.
48677   Use char because int might match the return type of a GCC
48678   builtin and then its argument prototype would still apply.  */
48679#ifdef __cplusplus
48680extern "C"
48681#endif
48682char libfcrypto_serpent_context_set_key ();
48683int
48684main ()
48685{
48686return libfcrypto_serpent_context_set_key ();
48687  ;
48688  return 0;
48689}
48690_ACEOF
48691if ac_fn_c_try_link "$LINENO"; then :
48692  ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key=yes
48693else
48694  ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key=no
48695fi
48696rm -f core conftest.err conftest.$ac_objext \
48697    conftest$ac_exeext conftest.$ac_ext
48698LIBS=$ac_check_lib_save_LIBS
48699fi
48700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key" >&5
48701$as_echo "$ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key" >&6; }
48702if test "x$ac_cv_lib_fcrypto_libfcrypto_serpent_context_set_key" = xyes; then :
48703  ac_cv_libfcrypto_dummy=yes
48704else
48705  ac_cv_libfcrypto=no
48706fi
48707
48708
48709        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_serpent_crypt_cbc in -lfcrypto" >&5
48710$as_echo_n "checking for libfcrypto_serpent_crypt_cbc in -lfcrypto... " >&6; }
48711if ${ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc+:} false; then :
48712  $as_echo_n "(cached) " >&6
48713else
48714  ac_check_lib_save_LIBS=$LIBS
48715LIBS="-lfcrypto  $LIBS"
48716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48717/* end confdefs.h.  */
48718
48719/* Override any GCC internal prototype to avoid an error.
48720   Use char because int might match the return type of a GCC
48721   builtin and then its argument prototype would still apply.  */
48722#ifdef __cplusplus
48723extern "C"
48724#endif
48725char libfcrypto_serpent_crypt_cbc ();
48726int
48727main ()
48728{
48729return libfcrypto_serpent_crypt_cbc ();
48730  ;
48731  return 0;
48732}
48733_ACEOF
48734if ac_fn_c_try_link "$LINENO"; then :
48735  ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc=yes
48736else
48737  ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc=no
48738fi
48739rm -f core conftest.err conftest.$ac_objext \
48740    conftest$ac_exeext conftest.$ac_ext
48741LIBS=$ac_check_lib_save_LIBS
48742fi
48743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc" >&5
48744$as_echo "$ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc" >&6; }
48745if test "x$ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_cbc" = xyes; then :
48746  ac_cv_libfcrypto_dummy=yes
48747else
48748  ac_cv_libfcrypto=no
48749fi
48750
48751        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcrypto_serpent_crypt_ecb in -lfcrypto" >&5
48752$as_echo_n "checking for libfcrypto_serpent_crypt_ecb in -lfcrypto... " >&6; }
48753if ${ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb+:} false; then :
48754  $as_echo_n "(cached) " >&6
48755else
48756  ac_check_lib_save_LIBS=$LIBS
48757LIBS="-lfcrypto  $LIBS"
48758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48759/* end confdefs.h.  */
48760
48761/* Override any GCC internal prototype to avoid an error.
48762   Use char because int might match the return type of a GCC
48763   builtin and then its argument prototype would still apply.  */
48764#ifdef __cplusplus
48765extern "C"
48766#endif
48767char libfcrypto_serpent_crypt_ecb ();
48768int
48769main ()
48770{
48771return libfcrypto_serpent_crypt_ecb ();
48772  ;
48773  return 0;
48774}
48775_ACEOF
48776if ac_fn_c_try_link "$LINENO"; then :
48777  ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb=yes
48778else
48779  ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb=no
48780fi
48781rm -f core conftest.err conftest.$ac_objext \
48782    conftest$ac_exeext conftest.$ac_ext
48783LIBS=$ac_check_lib_save_LIBS
48784fi
48785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb" >&5
48786$as_echo "$ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb" >&6; }
48787if test "x$ac_cv_lib_fcrypto_libfcrypto_serpent_crypt_ecb" = xyes; then :
48788  ac_cv_libfcrypto_dummy=yes
48789else
48790  ac_cv_libfcrypto=no
48791fi
48792
48793
48794        ac_cv_libfcrypto_LIBADD="-lfcrypto"
48795fi
48796
48797fi
48798    if test "x$ac_cv_with_libfcrypto" != x && test "x$ac_cv_with_libfcrypto" != xauto-detect && test "x$ac_cv_libfcrypto" != xyes; then :
48799  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48800$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48801as_fn_error 1 "unable to find supported libfcrypto in directory: $ac_cv_with_libfcrypto
48802See \`config.log' for more details" "$LINENO" 5; }
48803
48804fi
48805
48806fi
48807
48808  if test "x$ac_cv_libfcrypto" = xyes; then :
48809
48810$as_echo "#define HAVE_LIBFCRYPTO 1" >>confdefs.h
48811
48812
48813fi
48814
48815  if test "x$ac_cv_libfcrypto" = xyes; then :
48816  HAVE_LIBFCRYPTO=1
48817
48818else
48819  HAVE_LIBFCRYPTO=0
48820
48821
48822fi
48823
48824
48825    if test "x$ac_cv_libfcrypto" != xyes; then :
48826
48827  ac_cv_libfcrypto_CPPFLAGS="-I../libfcrypto";
48828  ac_cv_libfcrypto_LIBADD="../libfcrypto/libfcrypto.la";
48829
48830  ac_cv_libfcrypto=local
48831
48832
48833
48834$as_echo "#define HAVE_LOCAL_LIBFCRYPTO 1" >>confdefs.h
48835
48836    HAVE_LOCAL_LIBFCRYPTO=1
48837
48838
48839fi
48840
48841   if test "x$ac_cv_libfcrypto" = xlocal; then
48842  HAVE_LOCAL_LIBFCRYPTO_TRUE=
48843  HAVE_LOCAL_LIBFCRYPTO_FALSE='#'
48844else
48845  HAVE_LOCAL_LIBFCRYPTO_TRUE='#'
48846  HAVE_LOCAL_LIBFCRYPTO_FALSE=
48847fi
48848
48849  if test "x$ac_cv_libfcrypto_CPPFLAGS" != "x"; then :
48850  LIBFCRYPTO_CPPFLAGS=$ac_cv_libfcrypto_CPPFLAGS
48851
48852
48853fi
48854  if test "x$ac_cv_libfcrypto_LIBADD" != "x"; then :
48855  LIBFCRYPTO_LIBADD=$ac_cv_libfcrypto_LIBADD
48856
48857
48858fi
48859
48860  if test "x$ac_cv_libfcrypto" = xyes; then :
48861  ax_libfcrypto_pc_libs_private=-lfcrypto
48862
48863
48864fi
48865
48866  if test "x$ac_cv_libfcrypto" = xyes; then :
48867  ax_libfcrypto_spec_requires=libfcrypto
48868
48869    ax_libfcrypto_spec_build_requires=libfcrypto-devel
48870
48871
48872fi
48873
48874
48875  for ac_func in bindtextdomain
48876do :
48877  ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain"
48878if test "x$ac_cv_func_bindtextdomain" = xyes; then :
48879  cat >>confdefs.h <<_ACEOF
48880#define HAVE_BINDTEXTDOMAIN 1
48881_ACEOF
48882
48883fi
48884done
48885
48886
48887
48888
48889  # Check whether --enable-verbose-output was given.
48890if test "${enable_verbose_output+set}" = set; then :
48891  enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval
48892else
48893  ac_cv_enable_verbose_output=no
48894fi
48895
48896    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5
48897$as_echo_n "checking whether to enable enable verbose output... " >&6; }
48898if ${ac_cv_enable_verbose_output+:} false; then :
48899  $as_echo_n "(cached) " >&6
48900else
48901  ac_cv_enable_verbose_output=no
48902fi
48903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5
48904$as_echo "$ac_cv_enable_verbose_output" >&6; }
48905
48906  if test "x$ac_cv_enable_verbose_output" != xno ; then :
48907
48908$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h
48909
48910
48911    ac_cv_enable_verbose_output=yes
48912fi
48913
48914
48915
48916
48917  # Check whether --enable-debug-output was given.
48918if test "${enable_debug_output+set}" = set; then :
48919  enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval
48920else
48921  ac_cv_enable_debug_output=no
48922fi
48923
48924    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5
48925$as_echo_n "checking whether to enable enable debug output... " >&6; }
48926if ${ac_cv_enable_debug_output+:} false; then :
48927  $as_echo_n "(cached) " >&6
48928else
48929  ac_cv_enable_debug_output=no
48930fi
48931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5
48932$as_echo "$ac_cv_enable_debug_output" >&6; }
48933
48934  if test "x$ac_cv_enable_debug_output" != xno ; then :
48935
48936$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h
48937
48938
48939    ac_cv_enable_debug_output=yes
48940fi
48941
48942
48943    if test "x$enable_shared" = xyes; then :
48944  case $host in #(
48945  *cygwin* | *mingw*) :
48946
48947$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h
48948
48949      HAVE_DLLMAIN=1
48950
48951     ;; #(
48952  *) :
48953     ;;
48954esac
48955
48956fi
48957
48958
48959
48960
48961# Check whether --with-pyprefix was given.
48962if test "${with_pyprefix+set}" = set; then :
48963  withval=$with_pyprefix; ac_cv_with_pyprefix=$withval
48964else
48965  ac_cv_with_pyprefix=no
48966fi
48967
48968    { $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
48969$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; }
48970if ${ac_cv_with_pyprefix+:} false; then :
48971  $as_echo_n "(cached) " >&6
48972else
48973  ac_cv_with_pyprefix=no
48974fi
48975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5
48976$as_echo "$ac_cv_with_pyprefix" >&6; }
48977
48978
48979
48980  # Check whether --enable-python was given.
48981if test "${enable_python+set}" = set; then :
48982  enableval=$enable_python; ac_cv_enable_python=$enableval
48983else
48984  ac_cv_enable_python=no
48985fi
48986
48987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5
48988$as_echo_n "checking whether to enable build Python bindings... " >&6; }
48989if ${ac_cv_enable_python+:} false; then :
48990  $as_echo_n "(cached) " >&6
48991else
48992  ac_cv_enable_python=no
48993fi
48994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5
48995$as_echo "$ac_cv_enable_python" >&6; }
48996
48997
48998# Check whether --with-pythondir was given.
48999if test "${with_pythondir+set}" = set; then :
49000  withval=$with_pythondir; ac_cv_with_pythondir=$withval
49001else
49002  ac_cv_with_pythondir=no
49003fi
49004
49005    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5
49006$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; }
49007if ${ac_cv_with_pythondir+:} false; then :
49008  $as_echo_n "(cached) " >&6
49009else
49010  ac_cv_with_pythondir=no
49011fi
49012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5
49013$as_echo "$ac_cv_with_pythondir" >&6; }
49014
49015
49016  # Check whether --enable-python2 was given.
49017if test "${enable_python2+set}" = set; then :
49018  enableval=$enable_python2; ac_cv_enable_python2=$enableval
49019else
49020  ac_cv_enable_python2=no
49021fi
49022
49023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5
49024$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; }
49025if ${ac_cv_enable_python2+:} false; then :
49026  $as_echo_n "(cached) " >&6
49027else
49028  ac_cv_enable_python2=no
49029fi
49030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5
49031$as_echo "$ac_cv_enable_python2" >&6; }
49032
49033
49034# Check whether --with-pythondir2 was given.
49035if test "${with_pythondir2+set}" = set; then :
49036  withval=$with_pythondir2; ac_cv_with_pythondir2=$withval
49037else
49038  ac_cv_with_pythondir2=no
49039fi
49040
49041    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5
49042$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; }
49043if ${ac_cv_with_pythondir2+:} false; then :
49044  $as_echo_n "(cached) " >&6
49045else
49046  ac_cv_with_pythondir2=no
49047fi
49048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5
49049$as_echo "$ac_cv_with_pythondir2" >&6; }
49050
49051
49052  # Check whether --enable-python3 was given.
49053if test "${enable_python3+set}" = set; then :
49054  enableval=$enable_python3; ac_cv_enable_python3=$enableval
49055else
49056  ac_cv_enable_python3=no
49057fi
49058
49059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5
49060$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; }
49061if ${ac_cv_enable_python3+:} false; then :
49062  $as_echo_n "(cached) " >&6
49063else
49064  ac_cv_enable_python3=no
49065fi
49066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5
49067$as_echo "$ac_cv_enable_python3" >&6; }
49068
49069
49070# Check whether --with-pythondir3 was given.
49071if test "${with_pythondir3+set}" = set; then :
49072  withval=$with_pythondir3; ac_cv_with_pythondir3=$withval
49073else
49074  ac_cv_with_pythondir3=no
49075fi
49076
49077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5
49078$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; }
49079if ${ac_cv_with_pythondir3+:} false; then :
49080  $as_echo_n "(cached) " >&6
49081else
49082  ac_cv_with_pythondir3=no
49083fi
49084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5
49085$as_echo "$ac_cv_with_pythondir3" >&6; }
49086
49087  if test "x${ac_cv_enable_python}" != xno; then :
49088  if test "x${PYTHON_VERSION}" != x; then :
49089  ax_python_progs="python${PYTHON_VERSION}"
49090else
49091  ax_python_progs="python python2 python2.7 python2.6 python2.5 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0"
49092fi
49093  for ac_prog in $ax_python_progs
49094do
49095  # Extract the first word of "$ac_prog", so it can be a program name with args.
49096set dummy $ac_prog; ac_word=$2
49097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49098$as_echo_n "checking for $ac_word... " >&6; }
49099if ${ac_cv_prog_PYTHON+:} false; then :
49100  $as_echo_n "(cached) " >&6
49101else
49102  if test -n "$PYTHON"; then
49103  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
49104else
49105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49106for as_dir in $PATH
49107do
49108  IFS=$as_save_IFS
49109  test -z "$as_dir" && as_dir=.
49110    for ac_exec_ext in '' $ac_executable_extensions; do
49111  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49112    ac_cv_prog_PYTHON="$ac_prog"
49113    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49114    break 2
49115  fi
49116done
49117  done
49118IFS=$as_save_IFS
49119
49120fi
49121fi
49122PYTHON=$ac_cv_prog_PYTHON
49123if test -n "$PYTHON"; then
49124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
49125$as_echo "$PYTHON" >&6; }
49126else
49127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49128$as_echo "no" >&6; }
49129fi
49130
49131
49132  test -n "$PYTHON" && break
49133done
49134
49135  if test "x${PYTHON}" != x; then :
49136  ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
49137    ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
49138    PYTHON_PLATFORM=$ax_prog_python_platform
49139
49140
49141else
49142  as_fn_error $? "Unable to find python" "$LINENO" 5
49143
49144fi
49145  PYTHON=$PYTHON
49146
49147
49148  if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then :
49149  for ac_prog in python${PYTHON_VERSION}-config
49150do
49151  # Extract the first word of "$ac_prog", so it can be a program name with args.
49152set dummy $ac_prog; ac_word=$2
49153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49154$as_echo_n "checking for $ac_word... " >&6; }
49155if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
49156  $as_echo_n "(cached) " >&6
49157else
49158  if test -n "$PYTHON_CONFIG"; then
49159  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
49160else
49161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49162for as_dir in $PATH
49163do
49164  IFS=$as_save_IFS
49165  test -z "$as_dir" && as_dir=.
49166    for ac_exec_ext in '' $ac_executable_extensions; do
49167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49168    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
49169    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49170    break 2
49171  fi
49172done
49173  done
49174IFS=$as_save_IFS
49175
49176fi
49177fi
49178PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
49179if test -n "$PYTHON_CONFIG"; then
49180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
49181$as_echo "$PYTHON_CONFIG" >&6; }
49182else
49183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49184$as_echo "no" >&6; }
49185fi
49186
49187
49188  test -n "$PYTHON_CONFIG" && break
49189done
49190
49191
49192fi
49193  if test "x${PYTHON_CONFIG}" = x; then :
49194  for ac_prog in python-config
49195do
49196  # Extract the first word of "$ac_prog", so it can be a program name with args.
49197set dummy $ac_prog; ac_word=$2
49198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49199$as_echo_n "checking for $ac_word... " >&6; }
49200if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
49201  $as_echo_n "(cached) " >&6
49202else
49203  if test -n "$PYTHON_CONFIG"; then
49204  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
49205else
49206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49207for as_dir in $PATH
49208do
49209  IFS=$as_save_IFS
49210  test -z "$as_dir" && as_dir=.
49211    for ac_exec_ext in '' $ac_executable_extensions; do
49212  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49213    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
49214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49215    break 2
49216  fi
49217done
49218  done
49219IFS=$as_save_IFS
49220
49221fi
49222fi
49223PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
49224if test -n "$PYTHON_CONFIG"; then
49225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
49226$as_echo "$PYTHON_CONFIG" >&6; }
49227else
49228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49229$as_echo "no" >&6; }
49230fi
49231
49232
49233  test -n "$PYTHON_CONFIG" && break
49234done
49235
49236
49237fi
49238  if test "x${PYTHON_CONFIG}" = x; then :
49239  as_fn_error $? "Unable to find python-config" "$LINENO" 5
49240
49241fi
49242  PYTHON_CONFIG=$PYTHON_CONFIG
49243
49244
49245
49246  if test "x${PYTHON_CONFIG}" != x; then :
49247      PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`;
49248
49249    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
49250$as_echo_n "checking for Python includes... " >&6; }
49251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
49252$as_echo "$PYTHON_INCLUDES" >&6; }
49253
49254        PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`;
49255
49256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5
49257$as_echo_n "checking for Python libraries... " >&6; }
49258    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
49259$as_echo "$PYTHON_LDFLAGS" >&6; }
49260
49261        case $host_os in #(
49262  cygwin*) :
49263    PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #(
49264  *) :
49265     ;; #(
49266  *) :
49267     ;;
49268esac
49269
49270        BACKUP_CPPFLAGS="${CPPFLAGS}"
49271    CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}"
49272
49273    for ac_header in Python.h
49274do :
49275  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
49276if test "x$ac_cv_header_Python_h" = xyes; then :
49277  cat >>confdefs.h <<_ACEOF
49278#define HAVE_PYTHON_H 1
49279_ACEOF
49280 ac_cv_header_python_h=yes
49281else
49282  ac_cv_header_python_h=no
49283fi
49284
49285done
49286
49287
49288    CPPFLAGS="${BACKUP_CPPFLAGS}"
49289
49290fi
49291
49292  if test "x${ac_cv_header_python_h}" != xyes; then :
49293  ac_cv_enable_python=no
49294else
49295  ac_cv_enable_python=${ax_prog_python_version}
49296    PYTHON_CPPFLAGS=$PYTHON_INCLUDES
49297
49298
49299    PYTHON_LDFLAGS=$PYTHON_LDFLAGS
49300
49301
49302        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49303  ax_python_prefix="\${prefix}"
49304else
49305  ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null`
49306fi
49307
49308    PYTHON_PREFIX=$ax_python_prefix
49309
49310
49311        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49312  ax_python_exec_prefix="\${exec_prefix}"
49313else
49314  ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null`
49315fi
49316
49317    PYTHON_EXEC_PREFIX=$ax_python_exec_prefix
49318
49319
49320        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`;
49321
49322    if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then :
49323  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49324  ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}"
49325else
49326  ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
49327fi
49328else
49329  ax_python_pythondir=$ac_cv_with_pythondir
49330fi
49331
49332    pythondir=$ax_python_pythondir
49333
49334
49335        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`;
49336    ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
49337
49338    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49339  ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}"
49340else
49341  ax_python_pyexecdir=$ax_python_library_dir
49342fi
49343
49344    pyexecdir=$ax_python_pyexecdir
49345
49346
49347    PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix
49348
49349
49350    PYTHON_PACKAGE_DIR=$ax_python_library_dir
49351
49352
49353fi
49354
49355fi
49356
49357  if test "x${ac_cv_enable_python2}" != xno; then :
49358  ax_python2_progs="python2 python2.7 python2.6 python2.5"
49359  for ac_prog in $ax_python2_progs
49360do
49361  # Extract the first word of "$ac_prog", so it can be a program name with args.
49362set dummy $ac_prog; ac_word=$2
49363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49364$as_echo_n "checking for $ac_word... " >&6; }
49365if ${ac_cv_prog_PYTHON2+:} false; then :
49366  $as_echo_n "(cached) " >&6
49367else
49368  if test -n "$PYTHON2"; then
49369  ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test.
49370else
49371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49372for as_dir in $PATH
49373do
49374  IFS=$as_save_IFS
49375  test -z "$as_dir" && as_dir=.
49376    for ac_exec_ext in '' $ac_executable_extensions; do
49377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49378    ac_cv_prog_PYTHON2="$ac_prog"
49379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49380    break 2
49381  fi
49382done
49383  done
49384IFS=$as_save_IFS
49385
49386fi
49387fi
49388PYTHON2=$ac_cv_prog_PYTHON2
49389if test -n "$PYTHON2"; then
49390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5
49391$as_echo "$PYTHON2" >&6; }
49392else
49393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49394$as_echo "no" >&6; }
49395fi
49396
49397
49398  test -n "$PYTHON2" && break
49399done
49400
49401  if test "x${PYTHON2}" != x; then :
49402  ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
49403    PYTHON2_VERSION=$ax_prog_python2_version
49404
49405
49406    ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
49407    PYTHON2_PLATFORM=$ax_prog_python2_platform
49408
49409
49410else
49411  as_fn_error $? "Unable to find python2" "$LINENO" 5
49412
49413fi
49414  PYTHON2=$PYTHON2
49415
49416
49417  if test "x${PYTHON2_CONFIG}" = x; then :
49418  for ac_prog in python2-config
49419do
49420  # Extract the first word of "$ac_prog", so it can be a program name with args.
49421set dummy $ac_prog; ac_word=$2
49422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49423$as_echo_n "checking for $ac_word... " >&6; }
49424if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then :
49425  $as_echo_n "(cached) " >&6
49426else
49427  if test -n "$PYTHON2_CONFIG"; then
49428  ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test.
49429else
49430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49431for as_dir in $PATH
49432do
49433  IFS=$as_save_IFS
49434  test -z "$as_dir" && as_dir=.
49435    for ac_exec_ext in '' $ac_executable_extensions; do
49436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49437    ac_cv_prog_PYTHON2_CONFIG="$ac_prog"
49438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49439    break 2
49440  fi
49441done
49442  done
49443IFS=$as_save_IFS
49444
49445fi
49446fi
49447PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG
49448if test -n "$PYTHON2_CONFIG"; then
49449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5
49450$as_echo "$PYTHON2_CONFIG" >&6; }
49451else
49452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49453$as_echo "no" >&6; }
49454fi
49455
49456
49457  test -n "$PYTHON2_CONFIG" && break
49458done
49459
49460
49461fi
49462  if test "x${PYTHON2_CONFIG}" = x; then :
49463  as_fn_error $? "Unable to find python2-config" "$LINENO" 5
49464
49465fi
49466  PYTHON2_CONFIG=$PYTHON2_CONFIG
49467
49468
49469
49470  if test "x${PYTHON2_CONFIG}" != x; then :
49471      PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`;
49472
49473    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5
49474$as_echo_n "checking for Python verison 2 includes... " >&6; }
49475    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5
49476$as_echo "$PYTHON2_INCLUDES" >&6; }
49477
49478        PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`;
49479
49480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5
49481$as_echo_n "checking for Python 2 libraries... " >&6; }
49482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5
49483$as_echo "$PYTHON2_LDFLAGS" >&6; }
49484
49485        case $host_os in #(
49486  cygwin*) :
49487    PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #(
49488  *) :
49489     ;; #(
49490  *) :
49491     ;;
49492esac
49493
49494        BACKUP_CPPFLAGS="${CPPFLAGS}"
49495    CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}"
49496
49497    for ac_header in Python.h
49498do :
49499  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
49500if test "x$ac_cv_header_Python_h" = xyes; then :
49501  cat >>confdefs.h <<_ACEOF
49502#define HAVE_PYTHON_H 1
49503_ACEOF
49504 ac_cv_header_python2_h=yes
49505else
49506  ac_cv_header_python2_h=no
49507fi
49508
49509done
49510
49511
49512    CPPFLAGS="${BACKUP_CPPFLAGS}"
49513
49514fi
49515
49516  if test "x${ac_cv_header_python2_h}" != xyes; then :
49517  ac_cv_enable_python2=no
49518else
49519  ac_cv_enable_python2=$PYTHON2_VERSION
49520    PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES
49521
49522
49523    PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS
49524
49525
49526        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49527  ax_python2_prefix="\${prefix}"
49528else
49529  ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null`
49530fi
49531
49532    PYTHON2_PREFIX=$ax_python2_prefix
49533
49534
49535        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49536  ax_python2_exec_prefix="\${exec_prefix}"
49537else
49538  ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null`
49539fi
49540
49541    PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix
49542
49543
49544        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`;
49545
49546    if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then :
49547  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49548  ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}"
49549else
49550  ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
49551fi
49552else
49553  ax_python2_pythondir=$ac_cv_with_pythondir2
49554fi
49555
49556    pythondir2=$ax_python2_pythondir
49557
49558
49559        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`;
49560    ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
49561
49562    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49563  ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}"
49564else
49565  ax_python2_pyexecdir=$ax_python2_library_dir
49566fi
49567
49568    pyexecdir2=$ax_python2_pyexecdir
49569
49570
49571    PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix
49572
49573
49574    PYTHON2_PACKAGE_DIR=$ax_python2_library_dir
49575
49576
49577fi
49578
49579fi
49580
49581  if test "x${ac_cv_enable_python3}" != xno; then :
49582  ax_python3_progs="python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0"
49583  for ac_prog in $ax_python3_progs
49584do
49585  # Extract the first word of "$ac_prog", so it can be a program name with args.
49586set dummy $ac_prog; ac_word=$2
49587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49588$as_echo_n "checking for $ac_word... " >&6; }
49589if ${ac_cv_prog_PYTHON3+:} false; then :
49590  $as_echo_n "(cached) " >&6
49591else
49592  if test -n "$PYTHON3"; then
49593  ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test.
49594else
49595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49596for as_dir in $PATH
49597do
49598  IFS=$as_save_IFS
49599  test -z "$as_dir" && as_dir=.
49600    for ac_exec_ext in '' $ac_executable_extensions; do
49601  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49602    ac_cv_prog_PYTHON3="$ac_prog"
49603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49604    break 2
49605  fi
49606done
49607  done
49608IFS=$as_save_IFS
49609
49610fi
49611fi
49612PYTHON3=$ac_cv_prog_PYTHON3
49613if test -n "$PYTHON3"; then
49614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
49615$as_echo "$PYTHON3" >&6; }
49616else
49617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49618$as_echo "no" >&6; }
49619fi
49620
49621
49622  test -n "$PYTHON3" && break
49623done
49624
49625  if test "x${PYTHON3}" != x; then :
49626  ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
49627    PYTHON3_VERSION=$ax_prog_python3_version
49628
49629
49630    ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
49631    PYTHON3_PLATFORM=$ax_prog_python3_platform
49632
49633
49634else
49635  as_fn_error $? "Unable to find python3" "$LINENO" 5
49636
49637fi
49638  PYTHON3=$PYTHON3
49639
49640
49641  if test "x${PYTHON3_CONFIG}" = x; then :
49642  for ac_prog in python3-config
49643do
49644  # Extract the first word of "$ac_prog", so it can be a program name with args.
49645set dummy $ac_prog; ac_word=$2
49646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49647$as_echo_n "checking for $ac_word... " >&6; }
49648if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then :
49649  $as_echo_n "(cached) " >&6
49650else
49651  if test -n "$PYTHON3_CONFIG"; then
49652  ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test.
49653else
49654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49655for as_dir in $PATH
49656do
49657  IFS=$as_save_IFS
49658  test -z "$as_dir" && as_dir=.
49659    for ac_exec_ext in '' $ac_executable_extensions; do
49660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49661    ac_cv_prog_PYTHON3_CONFIG="$ac_prog"
49662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49663    break 2
49664  fi
49665done
49666  done
49667IFS=$as_save_IFS
49668
49669fi
49670fi
49671PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG
49672if test -n "$PYTHON3_CONFIG"; then
49673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
49674$as_echo "$PYTHON3_CONFIG" >&6; }
49675else
49676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49677$as_echo "no" >&6; }
49678fi
49679
49680
49681  test -n "$PYTHON3_CONFIG" && break
49682done
49683
49684
49685fi
49686  if test "x${PYTHON3_CONFIG}" = x; then :
49687  as_fn_error $? "Unable to find python3-config" "$LINENO" 5
49688
49689fi
49690  PYTHON3_CONFIG=$PYTHON3_CONFIG
49691
49692
49693
49694  if test "x${PYTHON3_CONFIG}" != x; then :
49695      PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`;
49696
49697    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5
49698$as_echo_n "checking for Python verison 3 includes... " >&6; }
49699    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5
49700$as_echo "$PYTHON3_INCLUDES" >&6; }
49701
49702        PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`;
49703
49704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5
49705$as_echo_n "checking for Python 3 libraries... " >&6; }
49706    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5
49707$as_echo "$PYTHON3_LDFLAGS" >&6; }
49708
49709        case $host_os in #(
49710  cygwin*) :
49711    PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #(
49712  *) :
49713     ;; #(
49714  *) :
49715     ;;
49716esac
49717
49718        BACKUP_CPPFLAGS="${CPPFLAGS}"
49719    CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}"
49720
49721    for ac_header in Python.h
49722do :
49723  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
49724if test "x$ac_cv_header_Python_h" = xyes; then :
49725  cat >>confdefs.h <<_ACEOF
49726#define HAVE_PYTHON_H 1
49727_ACEOF
49728 ac_cv_header_python3_h=yes
49729else
49730  ac_cv_header_python3_h=no
49731fi
49732
49733done
49734
49735
49736    CPPFLAGS="${BACKUP_CPPFLAGS}"
49737
49738fi
49739
49740  if test "x${ac_cv_header_python3_h}" != xyes; then :
49741  ac_cv_enable_python3=no
49742else
49743  ac_cv_enable_python3=$PYTHON3_VERSION
49744    PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES
49745
49746
49747    PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS
49748
49749
49750        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49751  ax_python3_prefix="\${prefix}"
49752else
49753  ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null`
49754fi
49755
49756    PYTHON3_PREFIX=$ax_python3_prefix
49757
49758
49759        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49760  ax_python3_exec_prefix="\${exec_prefix}"
49761else
49762  ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null`
49763fi
49764
49765    PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix
49766
49767
49768        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`;
49769
49770    if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then :
49771  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49772  ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}"
49773else
49774  ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
49775fi
49776else
49777  ax_python3_pythondir=$ac_cv_with_pythondir3
49778fi
49779
49780    pythondir3=$ax_python3_pythondir
49781
49782
49783        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`;
49784    ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
49785
49786    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
49787  ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}"
49788else
49789  ax_python3_pyexecdir=$ax_python3_library_dir
49790fi
49791
49792    pyexecdir3=$ax_python3_pyexecdir
49793
49794
49795    PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix
49796
49797
49798    PYTHON3_PACKAGE_DIR=$ax_python3_library_dir
49799
49800
49801fi
49802
49803fi
49804
49805   if test "x${ac_cv_enable_python}" != xno; then
49806  HAVE_PYTHON_TRUE=
49807  HAVE_PYTHON_FALSE='#'
49808else
49809  HAVE_PYTHON_TRUE='#'
49810  HAVE_PYTHON_FALSE=
49811fi
49812
49813
49814   if test "x${ac_cv_enable_python2}" != xno; then
49815  HAVE_PYTHON2_TRUE=
49816  HAVE_PYTHON2_FALSE='#'
49817else
49818  HAVE_PYTHON2_TRUE='#'
49819  HAVE_PYTHON2_FALSE=
49820fi
49821
49822
49823   if test "x${ac_cv_enable_python3}" != xno; then
49824  HAVE_PYTHON3_TRUE=
49825  HAVE_PYTHON3_FALSE='#'
49826else
49827  HAVE_PYTHON3_TRUE='#'
49828  HAVE_PYTHON3_FALSE=
49829fi
49830
49831
49832   if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then
49833  HAVE_PYTHON_TESTS_TRUE=
49834  HAVE_PYTHON_TESTS_FALSE='#'
49835else
49836  HAVE_PYTHON_TESTS_TRUE='#'
49837  HAVE_PYTHON_TESTS_FALSE=
49838fi
49839
49840
49841  if test "x${ac_cv_enable_python}" = xno; then :
49842  if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
49843  if test "x${ac_cv_enable_python2}" != xno; then :
49844  ac_cv_enable_python=${ac_cv_enable_python2}
49845else
49846  ac_cv_enable_python=""
49847fi
49848      if test "x${ac_cv_enable_python3}" != xno; then :
49849  if test "x${ac_cv_enable_python}" != x; then :
49850  ac_cv_enable_python="${ac_cv_enable_python}, "
49851fi
49852        ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}"
49853fi
49854
49855fi
49856
49857fi
49858
49859
49860if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
49861    for ac_header in stdarg.h varargs.h
49862do :
49863  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
49864ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
49865if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
49866  cat >>confdefs.h <<_ACEOF
49867#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
49868_ACEOF
49869
49870fi
49871
49872done
49873
49874
49875  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
49876  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49878as_fn_error 1 "Missing headers: stdarg.h and varargs.h
49879See \`config.log' for more details" "$LINENO" 5; }
49880
49881fi
49882
49883fi
49884
49885
49886
49887# Check whether --with-libfuse was given.
49888if test "${with_libfuse+set}" = set; then :
49889  withval=$with_libfuse; ac_cv_with_libfuse=$withval
49890else
49891  ac_cv_with_libfuse=auto-detect
49892fi
49893
49894    { $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
49895$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; }
49896if ${ac_cv_with_libfuse+:} false; then :
49897  $as_echo_n "(cached) " >&6
49898else
49899  ac_cv_with_libfuse=auto-detect
49900fi
49901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5
49902$as_echo "$ac_cv_with_libfuse" >&6; }
49903
49904      if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then :
49905  if test -d "$ac_cv_with_libfuse"; then :
49906  CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include"
49907      LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib"
49908else
49909  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5
49910$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;}
49911
49912fi
49913
49914fi
49915
49916  if test "x$ac_cv_with_libfuse" = xno; then :
49917  ac_cv_libfuse=no
49918else
49919      if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
49920
49921pkg_failed=no
49922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5
49923$as_echo_n "checking for fuse... " >&6; }
49924
49925if test -n "$fuse_CFLAGS"; then
49926    pkg_cv_fuse_CFLAGS="$fuse_CFLAGS"
49927 elif test -n "$PKG_CONFIG"; then
49928    if test -n "$PKG_CONFIG" && \
49929    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
49930  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
49931  ac_status=$?
49932  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49933  test $ac_status = 0; }; then
49934  pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
49935		      test "x$?" != "x0" && pkg_failed=yes
49936else
49937  pkg_failed=yes
49938fi
49939 else
49940    pkg_failed=untried
49941fi
49942if test -n "$fuse_LIBS"; then
49943    pkg_cv_fuse_LIBS="$fuse_LIBS"
49944 elif test -n "$PKG_CONFIG"; then
49945    if test -n "$PKG_CONFIG" && \
49946    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
49947  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
49948  ac_status=$?
49949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49950  test $ac_status = 0; }; then
49951  pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
49952		      test "x$?" != "x0" && pkg_failed=yes
49953else
49954  pkg_failed=yes
49955fi
49956 else
49957    pkg_failed=untried
49958fi
49959
49960
49961
49962if test $pkg_failed = yes; then
49963   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49964$as_echo "no" >&6; }
49965
49966if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49967        _pkg_short_errors_supported=yes
49968else
49969        _pkg_short_errors_supported=no
49970fi
49971        if test $_pkg_short_errors_supported = yes; then
49972	        fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
49973        else
49974	        fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
49975        fi
49976	# Put the nasty error message in config.log where it belongs
49977	echo "$fuse_PKG_ERRORS" >&5
49978
49979	ac_cv_libfuse=no
49980elif test $pkg_failed = untried; then
49981     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49982$as_echo "no" >&6; }
49983	ac_cv_libfuse=no
49984else
49985	fuse_CFLAGS=$pkg_cv_fuse_CFLAGS
49986	fuse_LIBS=$pkg_cv_fuse_LIBS
49987        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49988$as_echo "yes" >&6; }
49989	ac_cv_libfuse=libfuse
49990fi
49991
49992fi
49993
49994    if test "x$ac_cv_libfuse" = xlibfuse; then :
49995  ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS"
49996      ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS"
49997else
49998        for ac_header in fuse.h
49999do :
50000  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
50001if test "x$ac_cv_header_fuse_h" = xyes; then :
50002  cat >>confdefs.h <<_ACEOF
50003#define HAVE_FUSE_H 1
50004_ACEOF
50005 ac_cv_header_fuse_h=yes
50006else
50007  ac_cv_header_fuse_h=no
50008fi
50009
50010done
50011
50012
50013            if test "x$ac_cv_header_fuse_h" = xno; then :
50014  { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;}
50015        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
50016        for ac_header in fuse.h
50017do :
50018  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
50019if test "x$ac_cv_header_fuse_h" = xyes; then :
50020  cat >>confdefs.h <<_ACEOF
50021#define HAVE_FUSE_H 1
50022_ACEOF
50023
50024fi
50025
50026done
50027
50028
50029fi
50030
50031      if test "x$ac_cv_header_fuse_h" = xno; then :
50032  ac_cv_libfuse=no
50033else
50034          ac_cv_libfuse=libfuse
50035
50036        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5
50037$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; }
50038if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then :
50039  $as_echo_n "(cached) " >&6
50040else
50041  ac_check_lib_save_LIBS=$LIBS
50042LIBS="-lfuse  $LIBS"
50043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50044/* end confdefs.h.  */
50045
50046/* Override any GCC internal prototype to avoid an error.
50047   Use char because int might match the return type of a GCC
50048   builtin and then its argument prototype would still apply.  */
50049#ifdef __cplusplus
50050extern "C"
50051#endif
50052char fuse_daemonize ();
50053int
50054main ()
50055{
50056return fuse_daemonize ();
50057  ;
50058  return 0;
50059}
50060_ACEOF
50061if ac_fn_c_try_link "$LINENO"; then :
50062  ac_cv_lib_fuse_fuse_daemonize=yes
50063else
50064  ac_cv_lib_fuse_fuse_daemonize=no
50065fi
50066rm -f core conftest.err conftest.$ac_objext \
50067    conftest$ac_exeext conftest.$ac_ext
50068LIBS=$ac_check_lib_save_LIBS
50069fi
50070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5
50071$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; }
50072if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then :
50073  ac_cv_libfuse_dummy=yes
50074else
50075  ac_cv_libfuse=no
50076fi
50077
50078        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5
50079$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; }
50080if ${ac_cv_lib_fuse_fuse_destroy+:} false; then :
50081  $as_echo_n "(cached) " >&6
50082else
50083  ac_check_lib_save_LIBS=$LIBS
50084LIBS="-lfuse  $LIBS"
50085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086/* end confdefs.h.  */
50087
50088/* Override any GCC internal prototype to avoid an error.
50089   Use char because int might match the return type of a GCC
50090   builtin and then its argument prototype would still apply.  */
50091#ifdef __cplusplus
50092extern "C"
50093#endif
50094char fuse_destroy ();
50095int
50096main ()
50097{
50098return fuse_destroy ();
50099  ;
50100  return 0;
50101}
50102_ACEOF
50103if ac_fn_c_try_link "$LINENO"; then :
50104  ac_cv_lib_fuse_fuse_destroy=yes
50105else
50106  ac_cv_lib_fuse_fuse_destroy=no
50107fi
50108rm -f core conftest.err conftest.$ac_objext \
50109    conftest$ac_exeext conftest.$ac_ext
50110LIBS=$ac_check_lib_save_LIBS
50111fi
50112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5
50113$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; }
50114if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then :
50115  ac_cv_libfuse_dummy=yes
50116else
50117  ac_cv_libfuse=no
50118fi
50119
50120        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5
50121$as_echo_n "checking for fuse_mount in -lfuse... " >&6; }
50122if ${ac_cv_lib_fuse_fuse_mount+:} false; then :
50123  $as_echo_n "(cached) " >&6
50124else
50125  ac_check_lib_save_LIBS=$LIBS
50126LIBS="-lfuse  $LIBS"
50127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50128/* end confdefs.h.  */
50129
50130/* Override any GCC internal prototype to avoid an error.
50131   Use char because int might match the return type of a GCC
50132   builtin and then its argument prototype would still apply.  */
50133#ifdef __cplusplus
50134extern "C"
50135#endif
50136char fuse_mount ();
50137int
50138main ()
50139{
50140return fuse_mount ();
50141  ;
50142  return 0;
50143}
50144_ACEOF
50145if ac_fn_c_try_link "$LINENO"; then :
50146  ac_cv_lib_fuse_fuse_mount=yes
50147else
50148  ac_cv_lib_fuse_fuse_mount=no
50149fi
50150rm -f core conftest.err conftest.$ac_objext \
50151    conftest$ac_exeext conftest.$ac_ext
50152LIBS=$ac_check_lib_save_LIBS
50153fi
50154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5
50155$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; }
50156if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then :
50157  ac_cv_libfuse_dummy=yes
50158else
50159  ac_cv_libfuse=no
50160fi
50161
50162        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5
50163$as_echo_n "checking for fuse_new in -lfuse... " >&6; }
50164if ${ac_cv_lib_fuse_fuse_new+:} false; then :
50165  $as_echo_n "(cached) " >&6
50166else
50167  ac_check_lib_save_LIBS=$LIBS
50168LIBS="-lfuse  $LIBS"
50169cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50170/* end confdefs.h.  */
50171
50172/* Override any GCC internal prototype to avoid an error.
50173   Use char because int might match the return type of a GCC
50174   builtin and then its argument prototype would still apply.  */
50175#ifdef __cplusplus
50176extern "C"
50177#endif
50178char fuse_new ();
50179int
50180main ()
50181{
50182return fuse_new ();
50183  ;
50184  return 0;
50185}
50186_ACEOF
50187if ac_fn_c_try_link "$LINENO"; then :
50188  ac_cv_lib_fuse_fuse_new=yes
50189else
50190  ac_cv_lib_fuse_fuse_new=no
50191fi
50192rm -f core conftest.err conftest.$ac_objext \
50193    conftest$ac_exeext conftest.$ac_ext
50194LIBS=$ac_check_lib_save_LIBS
50195fi
50196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5
50197$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; }
50198if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then :
50199  ac_cv_libfuse_dummy=yes
50200else
50201  ac_cv_libfuse=no
50202fi
50203
50204
50205        ac_cv_libfuse_LIBADD="-lfuse";
50206
50207fi
50208
50209fi
50210
50211        if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then :
50212  CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
50213      for ac_header in osxfuse/fuse.h
50214do :
50215  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
50216if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
50217  cat >>confdefs.h <<_ACEOF
50218#define HAVE_OSXFUSE_FUSE_H 1
50219_ACEOF
50220
50221fi
50222
50223done
50224
50225
50226            if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
50227  { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;}
50228        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
50229        for ac_header in osxfuse/fuse.h
50230do :
50231  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
50232if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
50233  cat >>confdefs.h <<_ACEOF
50234#define HAVE_OSXFUSE_FUSE_H 1
50235_ACEOF
50236
50237fi
50238
50239done
50240
50241
50242fi
50243
50244      if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
50245  ac_cv_libfuse=no
50246else
50247          ac_cv_libfuse=libosxfuse
50248
50249        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5
50250$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; }
50251if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then :
50252  $as_echo_n "(cached) " >&6
50253else
50254  ac_check_lib_save_LIBS=$LIBS
50255LIBS="-losxfuse  $LIBS"
50256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257/* end confdefs.h.  */
50258
50259/* Override any GCC internal prototype to avoid an error.
50260   Use char because int might match the return type of a GCC
50261   builtin and then its argument prototype would still apply.  */
50262#ifdef __cplusplus
50263extern "C"
50264#endif
50265char fuse_daemonize ();
50266int
50267main ()
50268{
50269return fuse_daemonize ();
50270  ;
50271  return 0;
50272}
50273_ACEOF
50274if ac_fn_c_try_link "$LINENO"; then :
50275  ac_cv_lib_osxfuse_fuse_daemonize=yes
50276else
50277  ac_cv_lib_osxfuse_fuse_daemonize=no
50278fi
50279rm -f core conftest.err conftest.$ac_objext \
50280    conftest$ac_exeext conftest.$ac_ext
50281LIBS=$ac_check_lib_save_LIBS
50282fi
50283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5
50284$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; }
50285if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then :
50286  ac_cv_libfuse_dummy=yes
50287else
50288  ac_cv_libfuse=no
50289fi
50290
50291        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5
50292$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; }
50293if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then :
50294  $as_echo_n "(cached) " >&6
50295else
50296  ac_check_lib_save_LIBS=$LIBS
50297LIBS="-losxfuse  $LIBS"
50298cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50299/* end confdefs.h.  */
50300
50301/* Override any GCC internal prototype to avoid an error.
50302   Use char because int might match the return type of a GCC
50303   builtin and then its argument prototype would still apply.  */
50304#ifdef __cplusplus
50305extern "C"
50306#endif
50307char fuse_destroy ();
50308int
50309main ()
50310{
50311return fuse_destroy ();
50312  ;
50313  return 0;
50314}
50315_ACEOF
50316if ac_fn_c_try_link "$LINENO"; then :
50317  ac_cv_lib_osxfuse_fuse_destroy=yes
50318else
50319  ac_cv_lib_osxfuse_fuse_destroy=no
50320fi
50321rm -f core conftest.err conftest.$ac_objext \
50322    conftest$ac_exeext conftest.$ac_ext
50323LIBS=$ac_check_lib_save_LIBS
50324fi
50325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5
50326$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; }
50327if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then :
50328  ac_cv_libfuse_dummy=yes
50329else
50330  ac_cv_libfuse=no
50331fi
50332
50333        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5
50334$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; }
50335if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then :
50336  $as_echo_n "(cached) " >&6
50337else
50338  ac_check_lib_save_LIBS=$LIBS
50339LIBS="-losxfuse  $LIBS"
50340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50341/* end confdefs.h.  */
50342
50343/* Override any GCC internal prototype to avoid an error.
50344   Use char because int might match the return type of a GCC
50345   builtin and then its argument prototype would still apply.  */
50346#ifdef __cplusplus
50347extern "C"
50348#endif
50349char fuse_mount ();
50350int
50351main ()
50352{
50353return fuse_mount ();
50354  ;
50355  return 0;
50356}
50357_ACEOF
50358if ac_fn_c_try_link "$LINENO"; then :
50359  ac_cv_lib_osxfuse_fuse_mount=yes
50360else
50361  ac_cv_lib_osxfuse_fuse_mount=no
50362fi
50363rm -f core conftest.err conftest.$ac_objext \
50364    conftest$ac_exeext conftest.$ac_ext
50365LIBS=$ac_check_lib_save_LIBS
50366fi
50367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5
50368$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; }
50369if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then :
50370  ac_cv_libfuse_dummy=yes
50371else
50372  ac_cv_libfuse=no
50373fi
50374
50375        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5
50376$as_echo_n "checking for fuse_new in -losxfuse... " >&6; }
50377if ${ac_cv_lib_osxfuse_fuse_new+:} false; then :
50378  $as_echo_n "(cached) " >&6
50379else
50380  ac_check_lib_save_LIBS=$LIBS
50381LIBS="-losxfuse  $LIBS"
50382cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50383/* end confdefs.h.  */
50384
50385/* Override any GCC internal prototype to avoid an error.
50386   Use char because int might match the return type of a GCC
50387   builtin and then its argument prototype would still apply.  */
50388#ifdef __cplusplus
50389extern "C"
50390#endif
50391char fuse_new ();
50392int
50393main ()
50394{
50395return fuse_new ();
50396  ;
50397  return 0;
50398}
50399_ACEOF
50400if ac_fn_c_try_link "$LINENO"; then :
50401  ac_cv_lib_osxfuse_fuse_new=yes
50402else
50403  ac_cv_lib_osxfuse_fuse_new=no
50404fi
50405rm -f core conftest.err conftest.$ac_objext \
50406    conftest$ac_exeext conftest.$ac_ext
50407LIBS=$ac_check_lib_save_LIBS
50408fi
50409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5
50410$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; }
50411if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then :
50412  ac_cv_libfuse_dummy=yes
50413else
50414  ac_cv_libfuse=no
50415fi
50416
50417
50418        ac_cv_libfuse_LIBADD="-losxfuse";
50419
50420fi
50421
50422fi
50423
50424fi
50425
50426  if test "x$ac_cv_libfuse" = xlibfuse; then :
50427
50428$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h
50429
50430
50431fi
50432  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
50433
50434$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h
50435
50436
50437fi
50438
50439  if test "x$ac_cv_libfuse" != xno; then :
50440  HAVE_LIBFUSE=1
50441
50442else
50443  HAVE_LIBFUSE=0
50444
50445
50446fi
50447
50448
50449  if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then :
50450  LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS
50451
50452
50453fi
50454  if test "x$ac_cv_libfuse_LIBADD" != "x"; then :
50455  LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD
50456
50457
50458fi
50459
50460  if test "x$ac_cv_libfuse" = xlibfuse; then :
50461  ax_libfuse_pc_libs_private=-lfuse
50462
50463
50464fi
50465  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
50466  ax_libfuse_pc_libs_private=-losxfuse
50467
50468
50469fi
50470
50471  if test "x$ac_cv_libfuse" = xlibfuse; then :
50472  ax_libfuse_spec_requires=fuse-libs
50473
50474    ax_libfuse_spec_build_requires=fuse-devel
50475
50476
50477fi
50478
50479
50480for ac_header in signal.h sys/signal.h unistd.h
50481do :
50482  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
50483ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
50484if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
50485  cat >>confdefs.h <<_ACEOF
50486#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
50487_ACEOF
50488
50489fi
50490
50491done
50492
50493
50494  for ac_func in close getopt setvbuf
50495do :
50496  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50497ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50498if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50499  cat >>confdefs.h <<_ACEOF
50500#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50501_ACEOF
50502
50503fi
50504done
50505
50506
50507  if test "x$ac_cv_func_close" != xyes; then :
50508  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50509$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50510as_fn_error 1 "Missing function: close
50511See \`config.log' for more details" "$LINENO" 5; }
50512
50513fi
50514
50515    for ac_header in errno.h
50516do :
50517  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
50518if test "x$ac_cv_header_errno_h" = xyes; then :
50519  cat >>confdefs.h <<_ACEOF
50520#define HAVE_ERRNO_H 1
50521_ACEOF
50522
50523fi
50524
50525done
50526
50527
50528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
50529$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
50530if ${ac_cv_header_time+:} false; then :
50531  $as_echo_n "(cached) " >&6
50532else
50533  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534/* end confdefs.h.  */
50535#include <sys/types.h>
50536#include <sys/time.h>
50537#include <time.h>
50538
50539int
50540main ()
50541{
50542if ((struct tm *) 0)
50543return 0;
50544  ;
50545  return 0;
50546}
50547_ACEOF
50548if ac_fn_c_try_compile "$LINENO"; then :
50549  ac_cv_header_time=yes
50550else
50551  ac_cv_header_time=no
50552fi
50553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50554fi
50555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
50556$as_echo "$ac_cv_header_time" >&6; }
50557if test $ac_cv_header_time = yes; then
50558
50559$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
50560
50561fi
50562
50563
50564    if test "x$ac_cv_enable_winapi" = xno; then :
50565  for ac_func in getegid geteuid time
50566do :
50567  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50568ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50569if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50570  cat >>confdefs.h <<_ACEOF
50571#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50572_ACEOF
50573
50574fi
50575done
50576
50577
50578fi
50579
50580
50581
50582  # Check whether --enable-static-executables was given.
50583if test "${enable_static_executables+set}" = set; then :
50584  enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval
50585else
50586  ac_cv_enable_static_executables=no
50587fi
50588
50589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5
50590$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; }
50591if ${ac_cv_enable_static_executables+:} false; then :
50592  $as_echo_n "(cached) " >&6
50593else
50594  ac_cv_enable_static_executables=no
50595fi
50596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5
50597$as_echo "$ac_cv_enable_static_executables" >&6; }
50598
50599  if test "x$ac_cv_enable_static_executables" != xno; then :
50600  STATIC_LDFLAGS="-all-static";
50601
50602
50603
50604    ac_cv_enable_static_executables=yes
50605    enable_shared=no
50606fi
50607
50608
50609    if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then :
50610  case $host in #(
50611  *cygwin* | *mingw*) :
50612    LIBLUKSDE_DLL_IMPORT="-DLIBLUKSDE_DLL_IMPORT"
50613
50614     ;; #(
50615  *) :
50616     ;;
50617esac
50618
50619fi
50620
50621
50622for ac_header in dlfcn.h
50623do :
50624  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
50625if test "x$ac_cv_header_dlfcn_h" = xyes; then :
50626  cat >>confdefs.h <<_ACEOF
50627#define HAVE_DLFCN_H 1
50628_ACEOF
50629
50630fi
50631
50632done
50633
50634
50635  for ac_func in fmemopen getopt mkstemp setenv tzset unlink
50636do :
50637  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50638ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50639if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50640  cat >>confdefs.h <<_ACEOF
50641#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50642_ACEOF
50643
50644fi
50645done
50646
50647
50648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
50649$as_echo_n "checking for dlsym in -ldl... " >&6; }
50650if ${ac_cv_lib_dl_dlsym+:} false; then :
50651  $as_echo_n "(cached) " >&6
50652else
50653  ac_check_lib_save_LIBS=$LIBS
50654LIBS="-ldl  $LIBS"
50655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50656/* end confdefs.h.  */
50657
50658/* Override any GCC internal prototype to avoid an error.
50659   Use char because int might match the return type of a GCC
50660   builtin and then its argument prototype would still apply.  */
50661#ifdef __cplusplus
50662extern "C"
50663#endif
50664char dlsym ();
50665int
50666main ()
50667{
50668return dlsym ();
50669  ;
50670  return 0;
50671}
50672_ACEOF
50673if ac_fn_c_try_link "$LINENO"; then :
50674  ac_cv_lib_dl_dlsym=yes
50675else
50676  ac_cv_lib_dl_dlsym=no
50677fi
50678rm -f core conftest.err conftest.$ac_objext \
50679    conftest$ac_exeext conftest.$ac_ext
50680LIBS=$ac_check_lib_save_LIBS
50681fi
50682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
50683$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
50684if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
50685  cat >>confdefs.h <<_ACEOF
50686#define HAVE_LIBDL 1
50687_ACEOF
50688
50689  LIBS="-ldl $LIBS"
50690
50691fi
50692
50693
50694  if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then :
50695
50696$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h
50697
50698
50699fi
50700
50701
50702if test "x$enable_shared" = xyes; then :
50703  case $host in #(
50704  *cygwin* | *mingw* | *msys*) :
50705
50706$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h
50707
50708  HAVE_DLLMAIN=1
50709
50710
50711  LIBLUKSDE_DLL_EXPORT="-DLIBLUKSDE_DLL_EXPORT"
50712
50713
50714  LIBLUKSDE_DLL_IMPORT="-DLIBLUKSDE_DLL_IMPORT"
50715
50716   ;; #(
50717  *) :
50718     ;;
50719esac
50720
50721fi
50722
50723CFLAGS="$CFLAGS -Wall";
50724
50725if test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes || test "x$ac_cv_libbfio" = xyes || test "x$ac_cv_libfcache" = xyes || test "x$ac_cv_libfdata" = xyes || test "x$ac_cv_libfguid" = xyes || test "x$ac_cv_libhmac" = xyes || test "x$ac_cv_libcaes" = xyes || test "x$ac_cv_libfcrypto" = xyes || test "x$ac_cv_libcrypto" != xno; then :
50726  libluksde_spec_requires=Requires:
50727
50728
50729fi
50730
50731if test "x$ac_cv_libfuse" != xno; then :
50732  libluksde_spec_tools_build_requires=BuildRequires:
50733
50734
50735fi
50736
50737DPKG_DATE=`date -R 2> /dev/null`
50738
50739
50740SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null`
50741
50742
50743ac_config_files="$ac_config_files Makefile"
50744
50745ac_config_files="$ac_config_files include/Makefile"
50746
50747ac_config_files="$ac_config_files common/Makefile"
50748
50749ac_config_files="$ac_config_files libcerror/Makefile"
50750
50751ac_config_files="$ac_config_files libcthreads/Makefile"
50752
50753ac_config_files="$ac_config_files libcdata/Makefile"
50754
50755ac_config_files="$ac_config_files libclocale/Makefile"
50756
50757ac_config_files="$ac_config_files libcnotify/Makefile"
50758
50759ac_config_files="$ac_config_files libcsplit/Makefile"
50760
50761ac_config_files="$ac_config_files libuna/Makefile"
50762
50763ac_config_files="$ac_config_files libcfile/Makefile"
50764
50765ac_config_files="$ac_config_files libcpath/Makefile"
50766
50767ac_config_files="$ac_config_files libbfio/Makefile"
50768
50769ac_config_files="$ac_config_files libfcache/Makefile"
50770
50771ac_config_files="$ac_config_files libfdata/Makefile"
50772
50773ac_config_files="$ac_config_files libfguid/Makefile"
50774
50775ac_config_files="$ac_config_files libhmac/Makefile"
50776
50777ac_config_files="$ac_config_files libcaes/Makefile"
50778
50779ac_config_files="$ac_config_files libfcrypto/Makefile"
50780
50781ac_config_files="$ac_config_files libluksde/Makefile"
50782
50783ac_config_files="$ac_config_files pyluksde/Makefile"
50784
50785ac_config_files="$ac_config_files pyluksde-python2/Makefile"
50786
50787ac_config_files="$ac_config_files pyluksde-python3/Makefile"
50788
50789ac_config_files="$ac_config_files luksdetools/Makefile"
50790
50791ac_config_files="$ac_config_files po/Makefile.in"
50792
50793ac_config_files="$ac_config_files po/Makevars"
50794
50795ac_config_files="$ac_config_files manuals/Makefile"
50796
50797ac_config_files="$ac_config_files tests/Makefile"
50798
50799ac_config_files="$ac_config_files msvscpp/Makefile"
50800
50801ac_config_files="$ac_config_files include/libluksde.h"
50802
50803ac_config_files="$ac_config_files include/libluksde/definitions.h"
50804
50805ac_config_files="$ac_config_files include/libluksde/features.h"
50806
50807ac_config_files="$ac_config_files include/libluksde/types.h"
50808
50809ac_config_files="$ac_config_files libluksde/libluksde_definitions.h"
50810
50811ac_config_files="$ac_config_files common/types.h"
50812
50813ac_config_files="$ac_config_files dpkg/changelog"
50814
50815ac_config_files="$ac_config_files libluksde/libluksde.rc"
50816
50817ac_config_files="$ac_config_files libluksde.pc"
50818
50819ac_config_files="$ac_config_files libluksde.spec"
50820
50821ac_config_headers="$ac_config_headers common/config.h"
50822
50823
50824cat >confcache <<\_ACEOF
50825# This file is a shell script that caches the results of configure
50826# tests run on this system so they can be shared between configure
50827# scripts and configure runs, see configure's option --config-cache.
50828# It is not useful on other systems.  If it contains results you don't
50829# want to keep, you may remove or edit it.
50830#
50831# config.status only pays attention to the cache file if you give it
50832# the --recheck option to rerun configure.
50833#
50834# `ac_cv_env_foo' variables (set or unset) will be overridden when
50835# loading this file, other *unset* `ac_cv_foo' will be assigned the
50836# following values.
50837
50838_ACEOF
50839
50840# The following way of writing the cache mishandles newlines in values,
50841# but we know of no workaround that is simple, portable, and efficient.
50842# So, we kill variables containing newlines.
50843# Ultrix sh set writes to stderr and can't be redirected directly,
50844# and sets the high bit in the cache file unless we assign to the vars.
50845(
50846  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50847    eval ac_val=\$$ac_var
50848    case $ac_val in #(
50849    *${as_nl}*)
50850      case $ac_var in #(
50851      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
50852$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
50853      esac
50854      case $ac_var in #(
50855      _ | IFS | as_nl) ;; #(
50856      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
50857      *) { eval $ac_var=; unset $ac_var;} ;;
50858      esac ;;
50859    esac
50860  done
50861
50862  (set) 2>&1 |
50863    case $as_nl`(ac_space=' '; set) 2>&1` in #(
50864    *${as_nl}ac_space=\ *)
50865      # `set' does not quote correctly, so add quotes: double-quote
50866      # substitution turns \\\\ into \\, and sed turns \\ into \.
50867      sed -n \
50868	"s/'/'\\\\''/g;
50869	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50870      ;; #(
50871    *)
50872      # `set' quotes correctly as required by POSIX, so do not add quotes.
50873      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50874      ;;
50875    esac |
50876    sort
50877) |
50878  sed '
50879     /^ac_cv_env_/b end
50880     t clear
50881     :clear
50882     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50883     t end
50884     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50885     :end' >>confcache
50886if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50887  if test -w "$cache_file"; then
50888    if test "x$cache_file" != "x/dev/null"; then
50889      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
50890$as_echo "$as_me: updating cache $cache_file" >&6;}
50891      if test ! -f "$cache_file" || test -h "$cache_file"; then
50892	cat confcache >"$cache_file"
50893      else
50894        case $cache_file in #(
50895        */* | ?:*)
50896	  mv -f confcache "$cache_file"$$ &&
50897	  mv -f "$cache_file"$$ "$cache_file" ;; #(
50898        *)
50899	  mv -f confcache "$cache_file" ;;
50900	esac
50901      fi
50902    fi
50903  else
50904    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
50905$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50906  fi
50907fi
50908rm -f confcache
50909
50910test "x$prefix" = xNONE && prefix=$ac_default_prefix
50911# Let make expand exec_prefix.
50912test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50913
50914DEFS=-DHAVE_CONFIG_H
50915
50916ac_libobjs=
50917ac_ltlibobjs=
50918U=
50919for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50920  # 1. Remove the extension, and $U if already installed.
50921  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50922  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
50923  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
50924  #    will be set to the directory where LIBOBJS objects are built.
50925  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50926  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
50927done
50928LIBOBJS=$ac_libobjs
50929
50930LTLIBOBJS=$ac_ltlibobjs
50931
50932
50933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
50934$as_echo_n "checking that generated files are newer than configure... " >&6; }
50935   if test -n "$am_sleep_pid"; then
50936     # Hide warnings about reused PIDs.
50937     wait $am_sleep_pid 2>/dev/null
50938   fi
50939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
50940$as_echo "done" >&6; }
50941 if test -n "$EXEEXT"; then
50942  am__EXEEXT_TRUE=
50943  am__EXEEXT_FALSE='#'
50944else
50945  am__EXEEXT_TRUE='#'
50946  am__EXEEXT_FALSE=
50947fi
50948
50949if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
50950  as_fn_error $? "conditional \"AMDEP\" was never defined.
50951Usually this means the macro was only invoked conditionally." "$LINENO" 5
50952fi
50953if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
50954  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
50955Usually this means the macro was only invoked conditionally." "$LINENO" 5
50956fi
50957if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then
50958  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined.
50959Usually this means the macro was only invoked conditionally." "$LINENO" 5
50960fi
50961if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then
50962  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined.
50963Usually this means the macro was only invoked conditionally." "$LINENO" 5
50964fi
50965if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then
50966  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined.
50967Usually this means the macro was only invoked conditionally." "$LINENO" 5
50968fi
50969if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then
50970  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined.
50971Usually this means the macro was only invoked conditionally." "$LINENO" 5
50972fi
50973if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then
50974  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined.
50975Usually this means the macro was only invoked conditionally." "$LINENO" 5
50976fi
50977if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then
50978  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined.
50979Usually this means the macro was only invoked conditionally." "$LINENO" 5
50980fi
50981if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then
50982  as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined.
50983Usually this means the macro was only invoked conditionally." "$LINENO" 5
50984fi
50985if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then
50986  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined.
50987Usually this means the macro was only invoked conditionally." "$LINENO" 5
50988fi
50989if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then
50990  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined.
50991Usually this means the macro was only invoked conditionally." "$LINENO" 5
50992fi
50993if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then
50994  as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined.
50995Usually this means the macro was only invoked conditionally." "$LINENO" 5
50996fi
50997if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then
50998  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined.
50999Usually this means the macro was only invoked conditionally." "$LINENO" 5
51000fi
51001if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then
51002  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined.
51003Usually this means the macro was only invoked conditionally." "$LINENO" 5
51004fi
51005if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then
51006  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined.
51007Usually this means the macro was only invoked conditionally." "$LINENO" 5
51008fi
51009if test -z "${HAVE_LOCAL_LIBHMAC_TRUE}" && test -z "${HAVE_LOCAL_LIBHMAC_FALSE}"; then
51010  as_fn_error $? "conditional \"HAVE_LOCAL_LIBHMAC\" was never defined.
51011Usually this means the macro was only invoked conditionally." "$LINENO" 5
51012fi
51013if test -z "${HAVE_LOCAL_LIBCAES_TRUE}" && test -z "${HAVE_LOCAL_LIBCAES_FALSE}"; then
51014  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCAES\" was never defined.
51015Usually this means the macro was only invoked conditionally." "$LINENO" 5
51016fi
51017if test -z "${HAVE_LOCAL_LIBFCRYPTO_TRUE}" && test -z "${HAVE_LOCAL_LIBFCRYPTO_FALSE}"; then
51018  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCRYPTO\" was never defined.
51019Usually this means the macro was only invoked conditionally." "$LINENO" 5
51020fi
51021if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
51022  as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
51023Usually this means the macro was only invoked conditionally." "$LINENO" 5
51024fi
51025if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then
51026  as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined.
51027Usually this means the macro was only invoked conditionally." "$LINENO" 5
51028fi
51029if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then
51030  as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined.
51031Usually this means the macro was only invoked conditionally." "$LINENO" 5
51032fi
51033if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then
51034  as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined.
51035Usually this means the macro was only invoked conditionally." "$LINENO" 5
51036fi
51037
51038: "${CONFIG_STATUS=./config.status}"
51039ac_write_fail=0
51040ac_clean_files_save=$ac_clean_files
51041ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51042{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
51043$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
51044as_write_fail=0
51045cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
51046#! $SHELL
51047# Generated by $as_me.
51048# Run this file to recreate the current configuration.
51049# Compiler output produced by configure, useful for debugging
51050# configure, is in config.log if it exists.
51051
51052debug=false
51053ac_cs_recheck=false
51054ac_cs_silent=false
51055
51056SHELL=\${CONFIG_SHELL-$SHELL}
51057export SHELL
51058_ASEOF
51059cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
51060## -------------------- ##
51061## M4sh Initialization. ##
51062## -------------------- ##
51063
51064# Be more Bourne compatible
51065DUALCASE=1; export DUALCASE # for MKS sh
51066if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
51067  emulate sh
51068  NULLCMD=:
51069  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
51070  # is contrary to our usage.  Disable this feature.
51071  alias -g '${1+"$@"}'='"$@"'
51072  setopt NO_GLOB_SUBST
51073else
51074  case `(set -o) 2>/dev/null` in #(
51075  *posix*) :
51076    set -o posix ;; #(
51077  *) :
51078     ;;
51079esac
51080fi
51081
51082
51083as_nl='
51084'
51085export as_nl
51086# Printing a long string crashes Solaris 7 /usr/bin/printf.
51087as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
51088as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
51089as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
51090# Prefer a ksh shell builtin over an external printf program on Solaris,
51091# but without wasting forks for bash or zsh.
51092if test -z "$BASH_VERSION$ZSH_VERSION" \
51093    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51094  as_echo='print -r --'
51095  as_echo_n='print -rn --'
51096elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51097  as_echo='printf %s\n'
51098  as_echo_n='printf %s'
51099else
51100  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51101    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
51102    as_echo_n='/usr/ucb/echo -n'
51103  else
51104    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
51105    as_echo_n_body='eval
51106      arg=$1;
51107      case $arg in #(
51108      *"$as_nl"*)
51109	expr "X$arg" : "X\\(.*\\)$as_nl";
51110	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
51111      esac;
51112      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
51113    '
51114    export as_echo_n_body
51115    as_echo_n='sh -c $as_echo_n_body as_echo'
51116  fi
51117  export as_echo_body
51118  as_echo='sh -c $as_echo_body as_echo'
51119fi
51120
51121# The user is always right.
51122if test "${PATH_SEPARATOR+set}" != set; then
51123  PATH_SEPARATOR=:
51124  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
51125    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
51126      PATH_SEPARATOR=';'
51127  }
51128fi
51129
51130
51131# IFS
51132# We need space, tab and new line, in precisely that order.  Quoting is
51133# there to prevent editors from complaining about space-tab.
51134# (If _AS_PATH_WALK were called with IFS unset, it would disable word
51135# splitting by setting IFS to empty value.)
51136IFS=" ""	$as_nl"
51137
51138# Find who we are.  Look in the path if we contain no directory separator.
51139as_myself=
51140case $0 in #((
51141  *[\\/]* ) as_myself=$0 ;;
51142  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51143for as_dir in $PATH
51144do
51145  IFS=$as_save_IFS
51146  test -z "$as_dir" && as_dir=.
51147    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51148  done
51149IFS=$as_save_IFS
51150
51151     ;;
51152esac
51153# We did not find ourselves, most probably we were run as `sh COMMAND'
51154# in which case we are not to be found in the path.
51155if test "x$as_myself" = x; then
51156  as_myself=$0
51157fi
51158if test ! -f "$as_myself"; then
51159  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51160  exit 1
51161fi
51162
51163# Unset variables that we do not need and which cause bugs (e.g. in
51164# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
51165# suppresses any "Segmentation fault" message there.  '((' could
51166# trigger a bug in pdksh 5.2.14.
51167for as_var in BASH_ENV ENV MAIL MAILPATH
51168do eval test x\${$as_var+set} = xset \
51169  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
51170done
51171PS1='$ '
51172PS2='> '
51173PS4='+ '
51174
51175# NLS nuisances.
51176LC_ALL=C
51177export LC_ALL
51178LANGUAGE=C
51179export LANGUAGE
51180
51181# CDPATH.
51182(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
51183
51184
51185# as_fn_error STATUS ERROR [LINENO LOG_FD]
51186# ----------------------------------------
51187# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
51188# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
51189# script with STATUS, using 1 if that was 0.
51190as_fn_error ()
51191{
51192  as_status=$1; test $as_status -eq 0 && as_status=1
51193  if test "$4"; then
51194    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
51195    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
51196  fi
51197  $as_echo "$as_me: error: $2" >&2
51198  as_fn_exit $as_status
51199} # as_fn_error
51200
51201
51202# as_fn_set_status STATUS
51203# -----------------------
51204# Set $? to STATUS, without forking.
51205as_fn_set_status ()
51206{
51207  return $1
51208} # as_fn_set_status
51209
51210# as_fn_exit STATUS
51211# -----------------
51212# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
51213as_fn_exit ()
51214{
51215  set +e
51216  as_fn_set_status $1
51217  exit $1
51218} # as_fn_exit
51219
51220# as_fn_unset VAR
51221# ---------------
51222# Portably unset VAR.
51223as_fn_unset ()
51224{
51225  { eval $1=; unset $1;}
51226}
51227as_unset=as_fn_unset
51228# as_fn_append VAR VALUE
51229# ----------------------
51230# Append the text in VALUE to the end of the definition contained in VAR. Take
51231# advantage of any shell optimizations that allow amortized linear growth over
51232# repeated appends, instead of the typical quadratic growth present in naive
51233# implementations.
51234if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
51235  eval 'as_fn_append ()
51236  {
51237    eval $1+=\$2
51238  }'
51239else
51240  as_fn_append ()
51241  {
51242    eval $1=\$$1\$2
51243  }
51244fi # as_fn_append
51245
51246# as_fn_arith ARG...
51247# ------------------
51248# Perform arithmetic evaluation on the ARGs, and store the result in the
51249# global $as_val. Take advantage of shells that can avoid forks. The arguments
51250# must be portable across $(()) and expr.
51251if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
51252  eval 'as_fn_arith ()
51253  {
51254    as_val=$(( $* ))
51255  }'
51256else
51257  as_fn_arith ()
51258  {
51259    as_val=`expr "$@" || test $? -eq 1`
51260  }
51261fi # as_fn_arith
51262
51263
51264if expr a : '\(a\)' >/dev/null 2>&1 &&
51265   test "X`expr 00001 : '.*\(...\)'`" = X001; then
51266  as_expr=expr
51267else
51268  as_expr=false
51269fi
51270
51271if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51272  as_basename=basename
51273else
51274  as_basename=false
51275fi
51276
51277if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51278  as_dirname=dirname
51279else
51280  as_dirname=false
51281fi
51282
51283as_me=`$as_basename -- "$0" ||
51284$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51285	 X"$0" : 'X\(//\)$' \| \
51286	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51287$as_echo X/"$0" |
51288    sed '/^.*\/\([^/][^/]*\)\/*$/{
51289	    s//\1/
51290	    q
51291	  }
51292	  /^X\/\(\/\/\)$/{
51293	    s//\1/
51294	    q
51295	  }
51296	  /^X\/\(\/\).*/{
51297	    s//\1/
51298	    q
51299	  }
51300	  s/.*/./; q'`
51301
51302# Avoid depending upon Character Ranges.
51303as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51304as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51305as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51306as_cr_digits='0123456789'
51307as_cr_alnum=$as_cr_Letters$as_cr_digits
51308
51309ECHO_C= ECHO_N= ECHO_T=
51310case `echo -n x` in #(((((
51311-n*)
51312  case `echo 'xy\c'` in
51313  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
51314  xy)  ECHO_C='\c';;
51315  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
51316       ECHO_T='	';;
51317  esac;;
51318*)
51319  ECHO_N='-n';;
51320esac
51321
51322rm -f conf$$ conf$$.exe conf$$.file
51323if test -d conf$$.dir; then
51324  rm -f conf$$.dir/conf$$.file
51325else
51326  rm -f conf$$.dir
51327  mkdir conf$$.dir 2>/dev/null
51328fi
51329if (echo >conf$$.file) 2>/dev/null; then
51330  if ln -s conf$$.file conf$$ 2>/dev/null; then
51331    as_ln_s='ln -s'
51332    # ... but there are two gotchas:
51333    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51334    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51335    # In both cases, we have to default to `cp -pR'.
51336    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51337      as_ln_s='cp -pR'
51338  elif ln conf$$.file conf$$ 2>/dev/null; then
51339    as_ln_s=ln
51340  else
51341    as_ln_s='cp -pR'
51342  fi
51343else
51344  as_ln_s='cp -pR'
51345fi
51346rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51347rmdir conf$$.dir 2>/dev/null
51348
51349
51350# as_fn_mkdir_p
51351# -------------
51352# Create "$as_dir" as a directory, including parents if necessary.
51353as_fn_mkdir_p ()
51354{
51355
51356  case $as_dir in #(
51357  -*) as_dir=./$as_dir;;
51358  esac
51359  test -d "$as_dir" || eval $as_mkdir_p || {
51360    as_dirs=
51361    while :; do
51362      case $as_dir in #(
51363      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
51364      *) as_qdir=$as_dir;;
51365      esac
51366      as_dirs="'$as_qdir' $as_dirs"
51367      as_dir=`$as_dirname -- "$as_dir" ||
51368$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51369	 X"$as_dir" : 'X\(//\)[^/]' \| \
51370	 X"$as_dir" : 'X\(//\)$' \| \
51371	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51372$as_echo X"$as_dir" |
51373    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51374	    s//\1/
51375	    q
51376	  }
51377	  /^X\(\/\/\)[^/].*/{
51378	    s//\1/
51379	    q
51380	  }
51381	  /^X\(\/\/\)$/{
51382	    s//\1/
51383	    q
51384	  }
51385	  /^X\(\/\).*/{
51386	    s//\1/
51387	    q
51388	  }
51389	  s/.*/./; q'`
51390      test -d "$as_dir" && break
51391    done
51392    test -z "$as_dirs" || eval "mkdir $as_dirs"
51393  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
51394
51395
51396} # as_fn_mkdir_p
51397if mkdir -p . 2>/dev/null; then
51398  as_mkdir_p='mkdir -p "$as_dir"'
51399else
51400  test -d ./-p && rmdir ./-p
51401  as_mkdir_p=false
51402fi
51403
51404
51405# as_fn_executable_p FILE
51406# -----------------------
51407# Test if FILE is an executable regular file.
51408as_fn_executable_p ()
51409{
51410  test -f "$1" && test -x "$1"
51411} # as_fn_executable_p
51412as_test_x='test -x'
51413as_executable_p=as_fn_executable_p
51414
51415# Sed expression to map a string onto a valid CPP name.
51416as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51417
51418# Sed expression to map a string onto a valid variable name.
51419as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51420
51421
51422exec 6>&1
51423## ----------------------------------- ##
51424## Main body of $CONFIG_STATUS script. ##
51425## ----------------------------------- ##
51426_ASEOF
51427test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
51428
51429cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51430# Save the log message, to keep $0 and so on meaningful, and to
51431# report actual input values of CONFIG_FILES etc. instead of their
51432# values after options handling.
51433ac_log="
51434This file was extended by libluksde $as_me 20200205, which was
51435generated by GNU Autoconf 2.69.  Invocation command line was
51436
51437  CONFIG_FILES    = $CONFIG_FILES
51438  CONFIG_HEADERS  = $CONFIG_HEADERS
51439  CONFIG_LINKS    = $CONFIG_LINKS
51440  CONFIG_COMMANDS = $CONFIG_COMMANDS
51441  $ $0 $@
51442
51443on `(hostname || uname -n) 2>/dev/null | sed 1q`
51444"
51445
51446_ACEOF
51447
51448case $ac_config_files in *"
51449"*) set x $ac_config_files; shift; ac_config_files=$*;;
51450esac
51451
51452case $ac_config_headers in *"
51453"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
51454esac
51455
51456
51457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51458# Files that config.status was made for.
51459config_files="$ac_config_files"
51460config_headers="$ac_config_headers"
51461config_commands="$ac_config_commands"
51462
51463_ACEOF
51464
51465cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51466ac_cs_usage="\
51467\`$as_me' instantiates files and other configuration actions
51468from templates according to the current configuration.  Unless the files
51469and actions are specified as TAGs, all are instantiated by default.
51470
51471Usage: $0 [OPTION]... [TAG]...
51472
51473  -h, --help       print this help, then exit
51474  -V, --version    print version number and configuration settings, then exit
51475      --config     print configuration, then exit
51476  -q, --quiet, --silent
51477                   do not print progress messages
51478  -d, --debug      don't remove temporary files
51479      --recheck    update $as_me by reconfiguring in the same conditions
51480      --file=FILE[:TEMPLATE]
51481                   instantiate the configuration file FILE
51482      --header=FILE[:TEMPLATE]
51483                   instantiate the configuration header FILE
51484
51485Configuration files:
51486$config_files
51487
51488Configuration headers:
51489$config_headers
51490
51491Configuration commands:
51492$config_commands
51493
51494Report bugs to <joachim.metz@gmail.com>."
51495
51496_ACEOF
51497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51498ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
51499ac_cs_version="\\
51500libluksde config.status 20200205
51501configured by $0, generated by GNU Autoconf 2.69,
51502  with options \\"\$ac_cs_config\\"
51503
51504Copyright (C) 2012 Free Software Foundation, Inc.
51505This config.status script is free software; the Free Software Foundation
51506gives unlimited permission to copy, distribute and modify it."
51507
51508ac_pwd='$ac_pwd'
51509srcdir='$srcdir'
51510INSTALL='$INSTALL'
51511MKDIR_P='$MKDIR_P'
51512AWK='$AWK'
51513test -n "\$AWK" || AWK=awk
51514_ACEOF
51515
51516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51517# The default lists apply if the user does not specify any file.
51518ac_need_defaults=:
51519while test $# != 0
51520do
51521  case $1 in
51522  --*=?*)
51523    ac_option=`expr "X$1" : 'X\([^=]*\)='`
51524    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51525    ac_shift=:
51526    ;;
51527  --*=)
51528    ac_option=`expr "X$1" : 'X\([^=]*\)='`
51529    ac_optarg=
51530    ac_shift=:
51531    ;;
51532  *)
51533    ac_option=$1
51534    ac_optarg=$2
51535    ac_shift=shift
51536    ;;
51537  esac
51538
51539  case $ac_option in
51540  # Handling of the options.
51541  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51542    ac_cs_recheck=: ;;
51543  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51544    $as_echo "$ac_cs_version"; exit ;;
51545  --config | --confi | --conf | --con | --co | --c )
51546    $as_echo "$ac_cs_config"; exit ;;
51547  --debug | --debu | --deb | --de | --d | -d )
51548    debug=: ;;
51549  --file | --fil | --fi | --f )
51550    $ac_shift
51551    case $ac_optarg in
51552    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
51553    '') as_fn_error $? "missing file argument" ;;
51554    esac
51555    as_fn_append CONFIG_FILES " '$ac_optarg'"
51556    ac_need_defaults=false;;
51557  --header | --heade | --head | --hea )
51558    $ac_shift
51559    case $ac_optarg in
51560    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
51561    esac
51562    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
51563    ac_need_defaults=false;;
51564  --he | --h)
51565    # Conflict between --help and --header
51566    as_fn_error $? "ambiguous option: \`$1'
51567Try \`$0 --help' for more information.";;
51568  --help | --hel | -h )
51569    $as_echo "$ac_cs_usage"; exit ;;
51570  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51571  | -silent | --silent | --silen | --sile | --sil | --si | --s)
51572    ac_cs_silent=: ;;
51573
51574  # This is an error.
51575  -*) as_fn_error $? "unrecognized option: \`$1'
51576Try \`$0 --help' for more information." ;;
51577
51578  *) as_fn_append ac_config_targets " $1"
51579     ac_need_defaults=false ;;
51580
51581  esac
51582  shift
51583done
51584
51585ac_configure_extra_args=
51586
51587if $ac_cs_silent; then
51588  exec 6>/dev/null
51589  ac_configure_extra_args="$ac_configure_extra_args --silent"
51590fi
51591
51592_ACEOF
51593cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51594if \$ac_cs_recheck; then
51595  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51596  shift
51597  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
51598  CONFIG_SHELL='$SHELL'
51599  export CONFIG_SHELL
51600  exec "\$@"
51601fi
51602
51603_ACEOF
51604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51605exec 5>>config.log
51606{
51607  echo
51608  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51609## Running $as_me. ##
51610_ASBOX
51611  $as_echo "$ac_log"
51612} >&5
51613
51614_ACEOF
51615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51616#
51617# INIT-COMMANDS
51618#
51619AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
51620
51621
51622# The HP-UX ksh and POSIX shell print the target directory to stdout
51623# if CDPATH is set.
51624(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
51625
51626sed_quote_subst='$sed_quote_subst'
51627double_quote_subst='$double_quote_subst'
51628delay_variable_subst='$delay_variable_subst'
51629AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
51630DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
51631OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
51632macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
51633macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
51634enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
51635enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
51636pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
51637enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
51638shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
51639SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
51640ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
51641PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
51642host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
51643host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
51644host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
51645build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
51646build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
51647build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
51648SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
51649Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
51650GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
51651EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
51652FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
51653LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
51654NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
51655LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
51656max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
51657ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
51658exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
51659lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
51660lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
51661lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
51662lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
51663lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
51664reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
51665reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
51666deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
51667file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
51668file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
51669want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
51670sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
51671AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
51672AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
51673archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
51674STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
51675RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
51676old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
51677old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
51678old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
51679lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
51680CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
51681CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
51682compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
51683GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
51684lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
51685lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
51686lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
51687lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
51688lt_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"`'
51689lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
51690nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
51691lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
51692lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
51693objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
51694MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
51695lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
51696lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
51697lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
51698lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
51699lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
51700need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
51701MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
51702DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
51703NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
51704LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
51705OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
51706OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
51707libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
51708shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
51709extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
51710archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
51711enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
51712export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
51713whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
51714compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
51715old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
51716old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
51717archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
51718archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
51719module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
51720module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
51721with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
51722allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
51723no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
51724hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
51725hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
51726hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
51727hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
51728hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
51729hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
51730hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
51731inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
51732link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
51733always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
51734export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
51735exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
51736include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
51737prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
51738postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
51739file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
51740variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
51741need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
51742need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
51743version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
51744runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
51745shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
51746shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
51747libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
51748library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
51749soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
51750install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
51751postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
51752postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
51753finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
51754finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
51755hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
51756sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
51757configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
51758configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
51759hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
51760enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
51761enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
51762enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
51763old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
51764striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
51765
51766LTCC='$LTCC'
51767LTCFLAGS='$LTCFLAGS'
51768compiler='$compiler_DEFAULT'
51769
51770# A function that is used when there is no print builtin or printf.
51771func_fallback_echo ()
51772{
51773  eval 'cat <<_LTECHO_EOF
51774\$1
51775_LTECHO_EOF'
51776}
51777
51778# Quote evaled strings.
51779for var in AS \
51780DLLTOOL \
51781OBJDUMP \
51782SHELL \
51783ECHO \
51784PATH_SEPARATOR \
51785SED \
51786GREP \
51787EGREP \
51788FGREP \
51789LD \
51790NM \
51791LN_S \
51792lt_SP2NL \
51793lt_NL2SP \
51794reload_flag \
51795deplibs_check_method \
51796file_magic_cmd \
51797file_magic_glob \
51798want_nocaseglob \
51799sharedlib_from_linklib_cmd \
51800AR \
51801AR_FLAGS \
51802archiver_list_spec \
51803STRIP \
51804RANLIB \
51805CC \
51806CFLAGS \
51807compiler \
51808lt_cv_sys_global_symbol_pipe \
51809lt_cv_sys_global_symbol_to_cdecl \
51810lt_cv_sys_global_symbol_to_import \
51811lt_cv_sys_global_symbol_to_c_name_address \
51812lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
51813lt_cv_nm_interface \
51814nm_file_list_spec \
51815lt_cv_truncate_bin \
51816lt_prog_compiler_no_builtin_flag \
51817lt_prog_compiler_pic \
51818lt_prog_compiler_wl \
51819lt_prog_compiler_static \
51820lt_cv_prog_compiler_c_o \
51821need_locks \
51822MANIFEST_TOOL \
51823DSYMUTIL \
51824NMEDIT \
51825LIPO \
51826OTOOL \
51827OTOOL64 \
51828shrext_cmds \
51829export_dynamic_flag_spec \
51830whole_archive_flag_spec \
51831compiler_needs_object \
51832with_gnu_ld \
51833allow_undefined_flag \
51834no_undefined_flag \
51835hardcode_libdir_flag_spec \
51836hardcode_libdir_separator \
51837exclude_expsyms \
51838include_expsyms \
51839file_list_spec \
51840variables_saved_for_relink \
51841libname_spec \
51842library_names_spec \
51843soname_spec \
51844install_override_mode \
51845finish_eval \
51846old_striplib \
51847striplib; do
51848    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
51849    *[\\\\\\\`\\"\\\$]*)
51850      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
51851      ;;
51852    *)
51853      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
51854      ;;
51855    esac
51856done
51857
51858# Double-quote double-evaled strings.
51859for var in reload_cmds \
51860old_postinstall_cmds \
51861old_postuninstall_cmds \
51862old_archive_cmds \
51863extract_expsyms_cmds \
51864old_archive_from_new_cmds \
51865old_archive_from_expsyms_cmds \
51866archive_cmds \
51867archive_expsym_cmds \
51868module_cmds \
51869module_expsym_cmds \
51870export_symbols_cmds \
51871prelink_cmds \
51872postlink_cmds \
51873postinstall_cmds \
51874postuninstall_cmds \
51875finish_cmds \
51876sys_lib_search_path_spec \
51877configure_time_dlsearch_path \
51878configure_time_lt_sys_library_path; do
51879    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
51880    *[\\\\\\\`\\"\\\$]*)
51881      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
51882      ;;
51883    *)
51884      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
51885      ;;
51886    esac
51887done
51888
51889ac_aux_dir='$ac_aux_dir'
51890
51891# See if we are running on zsh, and set the options that allow our
51892# commands through without removal of \ escapes INIT.
51893if test -n "\${ZSH_VERSION+set}"; then
51894   setopt NO_GLOB_SUBST
51895fi
51896
51897
51898    PACKAGE='$PACKAGE'
51899    VERSION='$VERSION'
51900    RM='$RM'
51901    ofile='$ofile'
51902
51903
51904
51905# Capture the value of obsolete ALL_LINGUAS because we need it to compute
51906    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
51907    # from automake < 1.5.
51908    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
51909    # Capture the value of LINGUAS because we need it to compute CATALOGS.
51910    LINGUAS="${LINGUAS-%UNSET%}"
51911
51912
51913_ACEOF
51914
51915cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51916
51917# Handling of arguments.
51918for ac_config_target in $ac_config_targets
51919do
51920  case $ac_config_target in
51921    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
51922    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
51923    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
51924    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51925    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
51926    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
51927    "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;;
51928    "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;;
51929    "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;;
51930    "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;;
51931    "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;;
51932    "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;;
51933    "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;;
51934    "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;;
51935    "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;;
51936    "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;;
51937    "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;;
51938    "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;;
51939    "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;;
51940    "libhmac/Makefile") CONFIG_FILES="$CONFIG_FILES libhmac/Makefile" ;;
51941    "libcaes/Makefile") CONFIG_FILES="$CONFIG_FILES libcaes/Makefile" ;;
51942    "libfcrypto/Makefile") CONFIG_FILES="$CONFIG_FILES libfcrypto/Makefile" ;;
51943    "libluksde/Makefile") CONFIG_FILES="$CONFIG_FILES libluksde/Makefile" ;;
51944    "pyluksde/Makefile") CONFIG_FILES="$CONFIG_FILES pyluksde/Makefile" ;;
51945    "pyluksde-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyluksde-python2/Makefile" ;;
51946    "pyluksde-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyluksde-python3/Makefile" ;;
51947    "luksdetools/Makefile") CONFIG_FILES="$CONFIG_FILES luksdetools/Makefile" ;;
51948    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
51949    "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;;
51950    "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;;
51951    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
51952    "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;;
51953    "include/libluksde.h") CONFIG_FILES="$CONFIG_FILES include/libluksde.h" ;;
51954    "include/libluksde/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libluksde/definitions.h" ;;
51955    "include/libluksde/features.h") CONFIG_FILES="$CONFIG_FILES include/libluksde/features.h" ;;
51956    "include/libluksde/types.h") CONFIG_FILES="$CONFIG_FILES include/libluksde/types.h" ;;
51957    "libluksde/libluksde_definitions.h") CONFIG_FILES="$CONFIG_FILES libluksde/libluksde_definitions.h" ;;
51958    "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;;
51959    "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;;
51960    "libluksde/libluksde.rc") CONFIG_FILES="$CONFIG_FILES libluksde/libluksde.rc" ;;
51961    "libluksde.pc") CONFIG_FILES="$CONFIG_FILES libluksde.pc" ;;
51962    "libluksde.spec") CONFIG_FILES="$CONFIG_FILES libluksde.spec" ;;
51963    "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;;
51964
51965  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
51966  esac
51967done
51968
51969
51970# If the user did not use the arguments to specify the items to instantiate,
51971# then the envvar interface is used.  Set only those that are not.
51972# We use the long form for the default assignment because of an extremely
51973# bizarre bug on SunOS 4.1.3.
51974if $ac_need_defaults; then
51975  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51976  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51977  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51978fi
51979
51980# Have a temporary directory for convenience.  Make it in the build tree
51981# simply because there is no reason against having it here, and in addition,
51982# creating and moving files from /tmp can sometimes cause problems.
51983# Hook for its removal unless debugging.
51984# Note that there is a small window in which the directory will not be cleaned:
51985# after its creation but before its name has been assigned to `$tmp'.
51986$debug ||
51987{
51988  tmp= ac_tmp=
51989  trap 'exit_status=$?
51990  : "${ac_tmp:=$tmp}"
51991  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
51992' 0
51993  trap 'as_fn_exit 1' 1 2 13 15
51994}
51995# Create a (secure) tmp directory for tmp files.
51996
51997{
51998  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51999  test -d "$tmp"
52000}  ||
52001{
52002  tmp=./conf$$-$RANDOM
52003  (umask 077 && mkdir "$tmp")
52004} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
52005ac_tmp=$tmp
52006
52007# Set up the scripts for CONFIG_FILES section.
52008# No need to generate them if there are no CONFIG_FILES.
52009# This happens for instance with `./config.status config.h'.
52010if test -n "$CONFIG_FILES"; then
52011
52012
52013ac_cr=`echo X | tr X '\015'`
52014# On cygwin, bash can eat \r inside `` if the user requested igncr.
52015# But we know of no other shell where ac_cr would be empty at this
52016# point, so we can use a bashism as a fallback.
52017if test "x$ac_cr" = x; then
52018  eval ac_cr=\$\'\\r\'
52019fi
52020ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
52021if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
52022  ac_cs_awk_cr='\\r'
52023else
52024  ac_cs_awk_cr=$ac_cr
52025fi
52026
52027echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
52028_ACEOF
52029
52030
52031{
52032  echo "cat >conf$$subs.awk <<_ACEOF" &&
52033  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
52034  echo "_ACEOF"
52035} >conf$$subs.sh ||
52036  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
52037ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
52038ac_delim='%!_!# '
52039for ac_last_try in false false false false false :; do
52040  . ./conf$$subs.sh ||
52041    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
52042
52043  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
52044  if test $ac_delim_n = $ac_delim_num; then
52045    break
52046  elif $ac_last_try; then
52047    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
52048  else
52049    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52050  fi
52051done
52052rm -f conf$$subs.sh
52053
52054cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52055cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
52056_ACEOF
52057sed -n '
52058h
52059s/^/S["/; s/!.*/"]=/
52060p
52061g
52062s/^[^!]*!//
52063:repl
52064t repl
52065s/'"$ac_delim"'$//
52066t delim
52067:nl
52068h
52069s/\(.\{148\}\)..*/\1/
52070t more1
52071s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
52072p
52073n
52074b repl
52075:more1
52076s/["\\]/\\&/g; s/^/"/; s/$/"\\/
52077p
52078g
52079s/.\{148\}//
52080t nl
52081:delim
52082h
52083s/\(.\{148\}\)..*/\1/
52084t more2
52085s/["\\]/\\&/g; s/^/"/; s/$/"/
52086p
52087b
52088:more2
52089s/["\\]/\\&/g; s/^/"/; s/$/"\\/
52090p
52091g
52092s/.\{148\}//
52093t delim
52094' <conf$$subs.awk | sed '
52095/^[^""]/{
52096  N
52097  s/\n//
52098}
52099' >>$CONFIG_STATUS || ac_write_fail=1
52100rm -f conf$$subs.awk
52101cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52102_ACAWK
52103cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
52104  for (key in S) S_is_set[key] = 1
52105  FS = ""
52106
52107}
52108{
52109  line = $ 0
52110  nfields = split(line, field, "@")
52111  substed = 0
52112  len = length(field[1])
52113  for (i = 2; i < nfields; i++) {
52114    key = field[i]
52115    keylen = length(key)
52116    if (S_is_set[key]) {
52117      value = S[key]
52118      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
52119      len += length(value) + length(field[++i])
52120      substed = 1
52121    } else
52122      len += 1 + keylen
52123  }
52124
52125  print line
52126}
52127
52128_ACAWK
52129_ACEOF
52130cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52131if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
52132  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
52133else
52134  cat
52135fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
52136  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
52137_ACEOF
52138
52139# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
52140# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
52141# trailing colons and then remove the whole line if VPATH becomes empty
52142# (actually we leave an empty line to preserve line numbers).
52143if test "x$srcdir" = x.; then
52144  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
52145h
52146s///
52147s/^/:/
52148s/[	 ]*$/:/
52149s/:\$(srcdir):/:/g
52150s/:\${srcdir}:/:/g
52151s/:@srcdir@:/:/g
52152s/^:*//
52153s/:*$//
52154x
52155s/\(=[	 ]*\).*/\1/
52156G
52157s/\n//
52158s/^[^=]*=[	 ]*$//
52159}'
52160fi
52161
52162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52163fi # test -n "$CONFIG_FILES"
52164
52165# Set up the scripts for CONFIG_HEADERS section.
52166# No need to generate them if there are no CONFIG_HEADERS.
52167# This happens for instance with `./config.status Makefile'.
52168if test -n "$CONFIG_HEADERS"; then
52169cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
52170BEGIN {
52171_ACEOF
52172
52173# Transform confdefs.h into an awk script `defines.awk', embedded as
52174# here-document in config.status, that substitutes the proper values into
52175# config.h.in to produce config.h.
52176
52177# Create a delimiter string that does not exist in confdefs.h, to ease
52178# handling of long lines.
52179ac_delim='%!_!# '
52180for ac_last_try in false false :; do
52181  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
52182  if test -z "$ac_tt"; then
52183    break
52184  elif $ac_last_try; then
52185    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
52186  else
52187    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52188  fi
52189done
52190
52191# For the awk script, D is an array of macro values keyed by name,
52192# likewise P contains macro parameters if any.  Preserve backslash
52193# newline sequences.
52194
52195ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52196sed -n '
52197s/.\{148\}/&'"$ac_delim"'/g
52198t rset
52199:rset
52200s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
52201t def
52202d
52203:def
52204s/\\$//
52205t bsnl
52206s/["\\]/\\&/g
52207s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
52208D["\1"]=" \3"/p
52209s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
52210d
52211:bsnl
52212s/["\\]/\\&/g
52213s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
52214D["\1"]=" \3\\\\\\n"\\/p
52215t cont
52216s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
52217t cont
52218d
52219:cont
52220n
52221s/.\{148\}/&'"$ac_delim"'/g
52222t clear
52223:clear
52224s/\\$//
52225t bsnlc
52226s/["\\]/\\&/g; s/^/"/; s/$/"/p
52227d
52228:bsnlc
52229s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
52230b cont
52231' <confdefs.h | sed '
52232s/'"$ac_delim"'/"\\\
52233"/g' >>$CONFIG_STATUS || ac_write_fail=1
52234
52235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52236  for (key in D) D_is_set[key] = 1
52237  FS = ""
52238}
52239/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
52240  line = \$ 0
52241  split(line, arg, " ")
52242  if (arg[1] == "#") {
52243    defundef = arg[2]
52244    mac1 = arg[3]
52245  } else {
52246    defundef = substr(arg[1], 2)
52247    mac1 = arg[2]
52248  }
52249  split(mac1, mac2, "(") #)
52250  macro = mac2[1]
52251  prefix = substr(line, 1, index(line, defundef) - 1)
52252  if (D_is_set[macro]) {
52253    # Preserve the white space surrounding the "#".
52254    print prefix "define", macro P[macro] D[macro]
52255    next
52256  } else {
52257    # Replace #undef with comments.  This is necessary, for example,
52258    # in the case of _POSIX_SOURCE, which is predefined and required
52259    # on some systems where configure will not decide to define it.
52260    if (defundef == "undef") {
52261      print "/*", prefix defundef, macro, "*/"
52262      next
52263    }
52264  }
52265}
52266{ print }
52267_ACAWK
52268_ACEOF
52269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52270  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
52271fi # test -n "$CONFIG_HEADERS"
52272
52273
52274eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
52275shift
52276for ac_tag
52277do
52278  case $ac_tag in
52279  :[FHLC]) ac_mode=$ac_tag; continue;;
52280  esac
52281  case $ac_mode$ac_tag in
52282  :[FHL]*:*);;
52283  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
52284  :[FH]-) ac_tag=-:-;;
52285  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52286  esac
52287  ac_save_IFS=$IFS
52288  IFS=:
52289  set x $ac_tag
52290  IFS=$ac_save_IFS
52291  shift
52292  ac_file=$1
52293  shift
52294
52295  case $ac_mode in
52296  :L) ac_source=$1;;
52297  :[FH])
52298    ac_file_inputs=
52299    for ac_f
52300    do
52301      case $ac_f in
52302      -) ac_f="$ac_tmp/stdin";;
52303      *) # Look for the file first in the build tree, then in the source tree
52304	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
52305	 # because $ac_f cannot contain `:'.
52306	 test -f "$ac_f" ||
52307	   case $ac_f in
52308	   [\\/$]*) false;;
52309	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52310	   esac ||
52311	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
52312      esac
52313      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
52314      as_fn_append ac_file_inputs " '$ac_f'"
52315    done
52316
52317    # Let's still pretend it is `configure' which instantiates (i.e., don't
52318    # use $as_me), people would be surprised to read:
52319    #    /* config.h.  Generated by config.status.  */
52320    configure_input='Generated from '`
52321	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
52322	`' by configure.'
52323    if test x"$ac_file" != x-; then
52324      configure_input="$ac_file.  $configure_input"
52325      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
52326$as_echo "$as_me: creating $ac_file" >&6;}
52327    fi
52328    # Neutralize special characters interpreted by sed in replacement strings.
52329    case $configure_input in #(
52330    *\&* | *\|* | *\\* )
52331       ac_sed_conf_input=`$as_echo "$configure_input" |
52332       sed 's/[\\\\&|]/\\\\&/g'`;; #(
52333    *) ac_sed_conf_input=$configure_input;;
52334    esac
52335
52336    case $ac_tag in
52337    *:-:* | *:-) cat >"$ac_tmp/stdin" \
52338      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
52339    esac
52340    ;;
52341  esac
52342
52343  ac_dir=`$as_dirname -- "$ac_file" ||
52344$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52345	 X"$ac_file" : 'X\(//\)[^/]' \| \
52346	 X"$ac_file" : 'X\(//\)$' \| \
52347	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52348$as_echo X"$ac_file" |
52349    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52350	    s//\1/
52351	    q
52352	  }
52353	  /^X\(\/\/\)[^/].*/{
52354	    s//\1/
52355	    q
52356	  }
52357	  /^X\(\/\/\)$/{
52358	    s//\1/
52359	    q
52360	  }
52361	  /^X\(\/\).*/{
52362	    s//\1/
52363	    q
52364	  }
52365	  s/.*/./; q'`
52366  as_dir="$ac_dir"; as_fn_mkdir_p
52367  ac_builddir=.
52368
52369case "$ac_dir" in
52370.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52371*)
52372  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
52373  # A ".." for each directory in $ac_dir_suffix.
52374  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
52375  case $ac_top_builddir_sub in
52376  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52377  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52378  esac ;;
52379esac
52380ac_abs_top_builddir=$ac_pwd
52381ac_abs_builddir=$ac_pwd$ac_dir_suffix
52382# for backward compatibility:
52383ac_top_builddir=$ac_top_build_prefix
52384
52385case $srcdir in
52386  .)  # We are building in place.
52387    ac_srcdir=.
52388    ac_top_srcdir=$ac_top_builddir_sub
52389    ac_abs_top_srcdir=$ac_pwd ;;
52390  [\\/]* | ?:[\\/]* )  # Absolute name.
52391    ac_srcdir=$srcdir$ac_dir_suffix;
52392    ac_top_srcdir=$srcdir
52393    ac_abs_top_srcdir=$srcdir ;;
52394  *) # Relative name.
52395    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52396    ac_top_srcdir=$ac_top_build_prefix$srcdir
52397    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52398esac
52399ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52400
52401
52402  case $ac_mode in
52403  :F)
52404  #
52405  # CONFIG_FILE
52406  #
52407
52408  case $INSTALL in
52409  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52410  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52411  esac
52412  ac_MKDIR_P=$MKDIR_P
52413  case $MKDIR_P in
52414  [\\/$]* | ?:[\\/]* ) ;;
52415  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
52416  esac
52417_ACEOF
52418
52419cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52420# If the template does not know about datarootdir, expand it.
52421# FIXME: This hack should be removed a few years after 2.60.
52422ac_datarootdir_hack=; ac_datarootdir_seen=
52423ac_sed_dataroot='
52424/datarootdir/ {
52425  p
52426  q
52427}
52428/@datadir@/p
52429/@docdir@/p
52430/@infodir@/p
52431/@localedir@/p
52432/@mandir@/p'
52433case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
52434*datarootdir*) ac_datarootdir_seen=yes;;
52435*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52436  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52437$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52438_ACEOF
52439cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52440  ac_datarootdir_hack='
52441  s&@datadir@&$datadir&g
52442  s&@docdir@&$docdir&g
52443  s&@infodir@&$infodir&g
52444  s&@localedir@&$localedir&g
52445  s&@mandir@&$mandir&g
52446  s&\\\${datarootdir}&$datarootdir&g' ;;
52447esac
52448_ACEOF
52449
52450# Neutralize VPATH when `$srcdir' = `.'.
52451# Shell code in configure.ac might set extrasub.
52452# FIXME: do we really want to maintain this feature?
52453cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52454ac_sed_extra="$ac_vpsub
52455$extrasub
52456_ACEOF
52457cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52458:t
52459/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52460s|@configure_input@|$ac_sed_conf_input|;t t
52461s&@top_builddir@&$ac_top_builddir_sub&;t t
52462s&@top_build_prefix@&$ac_top_build_prefix&;t t
52463s&@srcdir@&$ac_srcdir&;t t
52464s&@abs_srcdir@&$ac_abs_srcdir&;t t
52465s&@top_srcdir@&$ac_top_srcdir&;t t
52466s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52467s&@builddir@&$ac_builddir&;t t
52468s&@abs_builddir@&$ac_abs_builddir&;t t
52469s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52470s&@INSTALL@&$ac_INSTALL&;t t
52471s&@MKDIR_P@&$ac_MKDIR_P&;t t
52472$ac_datarootdir_hack
52473"
52474eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
52475  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
52476
52477test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52478  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
52479  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
52480      "$ac_tmp/out"`; test -z "$ac_out"; } &&
52481  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52482which seems to be undefined.  Please make sure it is defined" >&5
52483$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52484which seems to be undefined.  Please make sure it is defined" >&2;}
52485
52486  rm -f "$ac_tmp/stdin"
52487  case $ac_file in
52488  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
52489  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
52490  esac \
52491  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
52492 ;;
52493  :H)
52494  #
52495  # CONFIG_HEADER
52496  #
52497  if test x"$ac_file" != x-; then
52498    {
52499      $as_echo "/* $configure_input  */" \
52500      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
52501    } >"$ac_tmp/config.h" \
52502      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
52503    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
52504      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
52505$as_echo "$as_me: $ac_file is unchanged" >&6;}
52506    else
52507      rm -f "$ac_file"
52508      mv "$ac_tmp/config.h" "$ac_file" \
52509	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
52510    fi
52511  else
52512    $as_echo "/* $configure_input  */" \
52513      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
52514      || as_fn_error $? "could not create -" "$LINENO" 5
52515  fi
52516# Compute "$ac_file"'s index in $config_headers.
52517_am_arg="$ac_file"
52518_am_stamp_count=1
52519for _am_header in $config_headers :; do
52520  case $_am_header in
52521    $_am_arg | $_am_arg:* )
52522      break ;;
52523    * )
52524      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
52525  esac
52526done
52527echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
52528$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52529	 X"$_am_arg" : 'X\(//\)[^/]' \| \
52530	 X"$_am_arg" : 'X\(//\)$' \| \
52531	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
52532$as_echo X"$_am_arg" |
52533    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52534	    s//\1/
52535	    q
52536	  }
52537	  /^X\(\/\/\)[^/].*/{
52538	    s//\1/
52539	    q
52540	  }
52541	  /^X\(\/\/\)$/{
52542	    s//\1/
52543	    q
52544	  }
52545	  /^X\(\/\).*/{
52546	    s//\1/
52547	    q
52548	  }
52549	  s/.*/./; q'`/stamp-h$_am_stamp_count
52550 ;;
52551
52552  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
52553$as_echo "$as_me: executing $ac_file commands" >&6;}
52554 ;;
52555  esac
52556
52557
52558  case $ac_file$ac_mode in
52559    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
52560  # Older Autoconf quotes --file arguments for eval, but not when files
52561  # are listed without --file.  Let's play safe and only enable the eval
52562  # if we detect the quoting.
52563  # TODO: see whether this extra hack can be removed once we start
52564  # requiring Autoconf 2.70 or later.
52565  case $CONFIG_FILES in #(
52566  *\'*) :
52567    eval set x "$CONFIG_FILES" ;; #(
52568  *) :
52569    set x $CONFIG_FILES ;; #(
52570  *) :
52571     ;;
52572esac
52573  shift
52574  # Used to flag and report bootstrapping failures.
52575  am_rc=0
52576  for am_mf
52577  do
52578    # Strip MF so we end up with the name of the file.
52579    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
52580    # Check whether this is an Automake generated Makefile which includes
52581    # dependency-tracking related rules and includes.
52582    # Grep'ing the whole file directly is not great: AIX grep has a line
52583    # limit of 2048, but all sed's we know have understand at least 4000.
52584    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
52585      || continue
52586    am_dirpart=`$as_dirname -- "$am_mf" ||
52587$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52588	 X"$am_mf" : 'X\(//\)[^/]' \| \
52589	 X"$am_mf" : 'X\(//\)$' \| \
52590	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
52591$as_echo X"$am_mf" |
52592    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52593	    s//\1/
52594	    q
52595	  }
52596	  /^X\(\/\/\)[^/].*/{
52597	    s//\1/
52598	    q
52599	  }
52600	  /^X\(\/\/\)$/{
52601	    s//\1/
52602	    q
52603	  }
52604	  /^X\(\/\).*/{
52605	    s//\1/
52606	    q
52607	  }
52608	  s/.*/./; q'`
52609    am_filepart=`$as_basename -- "$am_mf" ||
52610$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
52611	 X"$am_mf" : 'X\(//\)$' \| \
52612	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
52613$as_echo X/"$am_mf" |
52614    sed '/^.*\/\([^/][^/]*\)\/*$/{
52615	    s//\1/
52616	    q
52617	  }
52618	  /^X\/\(\/\/\)$/{
52619	    s//\1/
52620	    q
52621	  }
52622	  /^X\/\(\/\).*/{
52623	    s//\1/
52624	    q
52625	  }
52626	  s/.*/./; q'`
52627    { echo "$as_me:$LINENO: cd "$am_dirpart" \
52628      && sed -e '/# am--include-marker/d' "$am_filepart" \
52629        | $MAKE -f - am--depfiles" >&5
52630   (cd "$am_dirpart" \
52631      && sed -e '/# am--include-marker/d' "$am_filepart" \
52632        | $MAKE -f - am--depfiles) >&5 2>&5
52633   ac_status=$?
52634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52635   (exit $ac_status); } || am_rc=$?
52636  done
52637  if test $am_rc -ne 0; then
52638    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52640as_fn_error $? "Something went wrong bootstrapping makefile fragments
52641    for automatic dependency tracking.  Try re-running configure with the
52642    '--disable-dependency-tracking' option to at least be able to build
52643    the package (albeit without support for automatic dependency tracking).
52644See \`config.log' for more details" "$LINENO" 5; }
52645  fi
52646  { am_dirpart=; unset am_dirpart;}
52647  { am_filepart=; unset am_filepart;}
52648  { am_mf=; unset am_mf;}
52649  { am_rc=; unset am_rc;}
52650  rm -f conftest-deps.mk
52651}
52652 ;;
52653    "libtool":C)
52654
52655    # See if we are running on zsh, and set the options that allow our
52656    # commands through without removal of \ escapes.
52657    if test -n "${ZSH_VERSION+set}"; then
52658      setopt NO_GLOB_SUBST
52659    fi
52660
52661    cfgfile=${ofile}T
52662    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
52663    $RM "$cfgfile"
52664
52665    cat <<_LT_EOF >> "$cfgfile"
52666#! $SHELL
52667# Generated automatically by $as_me ($PACKAGE) $VERSION
52668# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
52669# NOTE: Changes made to this file will be lost: look at ltmain.sh.
52670
52671# Provide generalized library-building support services.
52672# Written by Gordon Matzigkeit, 1996
52673
52674# Copyright (C) 2014 Free Software Foundation, Inc.
52675# This is free software; see the source for copying conditions.  There is NO
52676# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
52677
52678# GNU Libtool is free software; you can redistribute it and/or modify
52679# it under the terms of the GNU General Public License as published by
52680# the Free Software Foundation; either version 2 of of the License, or
52681# (at your option) any later version.
52682#
52683# As a special exception to the GNU General Public License, if you
52684# distribute this file as part of a program or library that is built
52685# using GNU Libtool, you may include this file under the  same
52686# distribution terms that you use for the rest of that program.
52687#
52688# GNU Libtool is distributed in the hope that it will be useful, but
52689# WITHOUT ANY WARRANTY; without even the implied warranty of
52690# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
52691# GNU General Public License for more details.
52692#
52693# You should have received a copy of the GNU General Public License
52694# along with this program.  If not, see <http://www.gnu.org/licenses/>.
52695
52696
52697# The names of the tagged configurations supported by this script.
52698available_tags=''
52699
52700# Configured defaults for sys_lib_dlsearch_path munging.
52701: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
52702
52703# ### BEGIN LIBTOOL CONFIG
52704
52705# Assembler program.
52706AS=$lt_AS
52707
52708# DLL creation program.
52709DLLTOOL=$lt_DLLTOOL
52710
52711# Object dumper program.
52712OBJDUMP=$lt_OBJDUMP
52713
52714# Which release of libtool.m4 was used?
52715macro_version=$macro_version
52716macro_revision=$macro_revision
52717
52718# Whether or not to build shared libraries.
52719build_libtool_libs=$enable_shared
52720
52721# Whether or not to build static libraries.
52722build_old_libs=$enable_static
52723
52724# What type of objects to build.
52725pic_mode=$pic_mode
52726
52727# Whether or not to optimize for fast installation.
52728fast_install=$enable_fast_install
52729
52730# Shared archive member basename,for filename based shared library versioning on AIX.
52731shared_archive_member_spec=$shared_archive_member_spec
52732
52733# Shell to use when invoking shell scripts.
52734SHELL=$lt_SHELL
52735
52736# An echo program that protects backslashes.
52737ECHO=$lt_ECHO
52738
52739# The PATH separator for the build system.
52740PATH_SEPARATOR=$lt_PATH_SEPARATOR
52741
52742# The host system.
52743host_alias=$host_alias
52744host=$host
52745host_os=$host_os
52746
52747# The build system.
52748build_alias=$build_alias
52749build=$build
52750build_os=$build_os
52751
52752# A sed program that does not truncate output.
52753SED=$lt_SED
52754
52755# Sed that helps us avoid accidentally triggering echo(1) options like -n.
52756Xsed="\$SED -e 1s/^X//"
52757
52758# A grep program that handles long lines.
52759GREP=$lt_GREP
52760
52761# An ERE matcher.
52762EGREP=$lt_EGREP
52763
52764# A literal string matcher.
52765FGREP=$lt_FGREP
52766
52767# A BSD- or MS-compatible name lister.
52768NM=$lt_NM
52769
52770# Whether we need soft or hard links.
52771LN_S=$lt_LN_S
52772
52773# What is the maximum length of a command?
52774max_cmd_len=$max_cmd_len
52775
52776# Object file suffix (normally "o").
52777objext=$ac_objext
52778
52779# Executable file suffix (normally "").
52780exeext=$exeext
52781
52782# whether the shell understands "unset".
52783lt_unset=$lt_unset
52784
52785# turn spaces into newlines.
52786SP2NL=$lt_lt_SP2NL
52787
52788# turn newlines into spaces.
52789NL2SP=$lt_lt_NL2SP
52790
52791# convert \$build file names to \$host format.
52792to_host_file_cmd=$lt_cv_to_host_file_cmd
52793
52794# convert \$build files to toolchain format.
52795to_tool_file_cmd=$lt_cv_to_tool_file_cmd
52796
52797# Method to check whether dependent libraries are shared objects.
52798deplibs_check_method=$lt_deplibs_check_method
52799
52800# Command to use when deplibs_check_method = "file_magic".
52801file_magic_cmd=$lt_file_magic_cmd
52802
52803# How to find potential files when deplibs_check_method = "file_magic".
52804file_magic_glob=$lt_file_magic_glob
52805
52806# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
52807want_nocaseglob=$lt_want_nocaseglob
52808
52809# Command to associate shared and link libraries.
52810sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
52811
52812# The archiver.
52813AR=$lt_AR
52814
52815# Flags to create an archive.
52816AR_FLAGS=$lt_AR_FLAGS
52817
52818# How to feed a file listing to the archiver.
52819archiver_list_spec=$lt_archiver_list_spec
52820
52821# A symbol stripping program.
52822STRIP=$lt_STRIP
52823
52824# Commands used to install an old-style archive.
52825RANLIB=$lt_RANLIB
52826old_postinstall_cmds=$lt_old_postinstall_cmds
52827old_postuninstall_cmds=$lt_old_postuninstall_cmds
52828
52829# Whether to use a lock for old archive extraction.
52830lock_old_archive_extraction=$lock_old_archive_extraction
52831
52832# A C compiler.
52833LTCC=$lt_CC
52834
52835# LTCC compiler flags.
52836LTCFLAGS=$lt_CFLAGS
52837
52838# Take the output of nm and produce a listing of raw symbols and C names.
52839global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
52840
52841# Transform the output of nm in a proper C declaration.
52842global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
52843
52844# Transform the output of nm into a list of symbols to manually relocate.
52845global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
52846
52847# Transform the output of nm in a C name address pair.
52848global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
52849
52850# Transform the output of nm in a C name address pair when lib prefix is needed.
52851global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
52852
52853# The name lister interface.
52854nm_interface=$lt_lt_cv_nm_interface
52855
52856# Specify filename containing input files for \$NM.
52857nm_file_list_spec=$lt_nm_file_list_spec
52858
52859# The root where to search for dependent libraries,and where our libraries should be installed.
52860lt_sysroot=$lt_sysroot
52861
52862# Command to truncate a binary pipe.
52863lt_truncate_bin=$lt_lt_cv_truncate_bin
52864
52865# The name of the directory that contains temporary libtool files.
52866objdir=$objdir
52867
52868# Used to examine libraries when file_magic_cmd begins with "file".
52869MAGIC_CMD=$MAGIC_CMD
52870
52871# Must we lock files when doing compilation?
52872need_locks=$lt_need_locks
52873
52874# Manifest tool.
52875MANIFEST_TOOL=$lt_MANIFEST_TOOL
52876
52877# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
52878DSYMUTIL=$lt_DSYMUTIL
52879
52880# Tool to change global to local symbols on Mac OS X.
52881NMEDIT=$lt_NMEDIT
52882
52883# Tool to manipulate fat objects and archives on Mac OS X.
52884LIPO=$lt_LIPO
52885
52886# ldd/readelf like tool for Mach-O binaries on Mac OS X.
52887OTOOL=$lt_OTOOL
52888
52889# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
52890OTOOL64=$lt_OTOOL64
52891
52892# Old archive suffix (normally "a").
52893libext=$libext
52894
52895# Shared library suffix (normally ".so").
52896shrext_cmds=$lt_shrext_cmds
52897
52898# The commands to extract the exported symbol list from a shared archive.
52899extract_expsyms_cmds=$lt_extract_expsyms_cmds
52900
52901# Variables whose values should be saved in libtool wrapper scripts and
52902# restored at link time.
52903variables_saved_for_relink=$lt_variables_saved_for_relink
52904
52905# Do we need the "lib" prefix for modules?
52906need_lib_prefix=$need_lib_prefix
52907
52908# Do we need a version for libraries?
52909need_version=$need_version
52910
52911# Library versioning type.
52912version_type=$version_type
52913
52914# Shared library runtime path variable.
52915runpath_var=$runpath_var
52916
52917# Shared library path variable.
52918shlibpath_var=$shlibpath_var
52919
52920# Is shlibpath searched before the hard-coded library search path?
52921shlibpath_overrides_runpath=$shlibpath_overrides_runpath
52922
52923# Format of library name prefix.
52924libname_spec=$lt_libname_spec
52925
52926# List of archive names.  First name is the real one, the rest are links.
52927# The last name is the one that the linker finds with -lNAME
52928library_names_spec=$lt_library_names_spec
52929
52930# The coded name of the library, if different from the real name.
52931soname_spec=$lt_soname_spec
52932
52933# Permission mode override for installation of shared libraries.
52934install_override_mode=$lt_install_override_mode
52935
52936# Command to use after installation of a shared archive.
52937postinstall_cmds=$lt_postinstall_cmds
52938
52939# Command to use after uninstallation of a shared archive.
52940postuninstall_cmds=$lt_postuninstall_cmds
52941
52942# Commands used to finish a libtool library installation in a directory.
52943finish_cmds=$lt_finish_cmds
52944
52945# As "finish_cmds", except a single script fragment to be evaled but
52946# not shown.
52947finish_eval=$lt_finish_eval
52948
52949# Whether we should hardcode library paths into libraries.
52950hardcode_into_libs=$hardcode_into_libs
52951
52952# Compile-time system search path for libraries.
52953sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
52954
52955# Detected run-time system search path for libraries.
52956sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
52957
52958# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
52959configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
52960
52961# Whether dlopen is supported.
52962dlopen_support=$enable_dlopen
52963
52964# Whether dlopen of programs is supported.
52965dlopen_self=$enable_dlopen_self
52966
52967# Whether dlopen of statically linked programs is supported.
52968dlopen_self_static=$enable_dlopen_self_static
52969
52970# Commands to strip libraries.
52971old_striplib=$lt_old_striplib
52972striplib=$lt_striplib
52973
52974
52975# The linker used to build libraries.
52976LD=$lt_LD
52977
52978# How to create reloadable object files.
52979reload_flag=$lt_reload_flag
52980reload_cmds=$lt_reload_cmds
52981
52982# Commands used to build an old-style archive.
52983old_archive_cmds=$lt_old_archive_cmds
52984
52985# A language specific compiler.
52986CC=$lt_compiler
52987
52988# Is the compiler the GNU compiler?
52989with_gcc=$GCC
52990
52991# Compiler flag to turn off builtin functions.
52992no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
52993
52994# Additional compiler flags for building library objects.
52995pic_flag=$lt_lt_prog_compiler_pic
52996
52997# How to pass a linker flag through the compiler.
52998wl=$lt_lt_prog_compiler_wl
52999
53000# Compiler flag to prevent dynamic linking.
53001link_static_flag=$lt_lt_prog_compiler_static
53002
53003# Does compiler simultaneously support -c and -o options?
53004compiler_c_o=$lt_lt_cv_prog_compiler_c_o
53005
53006# Whether or not to add -lc for building shared libraries.
53007build_libtool_need_lc=$archive_cmds_need_lc
53008
53009# Whether or not to disallow shared libs when runtime libs are static.
53010allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
53011
53012# Compiler flag to allow reflexive dlopens.
53013export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
53014
53015# Compiler flag to generate shared objects directly from archives.
53016whole_archive_flag_spec=$lt_whole_archive_flag_spec
53017
53018# Whether the compiler copes with passing no objects directly.
53019compiler_needs_object=$lt_compiler_needs_object
53020
53021# Create an old-style archive from a shared archive.
53022old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
53023
53024# Create a temporary old-style archive to link instead of a shared archive.
53025old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
53026
53027# Commands used to build a shared archive.
53028archive_cmds=$lt_archive_cmds
53029archive_expsym_cmds=$lt_archive_expsym_cmds
53030
53031# Commands used to build a loadable module if different from building
53032# a shared archive.
53033module_cmds=$lt_module_cmds
53034module_expsym_cmds=$lt_module_expsym_cmds
53035
53036# Whether we are building with GNU ld or not.
53037with_gnu_ld=$lt_with_gnu_ld
53038
53039# Flag that allows shared libraries with undefined symbols to be built.
53040allow_undefined_flag=$lt_allow_undefined_flag
53041
53042# Flag that enforces no undefined symbols.
53043no_undefined_flag=$lt_no_undefined_flag
53044
53045# Flag to hardcode \$libdir into a binary during linking.
53046# This must work even if \$libdir does not exist
53047hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
53048
53049# Whether we need a single "-rpath" flag with a separated argument.
53050hardcode_libdir_separator=$lt_hardcode_libdir_separator
53051
53052# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
53053# DIR into the resulting binary.
53054hardcode_direct=$hardcode_direct
53055
53056# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
53057# DIR into the resulting binary and the resulting library dependency is
53058# "absolute",i.e impossible to change by setting \$shlibpath_var if the
53059# library is relocated.
53060hardcode_direct_absolute=$hardcode_direct_absolute
53061
53062# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
53063# into the resulting binary.
53064hardcode_minus_L=$hardcode_minus_L
53065
53066# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
53067# into the resulting binary.
53068hardcode_shlibpath_var=$hardcode_shlibpath_var
53069
53070# Set to "yes" if building a shared library automatically hardcodes DIR
53071# into the library and all subsequent libraries and executables linked
53072# against it.
53073hardcode_automatic=$hardcode_automatic
53074
53075# Set to yes if linker adds runtime paths of dependent libraries
53076# to runtime path list.
53077inherit_rpath=$inherit_rpath
53078
53079# Whether libtool must link a program against all its dependency libraries.
53080link_all_deplibs=$link_all_deplibs
53081
53082# Set to "yes" if exported symbols are required.
53083always_export_symbols=$always_export_symbols
53084
53085# The commands to list exported symbols.
53086export_symbols_cmds=$lt_export_symbols_cmds
53087
53088# Symbols that should not be listed in the preloaded symbols.
53089exclude_expsyms=$lt_exclude_expsyms
53090
53091# Symbols that must always be exported.
53092include_expsyms=$lt_include_expsyms
53093
53094# Commands necessary for linking programs (against libraries) with templates.
53095prelink_cmds=$lt_prelink_cmds
53096
53097# Commands necessary for finishing linking programs.
53098postlink_cmds=$lt_postlink_cmds
53099
53100# Specify filename containing input files.
53101file_list_spec=$lt_file_list_spec
53102
53103# How to hardcode a shared library path into an executable.
53104hardcode_action=$hardcode_action
53105
53106# ### END LIBTOOL CONFIG
53107
53108_LT_EOF
53109
53110    cat <<'_LT_EOF' >> "$cfgfile"
53111
53112# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
53113
53114# func_munge_path_list VARIABLE PATH
53115# -----------------------------------
53116# VARIABLE is name of variable containing _space_ separated list of
53117# directories to be munged by the contents of PATH, which is string
53118# having a format:
53119# "DIR[:DIR]:"
53120#       string "DIR[ DIR]" will be prepended to VARIABLE
53121# ":DIR[:DIR]"
53122#       string "DIR[ DIR]" will be appended to VARIABLE
53123# "DIRP[:DIRP]::[DIRA:]DIRA"
53124#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
53125#       "DIRA[ DIRA]" will be appended to VARIABLE
53126# "DIR[:DIR]"
53127#       VARIABLE will be replaced by "DIR[ DIR]"
53128func_munge_path_list ()
53129{
53130    case x$2 in
53131    x)
53132        ;;
53133    *:)
53134        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
53135        ;;
53136    x:*)
53137        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
53138        ;;
53139    *::*)
53140        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
53141        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
53142        ;;
53143    *)
53144        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
53145        ;;
53146    esac
53147}
53148
53149
53150# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
53151func_cc_basename ()
53152{
53153    for cc_temp in $*""; do
53154      case $cc_temp in
53155        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
53156        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
53157        \-*) ;;
53158        *) break;;
53159      esac
53160    done
53161    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
53162}
53163
53164
53165# ### END FUNCTIONS SHARED WITH CONFIGURE
53166
53167_LT_EOF
53168
53169  case $host_os in
53170  aix3*)
53171    cat <<\_LT_EOF >> "$cfgfile"
53172# AIX sometimes has problems with the GCC collect2 program.  For some
53173# reason, if we set the COLLECT_NAMES environment variable, the problems
53174# vanish in a puff of smoke.
53175if test set != "${COLLECT_NAMES+set}"; then
53176  COLLECT_NAMES=
53177  export COLLECT_NAMES
53178fi
53179_LT_EOF
53180    ;;
53181  esac
53182
53183
53184ltmain=$ac_aux_dir/ltmain.sh
53185
53186
53187  # We use sed instead of cat because bash on DJGPP gets confused if
53188  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
53189  # text mode, it properly converts lines to CR/LF.  This bash problem
53190  # is reportedly fixed, but why not run on old versions too?
53191  sed '$q' "$ltmain" >> "$cfgfile" \
53192     || (rm -f "$cfgfile"; exit 1)
53193
53194   mv -f "$cfgfile" "$ofile" ||
53195    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
53196  chmod +x "$ofile"
53197
53198 ;;
53199    "po-directories":C)
53200    for ac_file in $CONFIG_FILES; do
53201      # Support "outfile[:infile[:infile...]]"
53202      case "$ac_file" in
53203        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
53204      esac
53205      # PO directories have a Makefile.in generated from Makefile.in.in.
53206      case "$ac_file" in */Makefile.in)
53207        # Adjust a relative srcdir.
53208        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
53209        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
53210        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
53211        # In autoconf-2.13 it is called $ac_given_srcdir.
53212        # In autoconf-2.50 it is called $srcdir.
53213        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
53214        case "$ac_given_srcdir" in
53215          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
53216          /*) top_srcdir="$ac_given_srcdir" ;;
53217          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
53218        esac
53219        # Treat a directory as a PO directory if and only if it has a
53220        # POTFILES.in file. This allows packages to have multiple PO
53221        # directories under different names or in different locations.
53222        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
53223          rm -f "$ac_dir/POTFILES"
53224          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
53225          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
53226          POMAKEFILEDEPS="POTFILES.in"
53227          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
53228          # on $ac_dir but don't depend on user-specified configuration
53229          # parameters.
53230          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
53231            # The LINGUAS file contains the set of available languages.
53232            if test -n "$OBSOLETE_ALL_LINGUAS"; then
53233              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
53234            fi
53235            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
53236            # Hide the ALL_LINGUAS assigment from automake < 1.5.
53237            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
53238            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
53239          else
53240            # The set of available languages was given in configure.in.
53241            # Hide the ALL_LINGUAS assigment from automake < 1.5.
53242            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
53243          fi
53244          # Compute POFILES
53245          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
53246          # Compute UPDATEPOFILES
53247          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
53248          # Compute DUMMYPOFILES
53249          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
53250          # Compute GMOFILES
53251          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
53252          case "$ac_given_srcdir" in
53253            .) srcdirpre= ;;
53254            *) srcdirpre='$(srcdir)/' ;;
53255          esac
53256          POFILES=
53257          UPDATEPOFILES=
53258          DUMMYPOFILES=
53259          GMOFILES=
53260          for lang in $ALL_LINGUAS; do
53261            POFILES="$POFILES $srcdirpre$lang.po"
53262            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
53263            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
53264            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
53265          done
53266          # CATALOGS depends on both $ac_dir and the user's LINGUAS
53267          # environment variable.
53268          INST_LINGUAS=
53269          if test -n "$ALL_LINGUAS"; then
53270            for presentlang in $ALL_LINGUAS; do
53271              useit=no
53272              if test "%UNSET%" != "$LINGUAS"; then
53273                desiredlanguages="$LINGUAS"
53274              else
53275                desiredlanguages="$ALL_LINGUAS"
53276              fi
53277              for desiredlang in $desiredlanguages; do
53278                # Use the presentlang catalog if desiredlang is
53279                #   a. equal to presentlang, or
53280                #   b. a variant of presentlang (because in this case,
53281                #      presentlang can be used as a fallback for messages
53282                #      which are not translated in the desiredlang catalog).
53283                case "$desiredlang" in
53284                  "$presentlang"*) useit=yes;;
53285                esac
53286              done
53287              if test $useit = yes; then
53288                INST_LINGUAS="$INST_LINGUAS $presentlang"
53289              fi
53290            done
53291          fi
53292          CATALOGS=
53293          if test -n "$INST_LINGUAS"; then
53294            for lang in $INST_LINGUAS; do
53295              CATALOGS="$CATALOGS $lang.gmo"
53296            done
53297          fi
53298          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
53299          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"
53300          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
53301            if test -f "$f"; then
53302              case "$f" in
53303                *.orig | *.bak | *~) ;;
53304                *) cat "$f" >> "$ac_dir/Makefile" ;;
53305              esac
53306            fi
53307          done
53308        fi
53309        ;;
53310      esac
53311    done ;;
53312
53313  esac
53314done # for ac_tag
53315
53316
53317as_fn_exit 0
53318_ACEOF
53319ac_clean_files=$ac_clean_files_save
53320
53321test $ac_write_fail = 0 ||
53322  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
53323
53324
53325# configure is writing to config.log, and then calls config.status.
53326# config.status does its own redirection, appending to config.log.
53327# Unfortunately, on DOS this fails, as config.log is still kept open
53328# by configure, so config.status won't be able to write to it; its
53329# output is simply discarded.  So we exec the FD to /dev/null,
53330# effectively closing config.log, so it can be properly (re)opened and
53331# appended to by config.status.  When coming back to configure, we
53332# need to make the FD available again.
53333if test "$no_create" != yes; then
53334  ac_cs_success=:
53335  ac_config_status_args=
53336  test "$silent" = yes &&
53337    ac_config_status_args="$ac_config_status_args --quiet"
53338  exec 5>/dev/null
53339  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53340  exec 5>>config.log
53341  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53342  # would make configure fail if this is the last instruction.
53343  $ac_cs_success || as_fn_exit 1
53344fi
53345if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
53346  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
53347$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
53348fi
53349
53350
53351{ $as_echo "$as_me:${as_lineno-$LINENO}:
53352Building:
53353   libcerror support:                           $ac_cv_libcerror
53354   libcthreads support:                         $ac_cv_libcthreads
53355   libcdata support:                            $ac_cv_libcdata
53356   libclocale support:                          $ac_cv_libclocale
53357   libcnotify support:                          $ac_cv_libcnotify
53358   libcsplit support:                           $ac_cv_libcsplit
53359   libuna support:                              $ac_cv_libuna
53360   libcfile support:                            $ac_cv_libcfile
53361   libcpath support:                            $ac_cv_libcpath
53362   libbfio support:                             $ac_cv_libbfio
53363   libfcache support:                           $ac_cv_libfcache
53364   libfdata support:                            $ac_cv_libfdata
53365   libfguid support:                            $ac_cv_libfguid
53366   libhmac support:                             $ac_cv_libhmac
53367   SHA1 support:                                $ac_cv_libhmac_sha1
53368   SHA224 support:                              $ac_cv_libhmac_sha224
53369   SHA256 support:                              $ac_cv_libhmac_sha256
53370   SHA512 support:                              $ac_cv_libhmac_sha512
53371   libcaes support:                             $ac_cv_libcaes
53372   AES-CBC support:                             $ac_cv_libcaes_aes_cbc
53373   AES-ECB support:                             $ac_cv_libcaes_aes_ecb
53374   AES-XTS support:                             $ac_cv_libcaes_aes_xts
53375   libfcrypto support:                          $ac_cv_libfcrypto
53376   ARC4-ECB support:                            $ac_cv_libfcrypto
53377   Serpent-CBC support:                         $ac_cv_libfcrypto
53378   Serpent-ECB support:                         $ac_cv_libfcrypto
53379   FUSE support:                                $ac_cv_libfuse
53380
53381Features:
53382   Multi-threading support:                     $ac_cv_libcthreads_multi_threading
53383   Wide character type support:                 $ac_cv_enable_wide_character_type
53384   luksdetools are build as static executables: $ac_cv_enable_static_executables
53385   Python (pyluksde) support:                   $ac_cv_enable_python
53386   Verbose output:                              $ac_cv_enable_verbose_output
53387   Debug output:                                $ac_cv_enable_debug_output
53388" >&5
53389$as_echo "$as_me:
53390Building:
53391   libcerror support:                           $ac_cv_libcerror
53392   libcthreads support:                         $ac_cv_libcthreads
53393   libcdata support:                            $ac_cv_libcdata
53394   libclocale support:                          $ac_cv_libclocale
53395   libcnotify support:                          $ac_cv_libcnotify
53396   libcsplit support:                           $ac_cv_libcsplit
53397   libuna support:                              $ac_cv_libuna
53398   libcfile support:                            $ac_cv_libcfile
53399   libcpath support:                            $ac_cv_libcpath
53400   libbfio support:                             $ac_cv_libbfio
53401   libfcache support:                           $ac_cv_libfcache
53402   libfdata support:                            $ac_cv_libfdata
53403   libfguid support:                            $ac_cv_libfguid
53404   libhmac support:                             $ac_cv_libhmac
53405   SHA1 support:                                $ac_cv_libhmac_sha1
53406   SHA224 support:                              $ac_cv_libhmac_sha224
53407   SHA256 support:                              $ac_cv_libhmac_sha256
53408   SHA512 support:                              $ac_cv_libhmac_sha512
53409   libcaes support:                             $ac_cv_libcaes
53410   AES-CBC support:                             $ac_cv_libcaes_aes_cbc
53411   AES-ECB support:                             $ac_cv_libcaes_aes_ecb
53412   AES-XTS support:                             $ac_cv_libcaes_aes_xts
53413   libfcrypto support:                          $ac_cv_libfcrypto
53414   ARC4-ECB support:                            $ac_cv_libfcrypto
53415   Serpent-CBC support:                         $ac_cv_libfcrypto
53416   Serpent-ECB support:                         $ac_cv_libfcrypto
53417   FUSE support:                                $ac_cv_libfuse
53418
53419Features:
53420   Multi-threading support:                     $ac_cv_libcthreads_multi_threading
53421   Wide character type support:                 $ac_cv_enable_wide_character_type
53422   luksdetools are build as static executables: $ac_cv_enable_static_executables
53423   Python (pyluksde) support:                   $ac_cv_enable_python
53424   Verbose output:                              $ac_cv_enable_verbose_output
53425   Debug output:                                $ac_cv_enable_debug_output
53426" >&6;};
53427
53428