1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libcreg 20210502.
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='libcreg'
592PACKAGE_TARNAME='libcreg'
593PACKAGE_VERSION='20210502'
594PACKAGE_STRING='libcreg 20210502'
595PACKAGE_BUGREPORT='joachim.metz@gmail.com'
596PACKAGE_URL=''
597
598ac_unique_file="include/libcreg.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
642libcreg_spec_tools_build_requires
643libcreg_spec_requires
644LIB_FUZZING_ENGINE
645HAVE_LIB_FUZZING_ENGINE_FALSE
646HAVE_LIB_FUZZING_ENGINE_TRUE
647LIBCREG_DLL_IMPORT
648LIBCREG_DLL_EXPORT
649HAVE_DLLMAIN
650ax_libfuse_spec_build_requires
651ax_libfuse_spec_requires
652ax_libfuse_pc_libs_private
653LIBFUSE_LIBADD
654LIBFUSE_CPPFLAGS
655HAVE_LIBFUSE
656fuse_LIBS
657fuse_CFLAGS
658HAVE_PYTHON_TESTS_FALSE
659HAVE_PYTHON_TESTS_TRUE
660HAVE_PYTHON3_FALSE
661HAVE_PYTHON3_TRUE
662HAVE_PYTHON2_FALSE
663HAVE_PYTHON2_TRUE
664HAVE_PYTHON_FALSE
665HAVE_PYTHON_TRUE
666PYTHON3_PACKAGE_DIR
667PYTHON3_LIBRARY_DIR
668pyexecdir3
669pythondir3
670PYTHON3_EXEC_PREFIX
671PYTHON3_PREFIX
672PYTHON3_LDFLAGS
673PYTHON3_CPPFLAGS
674PYTHON3_CONFIG
675PYTHON3_PLATFORM
676PYTHON3_VERSION
677PYTHON3
678PYTHON2_PACKAGE_DIR
679PYTHON2_LIBRARY_DIR
680pyexecdir2
681pythondir2
682PYTHON2_EXEC_PREFIX
683PYTHON2_PREFIX
684PYTHON2_LDFLAGS
685PYTHON2_CPPFLAGS
686PYTHON2_CONFIG
687PYTHON2_PLATFORM
688PYTHON2_VERSION
689PYTHON2
690PYTHON_PACKAGE_DIR
691PYTHON_LIBRARY_DIR
692pyexecdir
693pythondir
694PYTHON_EXEC_PREFIX
695PYTHON_PREFIX
696PYTHON_LDFLAGS
697PYTHON_CPPFLAGS
698PYTHON_CONFIG
699PYTHON_PLATFORM
700PYTHON
701ax_libfdata_spec_build_requires
702ax_libfdata_spec_requires
703ax_libfdata_pc_libs_private
704LIBFDATA_LIBADD
705LIBFDATA_CPPFLAGS
706HAVE_LOCAL_LIBFDATA_FALSE
707HAVE_LOCAL_LIBFDATA_TRUE
708HAVE_LOCAL_LIBFDATA
709HAVE_LIBFDATA
710libfdata_LIBS
711libfdata_CFLAGS
712ax_libfcache_spec_build_requires
713ax_libfcache_spec_requires
714ax_libfcache_pc_libs_private
715LIBFCACHE_LIBADD
716LIBFCACHE_CPPFLAGS
717HAVE_LOCAL_LIBFCACHE_FALSE
718HAVE_LOCAL_LIBFCACHE_TRUE
719HAVE_LOCAL_LIBFCACHE
720HAVE_LIBFCACHE
721libfcache_LIBS
722libfcache_CFLAGS
723ax_libbfio_spec_build_requires
724ax_libbfio_spec_requires
725ax_libbfio_pc_libs_private
726LIBBFIO_LIBADD
727LIBBFIO_CPPFLAGS
728HAVE_LOCAL_LIBBFIO_FALSE
729HAVE_LOCAL_LIBBFIO_TRUE
730HAVE_LOCAL_LIBBFIO
731HAVE_LIBBFIO
732libbfio_LIBS
733libbfio_CFLAGS
734ax_libcpath_spec_build_requires
735ax_libcpath_spec_requires
736ax_libcpath_pc_libs_private
737LIBCPATH_LIBADD
738LIBCPATH_CPPFLAGS
739HAVE_LOCAL_LIBCPATH_FALSE
740HAVE_LOCAL_LIBCPATH_TRUE
741HAVE_LOCAL_LIBCPATH
742HAVE_LIBCPATH
743libcpath_LIBS
744libcpath_CFLAGS
745ax_libcfile_spec_build_requires
746ax_libcfile_spec_requires
747ax_libcfile_pc_libs_private
748LIBCFILE_LIBADD
749LIBCFILE_CPPFLAGS
750HAVE_LOCAL_LIBCFILE_FALSE
751HAVE_LOCAL_LIBCFILE_TRUE
752HAVE_LOCAL_LIBCFILE
753HAVE_LIBCFILE
754libcfile_LIBS
755libcfile_CFLAGS
756ax_libuna_spec_build_requires
757ax_libuna_spec_requires
758ax_libuna_pc_libs_private
759LIBUNA_LIBADD
760LIBUNA_CPPFLAGS
761HAVE_LOCAL_LIBUNA_FALSE
762HAVE_LOCAL_LIBUNA_TRUE
763HAVE_LOCAL_LIBUNA
764HAVE_LIBUNA
765libuna_LIBS
766libuna_CFLAGS
767ax_libcsplit_spec_build_requires
768ax_libcsplit_spec_requires
769ax_libcsplit_pc_libs_private
770LIBCSPLIT_LIBADD
771LIBCSPLIT_CPPFLAGS
772HAVE_LOCAL_LIBCSPLIT_FALSE
773HAVE_LOCAL_LIBCSPLIT_TRUE
774HAVE_LOCAL_LIBCSPLIT
775HAVE_LIBCSPLIT
776libcsplit_LIBS
777libcsplit_CFLAGS
778ax_libcnotify_spec_build_requires
779ax_libcnotify_spec_requires
780ax_libcnotify_pc_libs_private
781LIBCNOTIFY_LIBADD
782LIBCNOTIFY_CPPFLAGS
783HAVE_LOCAL_LIBCNOTIFY_FALSE
784HAVE_LOCAL_LIBCNOTIFY_TRUE
785HAVE_LOCAL_LIBCNOTIFY
786HAVE_LIBCNOTIFY
787libcnotify_LIBS
788libcnotify_CFLAGS
789ax_libclocale_spec_build_requires
790ax_libclocale_spec_requires
791ax_libclocale_pc_libs_private
792LIBCLOCALE_LIBADD
793LIBCLOCALE_CPPFLAGS
794HAVE_LOCAL_LIBCLOCALE_FALSE
795HAVE_LOCAL_LIBCLOCALE_TRUE
796HAVE_LOCAL_LIBCLOCALE
797HAVE_LIBCLOCALE
798libclocale_LIBS
799libclocale_CFLAGS
800ax_libcdata_spec_build_requires
801ax_libcdata_spec_requires
802ax_libcdata_pc_libs_private
803LIBCDATA_LIBADD
804LIBCDATA_CPPFLAGS
805HAVE_LOCAL_LIBCDATA_FALSE
806HAVE_LOCAL_LIBCDATA_TRUE
807HAVE_LOCAL_LIBCDATA
808HAVE_LIBCDATA
809libcdata_LIBS
810libcdata_CFLAGS
811ax_libcthreads_spec_build_requires
812ax_libcthreads_spec_requires
813ax_libcthreads_pc_libs_private
814HAVE_MULTI_THREAD_SUPPORT
815LIBCTHREADS_LIBADD
816LIBCTHREADS_CPPFLAGS
817HAVE_LOCAL_LIBCTHREADS_FALSE
818HAVE_LOCAL_LIBCTHREADS_TRUE
819HAVE_LOCAL_LIBCTHREADS
820ax_pthread_pc_libs_private
821PTHREAD_LIBADD
822PTHREAD_CPPFLAGS
823HAVE_PTHREAD
824HAVE_LIBCTHREADS
825libcthreads_LIBS
826libcthreads_CFLAGS
827ax_libcerror_spec_build_requires
828ax_libcerror_spec_requires
829ax_libcerror_pc_libs_private
830LIBCERROR_LIBADD
831LIBCERROR_CPPFLAGS
832HAVE_LOCAL_LIBCERROR_FALSE
833HAVE_LOCAL_LIBCERROR_TRUE
834HAVE_LOCAL_LIBCERROR
835HAVE_LIBCERROR
836libcerror_LIBS
837libcerror_CFLAGS
838PKG_CONFIG_LIBDIR
839PKG_CONFIG_PATH
840PKG_CONFIG
841HAVE_OFF64_T
842HAVE_SSIZE64_T
843HAVE_SIZE64_T
844HAVE_SSIZE32_T
845HAVE_SIZE32_T
846HAVE_WCHAR_H
847HAVE_STDINT_H
848HAVE_INTTYPES_H
849HAVE_SYS_TYPES_H
850HAVE_WIDE_CHARACTER_TYPE
851STATIC_LDFLAGS
852POSUB
853LTLIBINTL
854LIBINTL
855INTLLIBS
856LTLIBICONV
857LIBICONV
858INTL_MACOSX_LIBS
859XGETTEXT_EXTRA_OPTIONS
860MSGMERGE
861XGETTEXT_015
862XGETTEXT
863GMSGFMT_015
864MSGFMT_015
865GMSGFMT
866MSGFMT
867GETTEXT_MACRO_VERSION
868USE_NLS
869PKGCONFIG
870LIBTOOL_DEPS
871CXXCPP
872LT_SYS_LIBRARY_PATH
873OTOOL64
874OTOOL
875LIPO
876NMEDIT
877DSYMUTIL
878MANIFEST_TOOL
879RANLIB
880ac_ct_AR
881AR
882LN_S
883NM
884ac_ct_DUMPBIN
885DUMPBIN
886LD
887FGREP
888SED
889LIBTOOL
890am__fastdepCXX_FALSE
891am__fastdepCXX_TRUE
892CXXDEPMODE
893ac_ct_CXX
894CXXFLAGS
895CXX
896EGREP
897GREP
898CPP
899am__fastdepCC_FALSE
900am__fastdepCC_TRUE
901CCDEPMODE
902am__nodep
903AMDEPBACKSLASH
904AMDEP_FALSE
905AMDEP_TRUE
906am__include
907DEPDIR
908OBJEXT
909EXEEXT
910ac_ct_CC
911CPPFLAGS
912LDFLAGS
913CFLAGS
914CC
915OBJDUMP
916DLLTOOL
917AS
918host_os
919host_vendor
920host_cpu
921host
922build_os
923build_vendor
924build_cpu
925build
926AM_BACKSLASH
927AM_DEFAULT_VERBOSITY
928AM_DEFAULT_V
929AM_V
930am__untar
931am__tar
932AMTAR
933am__leading_dot
934SET_MAKE
935AWK
936mkdir_p
937MKDIR_P
938INSTALL_STRIP_PROGRAM
939STRIP
940install_sh
941MAKEINFO
942AUTOHEADER
943AUTOMAKE
944AUTOCONF
945ACLOCAL
946VERSION
947PACKAGE
948CYGPATH_W
949am__isrc
950INSTALL_DATA
951INSTALL_SCRIPT
952INSTALL_PROGRAM
953target_alias
954host_alias
955build_alias
956LIBS
957ECHO_T
958ECHO_N
959ECHO_C
960DEFS
961mandir
962localedir
963libdir
964psdir
965pdfdir
966dvidir
967htmldir
968infodir
969docdir
970oldincludedir
971includedir
972localstatedir
973sharedstatedir
974sysconfdir
975datadir
976datarootdir
977libexecdir
978sbindir
979bindir
980program_transform_name
981prefix
982exec_prefix
983PACKAGE_URL
984PACKAGE_BUGREPORT
985PACKAGE_STRING
986PACKAGE_VERSION
987PACKAGE_TARNAME
988PACKAGE_NAME
989PATH_SEPARATOR
990SHELL
991am__quote'
992ac_subst_files=''
993ac_user_opts='
994enable_option_checking
995enable_silent_rules
996enable_dependency_tracking
997enable_shared
998enable_static
999with_pic
1000enable_fast_install
1001with_aix_soname
1002with_gnu_ld
1003with_sysroot
1004enable_libtool_lock
1005enable_nls
1006enable_rpath
1007with_libiconv_prefix
1008with_libintl_prefix
1009enable_largefile
1010enable_shared_libs
1011enable_static_executables
1012enable_winapi
1013enable_wide_character_type
1014enable_verbose_output
1015enable_debug_output
1016with_libcerror
1017enable_multi_threading_support
1018with_libcthreads
1019with_pthread
1020with_libcdata
1021with_libclocale
1022with_libcnotify
1023with_libcsplit
1024with_libuna
1025with_libcfile
1026with_libcpath
1027with_libbfio
1028with_libfcache
1029with_libfdata
1030with_pyprefix
1031enable_python
1032with_pythondir
1033enable_python2
1034with_pythondir2
1035enable_python3
1036with_pythondir3
1037with_libfuse
1038'
1039      ac_precious_vars='build_alias
1040host_alias
1041target_alias
1042CC
1043CFLAGS
1044LDFLAGS
1045LIBS
1046CPPFLAGS
1047CPP
1048CXX
1049CXXFLAGS
1050CCC
1051LT_SYS_LIBRARY_PATH
1052CXXCPP
1053PKG_CONFIG
1054PKG_CONFIG_PATH
1055PKG_CONFIG_LIBDIR
1056libcerror_CFLAGS
1057libcerror_LIBS
1058libcthreads_CFLAGS
1059libcthreads_LIBS
1060libcdata_CFLAGS
1061libcdata_LIBS
1062libclocale_CFLAGS
1063libclocale_LIBS
1064libcnotify_CFLAGS
1065libcnotify_LIBS
1066libcsplit_CFLAGS
1067libcsplit_LIBS
1068libuna_CFLAGS
1069libuna_LIBS
1070libcfile_CFLAGS
1071libcfile_LIBS
1072libcpath_CFLAGS
1073libcpath_LIBS
1074libbfio_CFLAGS
1075libbfio_LIBS
1076libfcache_CFLAGS
1077libfcache_LIBS
1078libfdata_CFLAGS
1079libfdata_LIBS
1080fuse_CFLAGS
1081fuse_LIBS'
1082
1083
1084# Initialize some variables set by options.
1085ac_init_help=
1086ac_init_version=false
1087ac_unrecognized_opts=
1088ac_unrecognized_sep=
1089# The variables have the same names as the options, with
1090# dashes changed to underlines.
1091cache_file=/dev/null
1092exec_prefix=NONE
1093no_create=
1094no_recursion=
1095prefix=NONE
1096program_prefix=NONE
1097program_suffix=NONE
1098program_transform_name=s,x,x,
1099silent=
1100site=
1101srcdir=
1102verbose=
1103x_includes=NONE
1104x_libraries=NONE
1105
1106# Installation directory options.
1107# These are left unexpanded so users can "make install exec_prefix=/foo"
1108# and all the variables that are supposed to be based on exec_prefix
1109# by default will actually change.
1110# Use braces instead of parens because sh, perl, etc. also accept them.
1111# (The list follows the same order as the GNU Coding Standards.)
1112bindir='${exec_prefix}/bin'
1113sbindir='${exec_prefix}/sbin'
1114libexecdir='${exec_prefix}/libexec'
1115datarootdir='${prefix}/share'
1116datadir='${datarootdir}'
1117sysconfdir='${prefix}/etc'
1118sharedstatedir='${prefix}/com'
1119localstatedir='${prefix}/var'
1120includedir='${prefix}/include'
1121oldincludedir='/usr/include'
1122docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1123infodir='${datarootdir}/info'
1124htmldir='${docdir}'
1125dvidir='${docdir}'
1126pdfdir='${docdir}'
1127psdir='${docdir}'
1128libdir='${exec_prefix}/lib'
1129localedir='${datarootdir}/locale'
1130mandir='${datarootdir}/man'
1131
1132ac_prev=
1133ac_dashdash=
1134for ac_option
1135do
1136  # If the previous option needs an argument, assign it.
1137  if test -n "$ac_prev"; then
1138    eval $ac_prev=\$ac_option
1139    ac_prev=
1140    continue
1141  fi
1142
1143  case $ac_option in
1144  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145  *=)   ac_optarg= ;;
1146  *)    ac_optarg=yes ;;
1147  esac
1148
1149  # Accept the important Cygnus configure options, so we can diagnose typos.
1150
1151  case $ac_dashdash$ac_option in
1152  --)
1153    ac_dashdash=yes ;;
1154
1155  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1156    ac_prev=bindir ;;
1157  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1158    bindir=$ac_optarg ;;
1159
1160  -build | --build | --buil | --bui | --bu)
1161    ac_prev=build_alias ;;
1162  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1163    build_alias=$ac_optarg ;;
1164
1165  -cache-file | --cache-file | --cache-fil | --cache-fi \
1166  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1167    ac_prev=cache_file ;;
1168  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1169  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1170    cache_file=$ac_optarg ;;
1171
1172  --config-cache | -C)
1173    cache_file=config.cache ;;
1174
1175  -datadir | --datadir | --datadi | --datad)
1176    ac_prev=datadir ;;
1177  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1178    datadir=$ac_optarg ;;
1179
1180  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1181  | --dataroo | --dataro | --datar)
1182    ac_prev=datarootdir ;;
1183  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1184  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1185    datarootdir=$ac_optarg ;;
1186
1187  -disable-* | --disable-*)
1188    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1189    # Reject names that are not valid shell variable names.
1190    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191      as_fn_error $? "invalid feature name: $ac_useropt"
1192    ac_useropt_orig=$ac_useropt
1193    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194    case $ac_user_opts in
1195      *"
1196"enable_$ac_useropt"
1197"*) ;;
1198      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1199	 ac_unrecognized_sep=', ';;
1200    esac
1201    eval enable_$ac_useropt=no ;;
1202
1203  -docdir | --docdir | --docdi | --doc | --do)
1204    ac_prev=docdir ;;
1205  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1206    docdir=$ac_optarg ;;
1207
1208  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1209    ac_prev=dvidir ;;
1210  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1211    dvidir=$ac_optarg ;;
1212
1213  -enable-* | --enable-*)
1214    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1215    # Reject names that are not valid shell variable names.
1216    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217      as_fn_error $? "invalid feature name: $ac_useropt"
1218    ac_useropt_orig=$ac_useropt
1219    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220    case $ac_user_opts in
1221      *"
1222"enable_$ac_useropt"
1223"*) ;;
1224      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1225	 ac_unrecognized_sep=', ';;
1226    esac
1227    eval enable_$ac_useropt=\$ac_optarg ;;
1228
1229  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1230  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1231  | --exec | --exe | --ex)
1232    ac_prev=exec_prefix ;;
1233  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1234  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1235  | --exec=* | --exe=* | --ex=*)
1236    exec_prefix=$ac_optarg ;;
1237
1238  -gas | --gas | --ga | --g)
1239    # Obsolete; use --with-gas.
1240    with_gas=yes ;;
1241
1242  -help | --help | --hel | --he | -h)
1243    ac_init_help=long ;;
1244  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1245    ac_init_help=recursive ;;
1246  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1247    ac_init_help=short ;;
1248
1249  -host | --host | --hos | --ho)
1250    ac_prev=host_alias ;;
1251  -host=* | --host=* | --hos=* | --ho=*)
1252    host_alias=$ac_optarg ;;
1253
1254  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1255    ac_prev=htmldir ;;
1256  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1257  | --ht=*)
1258    htmldir=$ac_optarg ;;
1259
1260  -includedir | --includedir | --includedi | --included | --include \
1261  | --includ | --inclu | --incl | --inc)
1262    ac_prev=includedir ;;
1263  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1264  | --includ=* | --inclu=* | --incl=* | --inc=*)
1265    includedir=$ac_optarg ;;
1266
1267  -infodir | --infodir | --infodi | --infod | --info | --inf)
1268    ac_prev=infodir ;;
1269  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1270    infodir=$ac_optarg ;;
1271
1272  -libdir | --libdir | --libdi | --libd)
1273    ac_prev=libdir ;;
1274  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1275    libdir=$ac_optarg ;;
1276
1277  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1278  | --libexe | --libex | --libe)
1279    ac_prev=libexecdir ;;
1280  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1281  | --libexe=* | --libex=* | --libe=*)
1282    libexecdir=$ac_optarg ;;
1283
1284  -localedir | --localedir | --localedi | --localed | --locale)
1285    ac_prev=localedir ;;
1286  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1287    localedir=$ac_optarg ;;
1288
1289  -localstatedir | --localstatedir | --localstatedi | --localstated \
1290  | --localstate | --localstat | --localsta | --localst | --locals)
1291    ac_prev=localstatedir ;;
1292  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1293  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1294    localstatedir=$ac_optarg ;;
1295
1296  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1297    ac_prev=mandir ;;
1298  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1299    mandir=$ac_optarg ;;
1300
1301  -nfp | --nfp | --nf)
1302    # Obsolete; use --without-fp.
1303    with_fp=no ;;
1304
1305  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1306  | --no-cr | --no-c | -n)
1307    no_create=yes ;;
1308
1309  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1310  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311    no_recursion=yes ;;
1312
1313  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1314  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1315  | --oldin | --oldi | --old | --ol | --o)
1316    ac_prev=oldincludedir ;;
1317  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1318  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1319  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1320    oldincludedir=$ac_optarg ;;
1321
1322  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1323    ac_prev=prefix ;;
1324  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1325    prefix=$ac_optarg ;;
1326
1327  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1328  | --program-pre | --program-pr | --program-p)
1329    ac_prev=program_prefix ;;
1330  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1331  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1332    program_prefix=$ac_optarg ;;
1333
1334  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1335  | --program-suf | --program-su | --program-s)
1336    ac_prev=program_suffix ;;
1337  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1338  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1339    program_suffix=$ac_optarg ;;
1340
1341  -program-transform-name | --program-transform-name \
1342  | --program-transform-nam | --program-transform-na \
1343  | --program-transform-n | --program-transform- \
1344  | --program-transform | --program-transfor \
1345  | --program-transfo | --program-transf \
1346  | --program-trans | --program-tran \
1347  | --progr-tra | --program-tr | --program-t)
1348    ac_prev=program_transform_name ;;
1349  -program-transform-name=* | --program-transform-name=* \
1350  | --program-transform-nam=* | --program-transform-na=* \
1351  | --program-transform-n=* | --program-transform-=* \
1352  | --program-transform=* | --program-transfor=* \
1353  | --program-transfo=* | --program-transf=* \
1354  | --program-trans=* | --program-tran=* \
1355  | --progr-tra=* | --program-tr=* | --program-t=*)
1356    program_transform_name=$ac_optarg ;;
1357
1358  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1359    ac_prev=pdfdir ;;
1360  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1361    pdfdir=$ac_optarg ;;
1362
1363  -psdir | --psdir | --psdi | --psd | --ps)
1364    ac_prev=psdir ;;
1365  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366    psdir=$ac_optarg ;;
1367
1368  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1369  | -silent | --silent | --silen | --sile | --sil)
1370    silent=yes ;;
1371
1372  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1373    ac_prev=sbindir ;;
1374  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1375  | --sbi=* | --sb=*)
1376    sbindir=$ac_optarg ;;
1377
1378  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1379  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1380  | --sharedst | --shareds | --shared | --share | --shar \
1381  | --sha | --sh)
1382    ac_prev=sharedstatedir ;;
1383  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1384  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1385  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1386  | --sha=* | --sh=*)
1387    sharedstatedir=$ac_optarg ;;
1388
1389  -site | --site | --sit)
1390    ac_prev=site ;;
1391  -site=* | --site=* | --sit=*)
1392    site=$ac_optarg ;;
1393
1394  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1395    ac_prev=srcdir ;;
1396  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1397    srcdir=$ac_optarg ;;
1398
1399  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1400  | --syscon | --sysco | --sysc | --sys | --sy)
1401    ac_prev=sysconfdir ;;
1402  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1403  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1404    sysconfdir=$ac_optarg ;;
1405
1406  -target | --target | --targe | --targ | --tar | --ta | --t)
1407    ac_prev=target_alias ;;
1408  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1409    target_alias=$ac_optarg ;;
1410
1411  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412    verbose=yes ;;
1413
1414  -version | --version | --versio | --versi | --vers | -V)
1415    ac_init_version=: ;;
1416
1417  -with-* | --with-*)
1418    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1419    # Reject names that are not valid shell variable names.
1420    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1421      as_fn_error $? "invalid package name: $ac_useropt"
1422    ac_useropt_orig=$ac_useropt
1423    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1424    case $ac_user_opts in
1425      *"
1426"with_$ac_useropt"
1427"*) ;;
1428      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1429	 ac_unrecognized_sep=', ';;
1430    esac
1431    eval with_$ac_useropt=\$ac_optarg ;;
1432
1433  -without-* | --without-*)
1434    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1435    # Reject names that are not valid shell variable names.
1436    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1437      as_fn_error $? "invalid package name: $ac_useropt"
1438    ac_useropt_orig=$ac_useropt
1439    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1440    case $ac_user_opts in
1441      *"
1442"with_$ac_useropt"
1443"*) ;;
1444      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1445	 ac_unrecognized_sep=', ';;
1446    esac
1447    eval with_$ac_useropt=no ;;
1448
1449  --x)
1450    # Obsolete; use --with-x.
1451    with_x=yes ;;
1452
1453  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1454  | --x-incl | --x-inc | --x-in | --x-i)
1455    ac_prev=x_includes ;;
1456  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1457  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1458    x_includes=$ac_optarg ;;
1459
1460  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1461  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1462    ac_prev=x_libraries ;;
1463  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1464  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1465    x_libraries=$ac_optarg ;;
1466
1467  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1468Try \`$0 --help' for more information"
1469    ;;
1470
1471  *=*)
1472    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1473    # Reject names that are not valid shell variable names.
1474    case $ac_envvar in #(
1475      '' | [0-9]* | *[!_$as_cr_alnum]* )
1476      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1477    esac
1478    eval $ac_envvar=\$ac_optarg
1479    export $ac_envvar ;;
1480
1481  *)
1482    # FIXME: should be removed in autoconf 3.0.
1483    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1484    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1485      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1486    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1487    ;;
1488
1489  esac
1490done
1491
1492if test -n "$ac_prev"; then
1493  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1494  as_fn_error $? "missing argument to $ac_option"
1495fi
1496
1497if test -n "$ac_unrecognized_opts"; then
1498  case $enable_option_checking in
1499    no) ;;
1500    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1501    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1502  esac
1503fi
1504
1505# Check all directory arguments for consistency.
1506for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1507		datadir sysconfdir sharedstatedir localstatedir includedir \
1508		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1509		libdir localedir mandir
1510do
1511  eval ac_val=\$$ac_var
1512  # Remove trailing slashes.
1513  case $ac_val in
1514    */ )
1515      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1516      eval $ac_var=\$ac_val;;
1517  esac
1518  # Be sure to have absolute directory names.
1519  case $ac_val in
1520    [\\/$]* | ?:[\\/]* )  continue;;
1521    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1522  esac
1523  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1524done
1525
1526# There might be people who depend on the old broken behavior: `$host'
1527# used to hold the argument of --host etc.
1528# FIXME: To remove some day.
1529build=$build_alias
1530host=$host_alias
1531target=$target_alias
1532
1533# FIXME: To remove some day.
1534if test "x$host_alias" != x; then
1535  if test "x$build_alias" = x; then
1536    cross_compiling=maybe
1537  elif test "x$build_alias" != "x$host_alias"; then
1538    cross_compiling=yes
1539  fi
1540fi
1541
1542ac_tool_prefix=
1543test -n "$host_alias" && ac_tool_prefix=$host_alias-
1544
1545test "$silent" = yes && exec 6>/dev/null
1546
1547
1548ac_pwd=`pwd` && test -n "$ac_pwd" &&
1549ac_ls_di=`ls -di .` &&
1550ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1551  as_fn_error $? "working directory cannot be determined"
1552test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1553  as_fn_error $? "pwd does not report name of working directory"
1554
1555
1556# Find the source files, if location was not specified.
1557if test -z "$srcdir"; then
1558  ac_srcdir_defaulted=yes
1559  # Try the directory containing this script, then the parent directory.
1560  ac_confdir=`$as_dirname -- "$as_myself" ||
1561$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1562	 X"$as_myself" : 'X\(//\)[^/]' \| \
1563	 X"$as_myself" : 'X\(//\)$' \| \
1564	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1565$as_echo X"$as_myself" |
1566    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1567	    s//\1/
1568	    q
1569	  }
1570	  /^X\(\/\/\)[^/].*/{
1571	    s//\1/
1572	    q
1573	  }
1574	  /^X\(\/\/\)$/{
1575	    s//\1/
1576	    q
1577	  }
1578	  /^X\(\/\).*/{
1579	    s//\1/
1580	    q
1581	  }
1582	  s/.*/./; q'`
1583  srcdir=$ac_confdir
1584  if test ! -r "$srcdir/$ac_unique_file"; then
1585    srcdir=..
1586  fi
1587else
1588  ac_srcdir_defaulted=no
1589fi
1590if test ! -r "$srcdir/$ac_unique_file"; then
1591  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1592  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1593fi
1594ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1595ac_abs_confdir=`(
1596	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1597	pwd)`
1598# When building in place, set srcdir=.
1599if test "$ac_abs_confdir" = "$ac_pwd"; then
1600  srcdir=.
1601fi
1602# Remove unnecessary trailing slashes from srcdir.
1603# Double slashes in file names in object file debugging info
1604# mess up M-x gdb in Emacs.
1605case $srcdir in
1606*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1607esac
1608for ac_var in $ac_precious_vars; do
1609  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1610  eval ac_env_${ac_var}_value=\$${ac_var}
1611  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1612  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1613done
1614
1615#
1616# Report the --help message.
1617#
1618if test "$ac_init_help" = "long"; then
1619  # Omit some internal or obsolete options to make the list less imposing.
1620  # This message is too long to be a string in the A/UX 3.1 sh.
1621  cat <<_ACEOF
1622\`configure' configures libcreg 20210502 to adapt to many kinds of systems.
1623
1624Usage: $0 [OPTION]... [VAR=VALUE]...
1625
1626To assign environment variables (e.g., CC, CFLAGS...), specify them as
1627VAR=VALUE.  See below for descriptions of some of the useful variables.
1628
1629Defaults for the options are specified in brackets.
1630
1631Configuration:
1632  -h, --help              display this help and exit
1633      --help=short        display options specific to this package
1634      --help=recursive    display the short help of all the included packages
1635  -V, --version           display version information and exit
1636  -q, --quiet, --silent   do not print \`checking ...' messages
1637      --cache-file=FILE   cache test results in FILE [disabled]
1638  -C, --config-cache      alias for \`--cache-file=config.cache'
1639  -n, --no-create         do not create output files
1640      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1641
1642Installation directories:
1643  --prefix=PREFIX         install architecture-independent files in PREFIX
1644                          [$ac_default_prefix]
1645  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1646                          [PREFIX]
1647
1648By default, \`make install' will install all the files in
1649\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1650an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1651for instance \`--prefix=\$HOME'.
1652
1653For better control, use the options below.
1654
1655Fine tuning of the installation directories:
1656  --bindir=DIR            user executables [EPREFIX/bin]
1657  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1658  --libexecdir=DIR        program executables [EPREFIX/libexec]
1659  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1660  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1661  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1662  --libdir=DIR            object code libraries [EPREFIX/lib]
1663  --includedir=DIR        C header files [PREFIX/include]
1664  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1665  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1666  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1667  --infodir=DIR           info documentation [DATAROOTDIR/info]
1668  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1669  --mandir=DIR            man documentation [DATAROOTDIR/man]
1670  --docdir=DIR            documentation root [DATAROOTDIR/doc/libcreg]
1671  --htmldir=DIR           html documentation [DOCDIR]
1672  --dvidir=DIR            dvi documentation [DOCDIR]
1673  --pdfdir=DIR            pdf documentation [DOCDIR]
1674  --psdir=DIR             ps documentation [DOCDIR]
1675_ACEOF
1676
1677  cat <<\_ACEOF
1678
1679Program names:
1680  --program-prefix=PREFIX            prepend PREFIX to installed program names
1681  --program-suffix=SUFFIX            append SUFFIX to installed program names
1682  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1683
1684System types:
1685  --build=BUILD     configure for building on BUILD [guessed]
1686  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1687_ACEOF
1688fi
1689
1690if test -n "$ac_init_help"; then
1691  case $ac_init_help in
1692     short | recursive ) echo "Configuration of libcreg 20210502:";;
1693   esac
1694  cat <<\_ACEOF
1695
1696Optional Features:
1697  --disable-option-checking  ignore unrecognized --enable/--with options
1698  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1699  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1700  --enable-silent-rules   less verbose build output (undo: "make V=1")
1701  --disable-silent-rules  verbose build output (undo: "make V=0")
1702  --enable-dependency-tracking
1703                          do not reject slow dependency extractors
1704  --disable-dependency-tracking
1705                          speeds up one-time build
1706  --enable-shared[=PKGS]  build shared libraries [default=yes]
1707  --enable-static[=PKGS]  build static libraries [default=yes]
1708  --enable-fast-install[=PKGS]
1709                          optimize for fast installation [default=yes]
1710  --disable-libtool-lock  avoid locking (might break parallel builds)
1711  --disable-nls           do not use Native Language Support
1712  --disable-rpath         do not hardcode runtime library paths
1713  --disable-largefile     omit support for large files
1714  --disable-shared-libs   disable shared library support
1715  --enable-static-executables
1716                          build static executables (binaries) [default=no]
1717  --enable-winapi         enable WINAPI support for cross-compilation
1718                          [default=auto-detect]
1719  --enable-wide-character-type
1720                          enable wide character type support [default=no]
1721  --enable-verbose-output enable verbose output [default=no]
1722  --enable-debug-output   enable debug output [default=no]
1723  --enable-multi-threading-support
1724                          enable multi-threading support [default=yes]
1725  --enable-python         build Python bindings [default=no]
1726  --enable-python2        build Python 2 bindings [default=no]
1727  --enable-python3        build Python 3 bindings [default=no]
1728
1729Optional Packages:
1730  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1731  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1732  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1733                          both]
1734  --with-aix-soname=aix|svr4|both
1735                          shared library versioning (aka "SONAME") variant to
1736                          provide on AIX, [default=aix].
1737  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1738  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1739                          compiler's sysroot if not specified).
1740  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1741  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1742  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1743  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1744  --without-libintl-prefix     don't search for libintl in includedir and libdir
1745  --with-libcerror[=DIR]  search for libcerror in includedir and libdir or in
1746                          the specified DIR, or no if to use local version
1747                          [default=auto-detect]
1748  --with-libcthreads[=DIR]
1749                          search for libcthreads in includedir and libdir or
1750                          in the specified DIR, or no if to use local version
1751                          [default=auto-detect]
1752  --with-pthread[=DIR]    search for pthread in includedir and libdir or in
1753                          the specified DIR, or no if not to use pthread
1754                          [default=auto-detect]
1755  --with-libcdata[=DIR]   search for libcdata in includedir and libdir or in
1756                          the specified DIR, or no if to use local version
1757                          [default=auto-detect]
1758  --with-libclocale[=DIR] search for libclocale in includedir and libdir or in
1759                          the specified DIR, or no if to use local version
1760                          [default=auto-detect]
1761  --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in
1762                          the specified DIR, or no if to use local version
1763                          [default=auto-detect]
1764  --with-libcsplit[=DIR]  search for libcsplit in includedir and libdir or in
1765                          the specified DIR, or no if to use local version
1766                          [default=auto-detect]
1767  --with-libuna[=DIR]     search for libuna in includedir and libdir or in the
1768                          specified DIR, or no if to use local version
1769                          [default=auto-detect]
1770  --with-libcfile[=DIR]   search for libcfile in includedir and libdir or in
1771                          the specified DIR, or no if to use local version
1772                          [default=auto-detect]
1773  --with-libcpath[=DIR]   search for libcpath in includedir and libdir or in
1774                          the specified DIR, or no if to use local version
1775                          [default=auto-detect]
1776  --with-libbfio[=DIR]    search for libbfio in includedir and libdir or in
1777                          the specified DIR, or no if to use local version
1778                          [default=auto-detect]
1779  --with-libfcache[=DIR]  search for libfcache in includedir and libdir or in
1780                          the specified DIR, or no if to use local version
1781                          [default=auto-detect]
1782  --with-libfdata[=DIR]   search for libfdata in includedir and libdir or in
1783                          the specified DIR, or no if to use local version
1784                          [default=auto-detect]
1785  --with-pyprefix[=no]    use `python-config --prefix' to determine the prefix
1786                          of pythondir instead of --prefix [default=no]
1787  --with-pythondir[=no]   use to specify the Python directory (pythondir)
1788                          [default=no]
1789  --with-pythondir2[=no]  use to specify the Python 2 directory (pythondir2)
1790                          [default=no]
1791  --with-pythondir3[=no]  use to specify the Python 3 directory (pythondir3)
1792                          [default=no]
1793  --with-libfuse[=DIR]    search for libfuse in includedir and libdir or in
1794                          the specified DIR, or no if not to use libfuse
1795                          [default=auto-detect]
1796
1797Some influential environment variables:
1798  CC          C compiler command
1799  CFLAGS      C compiler flags
1800  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1801              nonstandard directory <lib dir>
1802  LIBS        libraries to pass to the linker, e.g. -l<library>
1803  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1804              you have headers in a nonstandard directory <include dir>
1805  CPP         C preprocessor
1806  CXX         C++ compiler command
1807  CXXFLAGS    C++ compiler flags
1808  LT_SYS_LIBRARY_PATH
1809              User-defined run-time library search path.
1810  CXXCPP      C++ preprocessor
1811  PKG_CONFIG  path to pkg-config utility
1812  PKG_CONFIG_PATH
1813              directories to add to pkg-config's search path
1814  PKG_CONFIG_LIBDIR
1815              path overriding pkg-config's built-in search path
1816  libcerror_CFLAGS
1817              C compiler flags for libcerror, overriding pkg-config
1818  libcerror_LIBS
1819              linker flags for libcerror, overriding pkg-config
1820  libcthreads_CFLAGS
1821              C compiler flags for libcthreads, overriding pkg-config
1822  libcthreads_LIBS
1823              linker flags for libcthreads, overriding pkg-config
1824  libcdata_CFLAGS
1825              C compiler flags for libcdata, overriding pkg-config
1826  libcdata_LIBS
1827              linker flags for libcdata, overriding pkg-config
1828  libclocale_CFLAGS
1829              C compiler flags for libclocale, overriding pkg-config
1830  libclocale_LIBS
1831              linker flags for libclocale, overriding pkg-config
1832  libcnotify_CFLAGS
1833              C compiler flags for libcnotify, overriding pkg-config
1834  libcnotify_LIBS
1835              linker flags for libcnotify, overriding pkg-config
1836  libcsplit_CFLAGS
1837              C compiler flags for libcsplit, overriding pkg-config
1838  libcsplit_LIBS
1839              linker flags for libcsplit, overriding pkg-config
1840  libuna_CFLAGS
1841              C compiler flags for libuna, overriding pkg-config
1842  libuna_LIBS linker flags for libuna, overriding pkg-config
1843  libcfile_CFLAGS
1844              C compiler flags for libcfile, overriding pkg-config
1845  libcfile_LIBS
1846              linker flags for libcfile, overriding pkg-config
1847  libcpath_CFLAGS
1848              C compiler flags for libcpath, overriding pkg-config
1849  libcpath_LIBS
1850              linker flags for libcpath, overriding pkg-config
1851  libbfio_CFLAGS
1852              C compiler flags for libbfio, overriding pkg-config
1853  libbfio_LIBS
1854              linker flags for libbfio, overriding pkg-config
1855  libfcache_CFLAGS
1856              C compiler flags for libfcache, overriding pkg-config
1857  libfcache_LIBS
1858              linker flags for libfcache, overriding pkg-config
1859  libfdata_CFLAGS
1860              C compiler flags for libfdata, overriding pkg-config
1861  libfdata_LIBS
1862              linker flags for libfdata, overriding pkg-config
1863  fuse_CFLAGS C compiler flags for fuse, overriding pkg-config
1864  fuse_LIBS   linker flags for fuse, overriding pkg-config
1865
1866Use these variables to override the choices made by `configure' or to help
1867it to find libraries and programs with nonstandard names/locations.
1868
1869Report bugs to <joachim.metz@gmail.com>.
1870_ACEOF
1871ac_status=$?
1872fi
1873
1874if test "$ac_init_help" = "recursive"; then
1875  # If there are subdirs, report their specific --help.
1876  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1877    test -d "$ac_dir" ||
1878      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1879      continue
1880    ac_builddir=.
1881
1882case "$ac_dir" in
1883.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1884*)
1885  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1886  # A ".." for each directory in $ac_dir_suffix.
1887  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1888  case $ac_top_builddir_sub in
1889  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1890  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1891  esac ;;
1892esac
1893ac_abs_top_builddir=$ac_pwd
1894ac_abs_builddir=$ac_pwd$ac_dir_suffix
1895# for backward compatibility:
1896ac_top_builddir=$ac_top_build_prefix
1897
1898case $srcdir in
1899  .)  # We are building in place.
1900    ac_srcdir=.
1901    ac_top_srcdir=$ac_top_builddir_sub
1902    ac_abs_top_srcdir=$ac_pwd ;;
1903  [\\/]* | ?:[\\/]* )  # Absolute name.
1904    ac_srcdir=$srcdir$ac_dir_suffix;
1905    ac_top_srcdir=$srcdir
1906    ac_abs_top_srcdir=$srcdir ;;
1907  *) # Relative name.
1908    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1909    ac_top_srcdir=$ac_top_build_prefix$srcdir
1910    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1911esac
1912ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1913
1914    cd "$ac_dir" || { ac_status=$?; continue; }
1915    # Check for guested configure.
1916    if test -f "$ac_srcdir/configure.gnu"; then
1917      echo &&
1918      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1919    elif test -f "$ac_srcdir/configure"; then
1920      echo &&
1921      $SHELL "$ac_srcdir/configure" --help=recursive
1922    else
1923      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1924    fi || ac_status=$?
1925    cd "$ac_pwd" || { ac_status=$?; break; }
1926  done
1927fi
1928
1929test -n "$ac_init_help" && exit $ac_status
1930if $ac_init_version; then
1931  cat <<\_ACEOF
1932libcreg configure 20210502
1933generated by GNU Autoconf 2.69
1934
1935Copyright (C) 2012 Free Software Foundation, Inc.
1936This configure script is free software; the Free Software Foundation
1937gives unlimited permission to copy, distribute and modify it.
1938_ACEOF
1939  exit
1940fi
1941
1942## ------------------------ ##
1943## Autoconf initialization. ##
1944## ------------------------ ##
1945
1946# ac_fn_c_try_compile LINENO
1947# --------------------------
1948# Try to compile conftest.$ac_ext, and return whether this succeeded.
1949ac_fn_c_try_compile ()
1950{
1951  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952  rm -f conftest.$ac_objext
1953  if { { ac_try="$ac_compile"
1954case "(($ac_try" in
1955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956  *) ac_try_echo=$ac_try;;
1957esac
1958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959$as_echo "$ac_try_echo"; } >&5
1960  (eval "$ac_compile") 2>conftest.err
1961  ac_status=$?
1962  if test -s conftest.err; then
1963    grep -v '^ *+' conftest.err >conftest.er1
1964    cat conftest.er1 >&5
1965    mv -f conftest.er1 conftest.err
1966  fi
1967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968  test $ac_status = 0; } && {
1969	 test -z "$ac_c_werror_flag" ||
1970	 test ! -s conftest.err
1971       } && test -s conftest.$ac_objext; then :
1972  ac_retval=0
1973else
1974  $as_echo "$as_me: failed program was:" >&5
1975sed 's/^/| /' conftest.$ac_ext >&5
1976
1977	ac_retval=1
1978fi
1979  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980  as_fn_set_status $ac_retval
1981
1982} # ac_fn_c_try_compile
1983
1984# ac_fn_c_try_cpp LINENO
1985# ----------------------
1986# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1987ac_fn_c_try_cpp ()
1988{
1989  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990  if { { ac_try="$ac_cpp conftest.$ac_ext"
1991case "(($ac_try" in
1992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993  *) ac_try_echo=$ac_try;;
1994esac
1995eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996$as_echo "$ac_try_echo"; } >&5
1997  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998  ac_status=$?
1999  if test -s conftest.err; then
2000    grep -v '^ *+' conftest.err >conftest.er1
2001    cat conftest.er1 >&5
2002    mv -f conftest.er1 conftest.err
2003  fi
2004  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005  test $ac_status = 0; } > conftest.i && {
2006	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2007	 test ! -s conftest.err
2008       }; then :
2009  ac_retval=0
2010else
2011  $as_echo "$as_me: failed program was:" >&5
2012sed 's/^/| /' conftest.$ac_ext >&5
2013
2014    ac_retval=1
2015fi
2016  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017  as_fn_set_status $ac_retval
2018
2019} # ac_fn_c_try_cpp
2020
2021# ac_fn_cxx_try_compile LINENO
2022# ----------------------------
2023# Try to compile conftest.$ac_ext, and return whether this succeeded.
2024ac_fn_cxx_try_compile ()
2025{
2026  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027  rm -f conftest.$ac_objext
2028  if { { ac_try="$ac_compile"
2029case "(($ac_try" in
2030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031  *) ac_try_echo=$ac_try;;
2032esac
2033eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034$as_echo "$ac_try_echo"; } >&5
2035  (eval "$ac_compile") 2>conftest.err
2036  ac_status=$?
2037  if test -s conftest.err; then
2038    grep -v '^ *+' conftest.err >conftest.er1
2039    cat conftest.er1 >&5
2040    mv -f conftest.er1 conftest.err
2041  fi
2042  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043  test $ac_status = 0; } && {
2044	 test -z "$ac_cxx_werror_flag" ||
2045	 test ! -s conftest.err
2046       } && test -s conftest.$ac_objext; then :
2047  ac_retval=0
2048else
2049  $as_echo "$as_me: failed program was:" >&5
2050sed 's/^/| /' conftest.$ac_ext >&5
2051
2052	ac_retval=1
2053fi
2054  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055  as_fn_set_status $ac_retval
2056
2057} # ac_fn_cxx_try_compile
2058
2059# ac_fn_c_try_link LINENO
2060# -----------------------
2061# Try to link conftest.$ac_ext, and return whether this succeeded.
2062ac_fn_c_try_link ()
2063{
2064  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065  rm -f conftest.$ac_objext conftest$ac_exeext
2066  if { { ac_try="$ac_link"
2067case "(($ac_try" in
2068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069  *) ac_try_echo=$ac_try;;
2070esac
2071eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072$as_echo "$ac_try_echo"; } >&5
2073  (eval "$ac_link") 2>conftest.err
2074  ac_status=$?
2075  if test -s conftest.err; then
2076    grep -v '^ *+' conftest.err >conftest.er1
2077    cat conftest.er1 >&5
2078    mv -f conftest.er1 conftest.err
2079  fi
2080  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081  test $ac_status = 0; } && {
2082	 test -z "$ac_c_werror_flag" ||
2083	 test ! -s conftest.err
2084       } && test -s conftest$ac_exeext && {
2085	 test "$cross_compiling" = yes ||
2086	 test -x conftest$ac_exeext
2087       }; then :
2088  ac_retval=0
2089else
2090  $as_echo "$as_me: failed program was:" >&5
2091sed 's/^/| /' conftest.$ac_ext >&5
2092
2093	ac_retval=1
2094fi
2095  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2096  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2097  # interfere with the next link command; also delete a directory that is
2098  # left behind by Apple's compiler.  We do this before executing the actions.
2099  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101  as_fn_set_status $ac_retval
2102
2103} # ac_fn_c_try_link
2104
2105# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2106# -------------------------------------------------------
2107# Tests whether HEADER exists and can be compiled using the include files in
2108# INCLUDES, setting the cache variable VAR accordingly.
2109ac_fn_c_check_header_compile ()
2110{
2111  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113$as_echo_n "checking for $2... " >&6; }
2114if eval \${$3+:} false; then :
2115  $as_echo_n "(cached) " >&6
2116else
2117  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118/* end confdefs.h.  */
2119$4
2120#include <$2>
2121_ACEOF
2122if ac_fn_c_try_compile "$LINENO"; then :
2123  eval "$3=yes"
2124else
2125  eval "$3=no"
2126fi
2127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128fi
2129eval ac_res=\$$3
2130	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131$as_echo "$ac_res" >&6; }
2132  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133
2134} # ac_fn_c_check_header_compile
2135
2136# ac_fn_c_try_run LINENO
2137# ----------------------
2138# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2139# that executables *can* be run.
2140ac_fn_c_try_run ()
2141{
2142  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143  if { { ac_try="$ac_link"
2144case "(($ac_try" in
2145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2146  *) ac_try_echo=$ac_try;;
2147esac
2148eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2149$as_echo "$ac_try_echo"; } >&5
2150  (eval "$ac_link") 2>&5
2151  ac_status=$?
2152  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2153  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2154  { { case "(($ac_try" in
2155  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2156  *) ac_try_echo=$ac_try;;
2157esac
2158eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2159$as_echo "$ac_try_echo"; } >&5
2160  (eval "$ac_try") 2>&5
2161  ac_status=$?
2162  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2163  test $ac_status = 0; }; }; then :
2164  ac_retval=0
2165else
2166  $as_echo "$as_me: program exited with status $ac_status" >&5
2167       $as_echo "$as_me: failed program was:" >&5
2168sed 's/^/| /' conftest.$ac_ext >&5
2169
2170       ac_retval=$ac_status
2171fi
2172  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2173  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2174  as_fn_set_status $ac_retval
2175
2176} # ac_fn_c_try_run
2177
2178# ac_fn_c_check_func LINENO FUNC VAR
2179# ----------------------------------
2180# Tests whether FUNC exists, setting the cache variable VAR accordingly
2181ac_fn_c_check_func ()
2182{
2183  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2184  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185$as_echo_n "checking for $2... " >&6; }
2186if eval \${$3+:} false; then :
2187  $as_echo_n "(cached) " >&6
2188else
2189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190/* end confdefs.h.  */
2191/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2192   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2193#define $2 innocuous_$2
2194
2195/* System header to define __stub macros and hopefully few prototypes,
2196    which can conflict with char $2 (); below.
2197    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2198    <limits.h> exists even on freestanding compilers.  */
2199
2200#ifdef __STDC__
2201# include <limits.h>
2202#else
2203# include <assert.h>
2204#endif
2205
2206#undef $2
2207
2208/* Override any GCC internal prototype to avoid an error.
2209   Use char because int might match the return type of a GCC
2210   builtin and then its argument prototype would still apply.  */
2211#ifdef __cplusplus
2212extern "C"
2213#endif
2214char $2 ();
2215/* The GNU C library defines this for functions which it implements
2216    to always fail with ENOSYS.  Some functions are actually named
2217    something starting with __ and the normal name is an alias.  */
2218#if defined __stub_$2 || defined __stub___$2
2219choke me
2220#endif
2221
2222int
2223main ()
2224{
2225return $2 ();
2226  ;
2227  return 0;
2228}
2229_ACEOF
2230if ac_fn_c_try_link "$LINENO"; then :
2231  eval "$3=yes"
2232else
2233  eval "$3=no"
2234fi
2235rm -f core conftest.err conftest.$ac_objext \
2236    conftest$ac_exeext conftest.$ac_ext
2237fi
2238eval ac_res=\$$3
2239	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240$as_echo "$ac_res" >&6; }
2241  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242
2243} # ac_fn_c_check_func
2244
2245# ac_fn_cxx_try_cpp LINENO
2246# ------------------------
2247# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2248ac_fn_cxx_try_cpp ()
2249{
2250  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251  if { { ac_try="$ac_cpp conftest.$ac_ext"
2252case "(($ac_try" in
2253  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254  *) ac_try_echo=$ac_try;;
2255esac
2256eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257$as_echo "$ac_try_echo"; } >&5
2258  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2259  ac_status=$?
2260  if test -s conftest.err; then
2261    grep -v '^ *+' conftest.err >conftest.er1
2262    cat conftest.er1 >&5
2263    mv -f conftest.er1 conftest.err
2264  fi
2265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266  test $ac_status = 0; } > conftest.i && {
2267	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2268	 test ! -s conftest.err
2269       }; then :
2270  ac_retval=0
2271else
2272  $as_echo "$as_me: failed program was:" >&5
2273sed 's/^/| /' conftest.$ac_ext >&5
2274
2275    ac_retval=1
2276fi
2277  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278  as_fn_set_status $ac_retval
2279
2280} # ac_fn_cxx_try_cpp
2281
2282# ac_fn_cxx_try_link LINENO
2283# -------------------------
2284# Try to link conftest.$ac_ext, and return whether this succeeded.
2285ac_fn_cxx_try_link ()
2286{
2287  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288  rm -f conftest.$ac_objext conftest$ac_exeext
2289  if { { ac_try="$ac_link"
2290case "(($ac_try" in
2291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292  *) ac_try_echo=$ac_try;;
2293esac
2294eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295$as_echo "$ac_try_echo"; } >&5
2296  (eval "$ac_link") 2>conftest.err
2297  ac_status=$?
2298  if test -s conftest.err; then
2299    grep -v '^ *+' conftest.err >conftest.er1
2300    cat conftest.er1 >&5
2301    mv -f conftest.er1 conftest.err
2302  fi
2303  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304  test $ac_status = 0; } && {
2305	 test -z "$ac_cxx_werror_flag" ||
2306	 test ! -s conftest.err
2307       } && test -s conftest$ac_exeext && {
2308	 test "$cross_compiling" = yes ||
2309	 test -x conftest$ac_exeext
2310       }; then :
2311  ac_retval=0
2312else
2313  $as_echo "$as_me: failed program was:" >&5
2314sed 's/^/| /' conftest.$ac_ext >&5
2315
2316	ac_retval=1
2317fi
2318  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2319  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2320  # interfere with the next link command; also delete a directory that is
2321  # left behind by Apple's compiler.  We do this before executing the actions.
2322  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2323  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324  as_fn_set_status $ac_retval
2325
2326} # ac_fn_cxx_try_link
2327
2328# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2329# -------------------------------------------------------
2330# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2331# the include files in INCLUDES and setting the cache variable VAR
2332# accordingly.
2333ac_fn_c_check_header_mongrel ()
2334{
2335  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336  if eval \${$3+:} false; then :
2337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2338$as_echo_n "checking for $2... " >&6; }
2339if eval \${$3+:} false; then :
2340  $as_echo_n "(cached) " >&6
2341fi
2342eval ac_res=\$$3
2343	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2344$as_echo "$ac_res" >&6; }
2345else
2346  # Is the header compilable?
2347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2348$as_echo_n "checking $2 usability... " >&6; }
2349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350/* end confdefs.h.  */
2351$4
2352#include <$2>
2353_ACEOF
2354if ac_fn_c_try_compile "$LINENO"; then :
2355  ac_header_compiler=yes
2356else
2357  ac_header_compiler=no
2358fi
2359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2361$as_echo "$ac_header_compiler" >&6; }
2362
2363# Is the header present?
2364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2365$as_echo_n "checking $2 presence... " >&6; }
2366cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367/* end confdefs.h.  */
2368#include <$2>
2369_ACEOF
2370if ac_fn_c_try_cpp "$LINENO"; then :
2371  ac_header_preproc=yes
2372else
2373  ac_header_preproc=no
2374fi
2375rm -f conftest.err conftest.i conftest.$ac_ext
2376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2377$as_echo "$ac_header_preproc" >&6; }
2378
2379# So?  What about this header?
2380case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2381  yes:no: )
2382    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2383$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2384    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2385$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2386    ;;
2387  no:yes:* )
2388    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2389$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2390    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2391$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2392    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2393$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2394    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2395$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2396    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2397$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2398( $as_echo "## ------------------------------------- ##
2399## Report this to joachim.metz@gmail.com ##
2400## ------------------------------------- ##"
2401     ) | sed "s/^/$as_me: WARNING:     /" >&2
2402    ;;
2403esac
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2405$as_echo_n "checking for $2... " >&6; }
2406if eval \${$3+:} false; then :
2407  $as_echo_n "(cached) " >&6
2408else
2409  eval "$3=\$ac_header_compiler"
2410fi
2411eval ac_res=\$$3
2412	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2413$as_echo "$ac_res" >&6; }
2414fi
2415  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2416
2417} # ac_fn_c_check_header_mongrel
2418
2419# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2420# -------------------------------------------
2421# Tests whether TYPE exists after having included INCLUDES, setting cache
2422# variable VAR accordingly.
2423ac_fn_c_check_type ()
2424{
2425  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2426  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2427$as_echo_n "checking for $2... " >&6; }
2428if eval \${$3+:} false; then :
2429  $as_echo_n "(cached) " >&6
2430else
2431  eval "$3=no"
2432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433/* end confdefs.h.  */
2434$4
2435int
2436main ()
2437{
2438if (sizeof ($2))
2439	 return 0;
2440  ;
2441  return 0;
2442}
2443_ACEOF
2444if ac_fn_c_try_compile "$LINENO"; then :
2445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446/* end confdefs.h.  */
2447$4
2448int
2449main ()
2450{
2451if (sizeof (($2)))
2452	    return 0;
2453  ;
2454  return 0;
2455}
2456_ACEOF
2457if ac_fn_c_try_compile "$LINENO"; then :
2458
2459else
2460  eval "$3=yes"
2461fi
2462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463fi
2464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465fi
2466eval ac_res=\$$3
2467	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468$as_echo "$ac_res" >&6; }
2469  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2470
2471} # ac_fn_c_check_type
2472
2473# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2474# --------------------------------------------
2475# Tries to find the compile-time value of EXPR in a program that includes
2476# INCLUDES, setting VAR accordingly. Returns whether the value could be
2477# computed
2478ac_fn_c_compute_int ()
2479{
2480  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2481  if test "$cross_compiling" = yes; then
2482    # Depending upon the size, compute the lo and hi bounds.
2483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2484/* end confdefs.h.  */
2485$4
2486int
2487main ()
2488{
2489static int test_array [1 - 2 * !(($2) >= 0)];
2490test_array [0] = 0;
2491return test_array [0];
2492
2493  ;
2494  return 0;
2495}
2496_ACEOF
2497if ac_fn_c_try_compile "$LINENO"; then :
2498  ac_lo=0 ac_mid=0
2499  while :; do
2500    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501/* end confdefs.h.  */
2502$4
2503int
2504main ()
2505{
2506static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2507test_array [0] = 0;
2508return test_array [0];
2509
2510  ;
2511  return 0;
2512}
2513_ACEOF
2514if ac_fn_c_try_compile "$LINENO"; then :
2515  ac_hi=$ac_mid; break
2516else
2517  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2518			if test $ac_lo -le $ac_mid; then
2519			  ac_lo= ac_hi=
2520			  break
2521			fi
2522			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2523fi
2524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2525  done
2526else
2527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528/* end confdefs.h.  */
2529$4
2530int
2531main ()
2532{
2533static int test_array [1 - 2 * !(($2) < 0)];
2534test_array [0] = 0;
2535return test_array [0];
2536
2537  ;
2538  return 0;
2539}
2540_ACEOF
2541if ac_fn_c_try_compile "$LINENO"; then :
2542  ac_hi=-1 ac_mid=-1
2543  while :; do
2544    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545/* end confdefs.h.  */
2546$4
2547int
2548main ()
2549{
2550static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2551test_array [0] = 0;
2552return test_array [0];
2553
2554  ;
2555  return 0;
2556}
2557_ACEOF
2558if ac_fn_c_try_compile "$LINENO"; then :
2559  ac_lo=$ac_mid; break
2560else
2561  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2562			if test $ac_mid -le $ac_hi; then
2563			  ac_lo= ac_hi=
2564			  break
2565			fi
2566			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2567fi
2568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569  done
2570else
2571  ac_lo= ac_hi=
2572fi
2573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2574fi
2575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576# Binary search between lo and hi bounds.
2577while test "x$ac_lo" != "x$ac_hi"; do
2578  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580/* end confdefs.h.  */
2581$4
2582int
2583main ()
2584{
2585static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2586test_array [0] = 0;
2587return test_array [0];
2588
2589  ;
2590  return 0;
2591}
2592_ACEOF
2593if ac_fn_c_try_compile "$LINENO"; then :
2594  ac_hi=$ac_mid
2595else
2596  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2597fi
2598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599done
2600case $ac_lo in #((
2601?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2602'') ac_retval=1 ;;
2603esac
2604  else
2605    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606/* end confdefs.h.  */
2607$4
2608static long int longval () { return $2; }
2609static unsigned long int ulongval () { return $2; }
2610#include <stdio.h>
2611#include <stdlib.h>
2612int
2613main ()
2614{
2615
2616  FILE *f = fopen ("conftest.val", "w");
2617  if (! f)
2618    return 1;
2619  if (($2) < 0)
2620    {
2621      long int i = longval ();
2622      if (i != ($2))
2623	return 1;
2624      fprintf (f, "%ld", i);
2625    }
2626  else
2627    {
2628      unsigned long int i = ulongval ();
2629      if (i != ($2))
2630	return 1;
2631      fprintf (f, "%lu", i);
2632    }
2633  /* Do not output a trailing newline, as this causes \r\n confusion
2634     on some platforms.  */
2635  return ferror (f) || fclose (f) != 0;
2636
2637  ;
2638  return 0;
2639}
2640_ACEOF
2641if ac_fn_c_try_run "$LINENO"; then :
2642  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2643else
2644  ac_retval=1
2645fi
2646rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2647  conftest.$ac_objext conftest.beam conftest.$ac_ext
2648rm -f conftest.val
2649
2650  fi
2651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652  as_fn_set_status $ac_retval
2653
2654} # ac_fn_c_compute_int
2655
2656# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2657# ---------------------------------------------
2658# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2659# accordingly.
2660ac_fn_c_check_decl ()
2661{
2662  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663  as_decl_name=`echo $2|sed 's/ *(.*//'`
2664  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2666$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2667if eval \${$3+:} false; then :
2668  $as_echo_n "(cached) " >&6
2669else
2670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671/* end confdefs.h.  */
2672$4
2673int
2674main ()
2675{
2676#ifndef $as_decl_name
2677#ifdef __cplusplus
2678  (void) $as_decl_use;
2679#else
2680  (void) $as_decl_name;
2681#endif
2682#endif
2683
2684  ;
2685  return 0;
2686}
2687_ACEOF
2688if ac_fn_c_try_compile "$LINENO"; then :
2689  eval "$3=yes"
2690else
2691  eval "$3=no"
2692fi
2693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694fi
2695eval ac_res=\$$3
2696	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2697$as_echo "$ac_res" >&6; }
2698  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699
2700} # ac_fn_c_check_decl
2701cat >config.log <<_ACEOF
2702This file contains any messages produced by compilers while
2703running configure, to aid debugging if configure makes a mistake.
2704
2705It was created by libcreg $as_me 20210502, which was
2706generated by GNU Autoconf 2.69.  Invocation command line was
2707
2708  $ $0 $@
2709
2710_ACEOF
2711exec 5>>config.log
2712{
2713cat <<_ASUNAME
2714## --------- ##
2715## Platform. ##
2716## --------- ##
2717
2718hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2719uname -m = `(uname -m) 2>/dev/null || echo unknown`
2720uname -r = `(uname -r) 2>/dev/null || echo unknown`
2721uname -s = `(uname -s) 2>/dev/null || echo unknown`
2722uname -v = `(uname -v) 2>/dev/null || echo unknown`
2723
2724/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2725/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2726
2727/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2728/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2729/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2730/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2731/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2732/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2733/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2734
2735_ASUNAME
2736
2737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738for as_dir in $PATH
2739do
2740  IFS=$as_save_IFS
2741  test -z "$as_dir" && as_dir=.
2742    $as_echo "PATH: $as_dir"
2743  done
2744IFS=$as_save_IFS
2745
2746} >&5
2747
2748cat >&5 <<_ACEOF
2749
2750
2751## ----------- ##
2752## Core tests. ##
2753## ----------- ##
2754
2755_ACEOF
2756
2757
2758# Keep a trace of the command line.
2759# Strip out --no-create and --no-recursion so they do not pile up.
2760# Strip out --silent because we don't want to record it for future runs.
2761# Also quote any args containing shell meta-characters.
2762# Make two passes to allow for proper duplicate-argument suppression.
2763ac_configure_args=
2764ac_configure_args0=
2765ac_configure_args1=
2766ac_must_keep_next=false
2767for ac_pass in 1 2
2768do
2769  for ac_arg
2770  do
2771    case $ac_arg in
2772    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2773    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2774    | -silent | --silent | --silen | --sile | --sil)
2775      continue ;;
2776    *\'*)
2777      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2778    esac
2779    case $ac_pass in
2780    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2781    2)
2782      as_fn_append ac_configure_args1 " '$ac_arg'"
2783      if test $ac_must_keep_next = true; then
2784	ac_must_keep_next=false # Got value, back to normal.
2785      else
2786	case $ac_arg in
2787	  *=* | --config-cache | -C | -disable-* | --disable-* \
2788	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2789	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2790	  | -with-* | --with-* | -without-* | --without-* | --x)
2791	    case "$ac_configure_args0 " in
2792	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2793	    esac
2794	    ;;
2795	  -* ) ac_must_keep_next=true ;;
2796	esac
2797      fi
2798      as_fn_append ac_configure_args " '$ac_arg'"
2799      ;;
2800    esac
2801  done
2802done
2803{ ac_configure_args0=; unset ac_configure_args0;}
2804{ ac_configure_args1=; unset ac_configure_args1;}
2805
2806# When interrupted or exit'd, cleanup temporary files, and complete
2807# config.log.  We remove comments because anyway the quotes in there
2808# would cause problems or look ugly.
2809# WARNING: Use '\'' to represent an apostrophe within the trap.
2810# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2811trap 'exit_status=$?
2812  # Save into config.log some information that might help in debugging.
2813  {
2814    echo
2815
2816    $as_echo "## ---------------- ##
2817## Cache variables. ##
2818## ---------------- ##"
2819    echo
2820    # The following way of writing the cache mishandles newlines in values,
2821(
2822  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2823    eval ac_val=\$$ac_var
2824    case $ac_val in #(
2825    *${as_nl}*)
2826      case $ac_var in #(
2827      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2828$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2829      esac
2830      case $ac_var in #(
2831      _ | IFS | as_nl) ;; #(
2832      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2833      *) { eval $ac_var=; unset $ac_var;} ;;
2834      esac ;;
2835    esac
2836  done
2837  (set) 2>&1 |
2838    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2839    *${as_nl}ac_space=\ *)
2840      sed -n \
2841	"s/'\''/'\''\\\\'\'''\''/g;
2842	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2843      ;; #(
2844    *)
2845      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2846      ;;
2847    esac |
2848    sort
2849)
2850    echo
2851
2852    $as_echo "## ----------------- ##
2853## Output variables. ##
2854## ----------------- ##"
2855    echo
2856    for ac_var in $ac_subst_vars
2857    do
2858      eval ac_val=\$$ac_var
2859      case $ac_val in
2860      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2861      esac
2862      $as_echo "$ac_var='\''$ac_val'\''"
2863    done | sort
2864    echo
2865
2866    if test -n "$ac_subst_files"; then
2867      $as_echo "## ------------------- ##
2868## File substitutions. ##
2869## ------------------- ##"
2870      echo
2871      for ac_var in $ac_subst_files
2872      do
2873	eval ac_val=\$$ac_var
2874	case $ac_val in
2875	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2876	esac
2877	$as_echo "$ac_var='\''$ac_val'\''"
2878      done | sort
2879      echo
2880    fi
2881
2882    if test -s confdefs.h; then
2883      $as_echo "## ----------- ##
2884## confdefs.h. ##
2885## ----------- ##"
2886      echo
2887      cat confdefs.h
2888      echo
2889    fi
2890    test "$ac_signal" != 0 &&
2891      $as_echo "$as_me: caught signal $ac_signal"
2892    $as_echo "$as_me: exit $exit_status"
2893  } >&5
2894  rm -f core *.core core.conftest.* &&
2895    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2896    exit $exit_status
2897' 0
2898for ac_signal in 1 2 13 15; do
2899  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2900done
2901ac_signal=0
2902
2903# confdefs.h avoids OS command line length limits that DEFS can exceed.
2904rm -f -r conftest* confdefs.h
2905
2906$as_echo "/* confdefs.h */" > confdefs.h
2907
2908# Predefined preprocessor variables.
2909
2910cat >>confdefs.h <<_ACEOF
2911#define PACKAGE_NAME "$PACKAGE_NAME"
2912_ACEOF
2913
2914cat >>confdefs.h <<_ACEOF
2915#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2916_ACEOF
2917
2918cat >>confdefs.h <<_ACEOF
2919#define PACKAGE_VERSION "$PACKAGE_VERSION"
2920_ACEOF
2921
2922cat >>confdefs.h <<_ACEOF
2923#define PACKAGE_STRING "$PACKAGE_STRING"
2924_ACEOF
2925
2926cat >>confdefs.h <<_ACEOF
2927#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2928_ACEOF
2929
2930cat >>confdefs.h <<_ACEOF
2931#define PACKAGE_URL "$PACKAGE_URL"
2932_ACEOF
2933
2934
2935# Let the site file select an alternate cache file if it wants to.
2936# Prefer an explicitly selected file to automatically selected ones.
2937ac_site_file1=NONE
2938ac_site_file2=NONE
2939if test -n "$CONFIG_SITE"; then
2940  # We do not want a PATH search for config.site.
2941  case $CONFIG_SITE in #((
2942    -*)  ac_site_file1=./$CONFIG_SITE;;
2943    */*) ac_site_file1=$CONFIG_SITE;;
2944    *)   ac_site_file1=./$CONFIG_SITE;;
2945  esac
2946elif test "x$prefix" != xNONE; then
2947  ac_site_file1=$prefix/share/config.site
2948  ac_site_file2=$prefix/etc/config.site
2949else
2950  ac_site_file1=$ac_default_prefix/share/config.site
2951  ac_site_file2=$ac_default_prefix/etc/config.site
2952fi
2953for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2954do
2955  test "x$ac_site_file" = xNONE && continue
2956  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2957    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2958$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2959    sed 's/^/| /' "$ac_site_file" >&5
2960    . "$ac_site_file" \
2961      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963as_fn_error $? "failed to load site script $ac_site_file
2964See \`config.log' for more details" "$LINENO" 5; }
2965  fi
2966done
2967
2968if test -r "$cache_file"; then
2969  # Some versions of bash will fail to source /dev/null (special files
2970  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2971  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2972    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2973$as_echo "$as_me: loading cache $cache_file" >&6;}
2974    case $cache_file in
2975      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2976      *)                      . "./$cache_file";;
2977    esac
2978  fi
2979else
2980  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2981$as_echo "$as_me: creating cache $cache_file" >&6;}
2982  >$cache_file
2983fi
2984
2985gt_needs="$gt_needs "
2986# Check that the precious variables saved in the cache have kept the same
2987# value.
2988ac_cache_corrupted=false
2989for ac_var in $ac_precious_vars; do
2990  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2991  eval ac_new_set=\$ac_env_${ac_var}_set
2992  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2993  eval ac_new_val=\$ac_env_${ac_var}_value
2994  case $ac_old_set,$ac_new_set in
2995    set,)
2996      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2997$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2998      ac_cache_corrupted=: ;;
2999    ,set)
3000      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3001$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3002      ac_cache_corrupted=: ;;
3003    ,);;
3004    *)
3005      if test "x$ac_old_val" != "x$ac_new_val"; then
3006	# differences in whitespace do not lead to failure.
3007	ac_old_val_w=`echo x $ac_old_val`
3008	ac_new_val_w=`echo x $ac_new_val`
3009	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3010	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3011$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3012	  ac_cache_corrupted=:
3013	else
3014	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3015$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3016	  eval $ac_var=\$ac_old_val
3017	fi
3018	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3019$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3020	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3021$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3022      fi;;
3023  esac
3024  # Pass precious variables to config.status.
3025  if test "$ac_new_set" = set; then
3026    case $ac_new_val in
3027    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3028    *) ac_arg=$ac_var=$ac_new_val ;;
3029    esac
3030    case " $ac_configure_args " in
3031      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3032      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3033    esac
3034  fi
3035done
3036if $ac_cache_corrupted; then
3037  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3039  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3040$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3041  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3042fi
3043## -------------------- ##
3044## Main body of script. ##
3045## -------------------- ##
3046
3047ac_ext=c
3048ac_cpp='$CPP $CPPFLAGS'
3049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3051ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052
3053
3054
3055
3056
3057am__api_version='1.16'
3058
3059ac_aux_dir=
3060for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3061  if test -f "$ac_dir/install-sh"; then
3062    ac_aux_dir=$ac_dir
3063    ac_install_sh="$ac_aux_dir/install-sh -c"
3064    break
3065  elif test -f "$ac_dir/install.sh"; then
3066    ac_aux_dir=$ac_dir
3067    ac_install_sh="$ac_aux_dir/install.sh -c"
3068    break
3069  elif test -f "$ac_dir/shtool"; then
3070    ac_aux_dir=$ac_dir
3071    ac_install_sh="$ac_aux_dir/shtool install -c"
3072    break
3073  fi
3074done
3075if test -z "$ac_aux_dir"; then
3076  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3077fi
3078
3079# These three variables are undocumented and unsupported,
3080# and are intended to be withdrawn in a future Autoconf release.
3081# They can cause serious problems if a builder's source tree is in a directory
3082# whose full name contains unusual characters.
3083ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3084ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3085ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3086
3087
3088# Find a good install program.  We prefer a C program (faster),
3089# so one script is as good as another.  But avoid the broken or
3090# incompatible versions:
3091# SysV /etc/install, /usr/sbin/install
3092# SunOS /usr/etc/install
3093# IRIX /sbin/install
3094# AIX /bin/install
3095# AmigaOS /C/install, which installs bootblocks on floppy discs
3096# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3097# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3098# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3099# OS/2's system install, which has a completely different semantic
3100# ./install, which can be erroneously created by make from ./install.sh.
3101# Reject install programs that cannot install multiple files.
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3103$as_echo_n "checking for a BSD-compatible install... " >&6; }
3104if test -z "$INSTALL"; then
3105if ${ac_cv_path_install+:} false; then :
3106  $as_echo_n "(cached) " >&6
3107else
3108  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109for as_dir in $PATH
3110do
3111  IFS=$as_save_IFS
3112  test -z "$as_dir" && as_dir=.
3113    # Account for people who put trailing slashes in PATH elements.
3114case $as_dir/ in #((
3115  ./ | .// | /[cC]/* | \
3116  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3117  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3118  /usr/ucb/* ) ;;
3119  *)
3120    # OSF1 and SCO ODT 3.0 have their own names for install.
3121    # Don't use installbsd from OSF since it installs stuff as root
3122    # by default.
3123    for ac_prog in ginstall scoinst install; do
3124      for ac_exec_ext in '' $ac_executable_extensions; do
3125	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3126	  if test $ac_prog = install &&
3127	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128	    # AIX install.  It has an incompatible calling convention.
3129	    :
3130	  elif test $ac_prog = install &&
3131	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3132	    # program-specific install script used by HP pwplus--don't use.
3133	    :
3134	  else
3135	    rm -rf conftest.one conftest.two conftest.dir
3136	    echo one > conftest.one
3137	    echo two > conftest.two
3138	    mkdir conftest.dir
3139	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3140	      test -s conftest.one && test -s conftest.two &&
3141	      test -s conftest.dir/conftest.one &&
3142	      test -s conftest.dir/conftest.two
3143	    then
3144	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3145	      break 3
3146	    fi
3147	  fi
3148	fi
3149      done
3150    done
3151    ;;
3152esac
3153
3154  done
3155IFS=$as_save_IFS
3156
3157rm -rf conftest.one conftest.two conftest.dir
3158
3159fi
3160  if test "${ac_cv_path_install+set}" = set; then
3161    INSTALL=$ac_cv_path_install
3162  else
3163    # As a last resort, use the slow shell script.  Don't cache a
3164    # value for INSTALL within a source directory, because that will
3165    # break other packages using the cache if that directory is
3166    # removed, or if the value is a relative name.
3167    INSTALL=$ac_install_sh
3168  fi
3169fi
3170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3171$as_echo "$INSTALL" >&6; }
3172
3173# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3174# It thinks the first close brace ends the variable substitution.
3175test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3176
3177test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3178
3179test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3180
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3182$as_echo_n "checking whether build environment is sane... " >&6; }
3183# Reject unsafe characters in $srcdir or the absolute working directory
3184# name.  Accept space and tab only in the latter.
3185am_lf='
3186'
3187case `pwd` in
3188  *[\\\"\#\$\&\'\`$am_lf]*)
3189    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3190esac
3191case $srcdir in
3192  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3193    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3194esac
3195
3196# Do 'set' in a subshell so we don't clobber the current shell's
3197# arguments.  Must try -L first in case configure is actually a
3198# symlink; some systems play weird games with the mod time of symlinks
3199# (eg FreeBSD returns the mod time of the symlink's containing
3200# directory).
3201if (
3202   am_has_slept=no
3203   for am_try in 1 2; do
3204     echo "timestamp, slept: $am_has_slept" > conftest.file
3205     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3206     if test "$*" = "X"; then
3207	# -L didn't work.
3208	set X `ls -t "$srcdir/configure" conftest.file`
3209     fi
3210     if test "$*" != "X $srcdir/configure conftest.file" \
3211	&& test "$*" != "X conftest.file $srcdir/configure"; then
3212
3213	# If neither matched, then we have a broken ls.  This can happen
3214	# if, for instance, CONFIG_SHELL is bash and it inherits a
3215	# broken ls alias from the environment.  This has actually
3216	# happened.  Such a system could not be considered "sane".
3217	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3218  alias in your environment" "$LINENO" 5
3219     fi
3220     if test "$2" = conftest.file || test $am_try -eq 2; then
3221       break
3222     fi
3223     # Just in case.
3224     sleep 1
3225     am_has_slept=yes
3226   done
3227   test "$2" = conftest.file
3228   )
3229then
3230   # Ok.
3231   :
3232else
3233   as_fn_error $? "newly created file is older than distributed files!
3234Check your system clock" "$LINENO" 5
3235fi
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3237$as_echo "yes" >&6; }
3238# If we didn't sleep, we still need to ensure time stamps of config.status and
3239# generated files are strictly newer.
3240am_sleep_pid=
3241if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3242  ( sleep 1 ) &
3243  am_sleep_pid=$!
3244fi
3245
3246rm -f conftest.file
3247
3248test "$program_prefix" != NONE &&
3249  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3250# Use a double $ so make ignores it.
3251test "$program_suffix" != NONE &&
3252  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3253# Double any \ or $.
3254# By default was `s,x,x', remove it if useless.
3255ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3256program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3257
3258# Expand $ac_aux_dir to an absolute path.
3259am_aux_dir=`cd "$ac_aux_dir" && pwd`
3260
3261if test x"${MISSING+set}" != xset; then
3262  case $am_aux_dir in
3263  *\ * | *\	*)
3264    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3265  *)
3266    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3267  esac
3268fi
3269# Use eval to expand $SHELL
3270if eval "$MISSING --is-lightweight"; then
3271  am_missing_run="$MISSING "
3272else
3273  am_missing_run=
3274  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3275$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3276fi
3277
3278if test x"${install_sh+set}" != xset; then
3279  case $am_aux_dir in
3280  *\ * | *\	*)
3281    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3282  *)
3283    install_sh="\${SHELL} $am_aux_dir/install-sh"
3284  esac
3285fi
3286
3287# Installed binaries are usually stripped using 'strip' when the user
3288# run "make install-strip".  However 'strip' might not be the right
3289# tool to use in cross-compilation environments, therefore Automake
3290# will honor the 'STRIP' environment variable to overrule this program.
3291if test "$cross_compiling" != no; then
3292  if test -n "$ac_tool_prefix"; then
3293  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3294set dummy ${ac_tool_prefix}strip; ac_word=$2
3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296$as_echo_n "checking for $ac_word... " >&6; }
3297if ${ac_cv_prog_STRIP+:} false; then :
3298  $as_echo_n "(cached) " >&6
3299else
3300  if test -n "$STRIP"; then
3301  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3302else
3303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304for as_dir in $PATH
3305do
3306  IFS=$as_save_IFS
3307  test -z "$as_dir" && as_dir=.
3308    for ac_exec_ext in '' $ac_executable_extensions; do
3309  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312    break 2
3313  fi
3314done
3315  done
3316IFS=$as_save_IFS
3317
3318fi
3319fi
3320STRIP=$ac_cv_prog_STRIP
3321if test -n "$STRIP"; then
3322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3323$as_echo "$STRIP" >&6; }
3324else
3325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326$as_echo "no" >&6; }
3327fi
3328
3329
3330fi
3331if test -z "$ac_cv_prog_STRIP"; then
3332  ac_ct_STRIP=$STRIP
3333  # Extract the first word of "strip", so it can be a program name with args.
3334set dummy strip; ac_word=$2
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336$as_echo_n "checking for $ac_word... " >&6; }
3337if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3338  $as_echo_n "(cached) " >&6
3339else
3340  if test -n "$ac_ct_STRIP"; then
3341  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3342else
3343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344for as_dir in $PATH
3345do
3346  IFS=$as_save_IFS
3347  test -z "$as_dir" && as_dir=.
3348    for ac_exec_ext in '' $ac_executable_extensions; do
3349  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350    ac_cv_prog_ac_ct_STRIP="strip"
3351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352    break 2
3353  fi
3354done
3355  done
3356IFS=$as_save_IFS
3357
3358fi
3359fi
3360ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3361if test -n "$ac_ct_STRIP"; then
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3363$as_echo "$ac_ct_STRIP" >&6; }
3364else
3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366$as_echo "no" >&6; }
3367fi
3368
3369  if test "x$ac_ct_STRIP" = x; then
3370    STRIP=":"
3371  else
3372    case $cross_compiling:$ac_tool_warned in
3373yes:)
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376ac_tool_warned=yes ;;
3377esac
3378    STRIP=$ac_ct_STRIP
3379  fi
3380else
3381  STRIP="$ac_cv_prog_STRIP"
3382fi
3383
3384fi
3385INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3386
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3388$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3389if test -z "$MKDIR_P"; then
3390  if ${ac_cv_path_mkdir+:} false; then :
3391  $as_echo_n "(cached) " >&6
3392else
3393  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3395do
3396  IFS=$as_save_IFS
3397  test -z "$as_dir" && as_dir=.
3398    for ac_prog in mkdir gmkdir; do
3399	 for ac_exec_ext in '' $ac_executable_extensions; do
3400	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3401	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3402	     'mkdir (GNU coreutils) '* | \
3403	     'mkdir (coreutils) '* | \
3404	     'mkdir (fileutils) '4.1*)
3405	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3406	       break 3;;
3407	   esac
3408	 done
3409       done
3410  done
3411IFS=$as_save_IFS
3412
3413fi
3414
3415  test -d ./--version && rmdir ./--version
3416  if test "${ac_cv_path_mkdir+set}" = set; then
3417    MKDIR_P="$ac_cv_path_mkdir -p"
3418  else
3419    # As a last resort, use the slow shell script.  Don't cache a
3420    # value for MKDIR_P within a source directory, because that will
3421    # break other packages using the cache if that directory is
3422    # removed, or if the value is a relative name.
3423    MKDIR_P="$ac_install_sh -d"
3424  fi
3425fi
3426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3427$as_echo "$MKDIR_P" >&6; }
3428
3429for ac_prog in gawk mawk nawk awk
3430do
3431  # Extract the first word of "$ac_prog", so it can be a program name with args.
3432set dummy $ac_prog; ac_word=$2
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434$as_echo_n "checking for $ac_word... " >&6; }
3435if ${ac_cv_prog_AWK+:} false; then :
3436  $as_echo_n "(cached) " >&6
3437else
3438  if test -n "$AWK"; then
3439  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3440else
3441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442for as_dir in $PATH
3443do
3444  IFS=$as_save_IFS
3445  test -z "$as_dir" && as_dir=.
3446    for ac_exec_ext in '' $ac_executable_extensions; do
3447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448    ac_cv_prog_AWK="$ac_prog"
3449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450    break 2
3451  fi
3452done
3453  done
3454IFS=$as_save_IFS
3455
3456fi
3457fi
3458AWK=$ac_cv_prog_AWK
3459if test -n "$AWK"; then
3460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3461$as_echo "$AWK" >&6; }
3462else
3463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464$as_echo "no" >&6; }
3465fi
3466
3467
3468  test -n "$AWK" && break
3469done
3470
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3473set x ${MAKE-make}
3474ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3476  $as_echo_n "(cached) " >&6
3477else
3478  cat >conftest.make <<\_ACEOF
3479SHELL = /bin/sh
3480all:
3481	@echo '@@@%%%=$(MAKE)=@@@%%%'
3482_ACEOF
3483# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3484case `${MAKE-make} -f conftest.make 2>/dev/null` in
3485  *@@@%%%=?*=@@@%%%*)
3486    eval ac_cv_prog_make_${ac_make}_set=yes;;
3487  *)
3488    eval ac_cv_prog_make_${ac_make}_set=no;;
3489esac
3490rm -f conftest.make
3491fi
3492if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494$as_echo "yes" >&6; }
3495  SET_MAKE=
3496else
3497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498$as_echo "no" >&6; }
3499  SET_MAKE="MAKE=${MAKE-make}"
3500fi
3501
3502rm -rf .tst 2>/dev/null
3503mkdir .tst 2>/dev/null
3504if test -d .tst; then
3505  am__leading_dot=.
3506else
3507  am__leading_dot=_
3508fi
3509rmdir .tst 2>/dev/null
3510
3511# Check whether --enable-silent-rules was given.
3512if test "${enable_silent_rules+set}" = set; then :
3513  enableval=$enable_silent_rules;
3514fi
3515
3516case $enable_silent_rules in # (((
3517  yes) AM_DEFAULT_VERBOSITY=0;;
3518   no) AM_DEFAULT_VERBOSITY=1;;
3519    *) AM_DEFAULT_VERBOSITY=1;;
3520esac
3521am_make=${MAKE-make}
3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3523$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3524if ${am_cv_make_support_nested_variables+:} false; then :
3525  $as_echo_n "(cached) " >&6
3526else
3527  if $as_echo 'TRUE=$(BAR$(V))
3528BAR0=false
3529BAR1=true
3530V=1
3531am__doit:
3532	@$(TRUE)
3533.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3534  am_cv_make_support_nested_variables=yes
3535else
3536  am_cv_make_support_nested_variables=no
3537fi
3538fi
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3540$as_echo "$am_cv_make_support_nested_variables" >&6; }
3541if test $am_cv_make_support_nested_variables = yes; then
3542    AM_V='$(V)'
3543  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3544else
3545  AM_V=$AM_DEFAULT_VERBOSITY
3546  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3547fi
3548AM_BACKSLASH='\'
3549
3550if test "`cd $srcdir && pwd`" != "`pwd`"; then
3551  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3552  # is not polluted with repeated "-I."
3553  am__isrc=' -I$(srcdir)'
3554  # test to see if srcdir already configured
3555  if test -f $srcdir/config.status; then
3556    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3557  fi
3558fi
3559
3560# test whether we have cygpath
3561if test -z "$CYGPATH_W"; then
3562  if (cygpath --version) >/dev/null 2>/dev/null; then
3563    CYGPATH_W='cygpath -w'
3564  else
3565    CYGPATH_W=echo
3566  fi
3567fi
3568
3569
3570# Define the identity of the package.
3571 PACKAGE='libcreg'
3572 VERSION='20210502'
3573
3574
3575cat >>confdefs.h <<_ACEOF
3576#define PACKAGE "$PACKAGE"
3577_ACEOF
3578
3579
3580cat >>confdefs.h <<_ACEOF
3581#define VERSION "$VERSION"
3582_ACEOF
3583
3584# Some tools Automake needs.
3585
3586ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3587
3588
3589AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3590
3591
3592AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3593
3594
3595AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3596
3597
3598MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3599
3600# For better backward compatibility.  To be removed once Automake 1.9.x
3601# dies out for good.  For more background, see:
3602# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3603# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3604mkdir_p='$(MKDIR_P)'
3605
3606# We need awk for the "check" target (and possibly the TAP driver).  The
3607# system "awk" is bad on some platforms.
3608# Always define AMTAR for backward compatibility.  Yes, it's still used
3609# in the wild :-(  We should find a proper way to deprecate it ...
3610AMTAR='$${TAR-tar}'
3611
3612
3613# We'll loop over all known methods to create a tar archive until one works.
3614_am_tools='gnutar plaintar pax cpio none'
3615
3616# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3617      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3618      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3619      # and bug#13588).
3620      am_max_uid=2097151 # 2^21 - 1
3621      am_max_gid=$am_max_uid
3622      # The $UID and $GID variables are not portable, so we need to resort
3623      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3624      # below are definitely unexpected, so allow the users to see them
3625      # (that is, avoid stderr redirection).
3626      am_uid=`id -u || echo unknown`
3627      am_gid=`id -g || echo unknown`
3628      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3629$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3630      if test $am_uid -le $am_max_uid; then
3631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3632$as_echo "yes" >&6; }
3633      else
3634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635$as_echo "no" >&6; }
3636         _am_tools=none
3637      fi
3638      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3639$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3640      if test $am_gid -le $am_max_gid; then
3641         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3642$as_echo "yes" >&6; }
3643      else
3644        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645$as_echo "no" >&6; }
3646        _am_tools=none
3647      fi
3648
3649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3650$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3651
3652  # Go ahead even if we have the value already cached.  We do so because we
3653  # need to set the values for the 'am__tar' and 'am__untar' variables.
3654  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3655
3656  for _am_tool in $_am_tools; do
3657    case $_am_tool in
3658    gnutar)
3659      for _am_tar in tar gnutar gtar; do
3660        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3661   ($_am_tar --version) >&5 2>&5
3662   ac_status=$?
3663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664   (exit $ac_status); } && break
3665      done
3666      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3667      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3668      am__untar="$_am_tar -xf -"
3669      ;;
3670    plaintar)
3671      # Must skip GNU tar: if it does not support --format= it doesn't create
3672      # ustar tarball either.
3673      (tar --version) >/dev/null 2>&1 && continue
3674      am__tar='tar chf - "$$tardir"'
3675      am__tar_='tar chf - "$tardir"'
3676      am__untar='tar xf -'
3677      ;;
3678    pax)
3679      am__tar='pax -L -x ustar -w "$$tardir"'
3680      am__tar_='pax -L -x ustar -w "$tardir"'
3681      am__untar='pax -r'
3682      ;;
3683    cpio)
3684      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3685      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3686      am__untar='cpio -i -H ustar -d'
3687      ;;
3688    none)
3689      am__tar=false
3690      am__tar_=false
3691      am__untar=false
3692      ;;
3693    esac
3694
3695    # If the value was cached, stop now.  We just wanted to have am__tar
3696    # and am__untar set.
3697    test -n "${am_cv_prog_tar_ustar}" && break
3698
3699    # tar/untar a dummy directory, and stop if the command works.
3700    rm -rf conftest.dir
3701    mkdir conftest.dir
3702    echo GrepMe > conftest.dir/file
3703    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3704   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3705   ac_status=$?
3706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707   (exit $ac_status); }
3708    rm -rf conftest.dir
3709    if test -s conftest.tar; then
3710      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3711   ($am__untar <conftest.tar) >&5 2>&5
3712   ac_status=$?
3713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714   (exit $ac_status); }
3715      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3716   (cat conftest.dir/file) >&5 2>&5
3717   ac_status=$?
3718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719   (exit $ac_status); }
3720      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3721    fi
3722  done
3723  rm -rf conftest.dir
3724
3725  if ${am_cv_prog_tar_ustar+:} false; then :
3726  $as_echo_n "(cached) " >&6
3727else
3728  am_cv_prog_tar_ustar=$_am_tool
3729fi
3730
3731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3732$as_echo "$am_cv_prog_tar_ustar" >&6; }
3733
3734
3735
3736
3737
3738
3739# POSIX will say in a future version that running "rm -f" with no argument
3740# is OK; and we want to be able to make that assumption in our Makefile
3741# recipes.  So use an aggressive probe to check that the usage we want is
3742# actually supported "in the wild" to an acceptable degree.
3743# See automake bug#10828.
3744# To make any issue more visible, cause the running configure to be aborted
3745# by default if the 'rm' program in use doesn't match our expectations; the
3746# user can still override this though.
3747if rm -f && rm -fr && rm -rf; then : OK; else
3748  cat >&2 <<'END'
3749Oops!
3750
3751Your 'rm' program seems unable to run without file operands specified
3752on the command line, even when the '-f' option is present.  This is contrary
3753to the behaviour of most rm programs out there, and not conforming with
3754the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3755
3756Please tell bug-automake@gnu.org about your system, including the value
3757of your $PATH and any error possibly output before this message.  This
3758can help us improve future automake versions.
3759
3760END
3761  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3762    echo 'Configuration will proceed anyway, since you have set the' >&2
3763    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3764    echo >&2
3765  else
3766    cat >&2 <<'END'
3767Aborting the configuration process, to ensure you take notice of the issue.
3768
3769You can download and install GNU coreutils to get an 'rm' implementation
3770that behaves properly: <https://www.gnu.org/software/coreutils/>.
3771
3772If you want to complete the configuration process using your problematic
3773'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3774to "yes", and re-run configure.
3775
3776END
3777    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3778  fi
3779fi
3780
3781
3782
3783
3784# Make sure we can run config.sub.
3785$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3786  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3787
3788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3789$as_echo_n "checking build system type... " >&6; }
3790if ${ac_cv_build+:} false; then :
3791  $as_echo_n "(cached) " >&6
3792else
3793  ac_build_alias=$build_alias
3794test "x$ac_build_alias" = x &&
3795  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3796test "x$ac_build_alias" = x &&
3797  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3798ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3799  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3800
3801fi
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3803$as_echo "$ac_cv_build" >&6; }
3804case $ac_cv_build in
3805*-*-*) ;;
3806*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3807esac
3808build=$ac_cv_build
3809ac_save_IFS=$IFS; IFS='-'
3810set x $ac_cv_build
3811shift
3812build_cpu=$1
3813build_vendor=$2
3814shift; shift
3815# Remember, the first character of IFS is used to create $*,
3816# except with old shells:
3817build_os=$*
3818IFS=$ac_save_IFS
3819case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3820
3821
3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3823$as_echo_n "checking host system type... " >&6; }
3824if ${ac_cv_host+:} false; then :
3825  $as_echo_n "(cached) " >&6
3826else
3827  if test "x$host_alias" = x; then
3828  ac_cv_host=$ac_cv_build
3829else
3830  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3831    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3832fi
3833
3834fi
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3836$as_echo "$ac_cv_host" >&6; }
3837case $ac_cv_host in
3838*-*-*) ;;
3839*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3840esac
3841host=$ac_cv_host
3842ac_save_IFS=$IFS; IFS='-'
3843set x $ac_cv_host
3844shift
3845host_cpu=$1
3846host_vendor=$2
3847shift; shift
3848# Remember, the first character of IFS is used to create $*,
3849# except with old shells:
3850host_os=$*
3851IFS=$ac_save_IFS
3852case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3853
3854
3855
3856enable_win32_dll=yes
3857
3858case $host in
3859*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3860  if test -n "$ac_tool_prefix"; then
3861  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3862set dummy ${ac_tool_prefix}as; ac_word=$2
3863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864$as_echo_n "checking for $ac_word... " >&6; }
3865if ${ac_cv_prog_AS+:} false; then :
3866  $as_echo_n "(cached) " >&6
3867else
3868  if test -n "$AS"; then
3869  ac_cv_prog_AS="$AS" # Let the user override the test.
3870else
3871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872for as_dir in $PATH
3873do
3874  IFS=$as_save_IFS
3875  test -z "$as_dir" && as_dir=.
3876    for ac_exec_ext in '' $ac_executable_extensions; do
3877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3878    ac_cv_prog_AS="${ac_tool_prefix}as"
3879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880    break 2
3881  fi
3882done
3883  done
3884IFS=$as_save_IFS
3885
3886fi
3887fi
3888AS=$ac_cv_prog_AS
3889if test -n "$AS"; then
3890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3891$as_echo "$AS" >&6; }
3892else
3893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894$as_echo "no" >&6; }
3895fi
3896
3897
3898fi
3899if test -z "$ac_cv_prog_AS"; then
3900  ac_ct_AS=$AS
3901  # Extract the first word of "as", so it can be a program name with args.
3902set dummy as; ac_word=$2
3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904$as_echo_n "checking for $ac_word... " >&6; }
3905if ${ac_cv_prog_ac_ct_AS+:} false; then :
3906  $as_echo_n "(cached) " >&6
3907else
3908  if test -n "$ac_ct_AS"; then
3909  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3910else
3911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912for as_dir in $PATH
3913do
3914  IFS=$as_save_IFS
3915  test -z "$as_dir" && as_dir=.
3916    for ac_exec_ext in '' $ac_executable_extensions; do
3917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918    ac_cv_prog_ac_ct_AS="as"
3919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920    break 2
3921  fi
3922done
3923  done
3924IFS=$as_save_IFS
3925
3926fi
3927fi
3928ac_ct_AS=$ac_cv_prog_ac_ct_AS
3929if test -n "$ac_ct_AS"; then
3930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3931$as_echo "$ac_ct_AS" >&6; }
3932else
3933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934$as_echo "no" >&6; }
3935fi
3936
3937  if test "x$ac_ct_AS" = x; then
3938    AS="false"
3939  else
3940    case $cross_compiling:$ac_tool_warned in
3941yes:)
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3943$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3944ac_tool_warned=yes ;;
3945esac
3946    AS=$ac_ct_AS
3947  fi
3948else
3949  AS="$ac_cv_prog_AS"
3950fi
3951
3952  if test -n "$ac_tool_prefix"; then
3953  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3954set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956$as_echo_n "checking for $ac_word... " >&6; }
3957if ${ac_cv_prog_DLLTOOL+:} false; then :
3958  $as_echo_n "(cached) " >&6
3959else
3960  if test -n "$DLLTOOL"; then
3961  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3962else
3963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH
3965do
3966  IFS=$as_save_IFS
3967  test -z "$as_dir" && as_dir=.
3968    for ac_exec_ext in '' $ac_executable_extensions; do
3969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972    break 2
3973  fi
3974done
3975  done
3976IFS=$as_save_IFS
3977
3978fi
3979fi
3980DLLTOOL=$ac_cv_prog_DLLTOOL
3981if test -n "$DLLTOOL"; then
3982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3983$as_echo "$DLLTOOL" >&6; }
3984else
3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986$as_echo "no" >&6; }
3987fi
3988
3989
3990fi
3991if test -z "$ac_cv_prog_DLLTOOL"; then
3992  ac_ct_DLLTOOL=$DLLTOOL
3993  # Extract the first word of "dlltool", so it can be a program name with args.
3994set dummy dlltool; ac_word=$2
3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996$as_echo_n "checking for $ac_word... " >&6; }
3997if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3998  $as_echo_n "(cached) " >&6
3999else
4000  if test -n "$ac_ct_DLLTOOL"; then
4001  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4002else
4003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004for as_dir in $PATH
4005do
4006  IFS=$as_save_IFS
4007  test -z "$as_dir" && as_dir=.
4008    for ac_exec_ext in '' $ac_executable_extensions; do
4009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012    break 2
4013  fi
4014done
4015  done
4016IFS=$as_save_IFS
4017
4018fi
4019fi
4020ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4021if test -n "$ac_ct_DLLTOOL"; then
4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4023$as_echo "$ac_ct_DLLTOOL" >&6; }
4024else
4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026$as_echo "no" >&6; }
4027fi
4028
4029  if test "x$ac_ct_DLLTOOL" = x; then
4030    DLLTOOL="false"
4031  else
4032    case $cross_compiling:$ac_tool_warned in
4033yes:)
4034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4036ac_tool_warned=yes ;;
4037esac
4038    DLLTOOL=$ac_ct_DLLTOOL
4039  fi
4040else
4041  DLLTOOL="$ac_cv_prog_DLLTOOL"
4042fi
4043
4044  if test -n "$ac_tool_prefix"; then
4045  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4046set dummy ${ac_tool_prefix}objdump; ac_word=$2
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048$as_echo_n "checking for $ac_word... " >&6; }
4049if ${ac_cv_prog_OBJDUMP+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test -n "$OBJDUMP"; then
4053  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4054else
4055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056for as_dir in $PATH
4057do
4058  IFS=$as_save_IFS
4059  test -z "$as_dir" && as_dir=.
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064    break 2
4065  fi
4066done
4067  done
4068IFS=$as_save_IFS
4069
4070fi
4071fi
4072OBJDUMP=$ac_cv_prog_OBJDUMP
4073if test -n "$OBJDUMP"; then
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4075$as_echo "$OBJDUMP" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080
4081
4082fi
4083if test -z "$ac_cv_prog_OBJDUMP"; then
4084  ac_ct_OBJDUMP=$OBJDUMP
4085  # Extract the first word of "objdump", so it can be a program name with args.
4086set dummy objdump; ac_word=$2
4087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088$as_echo_n "checking for $ac_word... " >&6; }
4089if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4090  $as_echo_n "(cached) " >&6
4091else
4092  if test -n "$ac_ct_OBJDUMP"; then
4093  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4094else
4095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096for as_dir in $PATH
4097do
4098  IFS=$as_save_IFS
4099  test -z "$as_dir" && as_dir=.
4100    for ac_exec_ext in '' $ac_executable_extensions; do
4101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104    break 2
4105  fi
4106done
4107  done
4108IFS=$as_save_IFS
4109
4110fi
4111fi
4112ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4113if test -n "$ac_ct_OBJDUMP"; then
4114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4115$as_echo "$ac_ct_OBJDUMP" >&6; }
4116else
4117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118$as_echo "no" >&6; }
4119fi
4120
4121  if test "x$ac_ct_OBJDUMP" = x; then
4122    OBJDUMP="false"
4123  else
4124    case $cross_compiling:$ac_tool_warned in
4125yes:)
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4127$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4128ac_tool_warned=yes ;;
4129esac
4130    OBJDUMP=$ac_ct_OBJDUMP
4131  fi
4132else
4133  OBJDUMP="$ac_cv_prog_OBJDUMP"
4134fi
4135
4136  ;;
4137esac
4138
4139test -z "$AS" && AS=as
4140
4141
4142
4143
4144
4145test -z "$DLLTOOL" && DLLTOOL=dlltool
4146
4147
4148
4149
4150
4151test -z "$OBJDUMP" && OBJDUMP=objdump
4152
4153
4154
4155
4156
4157
4158
4159
4160ac_ext=c
4161ac_cpp='$CPP $CPPFLAGS'
4162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165if test -n "$ac_tool_prefix"; then
4166  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4167set dummy ${ac_tool_prefix}gcc; ac_word=$2
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169$as_echo_n "checking for $ac_word... " >&6; }
4170if ${ac_cv_prog_CC+:} false; then :
4171  $as_echo_n "(cached) " >&6
4172else
4173  if test -n "$CC"; then
4174  ac_cv_prog_CC="$CC" # Let the user override the test.
4175else
4176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177for as_dir in $PATH
4178do
4179  IFS=$as_save_IFS
4180  test -z "$as_dir" && as_dir=.
4181    for ac_exec_ext in '' $ac_executable_extensions; do
4182  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185    break 2
4186  fi
4187done
4188  done
4189IFS=$as_save_IFS
4190
4191fi
4192fi
4193CC=$ac_cv_prog_CC
4194if test -n "$CC"; then
4195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4196$as_echo "$CC" >&6; }
4197else
4198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199$as_echo "no" >&6; }
4200fi
4201
4202
4203fi
4204if test -z "$ac_cv_prog_CC"; then
4205  ac_ct_CC=$CC
4206  # Extract the first word of "gcc", so it can be a program name with args.
4207set dummy gcc; ac_word=$2
4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209$as_echo_n "checking for $ac_word... " >&6; }
4210if ${ac_cv_prog_ac_ct_CC+:} false; then :
4211  $as_echo_n "(cached) " >&6
4212else
4213  if test -n "$ac_ct_CC"; then
4214  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4215else
4216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217for as_dir in $PATH
4218do
4219  IFS=$as_save_IFS
4220  test -z "$as_dir" && as_dir=.
4221    for ac_exec_ext in '' $ac_executable_extensions; do
4222  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223    ac_cv_prog_ac_ct_CC="gcc"
4224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225    break 2
4226  fi
4227done
4228  done
4229IFS=$as_save_IFS
4230
4231fi
4232fi
4233ac_ct_CC=$ac_cv_prog_ac_ct_CC
4234if test -n "$ac_ct_CC"; then
4235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4236$as_echo "$ac_ct_CC" >&6; }
4237else
4238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239$as_echo "no" >&6; }
4240fi
4241
4242  if test "x$ac_ct_CC" = x; then
4243    CC=""
4244  else
4245    case $cross_compiling:$ac_tool_warned in
4246yes:)
4247{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4248$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4249ac_tool_warned=yes ;;
4250esac
4251    CC=$ac_ct_CC
4252  fi
4253else
4254  CC="$ac_cv_prog_CC"
4255fi
4256
4257if test -z "$CC"; then
4258          if test -n "$ac_tool_prefix"; then
4259    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4260set dummy ${ac_tool_prefix}cc; ac_word=$2
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262$as_echo_n "checking for $ac_word... " >&6; }
4263if ${ac_cv_prog_CC+:} false; then :
4264  $as_echo_n "(cached) " >&6
4265else
4266  if test -n "$CC"; then
4267  ac_cv_prog_CC="$CC" # Let the user override the test.
4268else
4269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270for as_dir in $PATH
4271do
4272  IFS=$as_save_IFS
4273  test -z "$as_dir" && as_dir=.
4274    for ac_exec_ext in '' $ac_executable_extensions; do
4275  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4276    ac_cv_prog_CC="${ac_tool_prefix}cc"
4277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278    break 2
4279  fi
4280done
4281  done
4282IFS=$as_save_IFS
4283
4284fi
4285fi
4286CC=$ac_cv_prog_CC
4287if test -n "$CC"; then
4288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4289$as_echo "$CC" >&6; }
4290else
4291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292$as_echo "no" >&6; }
4293fi
4294
4295
4296  fi
4297fi
4298if test -z "$CC"; then
4299  # Extract the first word of "cc", so it can be a program name with args.
4300set dummy cc; ac_word=$2
4301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302$as_echo_n "checking for $ac_word... " >&6; }
4303if ${ac_cv_prog_CC+:} false; then :
4304  $as_echo_n "(cached) " >&6
4305else
4306  if test -n "$CC"; then
4307  ac_cv_prog_CC="$CC" # Let the user override the test.
4308else
4309  ac_prog_rejected=no
4310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311for as_dir in $PATH
4312do
4313  IFS=$as_save_IFS
4314  test -z "$as_dir" && as_dir=.
4315    for ac_exec_ext in '' $ac_executable_extensions; do
4316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4318       ac_prog_rejected=yes
4319       continue
4320     fi
4321    ac_cv_prog_CC="cc"
4322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4323    break 2
4324  fi
4325done
4326  done
4327IFS=$as_save_IFS
4328
4329if test $ac_prog_rejected = yes; then
4330  # We found a bogon in the path, so make sure we never use it.
4331  set dummy $ac_cv_prog_CC
4332  shift
4333  if test $# != 0; then
4334    # We chose a different compiler from the bogus one.
4335    # However, it has the same basename, so the bogon will be chosen
4336    # first if we set CC to just the basename; use the full file name.
4337    shift
4338    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4339  fi
4340fi
4341fi
4342fi
4343CC=$ac_cv_prog_CC
4344if test -n "$CC"; then
4345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4346$as_echo "$CC" >&6; }
4347else
4348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349$as_echo "no" >&6; }
4350fi
4351
4352
4353fi
4354if test -z "$CC"; then
4355  if test -n "$ac_tool_prefix"; then
4356  for ac_prog in cl.exe
4357  do
4358    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4359set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361$as_echo_n "checking for $ac_word... " >&6; }
4362if ${ac_cv_prog_CC+:} false; then :
4363  $as_echo_n "(cached) " >&6
4364else
4365  if test -n "$CC"; then
4366  ac_cv_prog_CC="$CC" # Let the user override the test.
4367else
4368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369for as_dir in $PATH
4370do
4371  IFS=$as_save_IFS
4372  test -z "$as_dir" && as_dir=.
4373    for ac_exec_ext in '' $ac_executable_extensions; do
4374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377    break 2
4378  fi
4379done
4380  done
4381IFS=$as_save_IFS
4382
4383fi
4384fi
4385CC=$ac_cv_prog_CC
4386if test -n "$CC"; then
4387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4388$as_echo "$CC" >&6; }
4389else
4390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391$as_echo "no" >&6; }
4392fi
4393
4394
4395    test -n "$CC" && break
4396  done
4397fi
4398if test -z "$CC"; then
4399  ac_ct_CC=$CC
4400  for ac_prog in cl.exe
4401do
4402  # Extract the first word of "$ac_prog", so it can be a program name with args.
4403set dummy $ac_prog; ac_word=$2
4404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405$as_echo_n "checking for $ac_word... " >&6; }
4406if ${ac_cv_prog_ac_ct_CC+:} false; then :
4407  $as_echo_n "(cached) " >&6
4408else
4409  if test -n "$ac_ct_CC"; then
4410  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4411else
4412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413for as_dir in $PATH
4414do
4415  IFS=$as_save_IFS
4416  test -z "$as_dir" && as_dir=.
4417    for ac_exec_ext in '' $ac_executable_extensions; do
4418  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419    ac_cv_prog_ac_ct_CC="$ac_prog"
4420    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421    break 2
4422  fi
4423done
4424  done
4425IFS=$as_save_IFS
4426
4427fi
4428fi
4429ac_ct_CC=$ac_cv_prog_ac_ct_CC
4430if test -n "$ac_ct_CC"; then
4431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4432$as_echo "$ac_ct_CC" >&6; }
4433else
4434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435$as_echo "no" >&6; }
4436fi
4437
4438
4439  test -n "$ac_ct_CC" && break
4440done
4441
4442  if test "x$ac_ct_CC" = x; then
4443    CC=""
4444  else
4445    case $cross_compiling:$ac_tool_warned in
4446yes:)
4447{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4448$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4449ac_tool_warned=yes ;;
4450esac
4451    CC=$ac_ct_CC
4452  fi
4453fi
4454
4455fi
4456
4457
4458test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4460as_fn_error $? "no acceptable C compiler found in \$PATH
4461See \`config.log' for more details" "$LINENO" 5; }
4462
4463# Provide some information about the compiler.
4464$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4465set X $ac_compile
4466ac_compiler=$2
4467for ac_option in --version -v -V -qversion; do
4468  { { ac_try="$ac_compiler $ac_option >&5"
4469case "(($ac_try" in
4470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471  *) ac_try_echo=$ac_try;;
4472esac
4473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474$as_echo "$ac_try_echo"; } >&5
4475  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476  ac_status=$?
4477  if test -s conftest.err; then
4478    sed '10a\
4479... rest of stderr output deleted ...
4480         10q' conftest.err >conftest.er1
4481    cat conftest.er1 >&5
4482  fi
4483  rm -f conftest.er1 conftest.err
4484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485  test $ac_status = 0; }
4486done
4487
4488cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489/* end confdefs.h.  */
4490
4491int
4492main ()
4493{
4494
4495  ;
4496  return 0;
4497}
4498_ACEOF
4499ac_clean_files_save=$ac_clean_files
4500ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4501# Try to create an executable without -o first, disregard a.out.
4502# It will help us diagnose broken compilers, and finding out an intuition
4503# of exeext.
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4505$as_echo_n "checking whether the C compiler works... " >&6; }
4506ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4507
4508# The possible output files:
4509ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4510
4511ac_rmfiles=
4512for ac_file in $ac_files
4513do
4514  case $ac_file in
4515    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4516    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4517  esac
4518done
4519rm -f $ac_rmfiles
4520
4521if { { ac_try="$ac_link_default"
4522case "(($ac_try" in
4523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4524  *) ac_try_echo=$ac_try;;
4525esac
4526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4527$as_echo "$ac_try_echo"; } >&5
4528  (eval "$ac_link_default") 2>&5
4529  ac_status=$?
4530  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531  test $ac_status = 0; }; then :
4532  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4533# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4534# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4535# so that the user can short-circuit this test for compilers unknown to
4536# Autoconf.
4537for ac_file in $ac_files ''
4538do
4539  test -f "$ac_file" || continue
4540  case $ac_file in
4541    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4542	;;
4543    [ab].out )
4544	# We found the default executable, but exeext='' is most
4545	# certainly right.
4546	break;;
4547    *.* )
4548	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4549	then :; else
4550	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4551	fi
4552	# We set ac_cv_exeext here because the later test for it is not
4553	# safe: cross compilers may not add the suffix if given an `-o'
4554	# argument, so we may need to know it at that point already.
4555	# Even if this section looks crufty: it has the advantage of
4556	# actually working.
4557	break;;
4558    * )
4559	break;;
4560  esac
4561done
4562test "$ac_cv_exeext" = no && ac_cv_exeext=
4563
4564else
4565  ac_file=''
4566fi
4567if test -z "$ac_file"; then :
4568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569$as_echo "no" >&6; }
4570$as_echo "$as_me: failed program was:" >&5
4571sed 's/^/| /' conftest.$ac_ext >&5
4572
4573{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4574$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4575as_fn_error 77 "C compiler cannot create executables
4576See \`config.log' for more details" "$LINENO" 5; }
4577else
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579$as_echo "yes" >&6; }
4580fi
4581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4582$as_echo_n "checking for C compiler default output file name... " >&6; }
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4584$as_echo "$ac_file" >&6; }
4585ac_exeext=$ac_cv_exeext
4586
4587rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4588ac_clean_files=$ac_clean_files_save
4589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4590$as_echo_n "checking for suffix of executables... " >&6; }
4591if { { ac_try="$ac_link"
4592case "(($ac_try" in
4593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594  *) ac_try_echo=$ac_try;;
4595esac
4596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4597$as_echo "$ac_try_echo"; } >&5
4598  (eval "$ac_link") 2>&5
4599  ac_status=$?
4600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4601  test $ac_status = 0; }; then :
4602  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4603# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4604# work properly (i.e., refer to `conftest.exe'), while it won't with
4605# `rm'.
4606for ac_file in conftest.exe conftest conftest.*; do
4607  test -f "$ac_file" || continue
4608  case $ac_file in
4609    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4610    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4611	  break;;
4612    * ) break;;
4613  esac
4614done
4615else
4616  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4618as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4619See \`config.log' for more details" "$LINENO" 5; }
4620fi
4621rm -f conftest conftest$ac_cv_exeext
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4623$as_echo "$ac_cv_exeext" >&6; }
4624
4625rm -f conftest.$ac_ext
4626EXEEXT=$ac_cv_exeext
4627ac_exeext=$EXEEXT
4628cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629/* end confdefs.h.  */
4630#include <stdio.h>
4631int
4632main ()
4633{
4634FILE *f = fopen ("conftest.out", "w");
4635 return ferror (f) || fclose (f) != 0;
4636
4637  ;
4638  return 0;
4639}
4640_ACEOF
4641ac_clean_files="$ac_clean_files conftest.out"
4642# Check that the compiler produces executables we can run.  If not, either
4643# the compiler is broken, or we cross compile.
4644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4645$as_echo_n "checking whether we are cross compiling... " >&6; }
4646if test "$cross_compiling" != yes; then
4647  { { ac_try="$ac_link"
4648case "(($ac_try" in
4649  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650  *) ac_try_echo=$ac_try;;
4651esac
4652eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653$as_echo "$ac_try_echo"; } >&5
4654  (eval "$ac_link") 2>&5
4655  ac_status=$?
4656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4657  test $ac_status = 0; }
4658  if { ac_try='./conftest$ac_cv_exeext'
4659  { { case "(($ac_try" in
4660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661  *) ac_try_echo=$ac_try;;
4662esac
4663eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664$as_echo "$ac_try_echo"; } >&5
4665  (eval "$ac_try") 2>&5
4666  ac_status=$?
4667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668  test $ac_status = 0; }; }; then
4669    cross_compiling=no
4670  else
4671    if test "$cross_compiling" = maybe; then
4672	cross_compiling=yes
4673    else
4674	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4676as_fn_error $? "cannot run C compiled programs.
4677If you meant to cross compile, use \`--host'.
4678See \`config.log' for more details" "$LINENO" 5; }
4679    fi
4680  fi
4681fi
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4683$as_echo "$cross_compiling" >&6; }
4684
4685rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4686ac_clean_files=$ac_clean_files_save
4687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4688$as_echo_n "checking for suffix of object files... " >&6; }
4689if ${ac_cv_objext+:} false; then :
4690  $as_echo_n "(cached) " >&6
4691else
4692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693/* end confdefs.h.  */
4694
4695int
4696main ()
4697{
4698
4699  ;
4700  return 0;
4701}
4702_ACEOF
4703rm -f conftest.o conftest.obj
4704if { { ac_try="$ac_compile"
4705case "(($ac_try" in
4706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707  *) ac_try_echo=$ac_try;;
4708esac
4709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4710$as_echo "$ac_try_echo"; } >&5
4711  (eval "$ac_compile") 2>&5
4712  ac_status=$?
4713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714  test $ac_status = 0; }; then :
4715  for ac_file in conftest.o conftest.obj conftest.*; do
4716  test -f "$ac_file" || continue;
4717  case $ac_file in
4718    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4719    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4720       break;;
4721  esac
4722done
4723else
4724  $as_echo "$as_me: failed program was:" >&5
4725sed 's/^/| /' conftest.$ac_ext >&5
4726
4727{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4729as_fn_error $? "cannot compute suffix of object files: cannot compile
4730See \`config.log' for more details" "$LINENO" 5; }
4731fi
4732rm -f conftest.$ac_cv_objext conftest.$ac_ext
4733fi
4734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4735$as_echo "$ac_cv_objext" >&6; }
4736OBJEXT=$ac_cv_objext
4737ac_objext=$OBJEXT
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4739$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4740if ${ac_cv_c_compiler_gnu+:} false; then :
4741  $as_echo_n "(cached) " >&6
4742else
4743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744/* end confdefs.h.  */
4745
4746int
4747main ()
4748{
4749#ifndef __GNUC__
4750       choke me
4751#endif
4752
4753  ;
4754  return 0;
4755}
4756_ACEOF
4757if ac_fn_c_try_compile "$LINENO"; then :
4758  ac_compiler_gnu=yes
4759else
4760  ac_compiler_gnu=no
4761fi
4762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763ac_cv_c_compiler_gnu=$ac_compiler_gnu
4764
4765fi
4766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4767$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4768if test $ac_compiler_gnu = yes; then
4769  GCC=yes
4770else
4771  GCC=
4772fi
4773ac_test_CFLAGS=${CFLAGS+set}
4774ac_save_CFLAGS=$CFLAGS
4775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4776$as_echo_n "checking whether $CC accepts -g... " >&6; }
4777if ${ac_cv_prog_cc_g+:} false; then :
4778  $as_echo_n "(cached) " >&6
4779else
4780  ac_save_c_werror_flag=$ac_c_werror_flag
4781   ac_c_werror_flag=yes
4782   ac_cv_prog_cc_g=no
4783   CFLAGS="-g"
4784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785/* end confdefs.h.  */
4786
4787int
4788main ()
4789{
4790
4791  ;
4792  return 0;
4793}
4794_ACEOF
4795if ac_fn_c_try_compile "$LINENO"; then :
4796  ac_cv_prog_cc_g=yes
4797else
4798  CFLAGS=""
4799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800/* end confdefs.h.  */
4801
4802int
4803main ()
4804{
4805
4806  ;
4807  return 0;
4808}
4809_ACEOF
4810if ac_fn_c_try_compile "$LINENO"; then :
4811
4812else
4813  ac_c_werror_flag=$ac_save_c_werror_flag
4814	 CFLAGS="-g"
4815	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816/* end confdefs.h.  */
4817
4818int
4819main ()
4820{
4821
4822  ;
4823  return 0;
4824}
4825_ACEOF
4826if ac_fn_c_try_compile "$LINENO"; then :
4827  ac_cv_prog_cc_g=yes
4828fi
4829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830fi
4831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832fi
4833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834   ac_c_werror_flag=$ac_save_c_werror_flag
4835fi
4836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4837$as_echo "$ac_cv_prog_cc_g" >&6; }
4838if test "$ac_test_CFLAGS" = set; then
4839  CFLAGS=$ac_save_CFLAGS
4840elif test $ac_cv_prog_cc_g = yes; then
4841  if test "$GCC" = yes; then
4842    CFLAGS="-g -O2"
4843  else
4844    CFLAGS="-g"
4845  fi
4846else
4847  if test "$GCC" = yes; then
4848    CFLAGS="-O2"
4849  else
4850    CFLAGS=
4851  fi
4852fi
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4854$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4855if ${ac_cv_prog_cc_c89+:} false; then :
4856  $as_echo_n "(cached) " >&6
4857else
4858  ac_cv_prog_cc_c89=no
4859ac_save_CC=$CC
4860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861/* end confdefs.h.  */
4862#include <stdarg.h>
4863#include <stdio.h>
4864struct stat;
4865/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4866struct buf { int x; };
4867FILE * (*rcsopen) (struct buf *, struct stat *, int);
4868static char *e (p, i)
4869     char **p;
4870     int i;
4871{
4872  return p[i];
4873}
4874static char *f (char * (*g) (char **, int), char **p, ...)
4875{
4876  char *s;
4877  va_list v;
4878  va_start (v,p);
4879  s = g (p, va_arg (v,int));
4880  va_end (v);
4881  return s;
4882}
4883
4884/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4885   function prototypes and stuff, but not '\xHH' hex character constants.
4886   These don't provoke an error unfortunately, instead are silently treated
4887   as 'x'.  The following induces an error, until -std is added to get
4888   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4889   array size at least.  It's necessary to write '\x00'==0 to get something
4890   that's true only with -std.  */
4891int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4892
4893/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4894   inside strings and character constants.  */
4895#define FOO(x) 'x'
4896int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4897
4898int test (int i, double x);
4899struct s1 {int (*f) (int a);};
4900struct s2 {int (*f) (double a);};
4901int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4902int argc;
4903char **argv;
4904int
4905main ()
4906{
4907return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4908  ;
4909  return 0;
4910}
4911_ACEOF
4912for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4913	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4914do
4915  CC="$ac_save_CC $ac_arg"
4916  if ac_fn_c_try_compile "$LINENO"; then :
4917  ac_cv_prog_cc_c89=$ac_arg
4918fi
4919rm -f core conftest.err conftest.$ac_objext
4920  test "x$ac_cv_prog_cc_c89" != "xno" && break
4921done
4922rm -f conftest.$ac_ext
4923CC=$ac_save_CC
4924
4925fi
4926# AC_CACHE_VAL
4927case "x$ac_cv_prog_cc_c89" in
4928  x)
4929    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4930$as_echo "none needed" >&6; } ;;
4931  xno)
4932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4933$as_echo "unsupported" >&6; } ;;
4934  *)
4935    CC="$CC $ac_cv_prog_cc_c89"
4936    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4937$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4938esac
4939if test "x$ac_cv_prog_cc_c89" != xno; then :
4940
4941fi
4942
4943ac_ext=c
4944ac_cpp='$CPP $CPPFLAGS'
4945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4947ac_compiler_gnu=$ac_cv_c_compiler_gnu
4948
4949ac_ext=c
4950ac_cpp='$CPP $CPPFLAGS'
4951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4953ac_compiler_gnu=$ac_cv_c_compiler_gnu
4954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4955$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4956if ${am_cv_prog_cc_c_o+:} false; then :
4957  $as_echo_n "(cached) " >&6
4958else
4959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960/* end confdefs.h.  */
4961
4962int
4963main ()
4964{
4965
4966  ;
4967  return 0;
4968}
4969_ACEOF
4970  # Make sure it works both with $CC and with simple cc.
4971  # Following AC_PROG_CC_C_O, we do the test twice because some
4972  # compilers refuse to overwrite an existing .o file with -o,
4973  # though they will create one.
4974  am_cv_prog_cc_c_o=yes
4975  for am_i in 1 2; do
4976    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4977   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4978   ac_status=$?
4979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980   (exit $ac_status); } \
4981         && test -f conftest2.$ac_objext; then
4982      : OK
4983    else
4984      am_cv_prog_cc_c_o=no
4985      break
4986    fi
4987  done
4988  rm -f core conftest*
4989  unset am_i
4990fi
4991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4992$as_echo "$am_cv_prog_cc_c_o" >&6; }
4993if test "$am_cv_prog_cc_c_o" != yes; then
4994   # Losing compiler, so override with the script.
4995   # FIXME: It is wrong to rewrite CC.
4996   # But if we don't then we get into trouble of one sort or another.
4997   # A longer-term fix would be to have automake use am__CC in this case,
4998   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4999   CC="$am_aux_dir/compile $CC"
5000fi
5001ac_ext=c
5002ac_cpp='$CPP $CPPFLAGS'
5003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5005ac_compiler_gnu=$ac_cv_c_compiler_gnu
5006
5007DEPDIR="${am__leading_dot}deps"
5008
5009ac_config_commands="$ac_config_commands depfiles"
5010
5011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5012$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5013cat > confinc.mk << 'END'
5014am__doit:
5015	@echo this is the am__doit target >confinc.out
5016.PHONY: am__doit
5017END
5018am__include="#"
5019am__quote=
5020# BSD make does it like this.
5021echo '.include "confinc.mk" # ignored' > confmf.BSD
5022# Other make implementations (GNU, Solaris 10, AIX) do it like this.
5023echo 'include confinc.mk # ignored' > confmf.GNU
5024_am_result=no
5025for s in GNU BSD; do
5026  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5027   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5028   ac_status=$?
5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030   (exit $ac_status); }
5031  case $?:`cat confinc.out 2>/dev/null` in #(
5032  '0:this is the am__doit target') :
5033    case $s in #(
5034  BSD) :
5035    am__include='.include' am__quote='"' ;; #(
5036  *) :
5037    am__include='include' am__quote='' ;;
5038esac ;; #(
5039  *) :
5040     ;;
5041esac
5042  if test "$am__include" != "#"; then
5043    _am_result="yes ($s style)"
5044    break
5045  fi
5046done
5047rm -f confinc.* confmf.*
5048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5049$as_echo "${_am_result}" >&6; }
5050
5051# Check whether --enable-dependency-tracking was given.
5052if test "${enable_dependency_tracking+set}" = set; then :
5053  enableval=$enable_dependency_tracking;
5054fi
5055
5056if test "x$enable_dependency_tracking" != xno; then
5057  am_depcomp="$ac_aux_dir/depcomp"
5058  AMDEPBACKSLASH='\'
5059  am__nodep='_no'
5060fi
5061 if test "x$enable_dependency_tracking" != xno; then
5062  AMDEP_TRUE=
5063  AMDEP_FALSE='#'
5064else
5065  AMDEP_TRUE='#'
5066  AMDEP_FALSE=
5067fi
5068
5069
5070
5071depcc="$CC"   am_compiler_list=
5072
5073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5074$as_echo_n "checking dependency style of $depcc... " >&6; }
5075if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5076  $as_echo_n "(cached) " >&6
5077else
5078  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5079  # We make a subdir and do the tests there.  Otherwise we can end up
5080  # making bogus files that we don't know about and never remove.  For
5081  # instance it was reported that on HP-UX the gcc test will end up
5082  # making a dummy file named 'D' -- because '-MD' means "put the output
5083  # in D".
5084  rm -rf conftest.dir
5085  mkdir conftest.dir
5086  # Copy depcomp to subdir because otherwise we won't find it if we're
5087  # using a relative directory.
5088  cp "$am_depcomp" conftest.dir
5089  cd conftest.dir
5090  # We will build objects and dependencies in a subdirectory because
5091  # it helps to detect inapplicable dependency modes.  For instance
5092  # both Tru64's cc and ICC support -MD to output dependencies as a
5093  # side effect of compilation, but ICC will put the dependencies in
5094  # the current directory while Tru64 will put them in the object
5095  # directory.
5096  mkdir sub
5097
5098  am_cv_CC_dependencies_compiler_type=none
5099  if test "$am_compiler_list" = ""; then
5100     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5101  fi
5102  am__universal=false
5103  case " $depcc " in #(
5104     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5105     esac
5106
5107  for depmode in $am_compiler_list; do
5108    # Setup a source with many dependencies, because some compilers
5109    # like to wrap large dependency lists on column 80 (with \), and
5110    # we should not choose a depcomp mode which is confused by this.
5111    #
5112    # We need to recreate these files for each test, as the compiler may
5113    # overwrite some of them when testing with obscure command lines.
5114    # This happens at least with the AIX C compiler.
5115    : > sub/conftest.c
5116    for i in 1 2 3 4 5 6; do
5117      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5118      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5119      # Solaris 10 /bin/sh.
5120      echo '/* dummy */' > sub/conftst$i.h
5121    done
5122    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5123
5124    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5125    # mode.  It turns out that the SunPro C++ compiler does not properly
5126    # handle '-M -o', and we need to detect this.  Also, some Intel
5127    # versions had trouble with output in subdirs.
5128    am__obj=sub/conftest.${OBJEXT-o}
5129    am__minus_obj="-o $am__obj"
5130    case $depmode in
5131    gcc)
5132      # This depmode causes a compiler race in universal mode.
5133      test "$am__universal" = false || continue
5134      ;;
5135    nosideeffect)
5136      # After this tag, mechanisms are not by side-effect, so they'll
5137      # only be used when explicitly requested.
5138      if test "x$enable_dependency_tracking" = xyes; then
5139	continue
5140      else
5141	break
5142      fi
5143      ;;
5144    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5145      # This compiler won't grok '-c -o', but also, the minuso test has
5146      # not run yet.  These depmodes are late enough in the game, and
5147      # so weak that their functioning should not be impacted.
5148      am__obj=conftest.${OBJEXT-o}
5149      am__minus_obj=
5150      ;;
5151    none) break ;;
5152    esac
5153    if depmode=$depmode \
5154       source=sub/conftest.c object=$am__obj \
5155       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5156       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5157         >/dev/null 2>conftest.err &&
5158       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5159       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5160       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5161       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5162      # icc doesn't choke on unknown options, it will just issue warnings
5163      # or remarks (even with -Werror).  So we grep stderr for any message
5164      # that says an option was ignored or not supported.
5165      # When given -MP, icc 7.0 and 7.1 complain thusly:
5166      #   icc: Command line warning: ignoring option '-M'; no argument required
5167      # The diagnosis changed in icc 8.0:
5168      #   icc: Command line remark: option '-MP' not supported
5169      if (grep 'ignoring option' conftest.err ||
5170          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5171        am_cv_CC_dependencies_compiler_type=$depmode
5172        break
5173      fi
5174    fi
5175  done
5176
5177  cd ..
5178  rm -rf conftest.dir
5179else
5180  am_cv_CC_dependencies_compiler_type=none
5181fi
5182
5183fi
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5185$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5186CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5187
5188 if
5189  test "x$enable_dependency_tracking" != xno \
5190  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5191  am__fastdepCC_TRUE=
5192  am__fastdepCC_FALSE='#'
5193else
5194  am__fastdepCC_TRUE='#'
5195  am__fastdepCC_FALSE=
5196fi
5197
5198
5199
5200ac_ext=c
5201ac_cpp='$CPP $CPPFLAGS'
5202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5206$as_echo_n "checking how to run the C preprocessor... " >&6; }
5207# On Suns, sometimes $CPP names a directory.
5208if test -n "$CPP" && test -d "$CPP"; then
5209  CPP=
5210fi
5211if test -z "$CPP"; then
5212  if ${ac_cv_prog_CPP+:} false; then :
5213  $as_echo_n "(cached) " >&6
5214else
5215      # Double quotes because CPP needs to be expanded
5216    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5217    do
5218      ac_preproc_ok=false
5219for ac_c_preproc_warn_flag in '' yes
5220do
5221  # Use a header file that comes with gcc, so configuring glibc
5222  # with a fresh cross-compiler works.
5223  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5224  # <limits.h> exists even on freestanding compilers.
5225  # On the NeXT, cc -E runs the code through the compiler's parser,
5226  # not just through cpp. "Syntax error" is here to catch this case.
5227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228/* end confdefs.h.  */
5229#ifdef __STDC__
5230# include <limits.h>
5231#else
5232# include <assert.h>
5233#endif
5234		     Syntax error
5235_ACEOF
5236if ac_fn_c_try_cpp "$LINENO"; then :
5237
5238else
5239  # Broken: fails on valid input.
5240continue
5241fi
5242rm -f conftest.err conftest.i conftest.$ac_ext
5243
5244  # OK, works on sane cases.  Now check whether nonexistent headers
5245  # can be detected and how.
5246  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247/* end confdefs.h.  */
5248#include <ac_nonexistent.h>
5249_ACEOF
5250if ac_fn_c_try_cpp "$LINENO"; then :
5251  # Broken: success on invalid input.
5252continue
5253else
5254  # Passes both tests.
5255ac_preproc_ok=:
5256break
5257fi
5258rm -f conftest.err conftest.i conftest.$ac_ext
5259
5260done
5261# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5262rm -f conftest.i conftest.err conftest.$ac_ext
5263if $ac_preproc_ok; then :
5264  break
5265fi
5266
5267    done
5268    ac_cv_prog_CPP=$CPP
5269
5270fi
5271  CPP=$ac_cv_prog_CPP
5272else
5273  ac_cv_prog_CPP=$CPP
5274fi
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5276$as_echo "$CPP" >&6; }
5277ac_preproc_ok=false
5278for ac_c_preproc_warn_flag in '' yes
5279do
5280  # Use a header file that comes with gcc, so configuring glibc
5281  # with a fresh cross-compiler works.
5282  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283  # <limits.h> exists even on freestanding compilers.
5284  # On the NeXT, cc -E runs the code through the compiler's parser,
5285  # not just through cpp. "Syntax error" is here to catch this case.
5286  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287/* end confdefs.h.  */
5288#ifdef __STDC__
5289# include <limits.h>
5290#else
5291# include <assert.h>
5292#endif
5293		     Syntax error
5294_ACEOF
5295if ac_fn_c_try_cpp "$LINENO"; then :
5296
5297else
5298  # Broken: fails on valid input.
5299continue
5300fi
5301rm -f conftest.err conftest.i conftest.$ac_ext
5302
5303  # OK, works on sane cases.  Now check whether nonexistent headers
5304  # can be detected and how.
5305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306/* end confdefs.h.  */
5307#include <ac_nonexistent.h>
5308_ACEOF
5309if ac_fn_c_try_cpp "$LINENO"; then :
5310  # Broken: success on invalid input.
5311continue
5312else
5313  # Passes both tests.
5314ac_preproc_ok=:
5315break
5316fi
5317rm -f conftest.err conftest.i conftest.$ac_ext
5318
5319done
5320# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321rm -f conftest.i conftest.err conftest.$ac_ext
5322if $ac_preproc_ok; then :
5323
5324else
5325  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5327as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5328See \`config.log' for more details" "$LINENO" 5; }
5329fi
5330
5331ac_ext=c
5332ac_cpp='$CPP $CPPFLAGS'
5333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335ac_compiler_gnu=$ac_cv_c_compiler_gnu
5336
5337
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5339$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5340if ${ac_cv_path_GREP+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if test -z "$GREP"; then
5344  ac_path_GREP_found=false
5345  # Loop through the user's path and test for each of PROGNAME-LIST
5346  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5348do
5349  IFS=$as_save_IFS
5350  test -z "$as_dir" && as_dir=.
5351    for ac_prog in grep ggrep; do
5352    for ac_exec_ext in '' $ac_executable_extensions; do
5353      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5354      as_fn_executable_p "$ac_path_GREP" || continue
5355# Check for GNU ac_path_GREP and select it if it is found.
5356  # Check for GNU $ac_path_GREP
5357case `"$ac_path_GREP" --version 2>&1` in
5358*GNU*)
5359  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5360*)
5361  ac_count=0
5362  $as_echo_n 0123456789 >"conftest.in"
5363  while :
5364  do
5365    cat "conftest.in" "conftest.in" >"conftest.tmp"
5366    mv "conftest.tmp" "conftest.in"
5367    cp "conftest.in" "conftest.nl"
5368    $as_echo 'GREP' >> "conftest.nl"
5369    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371    as_fn_arith $ac_count + 1 && ac_count=$as_val
5372    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5373      # Best one so far, save it but keep looking for a better one
5374      ac_cv_path_GREP="$ac_path_GREP"
5375      ac_path_GREP_max=$ac_count
5376    fi
5377    # 10*(2^10) chars as input seems more than enough
5378    test $ac_count -gt 10 && break
5379  done
5380  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381esac
5382
5383      $ac_path_GREP_found && break 3
5384    done
5385  done
5386  done
5387IFS=$as_save_IFS
5388  if test -z "$ac_cv_path_GREP"; then
5389    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5390  fi
5391else
5392  ac_cv_path_GREP=$GREP
5393fi
5394
5395fi
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5397$as_echo "$ac_cv_path_GREP" >&6; }
5398 GREP="$ac_cv_path_GREP"
5399
5400
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5402$as_echo_n "checking for egrep... " >&6; }
5403if ${ac_cv_path_EGREP+:} false; then :
5404  $as_echo_n "(cached) " >&6
5405else
5406  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5407   then ac_cv_path_EGREP="$GREP -E"
5408   else
5409     if test -z "$EGREP"; then
5410  ac_path_EGREP_found=false
5411  # Loop through the user's path and test for each of PROGNAME-LIST
5412  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5414do
5415  IFS=$as_save_IFS
5416  test -z "$as_dir" && as_dir=.
5417    for ac_prog in egrep; do
5418    for ac_exec_ext in '' $ac_executable_extensions; do
5419      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5420      as_fn_executable_p "$ac_path_EGREP" || continue
5421# Check for GNU ac_path_EGREP and select it if it is found.
5422  # Check for GNU $ac_path_EGREP
5423case `"$ac_path_EGREP" --version 2>&1` in
5424*GNU*)
5425  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5426*)
5427  ac_count=0
5428  $as_echo_n 0123456789 >"conftest.in"
5429  while :
5430  do
5431    cat "conftest.in" "conftest.in" >"conftest.tmp"
5432    mv "conftest.tmp" "conftest.in"
5433    cp "conftest.in" "conftest.nl"
5434    $as_echo 'EGREP' >> "conftest.nl"
5435    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437    as_fn_arith $ac_count + 1 && ac_count=$as_val
5438    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5439      # Best one so far, save it but keep looking for a better one
5440      ac_cv_path_EGREP="$ac_path_EGREP"
5441      ac_path_EGREP_max=$ac_count
5442    fi
5443    # 10*(2^10) chars as input seems more than enough
5444    test $ac_count -gt 10 && break
5445  done
5446  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447esac
5448
5449      $ac_path_EGREP_found && break 3
5450    done
5451  done
5452  done
5453IFS=$as_save_IFS
5454  if test -z "$ac_cv_path_EGREP"; then
5455    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5456  fi
5457else
5458  ac_cv_path_EGREP=$EGREP
5459fi
5460
5461   fi
5462fi
5463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5464$as_echo "$ac_cv_path_EGREP" >&6; }
5465 EGREP="$ac_cv_path_EGREP"
5466
5467
5468if test $ac_cv_c_compiler_gnu = yes; then
5469    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5470$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5471if ${ac_cv_prog_gcc_traditional+:} false; then :
5472  $as_echo_n "(cached) " >&6
5473else
5474    ac_pattern="Autoconf.*'x'"
5475  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476/* end confdefs.h.  */
5477#include <sgtty.h>
5478Autoconf TIOCGETP
5479_ACEOF
5480if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5481  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5482  ac_cv_prog_gcc_traditional=yes
5483else
5484  ac_cv_prog_gcc_traditional=no
5485fi
5486rm -f conftest*
5487
5488
5489  if test $ac_cv_prog_gcc_traditional = no; then
5490    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491/* end confdefs.h.  */
5492#include <termio.h>
5493Autoconf TCGETA
5494_ACEOF
5495if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5496  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5497  ac_cv_prog_gcc_traditional=yes
5498fi
5499rm -f conftest*
5500
5501  fi
5502fi
5503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5504$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5505  if test $ac_cv_prog_gcc_traditional = yes; then
5506    CC="$CC -traditional"
5507  fi
5508fi
5509
5510ac_ext=cpp
5511ac_cpp='$CXXCPP $CPPFLAGS'
5512ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5513ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5514ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5515if test -z "$CXX"; then
5516  if test -n "$CCC"; then
5517    CXX=$CCC
5518  else
5519    if test -n "$ac_tool_prefix"; then
5520  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5521  do
5522    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5523set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525$as_echo_n "checking for $ac_word... " >&6; }
5526if ${ac_cv_prog_CXX+:} false; then :
5527  $as_echo_n "(cached) " >&6
5528else
5529  if test -n "$CXX"; then
5530  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5531else
5532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533for as_dir in $PATH
5534do
5535  IFS=$as_save_IFS
5536  test -z "$as_dir" && as_dir=.
5537    for ac_exec_ext in '' $ac_executable_extensions; do
5538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5540    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541    break 2
5542  fi
5543done
5544  done
5545IFS=$as_save_IFS
5546
5547fi
5548fi
5549CXX=$ac_cv_prog_CXX
5550if test -n "$CXX"; then
5551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5552$as_echo "$CXX" >&6; }
5553else
5554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555$as_echo "no" >&6; }
5556fi
5557
5558
5559    test -n "$CXX" && break
5560  done
5561fi
5562if test -z "$CXX"; then
5563  ac_ct_CXX=$CXX
5564  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5565do
5566  # Extract the first word of "$ac_prog", so it can be a program name with args.
5567set dummy $ac_prog; ac_word=$2
5568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569$as_echo_n "checking for $ac_word... " >&6; }
5570if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5571  $as_echo_n "(cached) " >&6
5572else
5573  if test -n "$ac_ct_CXX"; then
5574  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5575else
5576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577for as_dir in $PATH
5578do
5579  IFS=$as_save_IFS
5580  test -z "$as_dir" && as_dir=.
5581    for ac_exec_ext in '' $ac_executable_extensions; do
5582  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583    ac_cv_prog_ac_ct_CXX="$ac_prog"
5584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585    break 2
5586  fi
5587done
5588  done
5589IFS=$as_save_IFS
5590
5591fi
5592fi
5593ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5594if test -n "$ac_ct_CXX"; then
5595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5596$as_echo "$ac_ct_CXX" >&6; }
5597else
5598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599$as_echo "no" >&6; }
5600fi
5601
5602
5603  test -n "$ac_ct_CXX" && break
5604done
5605
5606  if test "x$ac_ct_CXX" = x; then
5607    CXX="g++"
5608  else
5609    case $cross_compiling:$ac_tool_warned in
5610yes:)
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5613ac_tool_warned=yes ;;
5614esac
5615    CXX=$ac_ct_CXX
5616  fi
5617fi
5618
5619  fi
5620fi
5621# Provide some information about the compiler.
5622$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5623set X $ac_compile
5624ac_compiler=$2
5625for ac_option in --version -v -V -qversion; do
5626  { { ac_try="$ac_compiler $ac_option >&5"
5627case "(($ac_try" in
5628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629  *) ac_try_echo=$ac_try;;
5630esac
5631eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5632$as_echo "$ac_try_echo"; } >&5
5633  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5634  ac_status=$?
5635  if test -s conftest.err; then
5636    sed '10a\
5637... rest of stderr output deleted ...
5638         10q' conftest.err >conftest.er1
5639    cat conftest.er1 >&5
5640  fi
5641  rm -f conftest.er1 conftest.err
5642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5643  test $ac_status = 0; }
5644done
5645
5646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5647$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5648if ${ac_cv_cxx_compiler_gnu+:} false; then :
5649  $as_echo_n "(cached) " >&6
5650else
5651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652/* end confdefs.h.  */
5653
5654int
5655main ()
5656{
5657#ifndef __GNUC__
5658       choke me
5659#endif
5660
5661  ;
5662  return 0;
5663}
5664_ACEOF
5665if ac_fn_cxx_try_compile "$LINENO"; then :
5666  ac_compiler_gnu=yes
5667else
5668  ac_compiler_gnu=no
5669fi
5670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5671ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5672
5673fi
5674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5675$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5676if test $ac_compiler_gnu = yes; then
5677  GXX=yes
5678else
5679  GXX=
5680fi
5681ac_test_CXXFLAGS=${CXXFLAGS+set}
5682ac_save_CXXFLAGS=$CXXFLAGS
5683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5684$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5685if ${ac_cv_prog_cxx_g+:} false; then :
5686  $as_echo_n "(cached) " >&6
5687else
5688  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5689   ac_cxx_werror_flag=yes
5690   ac_cv_prog_cxx_g=no
5691   CXXFLAGS="-g"
5692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693/* end confdefs.h.  */
5694
5695int
5696main ()
5697{
5698
5699  ;
5700  return 0;
5701}
5702_ACEOF
5703if ac_fn_cxx_try_compile "$LINENO"; then :
5704  ac_cv_prog_cxx_g=yes
5705else
5706  CXXFLAGS=""
5707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708/* end confdefs.h.  */
5709
5710int
5711main ()
5712{
5713
5714  ;
5715  return 0;
5716}
5717_ACEOF
5718if ac_fn_cxx_try_compile "$LINENO"; then :
5719
5720else
5721  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5722	 CXXFLAGS="-g"
5723	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724/* end confdefs.h.  */
5725
5726int
5727main ()
5728{
5729
5730  ;
5731  return 0;
5732}
5733_ACEOF
5734if ac_fn_cxx_try_compile "$LINENO"; then :
5735  ac_cv_prog_cxx_g=yes
5736fi
5737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738fi
5739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740fi
5741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5743fi
5744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5745$as_echo "$ac_cv_prog_cxx_g" >&6; }
5746if test "$ac_test_CXXFLAGS" = set; then
5747  CXXFLAGS=$ac_save_CXXFLAGS
5748elif test $ac_cv_prog_cxx_g = yes; then
5749  if test "$GXX" = yes; then
5750    CXXFLAGS="-g -O2"
5751  else
5752    CXXFLAGS="-g"
5753  fi
5754else
5755  if test "$GXX" = yes; then
5756    CXXFLAGS="-O2"
5757  else
5758    CXXFLAGS=
5759  fi
5760fi
5761ac_ext=c
5762ac_cpp='$CPP $CPPFLAGS'
5763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765ac_compiler_gnu=$ac_cv_c_compiler_gnu
5766
5767depcc="$CXX"  am_compiler_list=
5768
5769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5770$as_echo_n "checking dependency style of $depcc... " >&6; }
5771if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5772  $as_echo_n "(cached) " >&6
5773else
5774  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5775  # We make a subdir and do the tests there.  Otherwise we can end up
5776  # making bogus files that we don't know about and never remove.  For
5777  # instance it was reported that on HP-UX the gcc test will end up
5778  # making a dummy file named 'D' -- because '-MD' means "put the output
5779  # in D".
5780  rm -rf conftest.dir
5781  mkdir conftest.dir
5782  # Copy depcomp to subdir because otherwise we won't find it if we're
5783  # using a relative directory.
5784  cp "$am_depcomp" conftest.dir
5785  cd conftest.dir
5786  # We will build objects and dependencies in a subdirectory because
5787  # it helps to detect inapplicable dependency modes.  For instance
5788  # both Tru64's cc and ICC support -MD to output dependencies as a
5789  # side effect of compilation, but ICC will put the dependencies in
5790  # the current directory while Tru64 will put them in the object
5791  # directory.
5792  mkdir sub
5793
5794  am_cv_CXX_dependencies_compiler_type=none
5795  if test "$am_compiler_list" = ""; then
5796     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5797  fi
5798  am__universal=false
5799  case " $depcc " in #(
5800     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5801     esac
5802
5803  for depmode in $am_compiler_list; do
5804    # Setup a source with many dependencies, because some compilers
5805    # like to wrap large dependency lists on column 80 (with \), and
5806    # we should not choose a depcomp mode which is confused by this.
5807    #
5808    # We need to recreate these files for each test, as the compiler may
5809    # overwrite some of them when testing with obscure command lines.
5810    # This happens at least with the AIX C compiler.
5811    : > sub/conftest.c
5812    for i in 1 2 3 4 5 6; do
5813      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5814      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5815      # Solaris 10 /bin/sh.
5816      echo '/* dummy */' > sub/conftst$i.h
5817    done
5818    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5819
5820    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5821    # mode.  It turns out that the SunPro C++ compiler does not properly
5822    # handle '-M -o', and we need to detect this.  Also, some Intel
5823    # versions had trouble with output in subdirs.
5824    am__obj=sub/conftest.${OBJEXT-o}
5825    am__minus_obj="-o $am__obj"
5826    case $depmode in
5827    gcc)
5828      # This depmode causes a compiler race in universal mode.
5829      test "$am__universal" = false || continue
5830      ;;
5831    nosideeffect)
5832      # After this tag, mechanisms are not by side-effect, so they'll
5833      # only be used when explicitly requested.
5834      if test "x$enable_dependency_tracking" = xyes; then
5835	continue
5836      else
5837	break
5838      fi
5839      ;;
5840    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5841      # This compiler won't grok '-c -o', but also, the minuso test has
5842      # not run yet.  These depmodes are late enough in the game, and
5843      # so weak that their functioning should not be impacted.
5844      am__obj=conftest.${OBJEXT-o}
5845      am__minus_obj=
5846      ;;
5847    none) break ;;
5848    esac
5849    if depmode=$depmode \
5850       source=sub/conftest.c object=$am__obj \
5851       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5852       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5853         >/dev/null 2>conftest.err &&
5854       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5855       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5856       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5857       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5858      # icc doesn't choke on unknown options, it will just issue warnings
5859      # or remarks (even with -Werror).  So we grep stderr for any message
5860      # that says an option was ignored or not supported.
5861      # When given -MP, icc 7.0 and 7.1 complain thusly:
5862      #   icc: Command line warning: ignoring option '-M'; no argument required
5863      # The diagnosis changed in icc 8.0:
5864      #   icc: Command line remark: option '-MP' not supported
5865      if (grep 'ignoring option' conftest.err ||
5866          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5867        am_cv_CXX_dependencies_compiler_type=$depmode
5868        break
5869      fi
5870    fi
5871  done
5872
5873  cd ..
5874  rm -rf conftest.dir
5875else
5876  am_cv_CXX_dependencies_compiler_type=none
5877fi
5878
5879fi
5880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5881$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5882CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5883
5884 if
5885  test "x$enable_dependency_tracking" != xno \
5886  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5887  am__fastdepCXX_TRUE=
5888  am__fastdepCXX_FALSE='#'
5889else
5890  am__fastdepCXX_TRUE='#'
5891  am__fastdepCXX_FALSE=
5892fi
5893
5894
5895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5896$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5897set x ${MAKE-make}
5898ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5899if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5900  $as_echo_n "(cached) " >&6
5901else
5902  cat >conftest.make <<\_ACEOF
5903SHELL = /bin/sh
5904all:
5905	@echo '@@@%%%=$(MAKE)=@@@%%%'
5906_ACEOF
5907# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5908case `${MAKE-make} -f conftest.make 2>/dev/null` in
5909  *@@@%%%=?*=@@@%%%*)
5910    eval ac_cv_prog_make_${ac_make}_set=yes;;
5911  *)
5912    eval ac_cv_prog_make_${ac_make}_set=no;;
5913esac
5914rm -f conftest.make
5915fi
5916if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5918$as_echo "yes" >&6; }
5919  SET_MAKE=
5920else
5921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922$as_echo "no" >&6; }
5923  SET_MAKE="MAKE=${MAKE-make}"
5924fi
5925
5926
5927
5928case `pwd` in
5929  *\ * | *\	*)
5930    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5931$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5932esac
5933
5934
5935
5936macro_version='2.4.6'
5937macro_revision='2.4.6'
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951ltmain=$ac_aux_dir/ltmain.sh
5952
5953# Backslashify metacharacters that are still active within
5954# double-quoted strings.
5955sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5956
5957# Same as above, but do not quote variable references.
5958double_quote_subst='s/\(["`\\]\)/\\\1/g'
5959
5960# Sed substitution to delay expansion of an escaped shell variable in a
5961# double_quote_subst'ed string.
5962delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5963
5964# Sed substitution to delay expansion of an escaped single quote.
5965delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5966
5967# Sed substitution to avoid accidental globbing in evaled expressions
5968no_glob_subst='s/\*/\\\*/g'
5969
5970ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5971ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5972ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5973
5974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5975$as_echo_n "checking how to print strings... " >&6; }
5976# Test print first, because it will be a builtin if present.
5977if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5978   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5979  ECHO='print -r --'
5980elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5981  ECHO='printf %s\n'
5982else
5983  # Use this function as a fallback that always works.
5984  func_fallback_echo ()
5985  {
5986    eval 'cat <<_LTECHO_EOF
5987$1
5988_LTECHO_EOF'
5989  }
5990  ECHO='func_fallback_echo'
5991fi
5992
5993# func_echo_all arg...
5994# Invoke $ECHO with all args, space-separated.
5995func_echo_all ()
5996{
5997    $ECHO ""
5998}
5999
6000case $ECHO in
6001  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6002$as_echo "printf" >&6; } ;;
6003  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6004$as_echo "print -r" >&6; } ;;
6005  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6006$as_echo "cat" >&6; } ;;
6007esac
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6023$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6024if ${ac_cv_path_SED+:} false; then :
6025  $as_echo_n "(cached) " >&6
6026else
6027            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6028     for ac_i in 1 2 3 4 5 6 7; do
6029       ac_script="$ac_script$as_nl$ac_script"
6030     done
6031     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6032     { ac_script=; unset ac_script;}
6033     if test -z "$SED"; then
6034  ac_path_SED_found=false
6035  # Loop through the user's path and test for each of PROGNAME-LIST
6036  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037for as_dir in $PATH
6038do
6039  IFS=$as_save_IFS
6040  test -z "$as_dir" && as_dir=.
6041    for ac_prog in sed gsed; do
6042    for ac_exec_ext in '' $ac_executable_extensions; do
6043      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6044      as_fn_executable_p "$ac_path_SED" || continue
6045# Check for GNU ac_path_SED and select it if it is found.
6046  # Check for GNU $ac_path_SED
6047case `"$ac_path_SED" --version 2>&1` in
6048*GNU*)
6049  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6050*)
6051  ac_count=0
6052  $as_echo_n 0123456789 >"conftest.in"
6053  while :
6054  do
6055    cat "conftest.in" "conftest.in" >"conftest.tmp"
6056    mv "conftest.tmp" "conftest.in"
6057    cp "conftest.in" "conftest.nl"
6058    $as_echo '' >> "conftest.nl"
6059    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6060    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6061    as_fn_arith $ac_count + 1 && ac_count=$as_val
6062    if test $ac_count -gt ${ac_path_SED_max-0}; then
6063      # Best one so far, save it but keep looking for a better one
6064      ac_cv_path_SED="$ac_path_SED"
6065      ac_path_SED_max=$ac_count
6066    fi
6067    # 10*(2^10) chars as input seems more than enough
6068    test $ac_count -gt 10 && break
6069  done
6070  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6071esac
6072
6073      $ac_path_SED_found && break 3
6074    done
6075  done
6076  done
6077IFS=$as_save_IFS
6078  if test -z "$ac_cv_path_SED"; then
6079    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6080  fi
6081else
6082  ac_cv_path_SED=$SED
6083fi
6084
6085fi
6086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6087$as_echo "$ac_cv_path_SED" >&6; }
6088 SED="$ac_cv_path_SED"
6089  rm -f conftest.sed
6090
6091test -z "$SED" && SED=sed
6092Xsed="$SED -e 1s/^X//"
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6105$as_echo_n "checking for fgrep... " >&6; }
6106if ${ac_cv_path_FGREP+:} false; then :
6107  $as_echo_n "(cached) " >&6
6108else
6109  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6110   then ac_cv_path_FGREP="$GREP -F"
6111   else
6112     if test -z "$FGREP"; then
6113  ac_path_FGREP_found=false
6114  # Loop through the user's path and test for each of PROGNAME-LIST
6115  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6117do
6118  IFS=$as_save_IFS
6119  test -z "$as_dir" && as_dir=.
6120    for ac_prog in fgrep; do
6121    for ac_exec_ext in '' $ac_executable_extensions; do
6122      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6123      as_fn_executable_p "$ac_path_FGREP" || continue
6124# Check for GNU ac_path_FGREP and select it if it is found.
6125  # Check for GNU $ac_path_FGREP
6126case `"$ac_path_FGREP" --version 2>&1` in
6127*GNU*)
6128  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6129*)
6130  ac_count=0
6131  $as_echo_n 0123456789 >"conftest.in"
6132  while :
6133  do
6134    cat "conftest.in" "conftest.in" >"conftest.tmp"
6135    mv "conftest.tmp" "conftest.in"
6136    cp "conftest.in" "conftest.nl"
6137    $as_echo 'FGREP' >> "conftest.nl"
6138    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6139    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6140    as_fn_arith $ac_count + 1 && ac_count=$as_val
6141    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6142      # Best one so far, save it but keep looking for a better one
6143      ac_cv_path_FGREP="$ac_path_FGREP"
6144      ac_path_FGREP_max=$ac_count
6145    fi
6146    # 10*(2^10) chars as input seems more than enough
6147    test $ac_count -gt 10 && break
6148  done
6149  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6150esac
6151
6152      $ac_path_FGREP_found && break 3
6153    done
6154  done
6155  done
6156IFS=$as_save_IFS
6157  if test -z "$ac_cv_path_FGREP"; then
6158    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6159  fi
6160else
6161  ac_cv_path_FGREP=$FGREP
6162fi
6163
6164   fi
6165fi
6166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6167$as_echo "$ac_cv_path_FGREP" >&6; }
6168 FGREP="$ac_cv_path_FGREP"
6169
6170
6171test -z "$GREP" && GREP=grep
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191# Check whether --with-gnu-ld was given.
6192if test "${with_gnu_ld+set}" = set; then :
6193  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6194else
6195  with_gnu_ld=no
6196fi
6197
6198ac_prog=ld
6199if test yes = "$GCC"; then
6200  # Check if gcc -print-prog-name=ld gives a path.
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6202$as_echo_n "checking for ld used by $CC... " >&6; }
6203  case $host in
6204  *-*-mingw*)
6205    # gcc leaves a trailing carriage return, which upsets mingw
6206    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6207  *)
6208    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6209  esac
6210  case $ac_prog in
6211    # Accept absolute paths.
6212    [\\/]* | ?:[\\/]*)
6213      re_direlt='/[^/][^/]*/\.\./'
6214      # Canonicalize the pathname of ld
6215      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6216      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6217	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6218      done
6219      test -z "$LD" && LD=$ac_prog
6220      ;;
6221  "")
6222    # If it fails, then pretend we aren't using GCC.
6223    ac_prog=ld
6224    ;;
6225  *)
6226    # If it is relative, then search for the first ld in PATH.
6227    with_gnu_ld=unknown
6228    ;;
6229  esac
6230elif test yes = "$with_gnu_ld"; then
6231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6232$as_echo_n "checking for GNU ld... " >&6; }
6233else
6234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6235$as_echo_n "checking for non-GNU ld... " >&6; }
6236fi
6237if ${lt_cv_path_LD+:} false; then :
6238  $as_echo_n "(cached) " >&6
6239else
6240  if test -z "$LD"; then
6241  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6242  for ac_dir in $PATH; do
6243    IFS=$lt_save_ifs
6244    test -z "$ac_dir" && ac_dir=.
6245    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6246      lt_cv_path_LD=$ac_dir/$ac_prog
6247      # Check to see if the program is GNU ld.  I'd rather use --version,
6248      # but apparently some variants of GNU ld only accept -v.
6249      # Break only if it was the GNU/non-GNU ld that we prefer.
6250      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6251      *GNU* | *'with BFD'*)
6252	test no != "$with_gnu_ld" && break
6253	;;
6254      *)
6255	test yes != "$with_gnu_ld" && break
6256	;;
6257      esac
6258    fi
6259  done
6260  IFS=$lt_save_ifs
6261else
6262  lt_cv_path_LD=$LD # Let the user override the test with a path.
6263fi
6264fi
6265
6266LD=$lt_cv_path_LD
6267if test -n "$LD"; then
6268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6269$as_echo "$LD" >&6; }
6270else
6271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272$as_echo "no" >&6; }
6273fi
6274test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6276$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6277if ${lt_cv_prog_gnu_ld+:} false; then :
6278  $as_echo_n "(cached) " >&6
6279else
6280  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6281case `$LD -v 2>&1 </dev/null` in
6282*GNU* | *'with BFD'*)
6283  lt_cv_prog_gnu_ld=yes
6284  ;;
6285*)
6286  lt_cv_prog_gnu_ld=no
6287  ;;
6288esac
6289fi
6290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6291$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6292with_gnu_ld=$lt_cv_prog_gnu_ld
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6303$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6304if ${lt_cv_path_NM+:} false; then :
6305  $as_echo_n "(cached) " >&6
6306else
6307  if test -n "$NM"; then
6308  # Let the user override the test.
6309  lt_cv_path_NM=$NM
6310else
6311  lt_nm_to_check=${ac_tool_prefix}nm
6312  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6313    lt_nm_to_check="$lt_nm_to_check nm"
6314  fi
6315  for lt_tmp_nm in $lt_nm_to_check; do
6316    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6317    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6318      IFS=$lt_save_ifs
6319      test -z "$ac_dir" && ac_dir=.
6320      tmp_nm=$ac_dir/$lt_tmp_nm
6321      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6322	# Check to see if the nm accepts a BSD-compat flag.
6323	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6324	#   nm: unknown option "B" ignored
6325	# Tru64's nm complains that /dev/null is an invalid object file
6326	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6327	case $build_os in
6328	mingw*) lt_bad_file=conftest.nm/nofile ;;
6329	*) lt_bad_file=/dev/null ;;
6330	esac
6331	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6332	*$lt_bad_file* | *'Invalid file or object type'*)
6333	  lt_cv_path_NM="$tmp_nm -B"
6334	  break 2
6335	  ;;
6336	*)
6337	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6338	  */dev/null*)
6339	    lt_cv_path_NM="$tmp_nm -p"
6340	    break 2
6341	    ;;
6342	  *)
6343	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6344	    continue # so that we can try to find one that supports BSD flags
6345	    ;;
6346	  esac
6347	  ;;
6348	esac
6349      fi
6350    done
6351    IFS=$lt_save_ifs
6352  done
6353  : ${lt_cv_path_NM=no}
6354fi
6355fi
6356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6357$as_echo "$lt_cv_path_NM" >&6; }
6358if test no != "$lt_cv_path_NM"; then
6359  NM=$lt_cv_path_NM
6360else
6361  # Didn't find any BSD compatible name lister, look for dumpbin.
6362  if test -n "$DUMPBIN"; then :
6363    # Let the user override the test.
6364  else
6365    if test -n "$ac_tool_prefix"; then
6366  for ac_prog in dumpbin "link -dump"
6367  do
6368    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6369set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371$as_echo_n "checking for $ac_word... " >&6; }
6372if ${ac_cv_prog_DUMPBIN+:} false; then :
6373  $as_echo_n "(cached) " >&6
6374else
6375  if test -n "$DUMPBIN"; then
6376  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6377else
6378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379for as_dir in $PATH
6380do
6381  IFS=$as_save_IFS
6382  test -z "$as_dir" && as_dir=.
6383    for ac_exec_ext in '' $ac_executable_extensions; do
6384  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6386    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387    break 2
6388  fi
6389done
6390  done
6391IFS=$as_save_IFS
6392
6393fi
6394fi
6395DUMPBIN=$ac_cv_prog_DUMPBIN
6396if test -n "$DUMPBIN"; then
6397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6398$as_echo "$DUMPBIN" >&6; }
6399else
6400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401$as_echo "no" >&6; }
6402fi
6403
6404
6405    test -n "$DUMPBIN" && break
6406  done
6407fi
6408if test -z "$DUMPBIN"; then
6409  ac_ct_DUMPBIN=$DUMPBIN
6410  for ac_prog in dumpbin "link -dump"
6411do
6412  # Extract the first word of "$ac_prog", so it can be a program name with args.
6413set dummy $ac_prog; ac_word=$2
6414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415$as_echo_n "checking for $ac_word... " >&6; }
6416if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6417  $as_echo_n "(cached) " >&6
6418else
6419  if test -n "$ac_ct_DUMPBIN"; then
6420  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6421else
6422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423for as_dir in $PATH
6424do
6425  IFS=$as_save_IFS
6426  test -z "$as_dir" && as_dir=.
6427    for ac_exec_ext in '' $ac_executable_extensions; do
6428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431    break 2
6432  fi
6433done
6434  done
6435IFS=$as_save_IFS
6436
6437fi
6438fi
6439ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6440if test -n "$ac_ct_DUMPBIN"; then
6441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6442$as_echo "$ac_ct_DUMPBIN" >&6; }
6443else
6444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445$as_echo "no" >&6; }
6446fi
6447
6448
6449  test -n "$ac_ct_DUMPBIN" && break
6450done
6451
6452  if test "x$ac_ct_DUMPBIN" = x; then
6453    DUMPBIN=":"
6454  else
6455    case $cross_compiling:$ac_tool_warned in
6456yes:)
6457{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6458$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6459ac_tool_warned=yes ;;
6460esac
6461    DUMPBIN=$ac_ct_DUMPBIN
6462  fi
6463fi
6464
6465    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6466    *COFF*)
6467      DUMPBIN="$DUMPBIN -symbols -headers"
6468      ;;
6469    *)
6470      DUMPBIN=:
6471      ;;
6472    esac
6473  fi
6474
6475  if test : != "$DUMPBIN"; then
6476    NM=$DUMPBIN
6477  fi
6478fi
6479test -z "$NM" && NM=nm
6480
6481
6482
6483
6484
6485
6486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6487$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6488if ${lt_cv_nm_interface+:} false; then :
6489  $as_echo_n "(cached) " >&6
6490else
6491  lt_cv_nm_interface="BSD nm"
6492  echo "int some_variable = 0;" > conftest.$ac_ext
6493  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6494  (eval "$ac_compile" 2>conftest.err)
6495  cat conftest.err >&5
6496  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6497  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6498  cat conftest.err >&5
6499  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6500  cat conftest.out >&5
6501  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6502    lt_cv_nm_interface="MS dumpbin"
6503  fi
6504  rm -f conftest*
6505fi
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6507$as_echo "$lt_cv_nm_interface" >&6; }
6508
6509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6510$as_echo_n "checking whether ln -s works... " >&6; }
6511LN_S=$as_ln_s
6512if test "$LN_S" = "ln -s"; then
6513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6514$as_echo "yes" >&6; }
6515else
6516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6517$as_echo "no, using $LN_S" >&6; }
6518fi
6519
6520# find the maximum length of command line arguments
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6522$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6523if ${lt_cv_sys_max_cmd_len+:} false; then :
6524  $as_echo_n "(cached) " >&6
6525else
6526    i=0
6527  teststring=ABCD
6528
6529  case $build_os in
6530  msdosdjgpp*)
6531    # On DJGPP, this test can blow up pretty badly due to problems in libc
6532    # (any single argument exceeding 2000 bytes causes a buffer overrun
6533    # during glob expansion).  Even if it were fixed, the result of this
6534    # check would be larger than it should be.
6535    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6536    ;;
6537
6538  gnu*)
6539    # Under GNU Hurd, this test is not required because there is
6540    # no limit to the length of command line arguments.
6541    # Libtool will interpret -1 as no limit whatsoever
6542    lt_cv_sys_max_cmd_len=-1;
6543    ;;
6544
6545  cygwin* | mingw* | cegcc*)
6546    # On Win9x/ME, this test blows up -- it succeeds, but takes
6547    # about 5 minutes as the teststring grows exponentially.
6548    # Worse, since 9x/ME are not pre-emptively multitasking,
6549    # you end up with a "frozen" computer, even though with patience
6550    # the test eventually succeeds (with a max line length of 256k).
6551    # Instead, let's just punt: use the minimum linelength reported by
6552    # all of the supported platforms: 8192 (on NT/2K/XP).
6553    lt_cv_sys_max_cmd_len=8192;
6554    ;;
6555
6556  mint*)
6557    # On MiNT this can take a long time and run out of memory.
6558    lt_cv_sys_max_cmd_len=8192;
6559    ;;
6560
6561  amigaos*)
6562    # On AmigaOS with pdksh, this test takes hours, literally.
6563    # So we just punt and use a minimum line length of 8192.
6564    lt_cv_sys_max_cmd_len=8192;
6565    ;;
6566
6567  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6568    # This has been around since 386BSD, at least.  Likely further.
6569    if test -x /sbin/sysctl; then
6570      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6571    elif test -x /usr/sbin/sysctl; then
6572      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6573    else
6574      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6575    fi
6576    # And add a safety zone
6577    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6578    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6579    ;;
6580
6581  interix*)
6582    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6583    lt_cv_sys_max_cmd_len=196608
6584    ;;
6585
6586  os2*)
6587    # The test takes a long time on OS/2.
6588    lt_cv_sys_max_cmd_len=8192
6589    ;;
6590
6591  osf*)
6592    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6593    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6594    # nice to cause kernel panics so lets avoid the loop below.
6595    # First set a reasonable default.
6596    lt_cv_sys_max_cmd_len=16384
6597    #
6598    if test -x /sbin/sysconfig; then
6599      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6600        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6601      esac
6602    fi
6603    ;;
6604  sco3.2v5*)
6605    lt_cv_sys_max_cmd_len=102400
6606    ;;
6607  sysv5* | sco5v6* | sysv4.2uw2*)
6608    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6609    if test -n "$kargmax"; then
6610      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6611    else
6612      lt_cv_sys_max_cmd_len=32768
6613    fi
6614    ;;
6615  *)
6616    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6617    if test -n "$lt_cv_sys_max_cmd_len" && \
6618       test undefined != "$lt_cv_sys_max_cmd_len"; then
6619      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6620      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6621    else
6622      # Make teststring a little bigger before we do anything with it.
6623      # a 1K string should be a reasonable start.
6624      for i in 1 2 3 4 5 6 7 8; do
6625        teststring=$teststring$teststring
6626      done
6627      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6628      # If test is not a shell built-in, we'll probably end up computing a
6629      # maximum length that is only half of the actual maximum length, but
6630      # we can't tell.
6631      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6632	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6633	      test 17 != "$i" # 1/2 MB should be enough
6634      do
6635        i=`expr $i + 1`
6636        teststring=$teststring$teststring
6637      done
6638      # Only check the string length outside the loop.
6639      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6640      teststring=
6641      # Add a significant safety factor because C++ compilers can tack on
6642      # massive amounts of additional arguments before passing them to the
6643      # linker.  It appears as though 1/2 is a usable value.
6644      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6645    fi
6646    ;;
6647  esac
6648
6649fi
6650
6651if test -n "$lt_cv_sys_max_cmd_len"; then
6652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6653$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6654else
6655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6656$as_echo "none" >&6; }
6657fi
6658max_cmd_len=$lt_cv_sys_max_cmd_len
6659
6660
6661
6662
6663
6664
6665: ${CP="cp -f"}
6666: ${MV="mv -f"}
6667: ${RM="rm -f"}
6668
6669if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6670  lt_unset=unset
6671else
6672  lt_unset=false
6673fi
6674
6675
6676
6677
6678
6679# test EBCDIC or ASCII
6680case `echo X|tr X '\101'` in
6681 A) # ASCII based system
6682    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6683  lt_SP2NL='tr \040 \012'
6684  lt_NL2SP='tr \015\012 \040\040'
6685  ;;
6686 *) # EBCDIC based system
6687  lt_SP2NL='tr \100 \n'
6688  lt_NL2SP='tr \r\n \100\100'
6689  ;;
6690esac
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6701$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6702if ${lt_cv_to_host_file_cmd+:} false; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705  case $host in
6706  *-*-mingw* )
6707    case $build in
6708      *-*-mingw* ) # actually msys
6709        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6710        ;;
6711      *-*-cygwin* )
6712        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6713        ;;
6714      * ) # otherwise, assume *nix
6715        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6716        ;;
6717    esac
6718    ;;
6719  *-*-cygwin* )
6720    case $build in
6721      *-*-mingw* ) # actually msys
6722        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6723        ;;
6724      *-*-cygwin* )
6725        lt_cv_to_host_file_cmd=func_convert_file_noop
6726        ;;
6727      * ) # otherwise, assume *nix
6728        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6729        ;;
6730    esac
6731    ;;
6732  * ) # unhandled hosts (and "normal" native builds)
6733    lt_cv_to_host_file_cmd=func_convert_file_noop
6734    ;;
6735esac
6736
6737fi
6738
6739to_host_file_cmd=$lt_cv_to_host_file_cmd
6740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6741$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6742
6743
6744
6745
6746
6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6748$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6749if ${lt_cv_to_tool_file_cmd+:} false; then :
6750  $as_echo_n "(cached) " >&6
6751else
6752  #assume ordinary cross tools, or native build.
6753lt_cv_to_tool_file_cmd=func_convert_file_noop
6754case $host in
6755  *-*-mingw* )
6756    case $build in
6757      *-*-mingw* ) # actually msys
6758        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6759        ;;
6760    esac
6761    ;;
6762esac
6763
6764fi
6765
6766to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6768$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6769
6770
6771
6772
6773
6774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6775$as_echo_n "checking for $LD option to reload object files... " >&6; }
6776if ${lt_cv_ld_reload_flag+:} false; then :
6777  $as_echo_n "(cached) " >&6
6778else
6779  lt_cv_ld_reload_flag='-r'
6780fi
6781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6782$as_echo "$lt_cv_ld_reload_flag" >&6; }
6783reload_flag=$lt_cv_ld_reload_flag
6784case $reload_flag in
6785"" | " "*) ;;
6786*) reload_flag=" $reload_flag" ;;
6787esac
6788reload_cmds='$LD$reload_flag -o $output$reload_objs'
6789case $host_os in
6790  cygwin* | mingw* | pw32* | cegcc*)
6791    if test yes != "$GCC"; then
6792      reload_cmds=false
6793    fi
6794    ;;
6795  darwin*)
6796    if test yes = "$GCC"; then
6797      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6798    else
6799      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6800    fi
6801    ;;
6802esac
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812if test -n "$ac_tool_prefix"; then
6813  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6814set dummy ${ac_tool_prefix}objdump; ac_word=$2
6815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816$as_echo_n "checking for $ac_word... " >&6; }
6817if ${ac_cv_prog_OBJDUMP+:} false; then :
6818  $as_echo_n "(cached) " >&6
6819else
6820  if test -n "$OBJDUMP"; then
6821  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6822else
6823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824for as_dir in $PATH
6825do
6826  IFS=$as_save_IFS
6827  test -z "$as_dir" && as_dir=.
6828    for ac_exec_ext in '' $ac_executable_extensions; do
6829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832    break 2
6833  fi
6834done
6835  done
6836IFS=$as_save_IFS
6837
6838fi
6839fi
6840OBJDUMP=$ac_cv_prog_OBJDUMP
6841if test -n "$OBJDUMP"; then
6842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6843$as_echo "$OBJDUMP" >&6; }
6844else
6845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846$as_echo "no" >&6; }
6847fi
6848
6849
6850fi
6851if test -z "$ac_cv_prog_OBJDUMP"; then
6852  ac_ct_OBJDUMP=$OBJDUMP
6853  # Extract the first word of "objdump", so it can be a program name with args.
6854set dummy objdump; ac_word=$2
6855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856$as_echo_n "checking for $ac_word... " >&6; }
6857if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6858  $as_echo_n "(cached) " >&6
6859else
6860  if test -n "$ac_ct_OBJDUMP"; then
6861  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6862else
6863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864for as_dir in $PATH
6865do
6866  IFS=$as_save_IFS
6867  test -z "$as_dir" && as_dir=.
6868    for ac_exec_ext in '' $ac_executable_extensions; do
6869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6870    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872    break 2
6873  fi
6874done
6875  done
6876IFS=$as_save_IFS
6877
6878fi
6879fi
6880ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6881if test -n "$ac_ct_OBJDUMP"; then
6882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6883$as_echo "$ac_ct_OBJDUMP" >&6; }
6884else
6885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886$as_echo "no" >&6; }
6887fi
6888
6889  if test "x$ac_ct_OBJDUMP" = x; then
6890    OBJDUMP="false"
6891  else
6892    case $cross_compiling:$ac_tool_warned in
6893yes:)
6894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896ac_tool_warned=yes ;;
6897esac
6898    OBJDUMP=$ac_ct_OBJDUMP
6899  fi
6900else
6901  OBJDUMP="$ac_cv_prog_OBJDUMP"
6902fi
6903
6904test -z "$OBJDUMP" && OBJDUMP=objdump
6905
6906
6907
6908
6909
6910
6911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6912$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6913if ${lt_cv_deplibs_check_method+:} false; then :
6914  $as_echo_n "(cached) " >&6
6915else
6916  lt_cv_file_magic_cmd='$MAGIC_CMD'
6917lt_cv_file_magic_test_file=
6918lt_cv_deplibs_check_method='unknown'
6919# Need to set the preceding variable on all platforms that support
6920# interlibrary dependencies.
6921# 'none' -- dependencies not supported.
6922# 'unknown' -- same as none, but documents that we really don't know.
6923# 'pass_all' -- all dependencies passed with no checks.
6924# 'test_compile' -- check by making test program.
6925# 'file_magic [[regex]]' -- check by looking for files in library path
6926# that responds to the $file_magic_cmd with a given extended regex.
6927# If you have 'file' or equivalent on your system and you're not sure
6928# whether 'pass_all' will *always* work, you probably want this one.
6929
6930case $host_os in
6931aix[4-9]*)
6932  lt_cv_deplibs_check_method=pass_all
6933  ;;
6934
6935beos*)
6936  lt_cv_deplibs_check_method=pass_all
6937  ;;
6938
6939bsdi[45]*)
6940  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6941  lt_cv_file_magic_cmd='/usr/bin/file -L'
6942  lt_cv_file_magic_test_file=/shlib/libc.so
6943  ;;
6944
6945cygwin*)
6946  # func_win32_libid is a shell function defined in ltmain.sh
6947  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6948  lt_cv_file_magic_cmd='func_win32_libid'
6949  ;;
6950
6951mingw* | pw32*)
6952  # Base MSYS/MinGW do not provide the 'file' command needed by
6953  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6954  # unless we find 'file', for example because we are cross-compiling.
6955  if ( file / ) >/dev/null 2>&1; then
6956    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6957    lt_cv_file_magic_cmd='func_win32_libid'
6958  else
6959    # Keep this pattern in sync with the one in func_win32_libid.
6960    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6961    lt_cv_file_magic_cmd='$OBJDUMP -f'
6962  fi
6963  ;;
6964
6965cegcc*)
6966  # use the weaker test based on 'objdump'. See mingw*.
6967  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6968  lt_cv_file_magic_cmd='$OBJDUMP -f'
6969  ;;
6970
6971darwin* | rhapsody*)
6972  lt_cv_deplibs_check_method=pass_all
6973  ;;
6974
6975freebsd* | dragonfly*)
6976  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6977    case $host_cpu in
6978    i*86 )
6979      # Not sure whether the presence of OpenBSD here was a mistake.
6980      # Let's accept both of them until this is cleared up.
6981      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6982      lt_cv_file_magic_cmd=/usr/bin/file
6983      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6984      ;;
6985    esac
6986  else
6987    lt_cv_deplibs_check_method=pass_all
6988  fi
6989  ;;
6990
6991haiku*)
6992  lt_cv_deplibs_check_method=pass_all
6993  ;;
6994
6995hpux10.20* | hpux11*)
6996  lt_cv_file_magic_cmd=/usr/bin/file
6997  case $host_cpu in
6998  ia64*)
6999    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7000    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7001    ;;
7002  hppa*64*)
7003    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]'
7004    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7005    ;;
7006  *)
7007    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7008    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7009    ;;
7010  esac
7011  ;;
7012
7013interix[3-9]*)
7014  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7015  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7016  ;;
7017
7018irix5* | irix6* | nonstopux*)
7019  case $LD in
7020  *-32|*"-32 ") libmagic=32-bit;;
7021  *-n32|*"-n32 ") libmagic=N32;;
7022  *-64|*"-64 ") libmagic=64-bit;;
7023  *) libmagic=never-match;;
7024  esac
7025  lt_cv_deplibs_check_method=pass_all
7026  ;;
7027
7028# This must be glibc/ELF.
7029linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7030  lt_cv_deplibs_check_method=pass_all
7031  ;;
7032
7033netbsd*)
7034  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7035    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7036  else
7037    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7038  fi
7039  ;;
7040
7041newos6*)
7042  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7043  lt_cv_file_magic_cmd=/usr/bin/file
7044  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7045  ;;
7046
7047*nto* | *qnx*)
7048  lt_cv_deplibs_check_method=pass_all
7049  ;;
7050
7051openbsd* | bitrig*)
7052  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7053    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7054  else
7055    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7056  fi
7057  ;;
7058
7059osf3* | osf4* | osf5*)
7060  lt_cv_deplibs_check_method=pass_all
7061  ;;
7062
7063rdos*)
7064  lt_cv_deplibs_check_method=pass_all
7065  ;;
7066
7067solaris*)
7068  lt_cv_deplibs_check_method=pass_all
7069  ;;
7070
7071sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7072  lt_cv_deplibs_check_method=pass_all
7073  ;;
7074
7075sysv4 | sysv4.3*)
7076  case $host_vendor in
7077  motorola)
7078    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]'
7079    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7080    ;;
7081  ncr)
7082    lt_cv_deplibs_check_method=pass_all
7083    ;;
7084  sequent)
7085    lt_cv_file_magic_cmd='/bin/file'
7086    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7087    ;;
7088  sni)
7089    lt_cv_file_magic_cmd='/bin/file'
7090    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7091    lt_cv_file_magic_test_file=/lib/libc.so
7092    ;;
7093  siemens)
7094    lt_cv_deplibs_check_method=pass_all
7095    ;;
7096  pc)
7097    lt_cv_deplibs_check_method=pass_all
7098    ;;
7099  esac
7100  ;;
7101
7102tpf*)
7103  lt_cv_deplibs_check_method=pass_all
7104  ;;
7105os2*)
7106  lt_cv_deplibs_check_method=pass_all
7107  ;;
7108esac
7109
7110fi
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7112$as_echo "$lt_cv_deplibs_check_method" >&6; }
7113
7114file_magic_glob=
7115want_nocaseglob=no
7116if test "$build" = "$host"; then
7117  case $host_os in
7118  mingw* | pw32*)
7119    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7120      want_nocaseglob=yes
7121    else
7122      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7123    fi
7124    ;;
7125  esac
7126fi
7127
7128file_magic_cmd=$lt_cv_file_magic_cmd
7129deplibs_check_method=$lt_cv_deplibs_check_method
7130test -z "$deplibs_check_method" && deplibs_check_method=unknown
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153if test -n "$ac_tool_prefix"; then
7154  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7155set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157$as_echo_n "checking for $ac_word... " >&6; }
7158if ${ac_cv_prog_DLLTOOL+:} false; then :
7159  $as_echo_n "(cached) " >&6
7160else
7161  if test -n "$DLLTOOL"; then
7162  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7163else
7164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165for as_dir in $PATH
7166do
7167  IFS=$as_save_IFS
7168  test -z "$as_dir" && as_dir=.
7169    for ac_exec_ext in '' $ac_executable_extensions; do
7170  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7171    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7172    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173    break 2
7174  fi
7175done
7176  done
7177IFS=$as_save_IFS
7178
7179fi
7180fi
7181DLLTOOL=$ac_cv_prog_DLLTOOL
7182if test -n "$DLLTOOL"; then
7183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7184$as_echo "$DLLTOOL" >&6; }
7185else
7186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187$as_echo "no" >&6; }
7188fi
7189
7190
7191fi
7192if test -z "$ac_cv_prog_DLLTOOL"; then
7193  ac_ct_DLLTOOL=$DLLTOOL
7194  # Extract the first word of "dlltool", so it can be a program name with args.
7195set dummy dlltool; ac_word=$2
7196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197$as_echo_n "checking for $ac_word... " >&6; }
7198if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7199  $as_echo_n "(cached) " >&6
7200else
7201  if test -n "$ac_ct_DLLTOOL"; then
7202  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7203else
7204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205for as_dir in $PATH
7206do
7207  IFS=$as_save_IFS
7208  test -z "$as_dir" && as_dir=.
7209    for ac_exec_ext in '' $ac_executable_extensions; do
7210  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213    break 2
7214  fi
7215done
7216  done
7217IFS=$as_save_IFS
7218
7219fi
7220fi
7221ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7222if test -n "$ac_ct_DLLTOOL"; then
7223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7224$as_echo "$ac_ct_DLLTOOL" >&6; }
7225else
7226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227$as_echo "no" >&6; }
7228fi
7229
7230  if test "x$ac_ct_DLLTOOL" = x; then
7231    DLLTOOL="false"
7232  else
7233    case $cross_compiling:$ac_tool_warned in
7234yes:)
7235{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237ac_tool_warned=yes ;;
7238esac
7239    DLLTOOL=$ac_ct_DLLTOOL
7240  fi
7241else
7242  DLLTOOL="$ac_cv_prog_DLLTOOL"
7243fi
7244
7245test -z "$DLLTOOL" && DLLTOOL=dlltool
7246
7247
7248
7249
7250
7251
7252
7253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7254$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7255if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7256  $as_echo_n "(cached) " >&6
7257else
7258  lt_cv_sharedlib_from_linklib_cmd='unknown'
7259
7260case $host_os in
7261cygwin* | mingw* | pw32* | cegcc*)
7262  # two different shell functions defined in ltmain.sh;
7263  # decide which one to use based on capabilities of $DLLTOOL
7264  case `$DLLTOOL --help 2>&1` in
7265  *--identify-strict*)
7266    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7267    ;;
7268  *)
7269    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7270    ;;
7271  esac
7272  ;;
7273*)
7274  # fallback: assume linklib IS sharedlib
7275  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7276  ;;
7277esac
7278
7279fi
7280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7281$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7282sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7283test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7284
7285
7286
7287
7288
7289
7290
7291if test -n "$ac_tool_prefix"; then
7292  for ac_prog in ar
7293  do
7294    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7295set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297$as_echo_n "checking for $ac_word... " >&6; }
7298if ${ac_cv_prog_AR+:} false; then :
7299  $as_echo_n "(cached) " >&6
7300else
7301  if test -n "$AR"; then
7302  ac_cv_prog_AR="$AR" # Let the user override the test.
7303else
7304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305for as_dir in $PATH
7306do
7307  IFS=$as_save_IFS
7308  test -z "$as_dir" && as_dir=.
7309    for ac_exec_ext in '' $ac_executable_extensions; do
7310  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313    break 2
7314  fi
7315done
7316  done
7317IFS=$as_save_IFS
7318
7319fi
7320fi
7321AR=$ac_cv_prog_AR
7322if test -n "$AR"; then
7323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7324$as_echo "$AR" >&6; }
7325else
7326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327$as_echo "no" >&6; }
7328fi
7329
7330
7331    test -n "$AR" && break
7332  done
7333fi
7334if test -z "$AR"; then
7335  ac_ct_AR=$AR
7336  for ac_prog in ar
7337do
7338  # Extract the first word of "$ac_prog", so it can be a program name with args.
7339set dummy $ac_prog; ac_word=$2
7340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341$as_echo_n "checking for $ac_word... " >&6; }
7342if ${ac_cv_prog_ac_ct_AR+:} false; then :
7343  $as_echo_n "(cached) " >&6
7344else
7345  if test -n "$ac_ct_AR"; then
7346  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7347else
7348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349for as_dir in $PATH
7350do
7351  IFS=$as_save_IFS
7352  test -z "$as_dir" && as_dir=.
7353    for ac_exec_ext in '' $ac_executable_extensions; do
7354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355    ac_cv_prog_ac_ct_AR="$ac_prog"
7356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357    break 2
7358  fi
7359done
7360  done
7361IFS=$as_save_IFS
7362
7363fi
7364fi
7365ac_ct_AR=$ac_cv_prog_ac_ct_AR
7366if test -n "$ac_ct_AR"; then
7367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7368$as_echo "$ac_ct_AR" >&6; }
7369else
7370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371$as_echo "no" >&6; }
7372fi
7373
7374
7375  test -n "$ac_ct_AR" && break
7376done
7377
7378  if test "x$ac_ct_AR" = x; then
7379    AR="false"
7380  else
7381    case $cross_compiling:$ac_tool_warned in
7382yes:)
7383{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7384$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7385ac_tool_warned=yes ;;
7386esac
7387    AR=$ac_ct_AR
7388  fi
7389fi
7390
7391: ${AR=ar}
7392: ${AR_FLAGS=cru}
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7405$as_echo_n "checking for archiver @FILE support... " >&6; }
7406if ${lt_cv_ar_at_file+:} false; then :
7407  $as_echo_n "(cached) " >&6
7408else
7409  lt_cv_ar_at_file=no
7410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7411/* end confdefs.h.  */
7412
7413int
7414main ()
7415{
7416
7417  ;
7418  return 0;
7419}
7420_ACEOF
7421if ac_fn_c_try_compile "$LINENO"; then :
7422  echo conftest.$ac_objext > conftest.lst
7423      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7424      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7425  (eval $lt_ar_try) 2>&5
7426  ac_status=$?
7427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7428  test $ac_status = 0; }
7429      if test 0 -eq "$ac_status"; then
7430	# Ensure the archiver fails upon bogus file names.
7431	rm -f conftest.$ac_objext libconftest.a
7432	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7433  (eval $lt_ar_try) 2>&5
7434  ac_status=$?
7435  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7436  test $ac_status = 0; }
7437	if test 0 -ne "$ac_status"; then
7438          lt_cv_ar_at_file=@
7439        fi
7440      fi
7441      rm -f conftest.* libconftest.a
7442
7443fi
7444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7445
7446fi
7447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7448$as_echo "$lt_cv_ar_at_file" >&6; }
7449
7450if test no = "$lt_cv_ar_at_file"; then
7451  archiver_list_spec=
7452else
7453  archiver_list_spec=$lt_cv_ar_at_file
7454fi
7455
7456
7457
7458
7459
7460
7461
7462if test -n "$ac_tool_prefix"; then
7463  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7464set dummy ${ac_tool_prefix}strip; ac_word=$2
7465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466$as_echo_n "checking for $ac_word... " >&6; }
7467if ${ac_cv_prog_STRIP+:} false; then :
7468  $as_echo_n "(cached) " >&6
7469else
7470  if test -n "$STRIP"; then
7471  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7472else
7473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474for as_dir in $PATH
7475do
7476  IFS=$as_save_IFS
7477  test -z "$as_dir" && as_dir=.
7478    for ac_exec_ext in '' $ac_executable_extensions; do
7479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482    break 2
7483  fi
7484done
7485  done
7486IFS=$as_save_IFS
7487
7488fi
7489fi
7490STRIP=$ac_cv_prog_STRIP
7491if test -n "$STRIP"; then
7492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7493$as_echo "$STRIP" >&6; }
7494else
7495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496$as_echo "no" >&6; }
7497fi
7498
7499
7500fi
7501if test -z "$ac_cv_prog_STRIP"; then
7502  ac_ct_STRIP=$STRIP
7503  # Extract the first word of "strip", so it can be a program name with args.
7504set dummy strip; ac_word=$2
7505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506$as_echo_n "checking for $ac_word... " >&6; }
7507if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7508  $as_echo_n "(cached) " >&6
7509else
7510  if test -n "$ac_ct_STRIP"; then
7511  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7512else
7513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514for as_dir in $PATH
7515do
7516  IFS=$as_save_IFS
7517  test -z "$as_dir" && as_dir=.
7518    for ac_exec_ext in '' $ac_executable_extensions; do
7519  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520    ac_cv_prog_ac_ct_STRIP="strip"
7521    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522    break 2
7523  fi
7524done
7525  done
7526IFS=$as_save_IFS
7527
7528fi
7529fi
7530ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7531if test -n "$ac_ct_STRIP"; then
7532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7533$as_echo "$ac_ct_STRIP" >&6; }
7534else
7535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536$as_echo "no" >&6; }
7537fi
7538
7539  if test "x$ac_ct_STRIP" = x; then
7540    STRIP=":"
7541  else
7542    case $cross_compiling:$ac_tool_warned in
7543yes:)
7544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7546ac_tool_warned=yes ;;
7547esac
7548    STRIP=$ac_ct_STRIP
7549  fi
7550else
7551  STRIP="$ac_cv_prog_STRIP"
7552fi
7553
7554test -z "$STRIP" && STRIP=:
7555
7556
7557
7558
7559
7560
7561if test -n "$ac_tool_prefix"; then
7562  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7563set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565$as_echo_n "checking for $ac_word... " >&6; }
7566if ${ac_cv_prog_RANLIB+:} false; then :
7567  $as_echo_n "(cached) " >&6
7568else
7569  if test -n "$RANLIB"; then
7570  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7571else
7572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573for as_dir in $PATH
7574do
7575  IFS=$as_save_IFS
7576  test -z "$as_dir" && as_dir=.
7577    for ac_exec_ext in '' $ac_executable_extensions; do
7578  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581    break 2
7582  fi
7583done
7584  done
7585IFS=$as_save_IFS
7586
7587fi
7588fi
7589RANLIB=$ac_cv_prog_RANLIB
7590if test -n "$RANLIB"; then
7591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7592$as_echo "$RANLIB" >&6; }
7593else
7594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595$as_echo "no" >&6; }
7596fi
7597
7598
7599fi
7600if test -z "$ac_cv_prog_RANLIB"; then
7601  ac_ct_RANLIB=$RANLIB
7602  # Extract the first word of "ranlib", so it can be a program name with args.
7603set dummy ranlib; ac_word=$2
7604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605$as_echo_n "checking for $ac_word... " >&6; }
7606if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7607  $as_echo_n "(cached) " >&6
7608else
7609  if test -n "$ac_ct_RANLIB"; then
7610  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7611else
7612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613for as_dir in $PATH
7614do
7615  IFS=$as_save_IFS
7616  test -z "$as_dir" && as_dir=.
7617    for ac_exec_ext in '' $ac_executable_extensions; do
7618  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619    ac_cv_prog_ac_ct_RANLIB="ranlib"
7620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621    break 2
7622  fi
7623done
7624  done
7625IFS=$as_save_IFS
7626
7627fi
7628fi
7629ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7630if test -n "$ac_ct_RANLIB"; then
7631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7632$as_echo "$ac_ct_RANLIB" >&6; }
7633else
7634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635$as_echo "no" >&6; }
7636fi
7637
7638  if test "x$ac_ct_RANLIB" = x; then
7639    RANLIB=":"
7640  else
7641    case $cross_compiling:$ac_tool_warned in
7642yes:)
7643{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7644$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7645ac_tool_warned=yes ;;
7646esac
7647    RANLIB=$ac_ct_RANLIB
7648  fi
7649else
7650  RANLIB="$ac_cv_prog_RANLIB"
7651fi
7652
7653test -z "$RANLIB" && RANLIB=:
7654
7655
7656
7657
7658
7659
7660# Determine commands to create old-style static archives.
7661old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7662old_postinstall_cmds='chmod 644 $oldlib'
7663old_postuninstall_cmds=
7664
7665if test -n "$RANLIB"; then
7666  case $host_os in
7667  bitrig* | openbsd*)
7668    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7669    ;;
7670  *)
7671    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7672    ;;
7673  esac
7674  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7675fi
7676
7677case $host_os in
7678  darwin*)
7679    lock_old_archive_extraction=yes ;;
7680  *)
7681    lock_old_archive_extraction=no ;;
7682esac
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722# If no C compiler was specified, use CC.
7723LTCC=${LTCC-"$CC"}
7724
7725# If no C compiler flags were specified, use CFLAGS.
7726LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7727
7728# Allow CC to be a program name with arguments.
7729compiler=$CC
7730
7731
7732# Check for command to grab the raw symbol name followed by C symbol from nm.
7733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7734$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7735if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7736  $as_echo_n "(cached) " >&6
7737else
7738
7739# These are sane defaults that work on at least a few old systems.
7740# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7741
7742# Character class describing NM global symbol codes.
7743symcode='[BCDEGRST]'
7744
7745# Regexp to match symbols that can be accessed directly from C.
7746sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7747
7748# Define system-specific variables.
7749case $host_os in
7750aix*)
7751  symcode='[BCDT]'
7752  ;;
7753cygwin* | mingw* | pw32* | cegcc*)
7754  symcode='[ABCDGISTW]'
7755  ;;
7756hpux*)
7757  if test ia64 = "$host_cpu"; then
7758    symcode='[ABCDEGRST]'
7759  fi
7760  ;;
7761irix* | nonstopux*)
7762  symcode='[BCDEGRST]'
7763  ;;
7764osf*)
7765  symcode='[BCDEGQRST]'
7766  ;;
7767solaris*)
7768  symcode='[BDRT]'
7769  ;;
7770sco3.2v5*)
7771  symcode='[DT]'
7772  ;;
7773sysv4.2uw2*)
7774  symcode='[DT]'
7775  ;;
7776sysv5* | sco5v6* | unixware* | OpenUNIX*)
7777  symcode='[ABDT]'
7778  ;;
7779sysv4)
7780  symcode='[DFNSTU]'
7781  ;;
7782esac
7783
7784# If we're using GNU nm, then use its standard symbol codes.
7785case `$NM -V 2>&1` in
7786*GNU* | *'with BFD'*)
7787  symcode='[ABCDGIRSTW]' ;;
7788esac
7789
7790if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7791  # Gets list of data symbols to import.
7792  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7793  # Adjust the below global symbol transforms to fixup imported variables.
7794  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7795  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7796  lt_c_name_lib_hook="\
7797  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7798  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7799else
7800  # Disable hooks by default.
7801  lt_cv_sys_global_symbol_to_import=
7802  lt_cdecl_hook=
7803  lt_c_name_hook=
7804  lt_c_name_lib_hook=
7805fi
7806
7807# Transform an extracted symbol line into a proper C declaration.
7808# Some systems (esp. on ia64) link data and code symbols differently,
7809# so use this general approach.
7810lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7811$lt_cdecl_hook\
7812" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7813" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7814
7815# Transform an extracted symbol line into symbol name and symbol address
7816lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7817$lt_c_name_hook\
7818" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7819" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7820
7821# Transform an extracted symbol line into symbol name with lib prefix and
7822# symbol address.
7823lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7824$lt_c_name_lib_hook\
7825" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7826" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7827" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7828
7829# Handle CRLF in mingw tool chain
7830opt_cr=
7831case $build_os in
7832mingw*)
7833  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7834  ;;
7835esac
7836
7837# Try without a prefix underscore, then with it.
7838for ac_symprfx in "" "_"; do
7839
7840  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7841  symxfrm="\\1 $ac_symprfx\\2 \\2"
7842
7843  # Write the raw and C identifiers.
7844  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7845    # Fake it for dumpbin and say T for any non-static function,
7846    # D for any global variable and I for any imported variable.
7847    # Also find C++ and __fastcall symbols from MSVC++,
7848    # which start with @ or ?.
7849    lt_cv_sys_global_symbol_pipe="$AWK '"\
7850"     {last_section=section; section=\$ 3};"\
7851"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7852"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7853"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7854"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7855"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7856"     \$ 0!~/External *\|/{next};"\
7857"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7858"     {if(hide[section]) next};"\
7859"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7860"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7861"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7862"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7863"     ' prfx=^$ac_symprfx"
7864  else
7865    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7866  fi
7867  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7868
7869  # Check to see that the pipe works correctly.
7870  pipe_works=no
7871
7872  rm -f conftest*
7873  cat > conftest.$ac_ext <<_LT_EOF
7874#ifdef __cplusplus
7875extern "C" {
7876#endif
7877char nm_test_var;
7878void nm_test_func(void);
7879void nm_test_func(void){}
7880#ifdef __cplusplus
7881}
7882#endif
7883int main(){nm_test_var='a';nm_test_func();return(0);}
7884_LT_EOF
7885
7886  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887  (eval $ac_compile) 2>&5
7888  ac_status=$?
7889  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890  test $ac_status = 0; }; then
7891    # Now try to grab the symbols.
7892    nlist=conftest.nm
7893    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7894  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7895  ac_status=$?
7896  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7897  test $ac_status = 0; } && test -s "$nlist"; then
7898      # Try sorting and uniquifying the output.
7899      if sort "$nlist" | uniq > "$nlist"T; then
7900	mv -f "$nlist"T "$nlist"
7901      else
7902	rm -f "$nlist"T
7903      fi
7904
7905      # Make sure that we snagged all the symbols we need.
7906      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7907	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7908	  cat <<_LT_EOF > conftest.$ac_ext
7909/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7910#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7911/* DATA imports from DLLs on WIN32 can't be const, because runtime
7912   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7913# define LT_DLSYM_CONST
7914#elif defined __osf__
7915/* This system does not cope well with relocations in const data.  */
7916# define LT_DLSYM_CONST
7917#else
7918# define LT_DLSYM_CONST const
7919#endif
7920
7921#ifdef __cplusplus
7922extern "C" {
7923#endif
7924
7925_LT_EOF
7926	  # Now generate the symbol file.
7927	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7928
7929	  cat <<_LT_EOF >> conftest.$ac_ext
7930
7931/* The mapping between symbol names and symbols.  */
7932LT_DLSYM_CONST struct {
7933  const char *name;
7934  void       *address;
7935}
7936lt__PROGRAM__LTX_preloaded_symbols[] =
7937{
7938  { "@PROGRAM@", (void *) 0 },
7939_LT_EOF
7940	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7941	  cat <<\_LT_EOF >> conftest.$ac_ext
7942  {0, (void *) 0}
7943};
7944
7945/* This works around a problem in FreeBSD linker */
7946#ifdef FREEBSD_WORKAROUND
7947static const void *lt_preloaded_setup() {
7948  return lt__PROGRAM__LTX_preloaded_symbols;
7949}
7950#endif
7951
7952#ifdef __cplusplus
7953}
7954#endif
7955_LT_EOF
7956	  # Now try linking the two files.
7957	  mv conftest.$ac_objext conftstm.$ac_objext
7958	  lt_globsym_save_LIBS=$LIBS
7959	  lt_globsym_save_CFLAGS=$CFLAGS
7960	  LIBS=conftstm.$ac_objext
7961	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7962	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7963  (eval $ac_link) 2>&5
7964  ac_status=$?
7965  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7966  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7967	    pipe_works=yes
7968	  fi
7969	  LIBS=$lt_globsym_save_LIBS
7970	  CFLAGS=$lt_globsym_save_CFLAGS
7971	else
7972	  echo "cannot find nm_test_func in $nlist" >&5
7973	fi
7974      else
7975	echo "cannot find nm_test_var in $nlist" >&5
7976      fi
7977    else
7978      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7979    fi
7980  else
7981    echo "$progname: failed program was:" >&5
7982    cat conftest.$ac_ext >&5
7983  fi
7984  rm -rf conftest* conftst*
7985
7986  # Do not use the global_symbol_pipe unless it works.
7987  if test yes = "$pipe_works"; then
7988    break
7989  else
7990    lt_cv_sys_global_symbol_pipe=
7991  fi
7992done
7993
7994fi
7995
7996if test -z "$lt_cv_sys_global_symbol_pipe"; then
7997  lt_cv_sys_global_symbol_to_cdecl=
7998fi
7999if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8001$as_echo "failed" >&6; }
8002else
8003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8004$as_echo "ok" >&6; }
8005fi
8006
8007# Response file support.
8008if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8009  nm_file_list_spec='@'
8010elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8011  nm_file_list_spec='@'
8012fi
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8051$as_echo_n "checking for sysroot... " >&6; }
8052
8053# Check whether --with-sysroot was given.
8054if test "${with_sysroot+set}" = set; then :
8055  withval=$with_sysroot;
8056else
8057  with_sysroot=no
8058fi
8059
8060
8061lt_sysroot=
8062case $with_sysroot in #(
8063 yes)
8064   if test yes = "$GCC"; then
8065     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8066   fi
8067   ;; #(
8068 /*)
8069   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8070   ;; #(
8071 no|'')
8072   ;; #(
8073 *)
8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8075$as_echo "$with_sysroot" >&6; }
8076   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8077   ;;
8078esac
8079
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8081$as_echo "${lt_sysroot:-no}" >&6; }
8082
8083
8084
8085
8086
8087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8088$as_echo_n "checking for a working dd... " >&6; }
8089if ${ac_cv_path_lt_DD+:} false; then :
8090  $as_echo_n "(cached) " >&6
8091else
8092  printf 0123456789abcdef0123456789abcdef >conftest.i
8093cat conftest.i conftest.i >conftest2.i
8094: ${lt_DD:=$DD}
8095if test -z "$lt_DD"; then
8096  ac_path_lt_DD_found=false
8097  # Loop through the user's path and test for each of PROGNAME-LIST
8098  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099for as_dir in $PATH
8100do
8101  IFS=$as_save_IFS
8102  test -z "$as_dir" && as_dir=.
8103    for ac_prog in dd; do
8104    for ac_exec_ext in '' $ac_executable_extensions; do
8105      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8106      as_fn_executable_p "$ac_path_lt_DD" || continue
8107if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8108  cmp -s conftest.i conftest.out \
8109  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8110fi
8111      $ac_path_lt_DD_found && break 3
8112    done
8113  done
8114  done
8115IFS=$as_save_IFS
8116  if test -z "$ac_cv_path_lt_DD"; then
8117    :
8118  fi
8119else
8120  ac_cv_path_lt_DD=$lt_DD
8121fi
8122
8123rm -f conftest.i conftest2.i conftest.out
8124fi
8125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8126$as_echo "$ac_cv_path_lt_DD" >&6; }
8127
8128
8129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8130$as_echo_n "checking how to truncate binary pipes... " >&6; }
8131if ${lt_cv_truncate_bin+:} false; then :
8132  $as_echo_n "(cached) " >&6
8133else
8134  printf 0123456789abcdef0123456789abcdef >conftest.i
8135cat conftest.i conftest.i >conftest2.i
8136lt_cv_truncate_bin=
8137if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8138  cmp -s conftest.i conftest.out \
8139  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8140fi
8141rm -f conftest.i conftest2.i conftest.out
8142test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8143fi
8144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8145$as_echo "$lt_cv_truncate_bin" >&6; }
8146
8147
8148
8149
8150
8151
8152
8153# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8154func_cc_basename ()
8155{
8156    for cc_temp in $*""; do
8157      case $cc_temp in
8158        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8159        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8160        \-*) ;;
8161        *) break;;
8162      esac
8163    done
8164    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8165}
8166
8167# Check whether --enable-libtool-lock was given.
8168if test "${enable_libtool_lock+set}" = set; then :
8169  enableval=$enable_libtool_lock;
8170fi
8171
8172test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8173
8174# Some flags need to be propagated to the compiler or linker for good
8175# libtool support.
8176case $host in
8177ia64-*-hpux*)
8178  # Find out what ABI is being produced by ac_compile, and set mode
8179  # options accordingly.
8180  echo 'int i;' > conftest.$ac_ext
8181  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8182  (eval $ac_compile) 2>&5
8183  ac_status=$?
8184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8185  test $ac_status = 0; }; then
8186    case `/usr/bin/file conftest.$ac_objext` in
8187      *ELF-32*)
8188	HPUX_IA64_MODE=32
8189	;;
8190      *ELF-64*)
8191	HPUX_IA64_MODE=64
8192	;;
8193    esac
8194  fi
8195  rm -rf conftest*
8196  ;;
8197*-*-irix6*)
8198  # Find out what ABI is being produced by ac_compile, and set linker
8199  # options accordingly.
8200  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8201  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8202  (eval $ac_compile) 2>&5
8203  ac_status=$?
8204  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8205  test $ac_status = 0; }; then
8206    if test yes = "$lt_cv_prog_gnu_ld"; then
8207      case `/usr/bin/file conftest.$ac_objext` in
8208	*32-bit*)
8209	  LD="${LD-ld} -melf32bsmip"
8210	  ;;
8211	*N32*)
8212	  LD="${LD-ld} -melf32bmipn32"
8213	  ;;
8214	*64-bit*)
8215	  LD="${LD-ld} -melf64bmip"
8216	;;
8217      esac
8218    else
8219      case `/usr/bin/file conftest.$ac_objext` in
8220	*32-bit*)
8221	  LD="${LD-ld} -32"
8222	  ;;
8223	*N32*)
8224	  LD="${LD-ld} -n32"
8225	  ;;
8226	*64-bit*)
8227	  LD="${LD-ld} -64"
8228	  ;;
8229      esac
8230    fi
8231  fi
8232  rm -rf conftest*
8233  ;;
8234
8235mips64*-*linux*)
8236  # Find out what ABI is being produced by ac_compile, and set linker
8237  # options accordingly.
8238  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8239  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8240  (eval $ac_compile) 2>&5
8241  ac_status=$?
8242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243  test $ac_status = 0; }; then
8244    emul=elf
8245    case `/usr/bin/file conftest.$ac_objext` in
8246      *32-bit*)
8247	emul="${emul}32"
8248	;;
8249      *64-bit*)
8250	emul="${emul}64"
8251	;;
8252    esac
8253    case `/usr/bin/file conftest.$ac_objext` in
8254      *MSB*)
8255	emul="${emul}btsmip"
8256	;;
8257      *LSB*)
8258	emul="${emul}ltsmip"
8259	;;
8260    esac
8261    case `/usr/bin/file conftest.$ac_objext` in
8262      *N32*)
8263	emul="${emul}n32"
8264	;;
8265    esac
8266    LD="${LD-ld} -m $emul"
8267  fi
8268  rm -rf conftest*
8269  ;;
8270
8271x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8272s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8273  # Find out what ABI is being produced by ac_compile, and set linker
8274  # options accordingly.  Note that the listed cases only cover the
8275  # situations where additional linker options are needed (such as when
8276  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8277  # vice versa); the common cases where no linker options are needed do
8278  # not appear in the list.
8279  echo 'int i;' > conftest.$ac_ext
8280  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8281  (eval $ac_compile) 2>&5
8282  ac_status=$?
8283  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8284  test $ac_status = 0; }; then
8285    case `/usr/bin/file conftest.o` in
8286      *32-bit*)
8287	case $host in
8288	  x86_64-*kfreebsd*-gnu)
8289	    LD="${LD-ld} -m elf_i386_fbsd"
8290	    ;;
8291	  x86_64-*linux*)
8292	    case `/usr/bin/file conftest.o` in
8293	      *x86-64*)
8294		LD="${LD-ld} -m elf32_x86_64"
8295		;;
8296	      *)
8297		LD="${LD-ld} -m elf_i386"
8298		;;
8299	    esac
8300	    ;;
8301	  powerpc64le-*linux*)
8302	    LD="${LD-ld} -m elf32lppclinux"
8303	    ;;
8304	  powerpc64-*linux*)
8305	    LD="${LD-ld} -m elf32ppclinux"
8306	    ;;
8307	  s390x-*linux*)
8308	    LD="${LD-ld} -m elf_s390"
8309	    ;;
8310	  sparc64-*linux*)
8311	    LD="${LD-ld} -m elf32_sparc"
8312	    ;;
8313	esac
8314	;;
8315      *64-bit*)
8316	case $host in
8317	  x86_64-*kfreebsd*-gnu)
8318	    LD="${LD-ld} -m elf_x86_64_fbsd"
8319	    ;;
8320	  x86_64-*linux*)
8321	    LD="${LD-ld} -m elf_x86_64"
8322	    ;;
8323	  powerpcle-*linux*)
8324	    LD="${LD-ld} -m elf64lppc"
8325	    ;;
8326	  powerpc-*linux*)
8327	    LD="${LD-ld} -m elf64ppc"
8328	    ;;
8329	  s390*-*linux*|s390*-*tpf*)
8330	    LD="${LD-ld} -m elf64_s390"
8331	    ;;
8332	  sparc*-*linux*)
8333	    LD="${LD-ld} -m elf64_sparc"
8334	    ;;
8335	esac
8336	;;
8337    esac
8338  fi
8339  rm -rf conftest*
8340  ;;
8341
8342*-*-sco3.2v5*)
8343  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8344  SAVE_CFLAGS=$CFLAGS
8345  CFLAGS="$CFLAGS -belf"
8346  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8347$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8348if ${lt_cv_cc_needs_belf+:} false; then :
8349  $as_echo_n "(cached) " >&6
8350else
8351  ac_ext=c
8352ac_cpp='$CPP $CPPFLAGS'
8353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8355ac_compiler_gnu=$ac_cv_c_compiler_gnu
8356
8357     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358/* end confdefs.h.  */
8359
8360int
8361main ()
8362{
8363
8364  ;
8365  return 0;
8366}
8367_ACEOF
8368if ac_fn_c_try_link "$LINENO"; then :
8369  lt_cv_cc_needs_belf=yes
8370else
8371  lt_cv_cc_needs_belf=no
8372fi
8373rm -f core conftest.err conftest.$ac_objext \
8374    conftest$ac_exeext conftest.$ac_ext
8375     ac_ext=c
8376ac_cpp='$CPP $CPPFLAGS'
8377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8379ac_compiler_gnu=$ac_cv_c_compiler_gnu
8380
8381fi
8382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8383$as_echo "$lt_cv_cc_needs_belf" >&6; }
8384  if test yes != "$lt_cv_cc_needs_belf"; then
8385    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8386    CFLAGS=$SAVE_CFLAGS
8387  fi
8388  ;;
8389*-*solaris*)
8390  # Find out what ABI is being produced by ac_compile, and set linker
8391  # options accordingly.
8392  echo 'int i;' > conftest.$ac_ext
8393  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8394  (eval $ac_compile) 2>&5
8395  ac_status=$?
8396  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8397  test $ac_status = 0; }; then
8398    case `/usr/bin/file conftest.o` in
8399    *64-bit*)
8400      case $lt_cv_prog_gnu_ld in
8401      yes*)
8402        case $host in
8403        i?86-*-solaris*|x86_64-*-solaris*)
8404          LD="${LD-ld} -m elf_x86_64"
8405          ;;
8406        sparc*-*-solaris*)
8407          LD="${LD-ld} -m elf64_sparc"
8408          ;;
8409        esac
8410        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8411        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8412          LD=${LD-ld}_sol2
8413        fi
8414        ;;
8415      *)
8416	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8417	  LD="${LD-ld} -64"
8418	fi
8419	;;
8420      esac
8421      ;;
8422    esac
8423  fi
8424  rm -rf conftest*
8425  ;;
8426esac
8427
8428need_locks=$enable_libtool_lock
8429
8430if test -n "$ac_tool_prefix"; then
8431  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8432set dummy ${ac_tool_prefix}mt; ac_word=$2
8433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434$as_echo_n "checking for $ac_word... " >&6; }
8435if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8436  $as_echo_n "(cached) " >&6
8437else
8438  if test -n "$MANIFEST_TOOL"; then
8439  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8440else
8441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8442for as_dir in $PATH
8443do
8444  IFS=$as_save_IFS
8445  test -z "$as_dir" && as_dir=.
8446    for ac_exec_ext in '' $ac_executable_extensions; do
8447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8448    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8450    break 2
8451  fi
8452done
8453  done
8454IFS=$as_save_IFS
8455
8456fi
8457fi
8458MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8459if test -n "$MANIFEST_TOOL"; then
8460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8461$as_echo "$MANIFEST_TOOL" >&6; }
8462else
8463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464$as_echo "no" >&6; }
8465fi
8466
8467
8468fi
8469if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8470  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8471  # Extract the first word of "mt", so it can be a program name with args.
8472set dummy mt; ac_word=$2
8473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8474$as_echo_n "checking for $ac_word... " >&6; }
8475if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8476  $as_echo_n "(cached) " >&6
8477else
8478  if test -n "$ac_ct_MANIFEST_TOOL"; then
8479  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8480else
8481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482for as_dir in $PATH
8483do
8484  IFS=$as_save_IFS
8485  test -z "$as_dir" && as_dir=.
8486    for ac_exec_ext in '' $ac_executable_extensions; do
8487  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8488    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8490    break 2
8491  fi
8492done
8493  done
8494IFS=$as_save_IFS
8495
8496fi
8497fi
8498ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8499if test -n "$ac_ct_MANIFEST_TOOL"; then
8500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8501$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8502else
8503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504$as_echo "no" >&6; }
8505fi
8506
8507  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8508    MANIFEST_TOOL=":"
8509  else
8510    case $cross_compiling:$ac_tool_warned in
8511yes:)
8512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8514ac_tool_warned=yes ;;
8515esac
8516    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8517  fi
8518else
8519  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8520fi
8521
8522test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8524$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8525if ${lt_cv_path_mainfest_tool+:} false; then :
8526  $as_echo_n "(cached) " >&6
8527else
8528  lt_cv_path_mainfest_tool=no
8529  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8530  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8531  cat conftest.err >&5
8532  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8533    lt_cv_path_mainfest_tool=yes
8534  fi
8535  rm -f conftest*
8536fi
8537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8538$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8539if test yes != "$lt_cv_path_mainfest_tool"; then
8540  MANIFEST_TOOL=:
8541fi
8542
8543
8544
8545
8546
8547
8548  case $host_os in
8549    rhapsody* | darwin*)
8550    if test -n "$ac_tool_prefix"; then
8551  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8552set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8554$as_echo_n "checking for $ac_word... " >&6; }
8555if ${ac_cv_prog_DSYMUTIL+:} false; then :
8556  $as_echo_n "(cached) " >&6
8557else
8558  if test -n "$DSYMUTIL"; then
8559  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8560else
8561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8562for as_dir in $PATH
8563do
8564  IFS=$as_save_IFS
8565  test -z "$as_dir" && as_dir=.
8566    for ac_exec_ext in '' $ac_executable_extensions; do
8567  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8568    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8569    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8570    break 2
8571  fi
8572done
8573  done
8574IFS=$as_save_IFS
8575
8576fi
8577fi
8578DSYMUTIL=$ac_cv_prog_DSYMUTIL
8579if test -n "$DSYMUTIL"; then
8580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8581$as_echo "$DSYMUTIL" >&6; }
8582else
8583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8584$as_echo "no" >&6; }
8585fi
8586
8587
8588fi
8589if test -z "$ac_cv_prog_DSYMUTIL"; then
8590  ac_ct_DSYMUTIL=$DSYMUTIL
8591  # Extract the first word of "dsymutil", so it can be a program name with args.
8592set dummy dsymutil; ac_word=$2
8593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8594$as_echo_n "checking for $ac_word... " >&6; }
8595if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8596  $as_echo_n "(cached) " >&6
8597else
8598  if test -n "$ac_ct_DSYMUTIL"; then
8599  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8600else
8601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8602for as_dir in $PATH
8603do
8604  IFS=$as_save_IFS
8605  test -z "$as_dir" && as_dir=.
8606    for ac_exec_ext in '' $ac_executable_extensions; do
8607  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8608    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8610    break 2
8611  fi
8612done
8613  done
8614IFS=$as_save_IFS
8615
8616fi
8617fi
8618ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8619if test -n "$ac_ct_DSYMUTIL"; then
8620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8621$as_echo "$ac_ct_DSYMUTIL" >&6; }
8622else
8623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8624$as_echo "no" >&6; }
8625fi
8626
8627  if test "x$ac_ct_DSYMUTIL" = x; then
8628    DSYMUTIL=":"
8629  else
8630    case $cross_compiling:$ac_tool_warned in
8631yes:)
8632{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8633$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8634ac_tool_warned=yes ;;
8635esac
8636    DSYMUTIL=$ac_ct_DSYMUTIL
8637  fi
8638else
8639  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8640fi
8641
8642    if test -n "$ac_tool_prefix"; then
8643  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8644set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646$as_echo_n "checking for $ac_word... " >&6; }
8647if ${ac_cv_prog_NMEDIT+:} false; then :
8648  $as_echo_n "(cached) " >&6
8649else
8650  if test -n "$NMEDIT"; then
8651  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8652else
8653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8654for as_dir in $PATH
8655do
8656  IFS=$as_save_IFS
8657  test -z "$as_dir" && as_dir=.
8658    for ac_exec_ext in '' $ac_executable_extensions; do
8659  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8660    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8661    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8662    break 2
8663  fi
8664done
8665  done
8666IFS=$as_save_IFS
8667
8668fi
8669fi
8670NMEDIT=$ac_cv_prog_NMEDIT
8671if test -n "$NMEDIT"; then
8672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8673$as_echo "$NMEDIT" >&6; }
8674else
8675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676$as_echo "no" >&6; }
8677fi
8678
8679
8680fi
8681if test -z "$ac_cv_prog_NMEDIT"; then
8682  ac_ct_NMEDIT=$NMEDIT
8683  # Extract the first word of "nmedit", so it can be a program name with args.
8684set dummy nmedit; ac_word=$2
8685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686$as_echo_n "checking for $ac_word... " >&6; }
8687if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8688  $as_echo_n "(cached) " >&6
8689else
8690  if test -n "$ac_ct_NMEDIT"; then
8691  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8692else
8693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8694for as_dir in $PATH
8695do
8696  IFS=$as_save_IFS
8697  test -z "$as_dir" && as_dir=.
8698    for ac_exec_ext in '' $ac_executable_extensions; do
8699  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8700    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8701    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702    break 2
8703  fi
8704done
8705  done
8706IFS=$as_save_IFS
8707
8708fi
8709fi
8710ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8711if test -n "$ac_ct_NMEDIT"; then
8712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8713$as_echo "$ac_ct_NMEDIT" >&6; }
8714else
8715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716$as_echo "no" >&6; }
8717fi
8718
8719  if test "x$ac_ct_NMEDIT" = x; then
8720    NMEDIT=":"
8721  else
8722    case $cross_compiling:$ac_tool_warned in
8723yes:)
8724{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8725$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8726ac_tool_warned=yes ;;
8727esac
8728    NMEDIT=$ac_ct_NMEDIT
8729  fi
8730else
8731  NMEDIT="$ac_cv_prog_NMEDIT"
8732fi
8733
8734    if test -n "$ac_tool_prefix"; then
8735  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8736set dummy ${ac_tool_prefix}lipo; ac_word=$2
8737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8738$as_echo_n "checking for $ac_word... " >&6; }
8739if ${ac_cv_prog_LIPO+:} false; then :
8740  $as_echo_n "(cached) " >&6
8741else
8742  if test -n "$LIPO"; then
8743  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8744else
8745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746for as_dir in $PATH
8747do
8748  IFS=$as_save_IFS
8749  test -z "$as_dir" && as_dir=.
8750    for ac_exec_ext in '' $ac_executable_extensions; do
8751  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8753    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754    break 2
8755  fi
8756done
8757  done
8758IFS=$as_save_IFS
8759
8760fi
8761fi
8762LIPO=$ac_cv_prog_LIPO
8763if test -n "$LIPO"; then
8764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8765$as_echo "$LIPO" >&6; }
8766else
8767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768$as_echo "no" >&6; }
8769fi
8770
8771
8772fi
8773if test -z "$ac_cv_prog_LIPO"; then
8774  ac_ct_LIPO=$LIPO
8775  # Extract the first word of "lipo", so it can be a program name with args.
8776set dummy lipo; ac_word=$2
8777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778$as_echo_n "checking for $ac_word... " >&6; }
8779if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8780  $as_echo_n "(cached) " >&6
8781else
8782  if test -n "$ac_ct_LIPO"; then
8783  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8784else
8785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786for as_dir in $PATH
8787do
8788  IFS=$as_save_IFS
8789  test -z "$as_dir" && as_dir=.
8790    for ac_exec_ext in '' $ac_executable_extensions; do
8791  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792    ac_cv_prog_ac_ct_LIPO="lipo"
8793    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794    break 2
8795  fi
8796done
8797  done
8798IFS=$as_save_IFS
8799
8800fi
8801fi
8802ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8803if test -n "$ac_ct_LIPO"; then
8804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8805$as_echo "$ac_ct_LIPO" >&6; }
8806else
8807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808$as_echo "no" >&6; }
8809fi
8810
8811  if test "x$ac_ct_LIPO" = x; then
8812    LIPO=":"
8813  else
8814    case $cross_compiling:$ac_tool_warned in
8815yes:)
8816{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8817$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8818ac_tool_warned=yes ;;
8819esac
8820    LIPO=$ac_ct_LIPO
8821  fi
8822else
8823  LIPO="$ac_cv_prog_LIPO"
8824fi
8825
8826    if test -n "$ac_tool_prefix"; then
8827  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8828set dummy ${ac_tool_prefix}otool; ac_word=$2
8829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830$as_echo_n "checking for $ac_word... " >&6; }
8831if ${ac_cv_prog_OTOOL+:} false; then :
8832  $as_echo_n "(cached) " >&6
8833else
8834  if test -n "$OTOOL"; then
8835  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8836else
8837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838for as_dir in $PATH
8839do
8840  IFS=$as_save_IFS
8841  test -z "$as_dir" && as_dir=.
8842    for ac_exec_ext in '' $ac_executable_extensions; do
8843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846    break 2
8847  fi
8848done
8849  done
8850IFS=$as_save_IFS
8851
8852fi
8853fi
8854OTOOL=$ac_cv_prog_OTOOL
8855if test -n "$OTOOL"; then
8856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8857$as_echo "$OTOOL" >&6; }
8858else
8859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860$as_echo "no" >&6; }
8861fi
8862
8863
8864fi
8865if test -z "$ac_cv_prog_OTOOL"; then
8866  ac_ct_OTOOL=$OTOOL
8867  # Extract the first word of "otool", so it can be a program name with args.
8868set dummy otool; ac_word=$2
8869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870$as_echo_n "checking for $ac_word... " >&6; }
8871if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8872  $as_echo_n "(cached) " >&6
8873else
8874  if test -n "$ac_ct_OTOOL"; then
8875  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8876else
8877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878for as_dir in $PATH
8879do
8880  IFS=$as_save_IFS
8881  test -z "$as_dir" && as_dir=.
8882    for ac_exec_ext in '' $ac_executable_extensions; do
8883  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884    ac_cv_prog_ac_ct_OTOOL="otool"
8885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8886    break 2
8887  fi
8888done
8889  done
8890IFS=$as_save_IFS
8891
8892fi
8893fi
8894ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8895if test -n "$ac_ct_OTOOL"; then
8896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8897$as_echo "$ac_ct_OTOOL" >&6; }
8898else
8899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900$as_echo "no" >&6; }
8901fi
8902
8903  if test "x$ac_ct_OTOOL" = x; then
8904    OTOOL=":"
8905  else
8906    case $cross_compiling:$ac_tool_warned in
8907yes:)
8908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8910ac_tool_warned=yes ;;
8911esac
8912    OTOOL=$ac_ct_OTOOL
8913  fi
8914else
8915  OTOOL="$ac_cv_prog_OTOOL"
8916fi
8917
8918    if test -n "$ac_tool_prefix"; then
8919  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8920set dummy ${ac_tool_prefix}otool64; ac_word=$2
8921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922$as_echo_n "checking for $ac_word... " >&6; }
8923if ${ac_cv_prog_OTOOL64+:} false; then :
8924  $as_echo_n "(cached) " >&6
8925else
8926  if test -n "$OTOOL64"; then
8927  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8928else
8929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930for as_dir in $PATH
8931do
8932  IFS=$as_save_IFS
8933  test -z "$as_dir" && as_dir=.
8934    for ac_exec_ext in '' $ac_executable_extensions; do
8935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8936    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8938    break 2
8939  fi
8940done
8941  done
8942IFS=$as_save_IFS
8943
8944fi
8945fi
8946OTOOL64=$ac_cv_prog_OTOOL64
8947if test -n "$OTOOL64"; then
8948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8949$as_echo "$OTOOL64" >&6; }
8950else
8951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952$as_echo "no" >&6; }
8953fi
8954
8955
8956fi
8957if test -z "$ac_cv_prog_OTOOL64"; then
8958  ac_ct_OTOOL64=$OTOOL64
8959  # Extract the first word of "otool64", so it can be a program name with args.
8960set dummy otool64; ac_word=$2
8961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962$as_echo_n "checking for $ac_word... " >&6; }
8963if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8964  $as_echo_n "(cached) " >&6
8965else
8966  if test -n "$ac_ct_OTOOL64"; then
8967  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8968else
8969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8970for as_dir in $PATH
8971do
8972  IFS=$as_save_IFS
8973  test -z "$as_dir" && as_dir=.
8974    for ac_exec_ext in '' $ac_executable_extensions; do
8975  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8976    ac_cv_prog_ac_ct_OTOOL64="otool64"
8977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8978    break 2
8979  fi
8980done
8981  done
8982IFS=$as_save_IFS
8983
8984fi
8985fi
8986ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8987if test -n "$ac_ct_OTOOL64"; then
8988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8989$as_echo "$ac_ct_OTOOL64" >&6; }
8990else
8991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992$as_echo "no" >&6; }
8993fi
8994
8995  if test "x$ac_ct_OTOOL64" = x; then
8996    OTOOL64=":"
8997  else
8998    case $cross_compiling:$ac_tool_warned in
8999yes:)
9000{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9001$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9002ac_tool_warned=yes ;;
9003esac
9004    OTOOL64=$ac_ct_OTOOL64
9005  fi
9006else
9007  OTOOL64="$ac_cv_prog_OTOOL64"
9008fi
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9037$as_echo_n "checking for -single_module linker flag... " >&6; }
9038if ${lt_cv_apple_cc_single_mod+:} false; then :
9039  $as_echo_n "(cached) " >&6
9040else
9041  lt_cv_apple_cc_single_mod=no
9042      if test -z "$LT_MULTI_MODULE"; then
9043	# By default we will add the -single_module flag. You can override
9044	# by either setting the environment variable LT_MULTI_MODULE
9045	# non-empty at configure time, or by adding -multi_module to the
9046	# link flags.
9047	rm -rf libconftest.dylib*
9048	echo "int foo(void){return 1;}" > conftest.c
9049	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9050-dynamiclib -Wl,-single_module conftest.c" >&5
9051	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9052	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9053        _lt_result=$?
9054	# If there is a non-empty error log, and "single_module"
9055	# appears in it, assume the flag caused a linker warning
9056        if test -s conftest.err && $GREP single_module conftest.err; then
9057	  cat conftest.err >&5
9058	# Otherwise, if the output was created with a 0 exit code from
9059	# the compiler, it worked.
9060	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9061	  lt_cv_apple_cc_single_mod=yes
9062	else
9063	  cat conftest.err >&5
9064	fi
9065	rm -rf libconftest.dylib*
9066	rm -f conftest.*
9067      fi
9068fi
9069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9070$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9071
9072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9073$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9074if ${lt_cv_ld_exported_symbols_list+:} false; then :
9075  $as_echo_n "(cached) " >&6
9076else
9077  lt_cv_ld_exported_symbols_list=no
9078      save_LDFLAGS=$LDFLAGS
9079      echo "_main" > conftest.sym
9080      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082/* end confdefs.h.  */
9083
9084int
9085main ()
9086{
9087
9088  ;
9089  return 0;
9090}
9091_ACEOF
9092if ac_fn_c_try_link "$LINENO"; then :
9093  lt_cv_ld_exported_symbols_list=yes
9094else
9095  lt_cv_ld_exported_symbols_list=no
9096fi
9097rm -f core conftest.err conftest.$ac_objext \
9098    conftest$ac_exeext conftest.$ac_ext
9099	LDFLAGS=$save_LDFLAGS
9100
9101fi
9102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9103$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9104
9105    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9106$as_echo_n "checking for -force_load linker flag... " >&6; }
9107if ${lt_cv_ld_force_load+:} false; then :
9108  $as_echo_n "(cached) " >&6
9109else
9110  lt_cv_ld_force_load=no
9111      cat > conftest.c << _LT_EOF
9112int forced_loaded() { return 2;}
9113_LT_EOF
9114      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9115      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9116      echo "$AR cru libconftest.a conftest.o" >&5
9117      $AR cru libconftest.a conftest.o 2>&5
9118      echo "$RANLIB libconftest.a" >&5
9119      $RANLIB libconftest.a 2>&5
9120      cat > conftest.c << _LT_EOF
9121int main() { return 0;}
9122_LT_EOF
9123      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9124      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9125      _lt_result=$?
9126      if test -s conftest.err && $GREP force_load conftest.err; then
9127	cat conftest.err >&5
9128      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9129	lt_cv_ld_force_load=yes
9130      else
9131	cat conftest.err >&5
9132      fi
9133        rm -f conftest.err libconftest.a conftest conftest.c
9134        rm -rf conftest.dSYM
9135
9136fi
9137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9138$as_echo "$lt_cv_ld_force_load" >&6; }
9139    case $host_os in
9140    rhapsody* | darwin1.[012])
9141      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9142    darwin1.*)
9143      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9144    darwin*) # darwin 5.x on
9145      # if running on 10.5 or later, the deployment target defaults
9146      # to the OS version, if on x86, and 10.4, the deployment
9147      # target defaults to 10.4. Don't you love it?
9148      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9149	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9150	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9151	10.[012][,.]*)
9152	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9153	10.*)
9154	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9155      esac
9156    ;;
9157  esac
9158    if test yes = "$lt_cv_apple_cc_single_mod"; then
9159      _lt_dar_single_mod='$single_module'
9160    fi
9161    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9162      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9163    else
9164      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9165    fi
9166    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9167      _lt_dsymutil='~$DSYMUTIL $lib || :'
9168    else
9169      _lt_dsymutil=
9170    fi
9171    ;;
9172  esac
9173
9174# func_munge_path_list VARIABLE PATH
9175# -----------------------------------
9176# VARIABLE is name of variable containing _space_ separated list of
9177# directories to be munged by the contents of PATH, which is string
9178# having a format:
9179# "DIR[:DIR]:"
9180#       string "DIR[ DIR]" will be prepended to VARIABLE
9181# ":DIR[:DIR]"
9182#       string "DIR[ DIR]" will be appended to VARIABLE
9183# "DIRP[:DIRP]::[DIRA:]DIRA"
9184#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9185#       "DIRA[ DIRA]" will be appended to VARIABLE
9186# "DIR[:DIR]"
9187#       VARIABLE will be replaced by "DIR[ DIR]"
9188func_munge_path_list ()
9189{
9190    case x$2 in
9191    x)
9192        ;;
9193    *:)
9194        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9195        ;;
9196    x:*)
9197        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9198        ;;
9199    *::*)
9200        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9201        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9202        ;;
9203    *)
9204        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9205        ;;
9206    esac
9207}
9208
9209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9210$as_echo_n "checking for ANSI C header files... " >&6; }
9211if ${ac_cv_header_stdc+:} false; then :
9212  $as_echo_n "(cached) " >&6
9213else
9214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215/* end confdefs.h.  */
9216#include <stdlib.h>
9217#include <stdarg.h>
9218#include <string.h>
9219#include <float.h>
9220
9221int
9222main ()
9223{
9224
9225  ;
9226  return 0;
9227}
9228_ACEOF
9229if ac_fn_c_try_compile "$LINENO"; then :
9230  ac_cv_header_stdc=yes
9231else
9232  ac_cv_header_stdc=no
9233fi
9234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9235
9236if test $ac_cv_header_stdc = yes; then
9237  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239/* end confdefs.h.  */
9240#include <string.h>
9241
9242_ACEOF
9243if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9244  $EGREP "memchr" >/dev/null 2>&1; then :
9245
9246else
9247  ac_cv_header_stdc=no
9248fi
9249rm -f conftest*
9250
9251fi
9252
9253if test $ac_cv_header_stdc = yes; then
9254  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9255  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256/* end confdefs.h.  */
9257#include <stdlib.h>
9258
9259_ACEOF
9260if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9261  $EGREP "free" >/dev/null 2>&1; then :
9262
9263else
9264  ac_cv_header_stdc=no
9265fi
9266rm -f conftest*
9267
9268fi
9269
9270if test $ac_cv_header_stdc = yes; then
9271  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9272  if test "$cross_compiling" = yes; then :
9273  :
9274else
9275  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276/* end confdefs.h.  */
9277#include <ctype.h>
9278#include <stdlib.h>
9279#if ((' ' & 0x0FF) == 0x020)
9280# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9281# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9282#else
9283# define ISLOWER(c) \
9284		   (('a' <= (c) && (c) <= 'i') \
9285		     || ('j' <= (c) && (c) <= 'r') \
9286		     || ('s' <= (c) && (c) <= 'z'))
9287# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9288#endif
9289
9290#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9291int
9292main ()
9293{
9294  int i;
9295  for (i = 0; i < 256; i++)
9296    if (XOR (islower (i), ISLOWER (i))
9297	|| toupper (i) != TOUPPER (i))
9298      return 2;
9299  return 0;
9300}
9301_ACEOF
9302if ac_fn_c_try_run "$LINENO"; then :
9303
9304else
9305  ac_cv_header_stdc=no
9306fi
9307rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9308  conftest.$ac_objext conftest.beam conftest.$ac_ext
9309fi
9310
9311fi
9312fi
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9314$as_echo "$ac_cv_header_stdc" >&6; }
9315if test $ac_cv_header_stdc = yes; then
9316
9317$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9318
9319fi
9320
9321# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9322for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9323		  inttypes.h stdint.h unistd.h
9324do :
9325  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9326ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9327"
9328if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9329  cat >>confdefs.h <<_ACEOF
9330#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9331_ACEOF
9332
9333fi
9334
9335done
9336
9337
9338for ac_header in dlfcn.h
9339do :
9340  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9341"
9342if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9343  cat >>confdefs.h <<_ACEOF
9344#define HAVE_DLFCN_H 1
9345_ACEOF
9346
9347fi
9348
9349done
9350
9351
9352
9353
9354func_stripname_cnf ()
9355{
9356  case $2 in
9357  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9358  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9359  esac
9360} # func_stripname_cnf
9361
9362
9363
9364
9365
9366# Set options
9367
9368
9369
9370        enable_dlopen=no
9371
9372
9373
9374            # Check whether --enable-shared was given.
9375if test "${enable_shared+set}" = set; then :
9376  enableval=$enable_shared; p=${PACKAGE-default}
9377    case $enableval in
9378    yes) enable_shared=yes ;;
9379    no) enable_shared=no ;;
9380    *)
9381      enable_shared=no
9382      # Look at the argument we got.  We use all the common list separators.
9383      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9384      for pkg in $enableval; do
9385	IFS=$lt_save_ifs
9386	if test "X$pkg" = "X$p"; then
9387	  enable_shared=yes
9388	fi
9389      done
9390      IFS=$lt_save_ifs
9391      ;;
9392    esac
9393else
9394  enable_shared=yes
9395fi
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405  # Check whether --enable-static was given.
9406if test "${enable_static+set}" = set; then :
9407  enableval=$enable_static; p=${PACKAGE-default}
9408    case $enableval in
9409    yes) enable_static=yes ;;
9410    no) enable_static=no ;;
9411    *)
9412     enable_static=no
9413      # Look at the argument we got.  We use all the common list separators.
9414      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9415      for pkg in $enableval; do
9416	IFS=$lt_save_ifs
9417	if test "X$pkg" = "X$p"; then
9418	  enable_static=yes
9419	fi
9420      done
9421      IFS=$lt_save_ifs
9422      ;;
9423    esac
9424else
9425  enable_static=yes
9426fi
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437# Check whether --with-pic was given.
9438if test "${with_pic+set}" = set; then :
9439  withval=$with_pic; lt_p=${PACKAGE-default}
9440    case $withval in
9441    yes|no) pic_mode=$withval ;;
9442    *)
9443      pic_mode=default
9444      # Look at the argument we got.  We use all the common list separators.
9445      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9446      for lt_pkg in $withval; do
9447	IFS=$lt_save_ifs
9448	if test "X$lt_pkg" = "X$lt_p"; then
9449	  pic_mode=yes
9450	fi
9451      done
9452      IFS=$lt_save_ifs
9453      ;;
9454    esac
9455else
9456  pic_mode=default
9457fi
9458
9459
9460
9461
9462
9463
9464
9465
9466  # Check whether --enable-fast-install was given.
9467if test "${enable_fast_install+set}" = set; then :
9468  enableval=$enable_fast_install; p=${PACKAGE-default}
9469    case $enableval in
9470    yes) enable_fast_install=yes ;;
9471    no) enable_fast_install=no ;;
9472    *)
9473      enable_fast_install=no
9474      # Look at the argument we got.  We use all the common list separators.
9475      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9476      for pkg in $enableval; do
9477	IFS=$lt_save_ifs
9478	if test "X$pkg" = "X$p"; then
9479	  enable_fast_install=yes
9480	fi
9481      done
9482      IFS=$lt_save_ifs
9483      ;;
9484    esac
9485else
9486  enable_fast_install=yes
9487fi
9488
9489
9490
9491
9492
9493
9494
9495
9496  shared_archive_member_spec=
9497case $host,$enable_shared in
9498power*-*-aix[5-9]*,yes)
9499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9500$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9501
9502# Check whether --with-aix-soname was given.
9503if test "${with_aix_soname+set}" = set; then :
9504  withval=$with_aix_soname; case $withval in
9505    aix|svr4|both)
9506      ;;
9507    *)
9508      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9509      ;;
9510    esac
9511    lt_cv_with_aix_soname=$with_aix_soname
9512else
9513  if ${lt_cv_with_aix_soname+:} false; then :
9514  $as_echo_n "(cached) " >&6
9515else
9516  lt_cv_with_aix_soname=aix
9517fi
9518
9519    with_aix_soname=$lt_cv_with_aix_soname
9520fi
9521
9522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9523$as_echo "$with_aix_soname" >&6; }
9524  if test aix != "$with_aix_soname"; then
9525    # For the AIX way of multilib, we name the shared archive member
9526    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9527    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9528    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9529    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9530    if test 64 = "${OBJECT_MODE-32}"; then
9531      shared_archive_member_spec=shr_64
9532    else
9533      shared_archive_member_spec=shr
9534    fi
9535  fi
9536  ;;
9537*)
9538  with_aix_soname=aix
9539  ;;
9540esac
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551# This can be used to rebuild libtool when needed
9552LIBTOOL_DEPS=$ltmain
9553
9554# Always use our own libtool.
9555LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586test -z "$LN_S" && LN_S="ln -s"
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601if test -n "${ZSH_VERSION+set}"; then
9602   setopt NO_GLOB_SUBST
9603fi
9604
9605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9606$as_echo_n "checking for objdir... " >&6; }
9607if ${lt_cv_objdir+:} false; then :
9608  $as_echo_n "(cached) " >&6
9609else
9610  rm -f .libs 2>/dev/null
9611mkdir .libs 2>/dev/null
9612if test -d .libs; then
9613  lt_cv_objdir=.libs
9614else
9615  # MS-DOS does not allow filenames that begin with a dot.
9616  lt_cv_objdir=_libs
9617fi
9618rmdir .libs 2>/dev/null
9619fi
9620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9621$as_echo "$lt_cv_objdir" >&6; }
9622objdir=$lt_cv_objdir
9623
9624
9625
9626
9627
9628cat >>confdefs.h <<_ACEOF
9629#define LT_OBJDIR "$lt_cv_objdir/"
9630_ACEOF
9631
9632
9633
9634
9635case $host_os in
9636aix3*)
9637  # AIX sometimes has problems with the GCC collect2 program.  For some
9638  # reason, if we set the COLLECT_NAMES environment variable, the problems
9639  # vanish in a puff of smoke.
9640  if test set != "${COLLECT_NAMES+set}"; then
9641    COLLECT_NAMES=
9642    export COLLECT_NAMES
9643  fi
9644  ;;
9645esac
9646
9647# Global variables:
9648ofile=libtool
9649can_build_shared=yes
9650
9651# All known linkers require a '.a' archive for static linking (except MSVC,
9652# which needs '.lib').
9653libext=a
9654
9655with_gnu_ld=$lt_cv_prog_gnu_ld
9656
9657old_CC=$CC
9658old_CFLAGS=$CFLAGS
9659
9660# Set sane defaults for various variables
9661test -z "$CC" && CC=cc
9662test -z "$LTCC" && LTCC=$CC
9663test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9664test -z "$LD" && LD=ld
9665test -z "$ac_objext" && ac_objext=o
9666
9667func_cc_basename $compiler
9668cc_basename=$func_cc_basename_result
9669
9670
9671# Only perform the check for file, if the check method requires it
9672test -z "$MAGIC_CMD" && MAGIC_CMD=file
9673case $deplibs_check_method in
9674file_magic*)
9675  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9677$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9678if ${lt_cv_path_MAGIC_CMD+:} false; then :
9679  $as_echo_n "(cached) " >&6
9680else
9681  case $MAGIC_CMD in
9682[\\/*] |  ?:[\\/]*)
9683  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9684  ;;
9685*)
9686  lt_save_MAGIC_CMD=$MAGIC_CMD
9687  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9688  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9689  for ac_dir in $ac_dummy; do
9690    IFS=$lt_save_ifs
9691    test -z "$ac_dir" && ac_dir=.
9692    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9693      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9694      if test -n "$file_magic_test_file"; then
9695	case $deplibs_check_method in
9696	"file_magic "*)
9697	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9698	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9699	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9700	    $EGREP "$file_magic_regex" > /dev/null; then
9701	    :
9702	  else
9703	    cat <<_LT_EOF 1>&2
9704
9705*** Warning: the command libtool uses to detect shared libraries,
9706*** $file_magic_cmd, produces output that libtool cannot recognize.
9707*** The result is that libtool may fail to recognize shared libraries
9708*** as such.  This will affect the creation of libtool libraries that
9709*** depend on shared libraries, but programs linked with such libtool
9710*** libraries will work regardless of this problem.  Nevertheless, you
9711*** may want to report the problem to your system manager and/or to
9712*** bug-libtool@gnu.org
9713
9714_LT_EOF
9715	  fi ;;
9716	esac
9717      fi
9718      break
9719    fi
9720  done
9721  IFS=$lt_save_ifs
9722  MAGIC_CMD=$lt_save_MAGIC_CMD
9723  ;;
9724esac
9725fi
9726
9727MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9728if test -n "$MAGIC_CMD"; then
9729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9730$as_echo "$MAGIC_CMD" >&6; }
9731else
9732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9733$as_echo "no" >&6; }
9734fi
9735
9736
9737
9738
9739
9740if test -z "$lt_cv_path_MAGIC_CMD"; then
9741  if test -n "$ac_tool_prefix"; then
9742    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9743$as_echo_n "checking for file... " >&6; }
9744if ${lt_cv_path_MAGIC_CMD+:} false; then :
9745  $as_echo_n "(cached) " >&6
9746else
9747  case $MAGIC_CMD in
9748[\\/*] |  ?:[\\/]*)
9749  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9750  ;;
9751*)
9752  lt_save_MAGIC_CMD=$MAGIC_CMD
9753  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9754  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9755  for ac_dir in $ac_dummy; do
9756    IFS=$lt_save_ifs
9757    test -z "$ac_dir" && ac_dir=.
9758    if test -f "$ac_dir/file"; then
9759      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9760      if test -n "$file_magic_test_file"; then
9761	case $deplibs_check_method in
9762	"file_magic "*)
9763	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9764	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9765	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9766	    $EGREP "$file_magic_regex" > /dev/null; then
9767	    :
9768	  else
9769	    cat <<_LT_EOF 1>&2
9770
9771*** Warning: the command libtool uses to detect shared libraries,
9772*** $file_magic_cmd, produces output that libtool cannot recognize.
9773*** The result is that libtool may fail to recognize shared libraries
9774*** as such.  This will affect the creation of libtool libraries that
9775*** depend on shared libraries, but programs linked with such libtool
9776*** libraries will work regardless of this problem.  Nevertheless, you
9777*** may want to report the problem to your system manager and/or to
9778*** bug-libtool@gnu.org
9779
9780_LT_EOF
9781	  fi ;;
9782	esac
9783      fi
9784      break
9785    fi
9786  done
9787  IFS=$lt_save_ifs
9788  MAGIC_CMD=$lt_save_MAGIC_CMD
9789  ;;
9790esac
9791fi
9792
9793MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9794if test -n "$MAGIC_CMD"; then
9795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9796$as_echo "$MAGIC_CMD" >&6; }
9797else
9798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9799$as_echo "no" >&6; }
9800fi
9801
9802
9803  else
9804    MAGIC_CMD=:
9805  fi
9806fi
9807
9808  fi
9809  ;;
9810esac
9811
9812# Use C for the default configuration in the libtool script
9813
9814lt_save_CC=$CC
9815ac_ext=c
9816ac_cpp='$CPP $CPPFLAGS'
9817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9819ac_compiler_gnu=$ac_cv_c_compiler_gnu
9820
9821
9822# Source file extension for C test sources.
9823ac_ext=c
9824
9825# Object file extension for compiled C test sources.
9826objext=o
9827objext=$objext
9828
9829# Code to be used in simple compile tests
9830lt_simple_compile_test_code="int some_variable = 0;"
9831
9832# Code to be used in simple link tests
9833lt_simple_link_test_code='int main(){return(0);}'
9834
9835
9836
9837
9838
9839
9840
9841# If no C compiler was specified, use CC.
9842LTCC=${LTCC-"$CC"}
9843
9844# If no C compiler flags were specified, use CFLAGS.
9845LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9846
9847# Allow CC to be a program name with arguments.
9848compiler=$CC
9849
9850# Save the default compiler, since it gets overwritten when the other
9851# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9852compiler_DEFAULT=$CC
9853
9854# save warnings/boilerplate of simple test code
9855ac_outfile=conftest.$ac_objext
9856echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9857eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9858_lt_compiler_boilerplate=`cat conftest.err`
9859$RM conftest*
9860
9861ac_outfile=conftest.$ac_objext
9862echo "$lt_simple_link_test_code" >conftest.$ac_ext
9863eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9864_lt_linker_boilerplate=`cat conftest.err`
9865$RM -r conftest*
9866
9867
9868## CAVEAT EMPTOR:
9869## There is no encapsulation within the following macros, do not change
9870## the running order or otherwise move them around unless you know exactly
9871## what you are doing...
9872if test -n "$compiler"; then
9873
9874lt_prog_compiler_no_builtin_flag=
9875
9876if test yes = "$GCC"; then
9877  case $cc_basename in
9878  nvcc*)
9879    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9880  *)
9881    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9882  esac
9883
9884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9885$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9886if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9887  $as_echo_n "(cached) " >&6
9888else
9889  lt_cv_prog_compiler_rtti_exceptions=no
9890   ac_outfile=conftest.$ac_objext
9891   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9892   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9893   # Insert the option either (1) after the last *FLAGS variable, or
9894   # (2) before a word containing "conftest.", or (3) at the end.
9895   # Note that $ac_compile itself does not contain backslashes and begins
9896   # with a dollar sign (not a hyphen), so the echo should work correctly.
9897   # The option is referenced via a variable to avoid confusing sed.
9898   lt_compile=`echo "$ac_compile" | $SED \
9899   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9900   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9901   -e 's:$: $lt_compiler_flag:'`
9902   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9903   (eval "$lt_compile" 2>conftest.err)
9904   ac_status=$?
9905   cat conftest.err >&5
9906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907   if (exit $ac_status) && test -s "$ac_outfile"; then
9908     # The compiler can only warn and ignore the option if not recognized
9909     # So say no if there are warnings other than the usual output.
9910     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9911     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9912     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9913       lt_cv_prog_compiler_rtti_exceptions=yes
9914     fi
9915   fi
9916   $RM conftest*
9917
9918fi
9919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9920$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9921
9922if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9923    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9924else
9925    :
9926fi
9927
9928fi
9929
9930
9931
9932
9933
9934
9935  lt_prog_compiler_wl=
9936lt_prog_compiler_pic=
9937lt_prog_compiler_static=
9938
9939
9940  if test yes = "$GCC"; then
9941    lt_prog_compiler_wl='-Wl,'
9942    lt_prog_compiler_static='-static'
9943
9944    case $host_os in
9945      aix*)
9946      # All AIX code is PIC.
9947      if test ia64 = "$host_cpu"; then
9948	# AIX 5 now supports IA64 processor
9949	lt_prog_compiler_static='-Bstatic'
9950      fi
9951      lt_prog_compiler_pic='-fPIC'
9952      ;;
9953
9954    amigaos*)
9955      case $host_cpu in
9956      powerpc)
9957            # see comment about AmigaOS4 .so support
9958            lt_prog_compiler_pic='-fPIC'
9959        ;;
9960      m68k)
9961            # FIXME: we need at least 68020 code to build shared libraries, but
9962            # adding the '-m68020' flag to GCC prevents building anything better,
9963            # like '-m68040'.
9964            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9965        ;;
9966      esac
9967      ;;
9968
9969    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9970      # PIC is the default for these OSes.
9971      ;;
9972
9973    mingw* | cygwin* | pw32* | os2* | cegcc*)
9974      # This hack is so that the source file can tell whether it is being
9975      # built for inclusion in a dll (and should export symbols for example).
9976      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9977      # (--disable-auto-import) libraries
9978      lt_prog_compiler_pic='-DDLL_EXPORT'
9979      case $host_os in
9980      os2*)
9981	lt_prog_compiler_static='$wl-static'
9982	;;
9983      esac
9984      ;;
9985
9986    darwin* | rhapsody*)
9987      # PIC is the default on this platform
9988      # Common symbols not allowed in MH_DYLIB files
9989      lt_prog_compiler_pic='-fno-common'
9990      ;;
9991
9992    haiku*)
9993      # PIC is the default for Haiku.
9994      # The "-static" flag exists, but is broken.
9995      lt_prog_compiler_static=
9996      ;;
9997
9998    hpux*)
9999      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10000      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10001      # sets the default TLS model and affects inlining.
10002      case $host_cpu in
10003      hppa*64*)
10004	# +Z the default
10005	;;
10006      *)
10007	lt_prog_compiler_pic='-fPIC'
10008	;;
10009      esac
10010      ;;
10011
10012    interix[3-9]*)
10013      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10014      # Instead, we relocate shared libraries at runtime.
10015      ;;
10016
10017    msdosdjgpp*)
10018      # Just because we use GCC doesn't mean we suddenly get shared libraries
10019      # on systems that don't support them.
10020      lt_prog_compiler_can_build_shared=no
10021      enable_shared=no
10022      ;;
10023
10024    *nto* | *qnx*)
10025      # QNX uses GNU C++, but need to define -shared option too, otherwise
10026      # it will coredump.
10027      lt_prog_compiler_pic='-fPIC -shared'
10028      ;;
10029
10030    sysv4*MP*)
10031      if test -d /usr/nec; then
10032	lt_prog_compiler_pic=-Kconform_pic
10033      fi
10034      ;;
10035
10036    *)
10037      lt_prog_compiler_pic='-fPIC'
10038      ;;
10039    esac
10040
10041    case $cc_basename in
10042    nvcc*) # Cuda Compiler Driver 2.2
10043      lt_prog_compiler_wl='-Xlinker '
10044      if test -n "$lt_prog_compiler_pic"; then
10045        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10046      fi
10047      ;;
10048    esac
10049  else
10050    # PORTME Check for flag to pass linker flags through the system compiler.
10051    case $host_os in
10052    aix*)
10053      lt_prog_compiler_wl='-Wl,'
10054      if test ia64 = "$host_cpu"; then
10055	# AIX 5 now supports IA64 processor
10056	lt_prog_compiler_static='-Bstatic'
10057      else
10058	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10059      fi
10060      ;;
10061
10062    darwin* | rhapsody*)
10063      # PIC is the default on this platform
10064      # Common symbols not allowed in MH_DYLIB files
10065      lt_prog_compiler_pic='-fno-common'
10066      case $cc_basename in
10067      nagfor*)
10068        # NAG Fortran compiler
10069        lt_prog_compiler_wl='-Wl,-Wl,,'
10070        lt_prog_compiler_pic='-PIC'
10071        lt_prog_compiler_static='-Bstatic'
10072        ;;
10073      esac
10074      ;;
10075
10076    mingw* | cygwin* | pw32* | os2* | cegcc*)
10077      # This hack is so that the source file can tell whether it is being
10078      # built for inclusion in a dll (and should export symbols for example).
10079      lt_prog_compiler_pic='-DDLL_EXPORT'
10080      case $host_os in
10081      os2*)
10082	lt_prog_compiler_static='$wl-static'
10083	;;
10084      esac
10085      ;;
10086
10087    hpux9* | hpux10* | hpux11*)
10088      lt_prog_compiler_wl='-Wl,'
10089      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10090      # not for PA HP-UX.
10091      case $host_cpu in
10092      hppa*64*|ia64*)
10093	# +Z the default
10094	;;
10095      *)
10096	lt_prog_compiler_pic='+Z'
10097	;;
10098      esac
10099      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10100      lt_prog_compiler_static='$wl-a ${wl}archive'
10101      ;;
10102
10103    irix5* | irix6* | nonstopux*)
10104      lt_prog_compiler_wl='-Wl,'
10105      # PIC (with -KPIC) is the default.
10106      lt_prog_compiler_static='-non_shared'
10107      ;;
10108
10109    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10110      case $cc_basename in
10111      # old Intel for x86_64, which still supported -KPIC.
10112      ecc*)
10113	lt_prog_compiler_wl='-Wl,'
10114	lt_prog_compiler_pic='-KPIC'
10115	lt_prog_compiler_static='-static'
10116        ;;
10117      # icc used to be incompatible with GCC.
10118      # ICC 10 doesn't accept -KPIC any more.
10119      icc* | ifort*)
10120	lt_prog_compiler_wl='-Wl,'
10121	lt_prog_compiler_pic='-fPIC'
10122	lt_prog_compiler_static='-static'
10123        ;;
10124      # Lahey Fortran 8.1.
10125      lf95*)
10126	lt_prog_compiler_wl='-Wl,'
10127	lt_prog_compiler_pic='--shared'
10128	lt_prog_compiler_static='--static'
10129	;;
10130      nagfor*)
10131	# NAG Fortran compiler
10132	lt_prog_compiler_wl='-Wl,-Wl,,'
10133	lt_prog_compiler_pic='-PIC'
10134	lt_prog_compiler_static='-Bstatic'
10135	;;
10136      tcc*)
10137	# Fabrice Bellard et al's Tiny C Compiler
10138	lt_prog_compiler_wl='-Wl,'
10139	lt_prog_compiler_pic='-fPIC'
10140	lt_prog_compiler_static='-static'
10141	;;
10142      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10143        # Portland Group compilers (*not* the Pentium gcc compiler,
10144	# which looks to be a dead project)
10145	lt_prog_compiler_wl='-Wl,'
10146	lt_prog_compiler_pic='-fpic'
10147	lt_prog_compiler_static='-Bstatic'
10148        ;;
10149      ccc*)
10150        lt_prog_compiler_wl='-Wl,'
10151        # All Alpha code is PIC.
10152        lt_prog_compiler_static='-non_shared'
10153        ;;
10154      xl* | bgxl* | bgf* | mpixl*)
10155	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10156	lt_prog_compiler_wl='-Wl,'
10157	lt_prog_compiler_pic='-qpic'
10158	lt_prog_compiler_static='-qstaticlink'
10159	;;
10160      *)
10161	case `$CC -V 2>&1 | sed 5q` in
10162	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10163	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10164	  lt_prog_compiler_pic='-KPIC'
10165	  lt_prog_compiler_static='-Bstatic'
10166	  lt_prog_compiler_wl=''
10167	  ;;
10168	*Sun\ F* | *Sun*Fortran*)
10169	  lt_prog_compiler_pic='-KPIC'
10170	  lt_prog_compiler_static='-Bstatic'
10171	  lt_prog_compiler_wl='-Qoption ld '
10172	  ;;
10173	*Sun\ C*)
10174	  # Sun C 5.9
10175	  lt_prog_compiler_pic='-KPIC'
10176	  lt_prog_compiler_static='-Bstatic'
10177	  lt_prog_compiler_wl='-Wl,'
10178	  ;;
10179        *Intel*\ [CF]*Compiler*)
10180	  lt_prog_compiler_wl='-Wl,'
10181	  lt_prog_compiler_pic='-fPIC'
10182	  lt_prog_compiler_static='-static'
10183	  ;;
10184	*Portland\ Group*)
10185	  lt_prog_compiler_wl='-Wl,'
10186	  lt_prog_compiler_pic='-fpic'
10187	  lt_prog_compiler_static='-Bstatic'
10188	  ;;
10189	esac
10190	;;
10191      esac
10192      ;;
10193
10194    newsos6)
10195      lt_prog_compiler_pic='-KPIC'
10196      lt_prog_compiler_static='-Bstatic'
10197      ;;
10198
10199    *nto* | *qnx*)
10200      # QNX uses GNU C++, but need to define -shared option too, otherwise
10201      # it will coredump.
10202      lt_prog_compiler_pic='-fPIC -shared'
10203      ;;
10204
10205    osf3* | osf4* | osf5*)
10206      lt_prog_compiler_wl='-Wl,'
10207      # All OSF/1 code is PIC.
10208      lt_prog_compiler_static='-non_shared'
10209      ;;
10210
10211    rdos*)
10212      lt_prog_compiler_static='-non_shared'
10213      ;;
10214
10215    solaris*)
10216      lt_prog_compiler_pic='-KPIC'
10217      lt_prog_compiler_static='-Bstatic'
10218      case $cc_basename in
10219      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10220	lt_prog_compiler_wl='-Qoption ld ';;
10221      *)
10222	lt_prog_compiler_wl='-Wl,';;
10223      esac
10224      ;;
10225
10226    sunos4*)
10227      lt_prog_compiler_wl='-Qoption ld '
10228      lt_prog_compiler_pic='-PIC'
10229      lt_prog_compiler_static='-Bstatic'
10230      ;;
10231
10232    sysv4 | sysv4.2uw2* | sysv4.3*)
10233      lt_prog_compiler_wl='-Wl,'
10234      lt_prog_compiler_pic='-KPIC'
10235      lt_prog_compiler_static='-Bstatic'
10236      ;;
10237
10238    sysv4*MP*)
10239      if test -d /usr/nec; then
10240	lt_prog_compiler_pic='-Kconform_pic'
10241	lt_prog_compiler_static='-Bstatic'
10242      fi
10243      ;;
10244
10245    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10246      lt_prog_compiler_wl='-Wl,'
10247      lt_prog_compiler_pic='-KPIC'
10248      lt_prog_compiler_static='-Bstatic'
10249      ;;
10250
10251    unicos*)
10252      lt_prog_compiler_wl='-Wl,'
10253      lt_prog_compiler_can_build_shared=no
10254      ;;
10255
10256    uts4*)
10257      lt_prog_compiler_pic='-pic'
10258      lt_prog_compiler_static='-Bstatic'
10259      ;;
10260
10261    *)
10262      lt_prog_compiler_can_build_shared=no
10263      ;;
10264    esac
10265  fi
10266
10267case $host_os in
10268  # For platforms that do not support PIC, -DPIC is meaningless:
10269  *djgpp*)
10270    lt_prog_compiler_pic=
10271    ;;
10272  *)
10273    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10274    ;;
10275esac
10276
10277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10278$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10279if ${lt_cv_prog_compiler_pic+:} false; then :
10280  $as_echo_n "(cached) " >&6
10281else
10282  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10283fi
10284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10285$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10286lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10287
10288#
10289# Check to make sure the PIC flag actually works.
10290#
10291if test -n "$lt_prog_compiler_pic"; then
10292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10293$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10294if ${lt_cv_prog_compiler_pic_works+:} false; then :
10295  $as_echo_n "(cached) " >&6
10296else
10297  lt_cv_prog_compiler_pic_works=no
10298   ac_outfile=conftest.$ac_objext
10299   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10300   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10301   # Insert the option either (1) after the last *FLAGS variable, or
10302   # (2) before a word containing "conftest.", or (3) at the end.
10303   # Note that $ac_compile itself does not contain backslashes and begins
10304   # with a dollar sign (not a hyphen), so the echo should work correctly.
10305   # The option is referenced via a variable to avoid confusing sed.
10306   lt_compile=`echo "$ac_compile" | $SED \
10307   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10308   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10309   -e 's:$: $lt_compiler_flag:'`
10310   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10311   (eval "$lt_compile" 2>conftest.err)
10312   ac_status=$?
10313   cat conftest.err >&5
10314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315   if (exit $ac_status) && test -s "$ac_outfile"; then
10316     # The compiler can only warn and ignore the option if not recognized
10317     # So say no if there are warnings other than the usual output.
10318     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10319     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10320     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10321       lt_cv_prog_compiler_pic_works=yes
10322     fi
10323   fi
10324   $RM conftest*
10325
10326fi
10327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10328$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10329
10330if test yes = "$lt_cv_prog_compiler_pic_works"; then
10331    case $lt_prog_compiler_pic in
10332     "" | " "*) ;;
10333     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10334     esac
10335else
10336    lt_prog_compiler_pic=
10337     lt_prog_compiler_can_build_shared=no
10338fi
10339
10340fi
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352#
10353# Check to make sure the static flag actually works.
10354#
10355wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10357$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10358if ${lt_cv_prog_compiler_static_works+:} false; then :
10359  $as_echo_n "(cached) " >&6
10360else
10361  lt_cv_prog_compiler_static_works=no
10362   save_LDFLAGS=$LDFLAGS
10363   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10364   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10365   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10366     # The linker can only warn and ignore the option if not recognized
10367     # So say no if there are warnings
10368     if test -s conftest.err; then
10369       # Append any errors to the config.log.
10370       cat conftest.err 1>&5
10371       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10372       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10373       if diff conftest.exp conftest.er2 >/dev/null; then
10374         lt_cv_prog_compiler_static_works=yes
10375       fi
10376     else
10377       lt_cv_prog_compiler_static_works=yes
10378     fi
10379   fi
10380   $RM -r conftest*
10381   LDFLAGS=$save_LDFLAGS
10382
10383fi
10384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10385$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10386
10387if test yes = "$lt_cv_prog_compiler_static_works"; then
10388    :
10389else
10390    lt_prog_compiler_static=
10391fi
10392
10393
10394
10395
10396
10397
10398
10399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10400$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10401if ${lt_cv_prog_compiler_c_o+:} false; then :
10402  $as_echo_n "(cached) " >&6
10403else
10404  lt_cv_prog_compiler_c_o=no
10405   $RM -r conftest 2>/dev/null
10406   mkdir conftest
10407   cd conftest
10408   mkdir out
10409   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10410
10411   lt_compiler_flag="-o out/conftest2.$ac_objext"
10412   # Insert the option either (1) after the last *FLAGS variable, or
10413   # (2) before a word containing "conftest.", or (3) at the end.
10414   # Note that $ac_compile itself does not contain backslashes and begins
10415   # with a dollar sign (not a hyphen), so the echo should work correctly.
10416   lt_compile=`echo "$ac_compile" | $SED \
10417   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10418   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10419   -e 's:$: $lt_compiler_flag:'`
10420   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10421   (eval "$lt_compile" 2>out/conftest.err)
10422   ac_status=$?
10423   cat out/conftest.err >&5
10424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10426   then
10427     # The compiler can only warn and ignore the option if not recognized
10428     # So say no if there are warnings
10429     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10430     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10431     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10432       lt_cv_prog_compiler_c_o=yes
10433     fi
10434   fi
10435   chmod u+w . 2>&5
10436   $RM conftest*
10437   # SGI C++ compiler will create directory out/ii_files/ for
10438   # template instantiation
10439   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10440   $RM out/* && rmdir out
10441   cd ..
10442   $RM -r conftest
10443   $RM conftest*
10444
10445fi
10446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10447$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10448
10449
10450
10451
10452
10453
10454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10455$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10456if ${lt_cv_prog_compiler_c_o+:} false; then :
10457  $as_echo_n "(cached) " >&6
10458else
10459  lt_cv_prog_compiler_c_o=no
10460   $RM -r conftest 2>/dev/null
10461   mkdir conftest
10462   cd conftest
10463   mkdir out
10464   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10465
10466   lt_compiler_flag="-o out/conftest2.$ac_objext"
10467   # Insert the option either (1) after the last *FLAGS variable, or
10468   # (2) before a word containing "conftest.", or (3) at the end.
10469   # Note that $ac_compile itself does not contain backslashes and begins
10470   # with a dollar sign (not a hyphen), so the echo should work correctly.
10471   lt_compile=`echo "$ac_compile" | $SED \
10472   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10473   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10474   -e 's:$: $lt_compiler_flag:'`
10475   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10476   (eval "$lt_compile" 2>out/conftest.err)
10477   ac_status=$?
10478   cat out/conftest.err >&5
10479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10481   then
10482     # The compiler can only warn and ignore the option if not recognized
10483     # So say no if there are warnings
10484     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10485     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10486     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10487       lt_cv_prog_compiler_c_o=yes
10488     fi
10489   fi
10490   chmod u+w . 2>&5
10491   $RM conftest*
10492   # SGI C++ compiler will create directory out/ii_files/ for
10493   # template instantiation
10494   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10495   $RM out/* && rmdir out
10496   cd ..
10497   $RM -r conftest
10498   $RM conftest*
10499
10500fi
10501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10502$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10503
10504
10505
10506
10507hard_links=nottested
10508if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10509  # do not overwrite the value of need_locks provided by the user
10510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10511$as_echo_n "checking if we can lock with hard links... " >&6; }
10512  hard_links=yes
10513  $RM conftest*
10514  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10515  touch conftest.a
10516  ln conftest.a conftest.b 2>&5 || hard_links=no
10517  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10519$as_echo "$hard_links" >&6; }
10520  if test no = "$hard_links"; then
10521    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10522$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10523    need_locks=warn
10524  fi
10525else
10526  need_locks=no
10527fi
10528
10529
10530
10531
10532
10533
10534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10535$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10536
10537  runpath_var=
10538  allow_undefined_flag=
10539  always_export_symbols=no
10540  archive_cmds=
10541  archive_expsym_cmds=
10542  compiler_needs_object=no
10543  enable_shared_with_static_runtimes=no
10544  export_dynamic_flag_spec=
10545  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10546  hardcode_automatic=no
10547  hardcode_direct=no
10548  hardcode_direct_absolute=no
10549  hardcode_libdir_flag_spec=
10550  hardcode_libdir_separator=
10551  hardcode_minus_L=no
10552  hardcode_shlibpath_var=unsupported
10553  inherit_rpath=no
10554  link_all_deplibs=unknown
10555  module_cmds=
10556  module_expsym_cmds=
10557  old_archive_from_new_cmds=
10558  old_archive_from_expsyms_cmds=
10559  thread_safe_flag_spec=
10560  whole_archive_flag_spec=
10561  # include_expsyms should be a list of space-separated symbols to be *always*
10562  # included in the symbol list
10563  include_expsyms=
10564  # exclude_expsyms can be an extended regexp of symbols to exclude
10565  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10566  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10567  # as well as any symbol that contains 'd'.
10568  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10569  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10570  # platforms (ab)use it in PIC code, but their linkers get confused if
10571  # the symbol is explicitly referenced.  Since portable code cannot
10572  # rely on this symbol name, it's probably fine to never include it in
10573  # preloaded symbol tables.
10574  # Exclude shared library initialization/finalization symbols.
10575  extract_expsyms_cmds=
10576
10577  case $host_os in
10578  cygwin* | mingw* | pw32* | cegcc*)
10579    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10580    # When not using gcc, we currently assume that we are using
10581    # Microsoft Visual C++.
10582    if test yes != "$GCC"; then
10583      with_gnu_ld=no
10584    fi
10585    ;;
10586  interix*)
10587    # we just hope/assume this is gcc and not c89 (= MSVC++)
10588    with_gnu_ld=yes
10589    ;;
10590  openbsd* | bitrig*)
10591    with_gnu_ld=no
10592    ;;
10593  esac
10594
10595  ld_shlibs=yes
10596
10597  # On some targets, GNU ld is compatible enough with the native linker
10598  # that we're better off using the native interface for both.
10599  lt_use_gnu_ld_interface=no
10600  if test yes = "$with_gnu_ld"; then
10601    case $host_os in
10602      aix*)
10603	# The AIX port of GNU ld has always aspired to compatibility
10604	# with the native linker.  However, as the warning in the GNU ld
10605	# block says, versions before 2.19.5* couldn't really create working
10606	# shared libraries, regardless of the interface used.
10607	case `$LD -v 2>&1` in
10608	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10609	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10610	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10611	  *)
10612	    lt_use_gnu_ld_interface=yes
10613	    ;;
10614	esac
10615	;;
10616      *)
10617	lt_use_gnu_ld_interface=yes
10618	;;
10619    esac
10620  fi
10621
10622  if test yes = "$lt_use_gnu_ld_interface"; then
10623    # If archive_cmds runs LD, not CC, wlarc should be empty
10624    wlarc='$wl'
10625
10626    # Set some defaults for GNU ld with shared library support. These
10627    # are reset later if shared libraries are not supported. Putting them
10628    # here allows them to be overridden if necessary.
10629    runpath_var=LD_RUN_PATH
10630    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10631    export_dynamic_flag_spec='$wl--export-dynamic'
10632    # ancient GNU ld didn't support --whole-archive et. al.
10633    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10634      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10635    else
10636      whole_archive_flag_spec=
10637    fi
10638    supports_anon_versioning=no
10639    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10640      *GNU\ gold*) supports_anon_versioning=yes ;;
10641      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10642      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10643      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10644      *\ 2.11.*) ;; # other 2.11 versions
10645      *) supports_anon_versioning=yes ;;
10646    esac
10647
10648    # See if GNU ld supports shared libraries.
10649    case $host_os in
10650    aix[3-9]*)
10651      # On AIX/PPC, the GNU linker is very broken
10652      if test ia64 != "$host_cpu"; then
10653	ld_shlibs=no
10654	cat <<_LT_EOF 1>&2
10655
10656*** Warning: the GNU linker, at least up to release 2.19, is reported
10657*** to be unable to reliably create shared libraries on AIX.
10658*** Therefore, libtool is disabling shared libraries support.  If you
10659*** really care for shared libraries, you may want to install binutils
10660*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10661*** You will then need to restart the configuration process.
10662
10663_LT_EOF
10664      fi
10665      ;;
10666
10667    amigaos*)
10668      case $host_cpu in
10669      powerpc)
10670            # see comment about AmigaOS4 .so support
10671            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10672            archive_expsym_cmds=''
10673        ;;
10674      m68k)
10675            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)'
10676            hardcode_libdir_flag_spec='-L$libdir'
10677            hardcode_minus_L=yes
10678        ;;
10679      esac
10680      ;;
10681
10682    beos*)
10683      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10684	allow_undefined_flag=unsupported
10685	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10686	# support --undefined.  This deserves some investigation.  FIXME
10687	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10688      else
10689	ld_shlibs=no
10690      fi
10691      ;;
10692
10693    cygwin* | mingw* | pw32* | cegcc*)
10694      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10695      # as there is no search path for DLLs.
10696      hardcode_libdir_flag_spec='-L$libdir'
10697      export_dynamic_flag_spec='$wl--export-all-symbols'
10698      allow_undefined_flag=unsupported
10699      always_export_symbols=no
10700      enable_shared_with_static_runtimes=yes
10701      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'
10702      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10703
10704      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10705        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10706	# If the export-symbols file already is a .def file, use it as
10707	# is; otherwise, prepend EXPORTS...
10708	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10709          cp $export_symbols $output_objdir/$soname.def;
10710        else
10711          echo EXPORTS > $output_objdir/$soname.def;
10712          cat $export_symbols >> $output_objdir/$soname.def;
10713        fi~
10714        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10715      else
10716	ld_shlibs=no
10717      fi
10718      ;;
10719
10720    haiku*)
10721      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10722      link_all_deplibs=yes
10723      ;;
10724
10725    os2*)
10726      hardcode_libdir_flag_spec='-L$libdir'
10727      hardcode_minus_L=yes
10728      allow_undefined_flag=unsupported
10729      shrext_cmds=.dll
10730      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10731	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10732	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10733	$ECHO EXPORTS >> $output_objdir/$libname.def~
10734	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10735	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10736	emximp -o $lib $output_objdir/$libname.def'
10737      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10738	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10739	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10740	$ECHO EXPORTS >> $output_objdir/$libname.def~
10741	prefix_cmds="$SED"~
10742	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10743	  prefix_cmds="$prefix_cmds -e 1d";
10744	fi~
10745	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10746	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10747	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10748	emximp -o $lib $output_objdir/$libname.def'
10749      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10750      enable_shared_with_static_runtimes=yes
10751      ;;
10752
10753    interix[3-9]*)
10754      hardcode_direct=no
10755      hardcode_shlibpath_var=no
10756      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10757      export_dynamic_flag_spec='$wl-E'
10758      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10759      # Instead, shared libraries are loaded at an image base (0x10000000 by
10760      # default) and relocated if they conflict, which is a slow very memory
10761      # consuming and fragmenting process.  To avoid this, we pick a random,
10762      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10763      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10764      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10765      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'
10766      ;;
10767
10768    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10769      tmp_diet=no
10770      if test linux-dietlibc = "$host_os"; then
10771	case $cc_basename in
10772	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10773	esac
10774      fi
10775      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10776	 && test no = "$tmp_diet"
10777      then
10778	tmp_addflag=' $pic_flag'
10779	tmp_sharedflag='-shared'
10780	case $cc_basename,$host_cpu in
10781        pgcc*)				# Portland Group C compiler
10782	  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'
10783	  tmp_addflag=' $pic_flag'
10784	  ;;
10785	pgf77* | pgf90* | pgf95* | pgfortran*)
10786					# Portland Group f77 and f90 compilers
10787	  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'
10788	  tmp_addflag=' $pic_flag -Mnomain' ;;
10789	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10790	  tmp_addflag=' -i_dynamic' ;;
10791	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10792	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10793	ifc* | ifort*)			# Intel Fortran compiler
10794	  tmp_addflag=' -nofor_main' ;;
10795	lf95*)				# Lahey Fortran 8.1
10796	  whole_archive_flag_spec=
10797	  tmp_sharedflag='--shared' ;;
10798        nagfor*)                        # NAGFOR 5.3
10799          tmp_sharedflag='-Wl,-shared' ;;
10800	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10801	  tmp_sharedflag='-qmkshrobj'
10802	  tmp_addflag= ;;
10803	nvcc*)	# Cuda Compiler Driver 2.2
10804	  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'
10805	  compiler_needs_object=yes
10806	  ;;
10807	esac
10808	case `$CC -V 2>&1 | sed 5q` in
10809	*Sun\ C*)			# Sun C 5.9
10810	  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'
10811	  compiler_needs_object=yes
10812	  tmp_sharedflag='-G' ;;
10813	*Sun\ F*)			# Sun Fortran 8.3
10814	  tmp_sharedflag='-G' ;;
10815	esac
10816	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10817
10818        if test yes = "$supports_anon_versioning"; then
10819          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10820            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10821            echo "local: *; };" >> $output_objdir/$libname.ver~
10822            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10823        fi
10824
10825	case $cc_basename in
10826	tcc*)
10827	  export_dynamic_flag_spec='-rdynamic'
10828	  ;;
10829	xlf* | bgf* | bgxlf* | mpixlf*)
10830	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10831	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10832	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10833	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10834	  if test yes = "$supports_anon_versioning"; then
10835	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10836              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10837              echo "local: *; };" >> $output_objdir/$libname.ver~
10838              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10839	  fi
10840	  ;;
10841	esac
10842      else
10843        ld_shlibs=no
10844      fi
10845      ;;
10846
10847    netbsd*)
10848      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10849	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10850	wlarc=
10851      else
10852	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10853	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10854      fi
10855      ;;
10856
10857    solaris*)
10858      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10859	ld_shlibs=no
10860	cat <<_LT_EOF 1>&2
10861
10862*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10863*** create shared libraries on Solaris systems.  Therefore, libtool
10864*** is disabling shared libraries support.  We urge you to upgrade GNU
10865*** binutils to release 2.9.1 or newer.  Another option is to modify
10866*** your PATH or compiler configuration so that the native linker is
10867*** used, and then restart.
10868
10869_LT_EOF
10870      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10871	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10872	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10873      else
10874	ld_shlibs=no
10875      fi
10876      ;;
10877
10878    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10879      case `$LD -v 2>&1` in
10880        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10881	ld_shlibs=no
10882	cat <<_LT_EOF 1>&2
10883
10884*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10885*** reliably create shared libraries on SCO systems.  Therefore, libtool
10886*** is disabling shared libraries support.  We urge you to upgrade GNU
10887*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10888*** your PATH or compiler configuration so that the native linker is
10889*** used, and then restart.
10890
10891_LT_EOF
10892	;;
10893	*)
10894	  # For security reasons, it is highly recommended that you always
10895	  # use absolute paths for naming shared libraries, and exclude the
10896	  # DT_RUNPATH tag from executables and libraries.  But doing so
10897	  # requires that you compile everything twice, which is a pain.
10898	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10899	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10900	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10901	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10902	  else
10903	    ld_shlibs=no
10904	  fi
10905	;;
10906      esac
10907      ;;
10908
10909    sunos4*)
10910      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10911      wlarc=
10912      hardcode_direct=yes
10913      hardcode_shlibpath_var=no
10914      ;;
10915
10916    *)
10917      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10918	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10919	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10920      else
10921	ld_shlibs=no
10922      fi
10923      ;;
10924    esac
10925
10926    if test no = "$ld_shlibs"; then
10927      runpath_var=
10928      hardcode_libdir_flag_spec=
10929      export_dynamic_flag_spec=
10930      whole_archive_flag_spec=
10931    fi
10932  else
10933    # PORTME fill in a description of your system's linker (not GNU ld)
10934    case $host_os in
10935    aix3*)
10936      allow_undefined_flag=unsupported
10937      always_export_symbols=yes
10938      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'
10939      # Note: this linker hardcodes the directories in LIBPATH if there
10940      # are no directories specified by -L.
10941      hardcode_minus_L=yes
10942      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10943	# Neither direct hardcoding nor static linking is supported with a
10944	# broken collect2.
10945	hardcode_direct=unsupported
10946      fi
10947      ;;
10948
10949    aix[4-9]*)
10950      if test ia64 = "$host_cpu"; then
10951	# On IA64, the linker does run time linking by default, so we don't
10952	# have to do anything special.
10953	aix_use_runtimelinking=no
10954	exp_sym_flag='-Bexport'
10955	no_entry_flag=
10956      else
10957	# If we're using GNU nm, then we don't want the "-C" option.
10958	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10959	# Without the "-l" option, or with the "-B" option, AIX nm treats
10960	# weak defined symbols like other global defined symbols, whereas
10961	# GNU nm marks them as "W".
10962	# While the 'weak' keyword is ignored in the Export File, we need
10963	# it in the Import File for the 'aix-soname' feature, so we have
10964	# to replace the "-B" option with "-P" for AIX nm.
10965	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10966	  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'
10967	else
10968	  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'
10969	fi
10970	aix_use_runtimelinking=no
10971
10972	# Test if we are trying to use run time linking or normal
10973	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10974	# have runtime linking enabled, and use it for executables.
10975	# For shared libraries, we enable/disable runtime linking
10976	# depending on the kind of the shared library created -
10977	# when "with_aix_soname,aix_use_runtimelinking" is:
10978	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10979	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10980	#            lib.a           static archive
10981	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10982	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10983	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10984	#            lib.a(lib.so.V) shared, rtl:no
10985	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10986	#            lib.a           static archive
10987	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10988	  for ld_flag in $LDFLAGS; do
10989	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10990	    aix_use_runtimelinking=yes
10991	    break
10992	  fi
10993	  done
10994	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10995	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10996	    # so we don't have lib.a shared libs to link our executables.
10997	    # We have to force runtime linking in this case.
10998	    aix_use_runtimelinking=yes
10999	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11000	  fi
11001	  ;;
11002	esac
11003
11004	exp_sym_flag='-bexport'
11005	no_entry_flag='-bnoentry'
11006      fi
11007
11008      # When large executables or shared objects are built, AIX ld can
11009      # have problems creating the table of contents.  If linking a library
11010      # or program results in "error TOC overflow" add -mminimal-toc to
11011      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11012      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11013
11014      archive_cmds=''
11015      hardcode_direct=yes
11016      hardcode_direct_absolute=yes
11017      hardcode_libdir_separator=':'
11018      link_all_deplibs=yes
11019      file_list_spec='$wl-f,'
11020      case $with_aix_soname,$aix_use_runtimelinking in
11021      aix,*) ;; # traditional, no import file
11022      svr4,* | *,yes) # use import file
11023	# The Import File defines what to hardcode.
11024	hardcode_direct=no
11025	hardcode_direct_absolute=no
11026	;;
11027      esac
11028
11029      if test yes = "$GCC"; then
11030	case $host_os in aix4.[012]|aix4.[012].*)
11031	# We only want to do this on AIX 4.2 and lower, the check
11032	# below for broken collect2 doesn't work under 4.3+
11033	  collect2name=`$CC -print-prog-name=collect2`
11034	  if test -f "$collect2name" &&
11035	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11036	  then
11037	  # We have reworked collect2
11038	  :
11039	  else
11040	  # We have old collect2
11041	  hardcode_direct=unsupported
11042	  # It fails to find uninstalled libraries when the uninstalled
11043	  # path is not listed in the libpath.  Setting hardcode_minus_L
11044	  # to unsupported forces relinking
11045	  hardcode_minus_L=yes
11046	  hardcode_libdir_flag_spec='-L$libdir'
11047	  hardcode_libdir_separator=
11048	  fi
11049	  ;;
11050	esac
11051	shared_flag='-shared'
11052	if test yes = "$aix_use_runtimelinking"; then
11053	  shared_flag="$shared_flag "'$wl-G'
11054	fi
11055	# Need to ensure runtime linking is disabled for the traditional
11056	# shared library, or the linker may eventually find shared libraries
11057	# /with/ Import File - we do not want to mix them.
11058	shared_flag_aix='-shared'
11059	shared_flag_svr4='-shared $wl-G'
11060      else
11061	# not using gcc
11062	if test ia64 = "$host_cpu"; then
11063	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11064	# chokes on -Wl,-G. The following line is correct:
11065	  shared_flag='-G'
11066	else
11067	  if test yes = "$aix_use_runtimelinking"; then
11068	    shared_flag='$wl-G'
11069	  else
11070	    shared_flag='$wl-bM:SRE'
11071	  fi
11072	  shared_flag_aix='$wl-bM:SRE'
11073	  shared_flag_svr4='$wl-G'
11074	fi
11075      fi
11076
11077      export_dynamic_flag_spec='$wl-bexpall'
11078      # It seems that -bexpall does not export symbols beginning with
11079      # underscore (_), so it is better to generate a list of symbols to export.
11080      always_export_symbols=yes
11081      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11082	# Warning - without using the other runtime loading flags (-brtl),
11083	# -berok will link without error, but may produce a broken library.
11084	allow_undefined_flag='-berok'
11085        # Determine the default libpath from the value encoded in an
11086        # empty executable.
11087        if test set = "${lt_cv_aix_libpath+set}"; then
11088  aix_libpath=$lt_cv_aix_libpath
11089else
11090  if ${lt_cv_aix_libpath_+:} false; then :
11091  $as_echo_n "(cached) " >&6
11092else
11093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094/* end confdefs.h.  */
11095
11096int
11097main ()
11098{
11099
11100  ;
11101  return 0;
11102}
11103_ACEOF
11104if ac_fn_c_try_link "$LINENO"; then :
11105
11106  lt_aix_libpath_sed='
11107      /Import File Strings/,/^$/ {
11108	  /^0/ {
11109	      s/^0  *\([^ ]*\) *$/\1/
11110	      p
11111	  }
11112      }'
11113  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11114  # Check for a 64-bit object if we didn't find anything.
11115  if test -z "$lt_cv_aix_libpath_"; then
11116    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11117  fi
11118fi
11119rm -f core conftest.err conftest.$ac_objext \
11120    conftest$ac_exeext conftest.$ac_ext
11121  if test -z "$lt_cv_aix_libpath_"; then
11122    lt_cv_aix_libpath_=/usr/lib:/lib
11123  fi
11124
11125fi
11126
11127  aix_libpath=$lt_cv_aix_libpath_
11128fi
11129
11130        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11131        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
11132      else
11133	if test ia64 = "$host_cpu"; then
11134	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11135	  allow_undefined_flag="-z nodefs"
11136	  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"
11137	else
11138	 # Determine the default libpath from the value encoded in an
11139	 # empty executable.
11140	 if test set = "${lt_cv_aix_libpath+set}"; then
11141  aix_libpath=$lt_cv_aix_libpath
11142else
11143  if ${lt_cv_aix_libpath_+:} false; then :
11144  $as_echo_n "(cached) " >&6
11145else
11146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147/* end confdefs.h.  */
11148
11149int
11150main ()
11151{
11152
11153  ;
11154  return 0;
11155}
11156_ACEOF
11157if ac_fn_c_try_link "$LINENO"; then :
11158
11159  lt_aix_libpath_sed='
11160      /Import File Strings/,/^$/ {
11161	  /^0/ {
11162	      s/^0  *\([^ ]*\) *$/\1/
11163	      p
11164	  }
11165      }'
11166  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11167  # Check for a 64-bit object if we didn't find anything.
11168  if test -z "$lt_cv_aix_libpath_"; then
11169    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11170  fi
11171fi
11172rm -f core conftest.err conftest.$ac_objext \
11173    conftest$ac_exeext conftest.$ac_ext
11174  if test -z "$lt_cv_aix_libpath_"; then
11175    lt_cv_aix_libpath_=/usr/lib:/lib
11176  fi
11177
11178fi
11179
11180  aix_libpath=$lt_cv_aix_libpath_
11181fi
11182
11183	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11184	  # Warning - without using the other run time loading flags,
11185	  # -berok will link without error, but may produce a broken library.
11186	  no_undefined_flag=' $wl-bernotok'
11187	  allow_undefined_flag=' $wl-berok'
11188	  if test yes = "$with_gnu_ld"; then
11189	    # We only use this code for GNU lds that support --whole-archive.
11190	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11191	  else
11192	    # Exported symbols can be pulled into shared objects from archives
11193	    whole_archive_flag_spec='$convenience'
11194	  fi
11195	  archive_cmds_need_lc=yes
11196	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11197	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11198	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11199	  if test svr4 != "$with_aix_soname"; then
11200	    # This is similar to how AIX traditionally builds its shared libraries.
11201	    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'
11202	  fi
11203	  if test aix != "$with_aix_soname"; then
11204	    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'
11205	  else
11206	    # used by -dlpreopen to get the symbols
11207	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11208	  fi
11209	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11210	fi
11211      fi
11212      ;;
11213
11214    amigaos*)
11215      case $host_cpu in
11216      powerpc)
11217            # see comment about AmigaOS4 .so support
11218            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11219            archive_expsym_cmds=''
11220        ;;
11221      m68k)
11222            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)'
11223            hardcode_libdir_flag_spec='-L$libdir'
11224            hardcode_minus_L=yes
11225        ;;
11226      esac
11227      ;;
11228
11229    bsdi[45]*)
11230      export_dynamic_flag_spec=-rdynamic
11231      ;;
11232
11233    cygwin* | mingw* | pw32* | cegcc*)
11234      # When not using gcc, we currently assume that we are using
11235      # Microsoft Visual C++.
11236      # hardcode_libdir_flag_spec is actually meaningless, as there is
11237      # no search path for DLLs.
11238      case $cc_basename in
11239      cl*)
11240	# Native MSVC
11241	hardcode_libdir_flag_spec=' '
11242	allow_undefined_flag=unsupported
11243	always_export_symbols=yes
11244	file_list_spec='@'
11245	# Tell ltmain to make .lib files, not .a files.
11246	libext=lib
11247	# Tell ltmain to make .dll files, not .so files.
11248	shrext_cmds=.dll
11249	# FIXME: Setting linknames here is a bad hack.
11250	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11251	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11252            cp "$export_symbols" "$output_objdir/$soname.def";
11253            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11254          else
11255            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11256          fi~
11257          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11258          linknames='
11259	# The linker will not automatically build a static lib if we build a DLL.
11260	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11261	enable_shared_with_static_runtimes=yes
11262	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11263	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11264	# Don't use ranlib
11265	old_postinstall_cmds='chmod 644 $oldlib'
11266	postlink_cmds='lt_outputfile="@OUTPUT@"~
11267          lt_tool_outputfile="@TOOL_OUTPUT@"~
11268          case $lt_outputfile in
11269            *.exe|*.EXE) ;;
11270            *)
11271              lt_outputfile=$lt_outputfile.exe
11272              lt_tool_outputfile=$lt_tool_outputfile.exe
11273              ;;
11274          esac~
11275          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11276            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11277            $RM "$lt_outputfile.manifest";
11278          fi'
11279	;;
11280      *)
11281	# Assume MSVC wrapper
11282	hardcode_libdir_flag_spec=' '
11283	allow_undefined_flag=unsupported
11284	# Tell ltmain to make .lib files, not .a files.
11285	libext=lib
11286	# Tell ltmain to make .dll files, not .so files.
11287	shrext_cmds=.dll
11288	# FIXME: Setting linknames here is a bad hack.
11289	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11290	# The linker will automatically build a .lib file if we build a DLL.
11291	old_archive_from_new_cmds='true'
11292	# FIXME: Should let the user specify the lib program.
11293	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11294	enable_shared_with_static_runtimes=yes
11295	;;
11296      esac
11297      ;;
11298
11299    darwin* | rhapsody*)
11300
11301
11302  archive_cmds_need_lc=no
11303  hardcode_direct=no
11304  hardcode_automatic=yes
11305  hardcode_shlibpath_var=unsupported
11306  if test yes = "$lt_cv_ld_force_load"; then
11307    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\"`'
11308
11309  else
11310    whole_archive_flag_spec=''
11311  fi
11312  link_all_deplibs=yes
11313  allow_undefined_flag=$_lt_dar_allow_undefined
11314  case $cc_basename in
11315     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11316     *) _lt_dar_can_shared=$GCC ;;
11317  esac
11318  if test yes = "$_lt_dar_can_shared"; then
11319    output_verbose_link_cmd=func_echo_all
11320    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11321    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11322    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"
11323    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"
11324
11325  else
11326  ld_shlibs=no
11327  fi
11328
11329      ;;
11330
11331    dgux*)
11332      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11333      hardcode_libdir_flag_spec='-L$libdir'
11334      hardcode_shlibpath_var=no
11335      ;;
11336
11337    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11338    # support.  Future versions do this automatically, but an explicit c++rt0.o
11339    # does not break anything, and helps significantly (at the cost of a little
11340    # extra space).
11341    freebsd2.2*)
11342      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11343      hardcode_libdir_flag_spec='-R$libdir'
11344      hardcode_direct=yes
11345      hardcode_shlibpath_var=no
11346      ;;
11347
11348    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11349    freebsd2.*)
11350      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11351      hardcode_direct=yes
11352      hardcode_minus_L=yes
11353      hardcode_shlibpath_var=no
11354      ;;
11355
11356    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11357    freebsd* | dragonfly*)
11358      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11359      hardcode_libdir_flag_spec='-R$libdir'
11360      hardcode_direct=yes
11361      hardcode_shlibpath_var=no
11362      ;;
11363
11364    hpux9*)
11365      if test yes = "$GCC"; then
11366	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'
11367      else
11368	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'
11369      fi
11370      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11371      hardcode_libdir_separator=:
11372      hardcode_direct=yes
11373
11374      # hardcode_minus_L: Not really in the search PATH,
11375      # but as the default location of the library.
11376      hardcode_minus_L=yes
11377      export_dynamic_flag_spec='$wl-E'
11378      ;;
11379
11380    hpux10*)
11381      if test yes,no = "$GCC,$with_gnu_ld"; then
11382	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11383      else
11384	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11385      fi
11386      if test no = "$with_gnu_ld"; then
11387	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11388	hardcode_libdir_separator=:
11389	hardcode_direct=yes
11390	hardcode_direct_absolute=yes
11391	export_dynamic_flag_spec='$wl-E'
11392	# hardcode_minus_L: Not really in the search PATH,
11393	# but as the default location of the library.
11394	hardcode_minus_L=yes
11395      fi
11396      ;;
11397
11398    hpux11*)
11399      if test yes,no = "$GCC,$with_gnu_ld"; then
11400	case $host_cpu in
11401	hppa*64*)
11402	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11403	  ;;
11404	ia64*)
11405	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11406	  ;;
11407	*)
11408	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11409	  ;;
11410	esac
11411      else
11412	case $host_cpu in
11413	hppa*64*)
11414	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11415	  ;;
11416	ia64*)
11417	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11418	  ;;
11419	*)
11420
11421	  # Older versions of the 11.00 compiler do not understand -b yet
11422	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11423	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11424$as_echo_n "checking if $CC understands -b... " >&6; }
11425if ${lt_cv_prog_compiler__b+:} false; then :
11426  $as_echo_n "(cached) " >&6
11427else
11428  lt_cv_prog_compiler__b=no
11429   save_LDFLAGS=$LDFLAGS
11430   LDFLAGS="$LDFLAGS -b"
11431   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11432   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11433     # The linker can only warn and ignore the option if not recognized
11434     # So say no if there are warnings
11435     if test -s conftest.err; then
11436       # Append any errors to the config.log.
11437       cat conftest.err 1>&5
11438       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11439       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11440       if diff conftest.exp conftest.er2 >/dev/null; then
11441         lt_cv_prog_compiler__b=yes
11442       fi
11443     else
11444       lt_cv_prog_compiler__b=yes
11445     fi
11446   fi
11447   $RM -r conftest*
11448   LDFLAGS=$save_LDFLAGS
11449
11450fi
11451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11452$as_echo "$lt_cv_prog_compiler__b" >&6; }
11453
11454if test yes = "$lt_cv_prog_compiler__b"; then
11455    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11456else
11457    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11458fi
11459
11460	  ;;
11461	esac
11462      fi
11463      if test no = "$with_gnu_ld"; then
11464	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11465	hardcode_libdir_separator=:
11466
11467	case $host_cpu in
11468	hppa*64*|ia64*)
11469	  hardcode_direct=no
11470	  hardcode_shlibpath_var=no
11471	  ;;
11472	*)
11473	  hardcode_direct=yes
11474	  hardcode_direct_absolute=yes
11475	  export_dynamic_flag_spec='$wl-E'
11476
11477	  # hardcode_minus_L: Not really in the search PATH,
11478	  # but as the default location of the library.
11479	  hardcode_minus_L=yes
11480	  ;;
11481	esac
11482      fi
11483      ;;
11484
11485    irix5* | irix6* | nonstopux*)
11486      if test yes = "$GCC"; then
11487	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'
11488	# Try to use the -exported_symbol ld option, if it does not
11489	# work, assume that -exports_file does not work either and
11490	# implicitly export all symbols.
11491	# This should be the same for all languages, so no per-tag cache variable.
11492	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11493$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11494if ${lt_cv_irix_exported_symbol+:} false; then :
11495  $as_echo_n "(cached) " >&6
11496else
11497  save_LDFLAGS=$LDFLAGS
11498	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11499	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500/* end confdefs.h.  */
11501int foo (void) { return 0; }
11502_ACEOF
11503if ac_fn_c_try_link "$LINENO"; then :
11504  lt_cv_irix_exported_symbol=yes
11505else
11506  lt_cv_irix_exported_symbol=no
11507fi
11508rm -f core conftest.err conftest.$ac_objext \
11509    conftest$ac_exeext conftest.$ac_ext
11510           LDFLAGS=$save_LDFLAGS
11511fi
11512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11513$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11514	if test yes = "$lt_cv_irix_exported_symbol"; then
11515          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'
11516	fi
11517      else
11518	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'
11519	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'
11520      fi
11521      archive_cmds_need_lc='no'
11522      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11523      hardcode_libdir_separator=:
11524      inherit_rpath=yes
11525      link_all_deplibs=yes
11526      ;;
11527
11528    linux*)
11529      case $cc_basename in
11530      tcc*)
11531	# Fabrice Bellard et al's Tiny C Compiler
11532	ld_shlibs=yes
11533	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11534	;;
11535      esac
11536      ;;
11537
11538    netbsd*)
11539      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11540	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11541      else
11542	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11543      fi
11544      hardcode_libdir_flag_spec='-R$libdir'
11545      hardcode_direct=yes
11546      hardcode_shlibpath_var=no
11547      ;;
11548
11549    newsos6)
11550      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11551      hardcode_direct=yes
11552      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11553      hardcode_libdir_separator=:
11554      hardcode_shlibpath_var=no
11555      ;;
11556
11557    *nto* | *qnx*)
11558      ;;
11559
11560    openbsd* | bitrig*)
11561      if test -f /usr/libexec/ld.so; then
11562	hardcode_direct=yes
11563	hardcode_shlibpath_var=no
11564	hardcode_direct_absolute=yes
11565	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11566	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11567	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11568	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11569	  export_dynamic_flag_spec='$wl-E'
11570	else
11571	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11572	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11573	fi
11574      else
11575	ld_shlibs=no
11576      fi
11577      ;;
11578
11579    os2*)
11580      hardcode_libdir_flag_spec='-L$libdir'
11581      hardcode_minus_L=yes
11582      allow_undefined_flag=unsupported
11583      shrext_cmds=.dll
11584      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11585	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11586	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11587	$ECHO EXPORTS >> $output_objdir/$libname.def~
11588	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11589	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11590	emximp -o $lib $output_objdir/$libname.def'
11591      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11592	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11593	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11594	$ECHO EXPORTS >> $output_objdir/$libname.def~
11595	prefix_cmds="$SED"~
11596	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11597	  prefix_cmds="$prefix_cmds -e 1d";
11598	fi~
11599	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11600	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11601	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11602	emximp -o $lib $output_objdir/$libname.def'
11603      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11604      enable_shared_with_static_runtimes=yes
11605      ;;
11606
11607    osf3*)
11608      if test yes = "$GCC"; then
11609	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11610	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'
11611      else
11612	allow_undefined_flag=' -expect_unresolved \*'
11613	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'
11614      fi
11615      archive_cmds_need_lc='no'
11616      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11617      hardcode_libdir_separator=:
11618      ;;
11619
11620    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11621      if test yes = "$GCC"; then
11622	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11623	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'
11624	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11625      else
11626	allow_undefined_flag=' -expect_unresolved \*'
11627	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'
11628	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~
11629          $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'
11630
11631	# Both c and cxx compiler support -rpath directly
11632	hardcode_libdir_flag_spec='-rpath $libdir'
11633      fi
11634      archive_cmds_need_lc='no'
11635      hardcode_libdir_separator=:
11636      ;;
11637
11638    solaris*)
11639      no_undefined_flag=' -z defs'
11640      if test yes = "$GCC"; then
11641	wlarc='$wl'
11642	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11643	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11644          $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'
11645      else
11646	case `$CC -V 2>&1` in
11647	*"Compilers 5.0"*)
11648	  wlarc=''
11649	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11650	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11651            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11652	  ;;
11653	*)
11654	  wlarc='$wl'
11655	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11656	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11657            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11658	  ;;
11659	esac
11660      fi
11661      hardcode_libdir_flag_spec='-R$libdir'
11662      hardcode_shlibpath_var=no
11663      case $host_os in
11664      solaris2.[0-5] | solaris2.[0-5].*) ;;
11665      *)
11666	# The compiler driver will combine and reorder linker options,
11667	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11668	# but is careful enough not to reorder.
11669	# Supported since Solaris 2.6 (maybe 2.5.1?)
11670	if test yes = "$GCC"; then
11671	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11672	else
11673	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11674	fi
11675	;;
11676      esac
11677      link_all_deplibs=yes
11678      ;;
11679
11680    sunos4*)
11681      if test sequent = "$host_vendor"; then
11682	# Use $CC to link under sequent, because it throws in some extra .o
11683	# files that make .init and .fini sections work.
11684	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11685      else
11686	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11687      fi
11688      hardcode_libdir_flag_spec='-L$libdir'
11689      hardcode_direct=yes
11690      hardcode_minus_L=yes
11691      hardcode_shlibpath_var=no
11692      ;;
11693
11694    sysv4)
11695      case $host_vendor in
11696	sni)
11697	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11698	  hardcode_direct=yes # is this really true???
11699	;;
11700	siemens)
11701	  ## LD is ld it makes a PLAMLIB
11702	  ## CC just makes a GrossModule.
11703	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11704	  reload_cmds='$CC -r -o $output$reload_objs'
11705	  hardcode_direct=no
11706        ;;
11707	motorola)
11708	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11709	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11710	;;
11711      esac
11712      runpath_var='LD_RUN_PATH'
11713      hardcode_shlibpath_var=no
11714      ;;
11715
11716    sysv4.3*)
11717      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11718      hardcode_shlibpath_var=no
11719      export_dynamic_flag_spec='-Bexport'
11720      ;;
11721
11722    sysv4*MP*)
11723      if test -d /usr/nec; then
11724	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11725	hardcode_shlibpath_var=no
11726	runpath_var=LD_RUN_PATH
11727	hardcode_runpath_var=yes
11728	ld_shlibs=yes
11729      fi
11730      ;;
11731
11732    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11733      no_undefined_flag='$wl-z,text'
11734      archive_cmds_need_lc=no
11735      hardcode_shlibpath_var=no
11736      runpath_var='LD_RUN_PATH'
11737
11738      if test yes = "$GCC"; then
11739	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11740	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11741      else
11742	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11743	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11744      fi
11745      ;;
11746
11747    sysv5* | sco3.2v5* | sco5v6*)
11748      # Note: We CANNOT use -z defs as we might desire, because we do not
11749      # link with -lc, and that would cause any symbols used from libc to
11750      # always be unresolved, which means just about no library would
11751      # ever link correctly.  If we're not using GNU ld we use -z text
11752      # though, which does catch some bad symbols but isn't as heavy-handed
11753      # as -z defs.
11754      no_undefined_flag='$wl-z,text'
11755      allow_undefined_flag='$wl-z,nodefs'
11756      archive_cmds_need_lc=no
11757      hardcode_shlibpath_var=no
11758      hardcode_libdir_flag_spec='$wl-R,$libdir'
11759      hardcode_libdir_separator=':'
11760      link_all_deplibs=yes
11761      export_dynamic_flag_spec='$wl-Bexport'
11762      runpath_var='LD_RUN_PATH'
11763
11764      if test yes = "$GCC"; then
11765	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11766	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11767      else
11768	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11769	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11770      fi
11771      ;;
11772
11773    uts4*)
11774      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11775      hardcode_libdir_flag_spec='-L$libdir'
11776      hardcode_shlibpath_var=no
11777      ;;
11778
11779    *)
11780      ld_shlibs=no
11781      ;;
11782    esac
11783
11784    if test sni = "$host_vendor"; then
11785      case $host in
11786      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11787	export_dynamic_flag_spec='$wl-Blargedynsym'
11788	;;
11789      esac
11790    fi
11791  fi
11792
11793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11794$as_echo "$ld_shlibs" >&6; }
11795test no = "$ld_shlibs" && can_build_shared=no
11796
11797with_gnu_ld=$with_gnu_ld
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813#
11814# Do we need to explicitly link libc?
11815#
11816case "x$archive_cmds_need_lc" in
11817x|xyes)
11818  # Assume -lc should be added
11819  archive_cmds_need_lc=yes
11820
11821  if test yes,yes = "$GCC,$enable_shared"; then
11822    case $archive_cmds in
11823    *'~'*)
11824      # FIXME: we may have to deal with multi-command sequences.
11825      ;;
11826    '$CC '*)
11827      # Test whether the compiler implicitly links with -lc since on some
11828      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11829      # to ld, don't add -lc before -lgcc.
11830      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11831$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11832if ${lt_cv_archive_cmds_need_lc+:} false; then :
11833  $as_echo_n "(cached) " >&6
11834else
11835  $RM conftest*
11836	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11837
11838	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11839  (eval $ac_compile) 2>&5
11840  ac_status=$?
11841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11842  test $ac_status = 0; } 2>conftest.err; then
11843	  soname=conftest
11844	  lib=conftest
11845	  libobjs=conftest.$ac_objext
11846	  deplibs=
11847	  wl=$lt_prog_compiler_wl
11848	  pic_flag=$lt_prog_compiler_pic
11849	  compiler_flags=-v
11850	  linker_flags=-v
11851	  verstring=
11852	  output_objdir=.
11853	  libname=conftest
11854	  lt_save_allow_undefined_flag=$allow_undefined_flag
11855	  allow_undefined_flag=
11856	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11857  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11858  ac_status=$?
11859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11860  test $ac_status = 0; }
11861	  then
11862	    lt_cv_archive_cmds_need_lc=no
11863	  else
11864	    lt_cv_archive_cmds_need_lc=yes
11865	  fi
11866	  allow_undefined_flag=$lt_save_allow_undefined_flag
11867	else
11868	  cat conftest.err 1>&5
11869	fi
11870	$RM conftest*
11871
11872fi
11873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11874$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11875      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11876      ;;
11877    esac
11878  fi
11879  ;;
11880esac
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12034$as_echo_n "checking dynamic linker characteristics... " >&6; }
12035
12036if test yes = "$GCC"; then
12037  case $host_os in
12038    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12039    *) lt_awk_arg='/^libraries:/' ;;
12040  esac
12041  case $host_os in
12042    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12043    *) lt_sed_strip_eq='s|=/|/|g' ;;
12044  esac
12045  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12046  case $lt_search_path_spec in
12047  *\;*)
12048    # if the path contains ";" then we assume it to be the separator
12049    # otherwise default to the standard path separator (i.e. ":") - it is
12050    # assumed that no part of a normal pathname contains ";" but that should
12051    # okay in the real world where ";" in dirpaths is itself problematic.
12052    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12053    ;;
12054  *)
12055    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12056    ;;
12057  esac
12058  # Ok, now we have the path, separated by spaces, we can step through it
12059  # and add multilib dir if necessary...
12060  lt_tmp_lt_search_path_spec=
12061  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12062  # ...but if some path component already ends with the multilib dir we assume
12063  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12064  case "$lt_multi_os_dir; $lt_search_path_spec " in
12065  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12066    lt_multi_os_dir=
12067    ;;
12068  esac
12069  for lt_sys_path in $lt_search_path_spec; do
12070    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12071      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12072    elif test -n "$lt_multi_os_dir"; then
12073      test -d "$lt_sys_path" && \
12074	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12075    fi
12076  done
12077  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12078BEGIN {RS = " "; FS = "/|\n";} {
12079  lt_foo = "";
12080  lt_count = 0;
12081  for (lt_i = NF; lt_i > 0; lt_i--) {
12082    if ($lt_i != "" && $lt_i != ".") {
12083      if ($lt_i == "..") {
12084        lt_count++;
12085      } else {
12086        if (lt_count == 0) {
12087          lt_foo = "/" $lt_i lt_foo;
12088        } else {
12089          lt_count--;
12090        }
12091      }
12092    }
12093  }
12094  if (lt_foo != "") { lt_freq[lt_foo]++; }
12095  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12096}'`
12097  # AWK program above erroneously prepends '/' to C:/dos/paths
12098  # for these hosts.
12099  case $host_os in
12100    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12101      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12102  esac
12103  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12104else
12105  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12106fi
12107library_names_spec=
12108libname_spec='lib$name'
12109soname_spec=
12110shrext_cmds=.so
12111postinstall_cmds=
12112postuninstall_cmds=
12113finish_cmds=
12114finish_eval=
12115shlibpath_var=
12116shlibpath_overrides_runpath=unknown
12117version_type=none
12118dynamic_linker="$host_os ld.so"
12119sys_lib_dlsearch_path_spec="/lib /usr/lib"
12120need_lib_prefix=unknown
12121hardcode_into_libs=no
12122
12123# when you set need_version to no, make sure it does not cause -set_version
12124# flags to be left without arguments
12125need_version=unknown
12126
12127
12128
12129case $host_os in
12130aix3*)
12131  version_type=linux # correct to gnu/linux during the next big refactor
12132  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12133  shlibpath_var=LIBPATH
12134
12135  # AIX 3 has no versioning support, so we append a major version to the name.
12136  soname_spec='$libname$release$shared_ext$major'
12137  ;;
12138
12139aix[4-9]*)
12140  version_type=linux # correct to gnu/linux during the next big refactor
12141  need_lib_prefix=no
12142  need_version=no
12143  hardcode_into_libs=yes
12144  if test ia64 = "$host_cpu"; then
12145    # AIX 5 supports IA64
12146    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12147    shlibpath_var=LD_LIBRARY_PATH
12148  else
12149    # With GCC up to 2.95.x, collect2 would create an import file
12150    # for dependence libraries.  The import file would start with
12151    # the line '#! .'.  This would cause the generated library to
12152    # depend on '.', always an invalid library.  This was fixed in
12153    # development snapshots of GCC prior to 3.0.
12154    case $host_os in
12155      aix4 | aix4.[01] | aix4.[01].*)
12156      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12157	   echo ' yes '
12158	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12159	:
12160      else
12161	can_build_shared=no
12162      fi
12163      ;;
12164    esac
12165    # Using Import Files as archive members, it is possible to support
12166    # filename-based versioning of shared library archives on AIX. While
12167    # this would work for both with and without runtime linking, it will
12168    # prevent static linking of such archives. So we do filename-based
12169    # shared library versioning with .so extension only, which is used
12170    # when both runtime linking and shared linking is enabled.
12171    # Unfortunately, runtime linking may impact performance, so we do
12172    # not want this to be the default eventually. Also, we use the
12173    # versioned .so libs for executables only if there is the -brtl
12174    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12175    # To allow for filename-based versioning support, we need to create
12176    # libNAME.so.V as an archive file, containing:
12177    # *) an Import File, referring to the versioned filename of the
12178    #    archive as well as the shared archive member, telling the
12179    #    bitwidth (32 or 64) of that shared object, and providing the
12180    #    list of exported symbols of that shared object, eventually
12181    #    decorated with the 'weak' keyword
12182    # *) the shared object with the F_LOADONLY flag set, to really avoid
12183    #    it being seen by the linker.
12184    # At run time we better use the real file rather than another symlink,
12185    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12186
12187    case $with_aix_soname,$aix_use_runtimelinking in
12188    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12189    # soname into executable. Probably we can add versioning support to
12190    # collect2, so additional links can be useful in future.
12191    aix,yes) # traditional libtool
12192      dynamic_linker='AIX unversionable lib.so'
12193      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12194      # instead of lib<name>.a to let people know that these are not
12195      # typical AIX shared libraries.
12196      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12197      ;;
12198    aix,no) # traditional AIX only
12199      dynamic_linker='AIX lib.a(lib.so.V)'
12200      # We preserve .a as extension for shared libraries through AIX4.2
12201      # and later when we are not doing run time linking.
12202      library_names_spec='$libname$release.a $libname.a'
12203      soname_spec='$libname$release$shared_ext$major'
12204      ;;
12205    svr4,*) # full svr4 only
12206      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12207      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12208      # We do not specify a path in Import Files, so LIBPATH fires.
12209      shlibpath_overrides_runpath=yes
12210      ;;
12211    *,yes) # both, prefer svr4
12212      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12213      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12214      # unpreferred sharedlib libNAME.a needs extra handling
12215      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"'
12216      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"'
12217      # We do not specify a path in Import Files, so LIBPATH fires.
12218      shlibpath_overrides_runpath=yes
12219      ;;
12220    *,no) # both, prefer aix
12221      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12222      library_names_spec='$libname$release.a $libname.a'
12223      soname_spec='$libname$release$shared_ext$major'
12224      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12225      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)'
12226      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"'
12227      ;;
12228    esac
12229    shlibpath_var=LIBPATH
12230  fi
12231  ;;
12232
12233amigaos*)
12234  case $host_cpu in
12235  powerpc)
12236    # Since July 2007 AmigaOS4 officially supports .so libraries.
12237    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12238    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12239    ;;
12240  m68k)
12241    library_names_spec='$libname.ixlibrary $libname.a'
12242    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12243    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'
12244    ;;
12245  esac
12246  ;;
12247
12248beos*)
12249  library_names_spec='$libname$shared_ext'
12250  dynamic_linker="$host_os ld.so"
12251  shlibpath_var=LIBRARY_PATH
12252  ;;
12253
12254bsdi[45]*)
12255  version_type=linux # correct to gnu/linux during the next big refactor
12256  need_version=no
12257  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12258  soname_spec='$libname$release$shared_ext$major'
12259  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12260  shlibpath_var=LD_LIBRARY_PATH
12261  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12262  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12263  # the default ld.so.conf also contains /usr/contrib/lib and
12264  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12265  # libtool to hard-code these into programs
12266  ;;
12267
12268cygwin* | mingw* | pw32* | cegcc*)
12269  version_type=windows
12270  shrext_cmds=.dll
12271  need_version=no
12272  need_lib_prefix=no
12273
12274  case $GCC,$cc_basename in
12275  yes,*)
12276    # gcc
12277    library_names_spec='$libname.dll.a'
12278    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12279    postinstall_cmds='base_file=`basename \$file`~
12280      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12281      dldir=$destdir/`dirname \$dlpath`~
12282      test -d \$dldir || mkdir -p \$dldir~
12283      $install_prog $dir/$dlname \$dldir/$dlname~
12284      chmod a+x \$dldir/$dlname~
12285      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12286        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12287      fi'
12288    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12289      dlpath=$dir/\$dldll~
12290       $RM \$dlpath'
12291    shlibpath_overrides_runpath=yes
12292
12293    case $host_os in
12294    cygwin*)
12295      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12296      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12297
12298      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12299      ;;
12300    mingw* | cegcc*)
12301      # MinGW DLLs use traditional 'lib' prefix
12302      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12303      ;;
12304    pw32*)
12305      # pw32 DLLs use 'pw' prefix rather than 'lib'
12306      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12307      ;;
12308    esac
12309    dynamic_linker='Win32 ld.exe'
12310    ;;
12311
12312  *,cl*)
12313    # Native MSVC
12314    libname_spec='$name'
12315    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12316    library_names_spec='$libname.dll.lib'
12317
12318    case $build_os in
12319    mingw*)
12320      sys_lib_search_path_spec=
12321      lt_save_ifs=$IFS
12322      IFS=';'
12323      for lt_path in $LIB
12324      do
12325        IFS=$lt_save_ifs
12326        # Let DOS variable expansion print the short 8.3 style file name.
12327        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12328        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12329      done
12330      IFS=$lt_save_ifs
12331      # Convert to MSYS style.
12332      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12333      ;;
12334    cygwin*)
12335      # Convert to unix form, then to dos form, then back to unix form
12336      # but this time dos style (no spaces!) so that the unix form looks
12337      # like /cygdrive/c/PROGRA~1:/cygdr...
12338      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12339      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12340      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12341      ;;
12342    *)
12343      sys_lib_search_path_spec=$LIB
12344      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12345        # It is most probably a Windows format PATH.
12346        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12347      else
12348        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12349      fi
12350      # FIXME: find the short name or the path components, as spaces are
12351      # common. (e.g. "Program Files" -> "PROGRA~1")
12352      ;;
12353    esac
12354
12355    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12356    postinstall_cmds='base_file=`basename \$file`~
12357      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12358      dldir=$destdir/`dirname \$dlpath`~
12359      test -d \$dldir || mkdir -p \$dldir~
12360      $install_prog $dir/$dlname \$dldir/$dlname'
12361    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12362      dlpath=$dir/\$dldll~
12363       $RM \$dlpath'
12364    shlibpath_overrides_runpath=yes
12365    dynamic_linker='Win32 link.exe'
12366    ;;
12367
12368  *)
12369    # Assume MSVC wrapper
12370    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12371    dynamic_linker='Win32 ld.exe'
12372    ;;
12373  esac
12374  # FIXME: first we should search . and the directory the executable is in
12375  shlibpath_var=PATH
12376  ;;
12377
12378darwin* | rhapsody*)
12379  dynamic_linker="$host_os dyld"
12380  version_type=darwin
12381  need_lib_prefix=no
12382  need_version=no
12383  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12384  soname_spec='$libname$release$major$shared_ext'
12385  shlibpath_overrides_runpath=yes
12386  shlibpath_var=DYLD_LIBRARY_PATH
12387  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12388
12389  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12390  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12391  ;;
12392
12393dgux*)
12394  version_type=linux # correct to gnu/linux during the next big refactor
12395  need_lib_prefix=no
12396  need_version=no
12397  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12398  soname_spec='$libname$release$shared_ext$major'
12399  shlibpath_var=LD_LIBRARY_PATH
12400  ;;
12401
12402freebsd* | dragonfly*)
12403  # DragonFly does not have aout.  When/if they implement a new
12404  # versioning mechanism, adjust this.
12405  if test -x /usr/bin/objformat; then
12406    objformat=`/usr/bin/objformat`
12407  else
12408    case $host_os in
12409    freebsd[23].*) objformat=aout ;;
12410    *) objformat=elf ;;
12411    esac
12412  fi
12413  version_type=freebsd-$objformat
12414  case $version_type in
12415    freebsd-elf*)
12416      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12417      soname_spec='$libname$release$shared_ext$major'
12418      need_version=no
12419      need_lib_prefix=no
12420      ;;
12421    freebsd-*)
12422      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12423      need_version=yes
12424      ;;
12425  esac
12426  shlibpath_var=LD_LIBRARY_PATH
12427  case $host_os in
12428  freebsd2.*)
12429    shlibpath_overrides_runpath=yes
12430    ;;
12431  freebsd3.[01]* | freebsdelf3.[01]*)
12432    shlibpath_overrides_runpath=yes
12433    hardcode_into_libs=yes
12434    ;;
12435  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12436  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12437    shlibpath_overrides_runpath=no
12438    hardcode_into_libs=yes
12439    ;;
12440  *) # from 4.6 on, and DragonFly
12441    shlibpath_overrides_runpath=yes
12442    hardcode_into_libs=yes
12443    ;;
12444  esac
12445  ;;
12446
12447haiku*)
12448  version_type=linux # correct to gnu/linux during the next big refactor
12449  need_lib_prefix=no
12450  need_version=no
12451  dynamic_linker="$host_os runtime_loader"
12452  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12453  soname_spec='$libname$release$shared_ext$major'
12454  shlibpath_var=LIBRARY_PATH
12455  shlibpath_overrides_runpath=no
12456  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12457  hardcode_into_libs=yes
12458  ;;
12459
12460hpux9* | hpux10* | hpux11*)
12461  # Give a soname corresponding to the major version so that dld.sl refuses to
12462  # link against other versions.
12463  version_type=sunos
12464  need_lib_prefix=no
12465  need_version=no
12466  case $host_cpu in
12467  ia64*)
12468    shrext_cmds='.so'
12469    hardcode_into_libs=yes
12470    dynamic_linker="$host_os dld.so"
12471    shlibpath_var=LD_LIBRARY_PATH
12472    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12473    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12474    soname_spec='$libname$release$shared_ext$major'
12475    if test 32 = "$HPUX_IA64_MODE"; then
12476      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12477      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12478    else
12479      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12480      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12481    fi
12482    ;;
12483  hppa*64*)
12484    shrext_cmds='.sl'
12485    hardcode_into_libs=yes
12486    dynamic_linker="$host_os dld.sl"
12487    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12488    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12489    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12490    soname_spec='$libname$release$shared_ext$major'
12491    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12492    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12493    ;;
12494  *)
12495    shrext_cmds='.sl'
12496    dynamic_linker="$host_os dld.sl"
12497    shlibpath_var=SHLIB_PATH
12498    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12499    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12500    soname_spec='$libname$release$shared_ext$major'
12501    ;;
12502  esac
12503  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12504  postinstall_cmds='chmod 555 $lib'
12505  # or fails outright, so override atomically:
12506  install_override_mode=555
12507  ;;
12508
12509interix[3-9]*)
12510  version_type=linux # correct to gnu/linux during the next big refactor
12511  need_lib_prefix=no
12512  need_version=no
12513  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12514  soname_spec='$libname$release$shared_ext$major'
12515  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12516  shlibpath_var=LD_LIBRARY_PATH
12517  shlibpath_overrides_runpath=no
12518  hardcode_into_libs=yes
12519  ;;
12520
12521irix5* | irix6* | nonstopux*)
12522  case $host_os in
12523    nonstopux*) version_type=nonstopux ;;
12524    *)
12525	if test yes = "$lt_cv_prog_gnu_ld"; then
12526		version_type=linux # correct to gnu/linux during the next big refactor
12527	else
12528		version_type=irix
12529	fi ;;
12530  esac
12531  need_lib_prefix=no
12532  need_version=no
12533  soname_spec='$libname$release$shared_ext$major'
12534  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12535  case $host_os in
12536  irix5* | nonstopux*)
12537    libsuff= shlibsuff=
12538    ;;
12539  *)
12540    case $LD in # libtool.m4 will add one of these switches to LD
12541    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12542      libsuff= shlibsuff= libmagic=32-bit;;
12543    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12544      libsuff=32 shlibsuff=N32 libmagic=N32;;
12545    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12546      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12547    *) libsuff= shlibsuff= libmagic=never-match;;
12548    esac
12549    ;;
12550  esac
12551  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12552  shlibpath_overrides_runpath=no
12553  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12554  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12555  hardcode_into_libs=yes
12556  ;;
12557
12558# No shared lib support for Linux oldld, aout, or coff.
12559linux*oldld* | linux*aout* | linux*coff*)
12560  dynamic_linker=no
12561  ;;
12562
12563linux*android*)
12564  version_type=none # Android doesn't support versioned libraries.
12565  need_lib_prefix=no
12566  need_version=no
12567  library_names_spec='$libname$release$shared_ext'
12568  soname_spec='$libname$release$shared_ext'
12569  finish_cmds=
12570  shlibpath_var=LD_LIBRARY_PATH
12571  shlibpath_overrides_runpath=yes
12572
12573  # This implies no fast_install, which is unacceptable.
12574  # Some rework will be needed to allow for fast_install
12575  # before this can be enabled.
12576  hardcode_into_libs=yes
12577
12578  dynamic_linker='Android linker'
12579  # Don't embed -rpath directories since the linker doesn't support them.
12580  hardcode_libdir_flag_spec='-L$libdir'
12581  ;;
12582
12583# This must be glibc/ELF.
12584linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12585  version_type=linux # correct to gnu/linux during the next big refactor
12586  need_lib_prefix=no
12587  need_version=no
12588  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12589  soname_spec='$libname$release$shared_ext$major'
12590  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12591  shlibpath_var=LD_LIBRARY_PATH
12592  shlibpath_overrides_runpath=no
12593
12594  # Some binutils ld are patched to set DT_RUNPATH
12595  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12596  $as_echo_n "(cached) " >&6
12597else
12598  lt_cv_shlibpath_overrides_runpath=no
12599    save_LDFLAGS=$LDFLAGS
12600    save_libdir=$libdir
12601    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12602	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12603    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604/* end confdefs.h.  */
12605
12606int
12607main ()
12608{
12609
12610  ;
12611  return 0;
12612}
12613_ACEOF
12614if ac_fn_c_try_link "$LINENO"; then :
12615  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12616  lt_cv_shlibpath_overrides_runpath=yes
12617fi
12618fi
12619rm -f core conftest.err conftest.$ac_objext \
12620    conftest$ac_exeext conftest.$ac_ext
12621    LDFLAGS=$save_LDFLAGS
12622    libdir=$save_libdir
12623
12624fi
12625
12626  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12627
12628  # This implies no fast_install, which is unacceptable.
12629  # Some rework will be needed to allow for fast_install
12630  # before this can be enabled.
12631  hardcode_into_libs=yes
12632
12633  # Add ABI-specific directories to the system library path.
12634  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12635
12636  # Ideally, we could use ldconfig to report *all* directores which are
12637  # searched for libraries, however this is still not possible.  Aside from not
12638  # being certain /sbin/ldconfig is available, command
12639  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12640  # even though it is searched at run-time.  Try to do the best guess by
12641  # appending ld.so.conf contents (and includes) to the search path.
12642  if test -f /etc/ld.so.conf; then
12643    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' ' '`
12644    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12645  fi
12646
12647  # We used to test for /lib/ld.so.1 and disable shared libraries on
12648  # powerpc, because MkLinux only supported shared libraries with the
12649  # GNU dynamic linker.  Since this was broken with cross compilers,
12650  # most powerpc-linux boxes support dynamic linking these days and
12651  # people can always --disable-shared, the test was removed, and we
12652  # assume the GNU/Linux dynamic linker is in use.
12653  dynamic_linker='GNU/Linux ld.so'
12654  ;;
12655
12656netbsd*)
12657  version_type=sunos
12658  need_lib_prefix=no
12659  need_version=no
12660  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12661    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12662    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12663    dynamic_linker='NetBSD (a.out) ld.so'
12664  else
12665    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12666    soname_spec='$libname$release$shared_ext$major'
12667    dynamic_linker='NetBSD ld.elf_so'
12668  fi
12669  shlibpath_var=LD_LIBRARY_PATH
12670  shlibpath_overrides_runpath=yes
12671  hardcode_into_libs=yes
12672  ;;
12673
12674newsos6)
12675  version_type=linux # correct to gnu/linux during the next big refactor
12676  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12677  shlibpath_var=LD_LIBRARY_PATH
12678  shlibpath_overrides_runpath=yes
12679  ;;
12680
12681*nto* | *qnx*)
12682  version_type=qnx
12683  need_lib_prefix=no
12684  need_version=no
12685  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12686  soname_spec='$libname$release$shared_ext$major'
12687  shlibpath_var=LD_LIBRARY_PATH
12688  shlibpath_overrides_runpath=no
12689  hardcode_into_libs=yes
12690  dynamic_linker='ldqnx.so'
12691  ;;
12692
12693openbsd* | bitrig*)
12694  version_type=sunos
12695  sys_lib_dlsearch_path_spec=/usr/lib
12696  need_lib_prefix=no
12697  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12698    need_version=no
12699  else
12700    need_version=yes
12701  fi
12702  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12703  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12704  shlibpath_var=LD_LIBRARY_PATH
12705  shlibpath_overrides_runpath=yes
12706  ;;
12707
12708os2*)
12709  libname_spec='$name'
12710  version_type=windows
12711  shrext_cmds=.dll
12712  need_version=no
12713  need_lib_prefix=no
12714  # OS/2 can only load a DLL with a base name of 8 characters or less.
12715  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12716    v=$($ECHO $release$versuffix | tr -d .-);
12717    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12718    $ECHO $n$v`$shared_ext'
12719  library_names_spec='${libname}_dll.$libext'
12720  dynamic_linker='OS/2 ld.exe'
12721  shlibpath_var=BEGINLIBPATH
12722  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12723  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12724  postinstall_cmds='base_file=`basename \$file`~
12725    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12726    dldir=$destdir/`dirname \$dlpath`~
12727    test -d \$dldir || mkdir -p \$dldir~
12728    $install_prog $dir/$dlname \$dldir/$dlname~
12729    chmod a+x \$dldir/$dlname~
12730    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12731      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12732    fi'
12733  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12734    dlpath=$dir/\$dldll~
12735    $RM \$dlpath'
12736  ;;
12737
12738osf3* | osf4* | osf5*)
12739  version_type=osf
12740  need_lib_prefix=no
12741  need_version=no
12742  soname_spec='$libname$release$shared_ext$major'
12743  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12744  shlibpath_var=LD_LIBRARY_PATH
12745  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12746  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12747  ;;
12748
12749rdos*)
12750  dynamic_linker=no
12751  ;;
12752
12753solaris*)
12754  version_type=linux # correct to gnu/linux during the next big refactor
12755  need_lib_prefix=no
12756  need_version=no
12757  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12758  soname_spec='$libname$release$shared_ext$major'
12759  shlibpath_var=LD_LIBRARY_PATH
12760  shlibpath_overrides_runpath=yes
12761  hardcode_into_libs=yes
12762  # ldd complains unless libraries are executable
12763  postinstall_cmds='chmod +x $lib'
12764  ;;
12765
12766sunos4*)
12767  version_type=sunos
12768  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12769  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12770  shlibpath_var=LD_LIBRARY_PATH
12771  shlibpath_overrides_runpath=yes
12772  if test yes = "$with_gnu_ld"; then
12773    need_lib_prefix=no
12774  fi
12775  need_version=yes
12776  ;;
12777
12778sysv4 | sysv4.3*)
12779  version_type=linux # correct to gnu/linux during the next big refactor
12780  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12781  soname_spec='$libname$release$shared_ext$major'
12782  shlibpath_var=LD_LIBRARY_PATH
12783  case $host_vendor in
12784    sni)
12785      shlibpath_overrides_runpath=no
12786      need_lib_prefix=no
12787      runpath_var=LD_RUN_PATH
12788      ;;
12789    siemens)
12790      need_lib_prefix=no
12791      ;;
12792    motorola)
12793      need_lib_prefix=no
12794      need_version=no
12795      shlibpath_overrides_runpath=no
12796      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12797      ;;
12798  esac
12799  ;;
12800
12801sysv4*MP*)
12802  if test -d /usr/nec; then
12803    version_type=linux # correct to gnu/linux during the next big refactor
12804    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12805    soname_spec='$libname$shared_ext.$major'
12806    shlibpath_var=LD_LIBRARY_PATH
12807  fi
12808  ;;
12809
12810sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12811  version_type=sco
12812  need_lib_prefix=no
12813  need_version=no
12814  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12815  soname_spec='$libname$release$shared_ext$major'
12816  shlibpath_var=LD_LIBRARY_PATH
12817  shlibpath_overrides_runpath=yes
12818  hardcode_into_libs=yes
12819  if test yes = "$with_gnu_ld"; then
12820    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12821  else
12822    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12823    case $host_os in
12824      sco3.2v5*)
12825        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12826	;;
12827    esac
12828  fi
12829  sys_lib_dlsearch_path_spec='/usr/lib'
12830  ;;
12831
12832tpf*)
12833  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12834  version_type=linux # correct to gnu/linux during the next big refactor
12835  need_lib_prefix=no
12836  need_version=no
12837  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12838  shlibpath_var=LD_LIBRARY_PATH
12839  shlibpath_overrides_runpath=no
12840  hardcode_into_libs=yes
12841  ;;
12842
12843uts4*)
12844  version_type=linux # correct to gnu/linux during the next big refactor
12845  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12846  soname_spec='$libname$release$shared_ext$major'
12847  shlibpath_var=LD_LIBRARY_PATH
12848  ;;
12849
12850*)
12851  dynamic_linker=no
12852  ;;
12853esac
12854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12855$as_echo "$dynamic_linker" >&6; }
12856test no = "$dynamic_linker" && can_build_shared=no
12857
12858variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12859if test yes = "$GCC"; then
12860  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12861fi
12862
12863if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12864  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12865fi
12866
12867if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12868  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12869fi
12870
12871# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12872configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12873
12874# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12875func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12876
12877# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12878configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12977$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12978hardcode_action=
12979if test -n "$hardcode_libdir_flag_spec" ||
12980   test -n "$runpath_var" ||
12981   test yes = "$hardcode_automatic"; then
12982
12983  # We can hardcode non-existent directories.
12984  if test no != "$hardcode_direct" &&
12985     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12986     # have to relink, otherwise we might link with an installed library
12987     # when we should be linking with a yet-to-be-installed one
12988     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12989     test no != "$hardcode_minus_L"; then
12990    # Linking always hardcodes the temporary library directory.
12991    hardcode_action=relink
12992  else
12993    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12994    hardcode_action=immediate
12995  fi
12996else
12997  # We cannot hardcode anything, or else we can only hardcode existing
12998  # directories.
12999  hardcode_action=unsupported
13000fi
13001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13002$as_echo "$hardcode_action" >&6; }
13003
13004if test relink = "$hardcode_action" ||
13005   test yes = "$inherit_rpath"; then
13006  # Fast installation is not supported
13007  enable_fast_install=no
13008elif test yes = "$shlibpath_overrides_runpath" ||
13009     test no = "$enable_shared"; then
13010  # Fast installation is not necessary
13011  enable_fast_install=needless
13012fi
13013
13014
13015
13016
13017
13018
13019  if test yes != "$enable_dlopen"; then
13020  enable_dlopen=unknown
13021  enable_dlopen_self=unknown
13022  enable_dlopen_self_static=unknown
13023else
13024  lt_cv_dlopen=no
13025  lt_cv_dlopen_libs=
13026
13027  case $host_os in
13028  beos*)
13029    lt_cv_dlopen=load_add_on
13030    lt_cv_dlopen_libs=
13031    lt_cv_dlopen_self=yes
13032    ;;
13033
13034  mingw* | pw32* | cegcc*)
13035    lt_cv_dlopen=LoadLibrary
13036    lt_cv_dlopen_libs=
13037    ;;
13038
13039  cygwin*)
13040    lt_cv_dlopen=dlopen
13041    lt_cv_dlopen_libs=
13042    ;;
13043
13044  darwin*)
13045    # if libdl is installed we need to link against it
13046    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13047$as_echo_n "checking for dlopen in -ldl... " >&6; }
13048if ${ac_cv_lib_dl_dlopen+:} false; then :
13049  $as_echo_n "(cached) " >&6
13050else
13051  ac_check_lib_save_LIBS=$LIBS
13052LIBS="-ldl  $LIBS"
13053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054/* end confdefs.h.  */
13055
13056/* Override any GCC internal prototype to avoid an error.
13057   Use char because int might match the return type of a GCC
13058   builtin and then its argument prototype would still apply.  */
13059#ifdef __cplusplus
13060extern "C"
13061#endif
13062char dlopen ();
13063int
13064main ()
13065{
13066return dlopen ();
13067  ;
13068  return 0;
13069}
13070_ACEOF
13071if ac_fn_c_try_link "$LINENO"; then :
13072  ac_cv_lib_dl_dlopen=yes
13073else
13074  ac_cv_lib_dl_dlopen=no
13075fi
13076rm -f core conftest.err conftest.$ac_objext \
13077    conftest$ac_exeext conftest.$ac_ext
13078LIBS=$ac_check_lib_save_LIBS
13079fi
13080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13081$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13082if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13083  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13084else
13085
13086    lt_cv_dlopen=dyld
13087    lt_cv_dlopen_libs=
13088    lt_cv_dlopen_self=yes
13089
13090fi
13091
13092    ;;
13093
13094  tpf*)
13095    # Don't try to run any link tests for TPF.  We know it's impossible
13096    # because TPF is a cross-compiler, and we know how we open DSOs.
13097    lt_cv_dlopen=dlopen
13098    lt_cv_dlopen_libs=
13099    lt_cv_dlopen_self=no
13100    ;;
13101
13102  *)
13103    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13104if test "x$ac_cv_func_shl_load" = xyes; then :
13105  lt_cv_dlopen=shl_load
13106else
13107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13108$as_echo_n "checking for shl_load in -ldld... " >&6; }
13109if ${ac_cv_lib_dld_shl_load+:} false; then :
13110  $as_echo_n "(cached) " >&6
13111else
13112  ac_check_lib_save_LIBS=$LIBS
13113LIBS="-ldld  $LIBS"
13114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115/* end confdefs.h.  */
13116
13117/* Override any GCC internal prototype to avoid an error.
13118   Use char because int might match the return type of a GCC
13119   builtin and then its argument prototype would still apply.  */
13120#ifdef __cplusplus
13121extern "C"
13122#endif
13123char shl_load ();
13124int
13125main ()
13126{
13127return shl_load ();
13128  ;
13129  return 0;
13130}
13131_ACEOF
13132if ac_fn_c_try_link "$LINENO"; then :
13133  ac_cv_lib_dld_shl_load=yes
13134else
13135  ac_cv_lib_dld_shl_load=no
13136fi
13137rm -f core conftest.err conftest.$ac_objext \
13138    conftest$ac_exeext conftest.$ac_ext
13139LIBS=$ac_check_lib_save_LIBS
13140fi
13141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13142$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13143if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13144  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13145else
13146  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13147if test "x$ac_cv_func_dlopen" = xyes; then :
13148  lt_cv_dlopen=dlopen
13149else
13150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13151$as_echo_n "checking for dlopen in -ldl... " >&6; }
13152if ${ac_cv_lib_dl_dlopen+:} false; then :
13153  $as_echo_n "(cached) " >&6
13154else
13155  ac_check_lib_save_LIBS=$LIBS
13156LIBS="-ldl  $LIBS"
13157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158/* end confdefs.h.  */
13159
13160/* Override any GCC internal prototype to avoid an error.
13161   Use char because int might match the return type of a GCC
13162   builtin and then its argument prototype would still apply.  */
13163#ifdef __cplusplus
13164extern "C"
13165#endif
13166char dlopen ();
13167int
13168main ()
13169{
13170return dlopen ();
13171  ;
13172  return 0;
13173}
13174_ACEOF
13175if ac_fn_c_try_link "$LINENO"; then :
13176  ac_cv_lib_dl_dlopen=yes
13177else
13178  ac_cv_lib_dl_dlopen=no
13179fi
13180rm -f core conftest.err conftest.$ac_objext \
13181    conftest$ac_exeext conftest.$ac_ext
13182LIBS=$ac_check_lib_save_LIBS
13183fi
13184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13185$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13186if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13187  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13188else
13189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13190$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13191if ${ac_cv_lib_svld_dlopen+:} false; then :
13192  $as_echo_n "(cached) " >&6
13193else
13194  ac_check_lib_save_LIBS=$LIBS
13195LIBS="-lsvld  $LIBS"
13196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197/* end confdefs.h.  */
13198
13199/* Override any GCC internal prototype to avoid an error.
13200   Use char because int might match the return type of a GCC
13201   builtin and then its argument prototype would still apply.  */
13202#ifdef __cplusplus
13203extern "C"
13204#endif
13205char dlopen ();
13206int
13207main ()
13208{
13209return dlopen ();
13210  ;
13211  return 0;
13212}
13213_ACEOF
13214if ac_fn_c_try_link "$LINENO"; then :
13215  ac_cv_lib_svld_dlopen=yes
13216else
13217  ac_cv_lib_svld_dlopen=no
13218fi
13219rm -f core conftest.err conftest.$ac_objext \
13220    conftest$ac_exeext conftest.$ac_ext
13221LIBS=$ac_check_lib_save_LIBS
13222fi
13223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13224$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13225if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13226  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13227else
13228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13229$as_echo_n "checking for dld_link in -ldld... " >&6; }
13230if ${ac_cv_lib_dld_dld_link+:} false; then :
13231  $as_echo_n "(cached) " >&6
13232else
13233  ac_check_lib_save_LIBS=$LIBS
13234LIBS="-ldld  $LIBS"
13235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236/* end confdefs.h.  */
13237
13238/* Override any GCC internal prototype to avoid an error.
13239   Use char because int might match the return type of a GCC
13240   builtin and then its argument prototype would still apply.  */
13241#ifdef __cplusplus
13242extern "C"
13243#endif
13244char dld_link ();
13245int
13246main ()
13247{
13248return dld_link ();
13249  ;
13250  return 0;
13251}
13252_ACEOF
13253if ac_fn_c_try_link "$LINENO"; then :
13254  ac_cv_lib_dld_dld_link=yes
13255else
13256  ac_cv_lib_dld_dld_link=no
13257fi
13258rm -f core conftest.err conftest.$ac_objext \
13259    conftest$ac_exeext conftest.$ac_ext
13260LIBS=$ac_check_lib_save_LIBS
13261fi
13262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13263$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13264if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13265  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13266fi
13267
13268
13269fi
13270
13271
13272fi
13273
13274
13275fi
13276
13277
13278fi
13279
13280
13281fi
13282
13283    ;;
13284  esac
13285
13286  if test no = "$lt_cv_dlopen"; then
13287    enable_dlopen=no
13288  else
13289    enable_dlopen=yes
13290  fi
13291
13292  case $lt_cv_dlopen in
13293  dlopen)
13294    save_CPPFLAGS=$CPPFLAGS
13295    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13296
13297    save_LDFLAGS=$LDFLAGS
13298    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13299
13300    save_LIBS=$LIBS
13301    LIBS="$lt_cv_dlopen_libs $LIBS"
13302
13303    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13304$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13305if ${lt_cv_dlopen_self+:} false; then :
13306  $as_echo_n "(cached) " >&6
13307else
13308  	  if test yes = "$cross_compiling"; then :
13309  lt_cv_dlopen_self=cross
13310else
13311  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13312  lt_status=$lt_dlunknown
13313  cat > conftest.$ac_ext <<_LT_EOF
13314#line $LINENO "configure"
13315#include "confdefs.h"
13316
13317#if HAVE_DLFCN_H
13318#include <dlfcn.h>
13319#endif
13320
13321#include <stdio.h>
13322
13323#ifdef RTLD_GLOBAL
13324#  define LT_DLGLOBAL		RTLD_GLOBAL
13325#else
13326#  ifdef DL_GLOBAL
13327#    define LT_DLGLOBAL		DL_GLOBAL
13328#  else
13329#    define LT_DLGLOBAL		0
13330#  endif
13331#endif
13332
13333/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13334   find out it does not work in some platform. */
13335#ifndef LT_DLLAZY_OR_NOW
13336#  ifdef RTLD_LAZY
13337#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13338#  else
13339#    ifdef DL_LAZY
13340#      define LT_DLLAZY_OR_NOW		DL_LAZY
13341#    else
13342#      ifdef RTLD_NOW
13343#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13344#      else
13345#        ifdef DL_NOW
13346#          define LT_DLLAZY_OR_NOW	DL_NOW
13347#        else
13348#          define LT_DLLAZY_OR_NOW	0
13349#        endif
13350#      endif
13351#    endif
13352#  endif
13353#endif
13354
13355/* When -fvisibility=hidden is used, assume the code has been annotated
13356   correspondingly for the symbols needed.  */
13357#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13358int fnord () __attribute__((visibility("default")));
13359#endif
13360
13361int fnord () { return 42; }
13362int main ()
13363{
13364  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13365  int status = $lt_dlunknown;
13366
13367  if (self)
13368    {
13369      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13370      else
13371        {
13372	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13373          else puts (dlerror ());
13374	}
13375      /* dlclose (self); */
13376    }
13377  else
13378    puts (dlerror ());
13379
13380  return status;
13381}
13382_LT_EOF
13383  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13384  (eval $ac_link) 2>&5
13385  ac_status=$?
13386  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13387  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13388    (./conftest; exit; ) >&5 2>/dev/null
13389    lt_status=$?
13390    case x$lt_status in
13391      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13392      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13393      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13394    esac
13395  else :
13396    # compilation failed
13397    lt_cv_dlopen_self=no
13398  fi
13399fi
13400rm -fr conftest*
13401
13402
13403fi
13404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13405$as_echo "$lt_cv_dlopen_self" >&6; }
13406
13407    if test yes = "$lt_cv_dlopen_self"; then
13408      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13409      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13410$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13411if ${lt_cv_dlopen_self_static+:} false; then :
13412  $as_echo_n "(cached) " >&6
13413else
13414  	  if test yes = "$cross_compiling"; then :
13415  lt_cv_dlopen_self_static=cross
13416else
13417  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13418  lt_status=$lt_dlunknown
13419  cat > conftest.$ac_ext <<_LT_EOF
13420#line $LINENO "configure"
13421#include "confdefs.h"
13422
13423#if HAVE_DLFCN_H
13424#include <dlfcn.h>
13425#endif
13426
13427#include <stdio.h>
13428
13429#ifdef RTLD_GLOBAL
13430#  define LT_DLGLOBAL		RTLD_GLOBAL
13431#else
13432#  ifdef DL_GLOBAL
13433#    define LT_DLGLOBAL		DL_GLOBAL
13434#  else
13435#    define LT_DLGLOBAL		0
13436#  endif
13437#endif
13438
13439/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13440   find out it does not work in some platform. */
13441#ifndef LT_DLLAZY_OR_NOW
13442#  ifdef RTLD_LAZY
13443#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13444#  else
13445#    ifdef DL_LAZY
13446#      define LT_DLLAZY_OR_NOW		DL_LAZY
13447#    else
13448#      ifdef RTLD_NOW
13449#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13450#      else
13451#        ifdef DL_NOW
13452#          define LT_DLLAZY_OR_NOW	DL_NOW
13453#        else
13454#          define LT_DLLAZY_OR_NOW	0
13455#        endif
13456#      endif
13457#    endif
13458#  endif
13459#endif
13460
13461/* When -fvisibility=hidden is used, assume the code has been annotated
13462   correspondingly for the symbols needed.  */
13463#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13464int fnord () __attribute__((visibility("default")));
13465#endif
13466
13467int fnord () { return 42; }
13468int main ()
13469{
13470  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13471  int status = $lt_dlunknown;
13472
13473  if (self)
13474    {
13475      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13476      else
13477        {
13478	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13479          else puts (dlerror ());
13480	}
13481      /* dlclose (self); */
13482    }
13483  else
13484    puts (dlerror ());
13485
13486  return status;
13487}
13488_LT_EOF
13489  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13490  (eval $ac_link) 2>&5
13491  ac_status=$?
13492  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13493  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13494    (./conftest; exit; ) >&5 2>/dev/null
13495    lt_status=$?
13496    case x$lt_status in
13497      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13498      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13499      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13500    esac
13501  else :
13502    # compilation failed
13503    lt_cv_dlopen_self_static=no
13504  fi
13505fi
13506rm -fr conftest*
13507
13508
13509fi
13510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13511$as_echo "$lt_cv_dlopen_self_static" >&6; }
13512    fi
13513
13514    CPPFLAGS=$save_CPPFLAGS
13515    LDFLAGS=$save_LDFLAGS
13516    LIBS=$save_LIBS
13517    ;;
13518  esac
13519
13520  case $lt_cv_dlopen_self in
13521  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13522  *) enable_dlopen_self=unknown ;;
13523  esac
13524
13525  case $lt_cv_dlopen_self_static in
13526  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13527  *) enable_dlopen_self_static=unknown ;;
13528  esac
13529fi
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547striplib=
13548old_striplib=
13549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13550$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13551if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13552  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13553  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13555$as_echo "yes" >&6; }
13556else
13557# FIXME - insert some real tests, host_os isn't really good enough
13558  case $host_os in
13559  darwin*)
13560    if test -n "$STRIP"; then
13561      striplib="$STRIP -x"
13562      old_striplib="$STRIP -S"
13563      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13564$as_echo "yes" >&6; }
13565    else
13566      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13567$as_echo "no" >&6; }
13568    fi
13569    ;;
13570  *)
13571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13572$as_echo "no" >&6; }
13573    ;;
13574  esac
13575fi
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588  # Report what library types will actually be built
13589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13590$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13592$as_echo "$can_build_shared" >&6; }
13593
13594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13595$as_echo_n "checking whether to build shared libraries... " >&6; }
13596  test no = "$can_build_shared" && enable_shared=no
13597
13598  # On AIX, shared libraries and static libraries use the same namespace, and
13599  # are all built from PIC.
13600  case $host_os in
13601  aix3*)
13602    test yes = "$enable_shared" && enable_static=no
13603    if test -n "$RANLIB"; then
13604      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13605      postinstall_cmds='$RANLIB $lib'
13606    fi
13607    ;;
13608
13609  aix[4-9]*)
13610    if test ia64 != "$host_cpu"; then
13611      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13612      yes,aix,yes) ;;			# shared object as lib.so file only
13613      yes,svr4,*) ;;			# shared object as lib.so archive member only
13614      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13615      esac
13616    fi
13617    ;;
13618  esac
13619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13620$as_echo "$enable_shared" >&6; }
13621
13622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13623$as_echo_n "checking whether to build static libraries... " >&6; }
13624  # Make sure either enable_shared or enable_static is yes.
13625  test yes = "$enable_shared" || enable_static=yes
13626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13627$as_echo "$enable_static" >&6; }
13628
13629
13630
13631
13632fi
13633ac_ext=c
13634ac_cpp='$CPP $CPPFLAGS'
13635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13637ac_compiler_gnu=$ac_cv_c_compiler_gnu
13638
13639CC=$lt_save_CC
13640
13641      if test -n "$CXX" && ( test no != "$CXX" &&
13642    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13643    (test g++ != "$CXX"))); then
13644  ac_ext=cpp
13645ac_cpp='$CXXCPP $CPPFLAGS'
13646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13650$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13651if test -z "$CXXCPP"; then
13652  if ${ac_cv_prog_CXXCPP+:} false; then :
13653  $as_echo_n "(cached) " >&6
13654else
13655      # Double quotes because CXXCPP needs to be expanded
13656    for CXXCPP in "$CXX -E" "/lib/cpp"
13657    do
13658      ac_preproc_ok=false
13659for ac_cxx_preproc_warn_flag in '' yes
13660do
13661  # Use a header file that comes with gcc, so configuring glibc
13662  # with a fresh cross-compiler works.
13663  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13664  # <limits.h> exists even on freestanding compilers.
13665  # On the NeXT, cc -E runs the code through the compiler's parser,
13666  # not just through cpp. "Syntax error" is here to catch this case.
13667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668/* end confdefs.h.  */
13669#ifdef __STDC__
13670# include <limits.h>
13671#else
13672# include <assert.h>
13673#endif
13674		     Syntax error
13675_ACEOF
13676if ac_fn_cxx_try_cpp "$LINENO"; then :
13677
13678else
13679  # Broken: fails on valid input.
13680continue
13681fi
13682rm -f conftest.err conftest.i conftest.$ac_ext
13683
13684  # OK, works on sane cases.  Now check whether nonexistent headers
13685  # can be detected and how.
13686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687/* end confdefs.h.  */
13688#include <ac_nonexistent.h>
13689_ACEOF
13690if ac_fn_cxx_try_cpp "$LINENO"; then :
13691  # Broken: success on invalid input.
13692continue
13693else
13694  # Passes both tests.
13695ac_preproc_ok=:
13696break
13697fi
13698rm -f conftest.err conftest.i conftest.$ac_ext
13699
13700done
13701# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13702rm -f conftest.i conftest.err conftest.$ac_ext
13703if $ac_preproc_ok; then :
13704  break
13705fi
13706
13707    done
13708    ac_cv_prog_CXXCPP=$CXXCPP
13709
13710fi
13711  CXXCPP=$ac_cv_prog_CXXCPP
13712else
13713  ac_cv_prog_CXXCPP=$CXXCPP
13714fi
13715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13716$as_echo "$CXXCPP" >&6; }
13717ac_preproc_ok=false
13718for ac_cxx_preproc_warn_flag in '' yes
13719do
13720  # Use a header file that comes with gcc, so configuring glibc
13721  # with a fresh cross-compiler works.
13722  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13723  # <limits.h> exists even on freestanding compilers.
13724  # On the NeXT, cc -E runs the code through the compiler's parser,
13725  # not just through cpp. "Syntax error" is here to catch this case.
13726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727/* end confdefs.h.  */
13728#ifdef __STDC__
13729# include <limits.h>
13730#else
13731# include <assert.h>
13732#endif
13733		     Syntax error
13734_ACEOF
13735if ac_fn_cxx_try_cpp "$LINENO"; then :
13736
13737else
13738  # Broken: fails on valid input.
13739continue
13740fi
13741rm -f conftest.err conftest.i conftest.$ac_ext
13742
13743  # OK, works on sane cases.  Now check whether nonexistent headers
13744  # can be detected and how.
13745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746/* end confdefs.h.  */
13747#include <ac_nonexistent.h>
13748_ACEOF
13749if ac_fn_cxx_try_cpp "$LINENO"; then :
13750  # Broken: success on invalid input.
13751continue
13752else
13753  # Passes both tests.
13754ac_preproc_ok=:
13755break
13756fi
13757rm -f conftest.err conftest.i conftest.$ac_ext
13758
13759done
13760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13761rm -f conftest.i conftest.err conftest.$ac_ext
13762if $ac_preproc_ok; then :
13763
13764else
13765  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13767as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13768See \`config.log' for more details" "$LINENO" 5; }
13769fi
13770
13771ac_ext=c
13772ac_cpp='$CPP $CPPFLAGS'
13773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775ac_compiler_gnu=$ac_cv_c_compiler_gnu
13776
13777else
13778  _lt_caught_CXX_error=yes
13779fi
13780
13781ac_ext=cpp
13782ac_cpp='$CXXCPP $CPPFLAGS'
13783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13786
13787archive_cmds_need_lc_CXX=no
13788allow_undefined_flag_CXX=
13789always_export_symbols_CXX=no
13790archive_expsym_cmds_CXX=
13791compiler_needs_object_CXX=no
13792export_dynamic_flag_spec_CXX=
13793hardcode_direct_CXX=no
13794hardcode_direct_absolute_CXX=no
13795hardcode_libdir_flag_spec_CXX=
13796hardcode_libdir_separator_CXX=
13797hardcode_minus_L_CXX=no
13798hardcode_shlibpath_var_CXX=unsupported
13799hardcode_automatic_CXX=no
13800inherit_rpath_CXX=no
13801module_cmds_CXX=
13802module_expsym_cmds_CXX=
13803link_all_deplibs_CXX=unknown
13804old_archive_cmds_CXX=$old_archive_cmds
13805reload_flag_CXX=$reload_flag
13806reload_cmds_CXX=$reload_cmds
13807no_undefined_flag_CXX=
13808whole_archive_flag_spec_CXX=
13809enable_shared_with_static_runtimes_CXX=no
13810
13811# Source file extension for C++ test sources.
13812ac_ext=cpp
13813
13814# Object file extension for compiled C++ test sources.
13815objext=o
13816objext_CXX=$objext
13817
13818# No sense in running all these tests if we already determined that
13819# the CXX compiler isn't working.  Some variables (like enable_shared)
13820# are currently assumed to apply to all compilers on this platform,
13821# and will be corrupted by setting them based on a non-working compiler.
13822if test yes != "$_lt_caught_CXX_error"; then
13823  # Code to be used in simple compile tests
13824  lt_simple_compile_test_code="int some_variable = 0;"
13825
13826  # Code to be used in simple link tests
13827  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13828
13829  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13830
13831
13832
13833
13834
13835
13836# If no C compiler was specified, use CC.
13837LTCC=${LTCC-"$CC"}
13838
13839# If no C compiler flags were specified, use CFLAGS.
13840LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13841
13842# Allow CC to be a program name with arguments.
13843compiler=$CC
13844
13845
13846  # save warnings/boilerplate of simple test code
13847  ac_outfile=conftest.$ac_objext
13848echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13849eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13850_lt_compiler_boilerplate=`cat conftest.err`
13851$RM conftest*
13852
13853  ac_outfile=conftest.$ac_objext
13854echo "$lt_simple_link_test_code" >conftest.$ac_ext
13855eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13856_lt_linker_boilerplate=`cat conftest.err`
13857$RM -r conftest*
13858
13859
13860  # Allow CC to be a program name with arguments.
13861  lt_save_CC=$CC
13862  lt_save_CFLAGS=$CFLAGS
13863  lt_save_LD=$LD
13864  lt_save_GCC=$GCC
13865  GCC=$GXX
13866  lt_save_with_gnu_ld=$with_gnu_ld
13867  lt_save_path_LD=$lt_cv_path_LD
13868  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13869    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13870  else
13871    $as_unset lt_cv_prog_gnu_ld
13872  fi
13873  if test -n "${lt_cv_path_LDCXX+set}"; then
13874    lt_cv_path_LD=$lt_cv_path_LDCXX
13875  else
13876    $as_unset lt_cv_path_LD
13877  fi
13878  test -z "${LDCXX+set}" || LD=$LDCXX
13879  CC=${CXX-"c++"}
13880  CFLAGS=$CXXFLAGS
13881  compiler=$CC
13882  compiler_CXX=$CC
13883  func_cc_basename $compiler
13884cc_basename=$func_cc_basename_result
13885
13886
13887  if test -n "$compiler"; then
13888    # We don't want -fno-exception when compiling C++ code, so set the
13889    # no_builtin_flag separately
13890    if test yes = "$GXX"; then
13891      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13892    else
13893      lt_prog_compiler_no_builtin_flag_CXX=
13894    fi
13895
13896    if test yes = "$GXX"; then
13897      # Set up default GNU C++ configuration
13898
13899
13900
13901# Check whether --with-gnu-ld was given.
13902if test "${with_gnu_ld+set}" = set; then :
13903  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13904else
13905  with_gnu_ld=no
13906fi
13907
13908ac_prog=ld
13909if test yes = "$GCC"; then
13910  # Check if gcc -print-prog-name=ld gives a path.
13911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13912$as_echo_n "checking for ld used by $CC... " >&6; }
13913  case $host in
13914  *-*-mingw*)
13915    # gcc leaves a trailing carriage return, which upsets mingw
13916    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13917  *)
13918    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13919  esac
13920  case $ac_prog in
13921    # Accept absolute paths.
13922    [\\/]* | ?:[\\/]*)
13923      re_direlt='/[^/][^/]*/\.\./'
13924      # Canonicalize the pathname of ld
13925      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13926      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13927	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13928      done
13929      test -z "$LD" && LD=$ac_prog
13930      ;;
13931  "")
13932    # If it fails, then pretend we aren't using GCC.
13933    ac_prog=ld
13934    ;;
13935  *)
13936    # If it is relative, then search for the first ld in PATH.
13937    with_gnu_ld=unknown
13938    ;;
13939  esac
13940elif test yes = "$with_gnu_ld"; then
13941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13942$as_echo_n "checking for GNU ld... " >&6; }
13943else
13944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13945$as_echo_n "checking for non-GNU ld... " >&6; }
13946fi
13947if ${lt_cv_path_LD+:} false; then :
13948  $as_echo_n "(cached) " >&6
13949else
13950  if test -z "$LD"; then
13951  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13952  for ac_dir in $PATH; do
13953    IFS=$lt_save_ifs
13954    test -z "$ac_dir" && ac_dir=.
13955    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13956      lt_cv_path_LD=$ac_dir/$ac_prog
13957      # Check to see if the program is GNU ld.  I'd rather use --version,
13958      # but apparently some variants of GNU ld only accept -v.
13959      # Break only if it was the GNU/non-GNU ld that we prefer.
13960      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13961      *GNU* | *'with BFD'*)
13962	test no != "$with_gnu_ld" && break
13963	;;
13964      *)
13965	test yes != "$with_gnu_ld" && break
13966	;;
13967      esac
13968    fi
13969  done
13970  IFS=$lt_save_ifs
13971else
13972  lt_cv_path_LD=$LD # Let the user override the test with a path.
13973fi
13974fi
13975
13976LD=$lt_cv_path_LD
13977if test -n "$LD"; then
13978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13979$as_echo "$LD" >&6; }
13980else
13981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982$as_echo "no" >&6; }
13983fi
13984test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13986$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13987if ${lt_cv_prog_gnu_ld+:} false; then :
13988  $as_echo_n "(cached) " >&6
13989else
13990  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13991case `$LD -v 2>&1 </dev/null` in
13992*GNU* | *'with BFD'*)
13993  lt_cv_prog_gnu_ld=yes
13994  ;;
13995*)
13996  lt_cv_prog_gnu_ld=no
13997  ;;
13998esac
13999fi
14000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14001$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14002with_gnu_ld=$lt_cv_prog_gnu_ld
14003
14004
14005
14006
14007
14008
14009
14010      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14011      # archiving commands below assume that GNU ld is being used.
14012      if test yes = "$with_gnu_ld"; then
14013        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14014        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14015
14016        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14017        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14018
14019        # If archive_cmds runs LD, not CC, wlarc should be empty
14020        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14021        #     investigate it a little bit more. (MM)
14022        wlarc='$wl'
14023
14024        # ancient GNU ld didn't support --whole-archive et. al.
14025        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14026	  $GREP 'no-whole-archive' > /dev/null; then
14027          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14028        else
14029          whole_archive_flag_spec_CXX=
14030        fi
14031      else
14032        with_gnu_ld=no
14033        wlarc=
14034
14035        # A generic and very simple default shared library creation
14036        # command for GNU C++ for the case where it uses the native
14037        # linker, instead of GNU ld.  If possible, this setting should
14038        # overridden to take advantage of the native linker features on
14039        # the platform it is being used on.
14040        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14041      fi
14042
14043      # Commands to make compiler produce verbose output that lists
14044      # what "hidden" libraries, object files and flags are used when
14045      # linking a shared library.
14046      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14047
14048    else
14049      GXX=no
14050      with_gnu_ld=no
14051      wlarc=
14052    fi
14053
14054    # PORTME: fill in a description of your system's C++ link characteristics
14055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14056$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14057    ld_shlibs_CXX=yes
14058    case $host_os in
14059      aix3*)
14060        # FIXME: insert proper C++ library support
14061        ld_shlibs_CXX=no
14062        ;;
14063      aix[4-9]*)
14064        if test ia64 = "$host_cpu"; then
14065          # On IA64, the linker does run time linking by default, so we don't
14066          # have to do anything special.
14067          aix_use_runtimelinking=no
14068          exp_sym_flag='-Bexport'
14069          no_entry_flag=
14070        else
14071          aix_use_runtimelinking=no
14072
14073          # Test if we are trying to use run time linking or normal
14074          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14075          # have runtime linking enabled, and use it for executables.
14076          # For shared libraries, we enable/disable runtime linking
14077          # depending on the kind of the shared library created -
14078          # when "with_aix_soname,aix_use_runtimelinking" is:
14079          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14080          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14081          #            lib.a           static archive
14082          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14083          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14084          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14085          #            lib.a(lib.so.V) shared, rtl:no
14086          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14087          #            lib.a           static archive
14088          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14089	    for ld_flag in $LDFLAGS; do
14090	      case $ld_flag in
14091	      *-brtl*)
14092	        aix_use_runtimelinking=yes
14093	        break
14094	        ;;
14095	      esac
14096	    done
14097	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14098	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14099	      # so we don't have lib.a shared libs to link our executables.
14100	      # We have to force runtime linking in this case.
14101	      aix_use_runtimelinking=yes
14102	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14103	    fi
14104	    ;;
14105          esac
14106
14107          exp_sym_flag='-bexport'
14108          no_entry_flag='-bnoentry'
14109        fi
14110
14111        # When large executables or shared objects are built, AIX ld can
14112        # have problems creating the table of contents.  If linking a library
14113        # or program results in "error TOC overflow" add -mminimal-toc to
14114        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14115        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14116
14117        archive_cmds_CXX=''
14118        hardcode_direct_CXX=yes
14119        hardcode_direct_absolute_CXX=yes
14120        hardcode_libdir_separator_CXX=':'
14121        link_all_deplibs_CXX=yes
14122        file_list_spec_CXX='$wl-f,'
14123        case $with_aix_soname,$aix_use_runtimelinking in
14124        aix,*) ;;	# no import file
14125        svr4,* | *,yes) # use import file
14126          # The Import File defines what to hardcode.
14127          hardcode_direct_CXX=no
14128          hardcode_direct_absolute_CXX=no
14129          ;;
14130        esac
14131
14132        if test yes = "$GXX"; then
14133          case $host_os in aix4.[012]|aix4.[012].*)
14134          # We only want to do this on AIX 4.2 and lower, the check
14135          # below for broken collect2 doesn't work under 4.3+
14136	  collect2name=`$CC -print-prog-name=collect2`
14137	  if test -f "$collect2name" &&
14138	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14139	  then
14140	    # We have reworked collect2
14141	    :
14142	  else
14143	    # We have old collect2
14144	    hardcode_direct_CXX=unsupported
14145	    # It fails to find uninstalled libraries when the uninstalled
14146	    # path is not listed in the libpath.  Setting hardcode_minus_L
14147	    # to unsupported forces relinking
14148	    hardcode_minus_L_CXX=yes
14149	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14150	    hardcode_libdir_separator_CXX=
14151	  fi
14152          esac
14153          shared_flag='-shared'
14154	  if test yes = "$aix_use_runtimelinking"; then
14155	    shared_flag=$shared_flag' $wl-G'
14156	  fi
14157	  # Need to ensure runtime linking is disabled for the traditional
14158	  # shared library, or the linker may eventually find shared libraries
14159	  # /with/ Import File - we do not want to mix them.
14160	  shared_flag_aix='-shared'
14161	  shared_flag_svr4='-shared $wl-G'
14162        else
14163          # not using gcc
14164          if test ia64 = "$host_cpu"; then
14165	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14166	  # chokes on -Wl,-G. The following line is correct:
14167	  shared_flag='-G'
14168          else
14169	    if test yes = "$aix_use_runtimelinking"; then
14170	      shared_flag='$wl-G'
14171	    else
14172	      shared_flag='$wl-bM:SRE'
14173	    fi
14174	    shared_flag_aix='$wl-bM:SRE'
14175	    shared_flag_svr4='$wl-G'
14176          fi
14177        fi
14178
14179        export_dynamic_flag_spec_CXX='$wl-bexpall'
14180        # It seems that -bexpall does not export symbols beginning with
14181        # underscore (_), so it is better to generate a list of symbols to
14182	# export.
14183        always_export_symbols_CXX=yes
14184	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14185          # Warning - without using the other runtime loading flags (-brtl),
14186          # -berok will link without error, but may produce a broken library.
14187          # The "-G" linker flag allows undefined symbols.
14188          no_undefined_flag_CXX='-bernotok'
14189          # Determine the default libpath from the value encoded in an empty
14190          # executable.
14191          if test set = "${lt_cv_aix_libpath+set}"; then
14192  aix_libpath=$lt_cv_aix_libpath
14193else
14194  if ${lt_cv_aix_libpath__CXX+:} false; then :
14195  $as_echo_n "(cached) " >&6
14196else
14197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198/* end confdefs.h.  */
14199
14200int
14201main ()
14202{
14203
14204  ;
14205  return 0;
14206}
14207_ACEOF
14208if ac_fn_cxx_try_link "$LINENO"; then :
14209
14210  lt_aix_libpath_sed='
14211      /Import File Strings/,/^$/ {
14212	  /^0/ {
14213	      s/^0  *\([^ ]*\) *$/\1/
14214	      p
14215	  }
14216      }'
14217  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14218  # Check for a 64-bit object if we didn't find anything.
14219  if test -z "$lt_cv_aix_libpath__CXX"; then
14220    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14221  fi
14222fi
14223rm -f core conftest.err conftest.$ac_objext \
14224    conftest$ac_exeext conftest.$ac_ext
14225  if test -z "$lt_cv_aix_libpath__CXX"; then
14226    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14227  fi
14228
14229fi
14230
14231  aix_libpath=$lt_cv_aix_libpath__CXX
14232fi
14233
14234          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14235
14236          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14237        else
14238          if test ia64 = "$host_cpu"; then
14239	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14240	    allow_undefined_flag_CXX="-z nodefs"
14241	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
14242          else
14243	    # Determine the default libpath from the value encoded in an
14244	    # empty executable.
14245	    if test set = "${lt_cv_aix_libpath+set}"; then
14246  aix_libpath=$lt_cv_aix_libpath
14247else
14248  if ${lt_cv_aix_libpath__CXX+:} false; then :
14249  $as_echo_n "(cached) " >&6
14250else
14251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252/* end confdefs.h.  */
14253
14254int
14255main ()
14256{
14257
14258  ;
14259  return 0;
14260}
14261_ACEOF
14262if ac_fn_cxx_try_link "$LINENO"; then :
14263
14264  lt_aix_libpath_sed='
14265      /Import File Strings/,/^$/ {
14266	  /^0/ {
14267	      s/^0  *\([^ ]*\) *$/\1/
14268	      p
14269	  }
14270      }'
14271  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14272  # Check for a 64-bit object if we didn't find anything.
14273  if test -z "$lt_cv_aix_libpath__CXX"; then
14274    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14275  fi
14276fi
14277rm -f core conftest.err conftest.$ac_objext \
14278    conftest$ac_exeext conftest.$ac_ext
14279  if test -z "$lt_cv_aix_libpath__CXX"; then
14280    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14281  fi
14282
14283fi
14284
14285  aix_libpath=$lt_cv_aix_libpath__CXX
14286fi
14287
14288	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14289	    # Warning - without using the other run time loading flags,
14290	    # -berok will link without error, but may produce a broken library.
14291	    no_undefined_flag_CXX=' $wl-bernotok'
14292	    allow_undefined_flag_CXX=' $wl-berok'
14293	    if test yes = "$with_gnu_ld"; then
14294	      # We only use this code for GNU lds that support --whole-archive.
14295	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14296	    else
14297	      # Exported symbols can be pulled into shared objects from archives
14298	      whole_archive_flag_spec_CXX='$convenience'
14299	    fi
14300	    archive_cmds_need_lc_CXX=yes
14301	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14302	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14303	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14304	    if test svr4 != "$with_aix_soname"; then
14305	      # This is similar to how AIX traditionally builds its shared
14306	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14307	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14308	    fi
14309	    if test aix != "$with_aix_soname"; then
14310	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14311	    else
14312	      # used by -dlpreopen to get the symbols
14313	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14314	    fi
14315	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14316          fi
14317        fi
14318        ;;
14319
14320      beos*)
14321	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14322	  allow_undefined_flag_CXX=unsupported
14323	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14324	  # support --undefined.  This deserves some investigation.  FIXME
14325	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14326	else
14327	  ld_shlibs_CXX=no
14328	fi
14329	;;
14330
14331      chorus*)
14332        case $cc_basename in
14333          *)
14334	  # FIXME: insert proper C++ library support
14335	  ld_shlibs_CXX=no
14336	  ;;
14337        esac
14338        ;;
14339
14340      cygwin* | mingw* | pw32* | cegcc*)
14341	case $GXX,$cc_basename in
14342	,cl* | no,cl*)
14343	  # Native MSVC
14344	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14345	  # no search path for DLLs.
14346	  hardcode_libdir_flag_spec_CXX=' '
14347	  allow_undefined_flag_CXX=unsupported
14348	  always_export_symbols_CXX=yes
14349	  file_list_spec_CXX='@'
14350	  # Tell ltmain to make .lib files, not .a files.
14351	  libext=lib
14352	  # Tell ltmain to make .dll files, not .so files.
14353	  shrext_cmds=.dll
14354	  # FIXME: Setting linknames here is a bad hack.
14355	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14356	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14357              cp "$export_symbols" "$output_objdir/$soname.def";
14358              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14359            else
14360              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14361            fi~
14362            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14363            linknames='
14364	  # The linker will not automatically build a static lib if we build a DLL.
14365	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14366	  enable_shared_with_static_runtimes_CXX=yes
14367	  # Don't use ranlib
14368	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14369	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14370            lt_tool_outputfile="@TOOL_OUTPUT@"~
14371            case $lt_outputfile in
14372              *.exe|*.EXE) ;;
14373              *)
14374                lt_outputfile=$lt_outputfile.exe
14375                lt_tool_outputfile=$lt_tool_outputfile.exe
14376                ;;
14377            esac~
14378            func_to_tool_file "$lt_outputfile"~
14379            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14380              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14381              $RM "$lt_outputfile.manifest";
14382            fi'
14383	  ;;
14384	*)
14385	  # g++
14386	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14387	  # as there is no search path for DLLs.
14388	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14389	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14390	  allow_undefined_flag_CXX=unsupported
14391	  always_export_symbols_CXX=no
14392	  enable_shared_with_static_runtimes_CXX=yes
14393
14394	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14395	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14396	    # If the export-symbols file already is a .def file, use it as
14397	    # is; otherwise, prepend EXPORTS...
14398	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14399              cp $export_symbols $output_objdir/$soname.def;
14400            else
14401              echo EXPORTS > $output_objdir/$soname.def;
14402              cat $export_symbols >> $output_objdir/$soname.def;
14403            fi~
14404            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14405	  else
14406	    ld_shlibs_CXX=no
14407	  fi
14408	  ;;
14409	esac
14410	;;
14411      darwin* | rhapsody*)
14412
14413
14414  archive_cmds_need_lc_CXX=no
14415  hardcode_direct_CXX=no
14416  hardcode_automatic_CXX=yes
14417  hardcode_shlibpath_var_CXX=unsupported
14418  if test yes = "$lt_cv_ld_force_load"; then
14419    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14420
14421  else
14422    whole_archive_flag_spec_CXX=''
14423  fi
14424  link_all_deplibs_CXX=yes
14425  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14426  case $cc_basename in
14427     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14428     *) _lt_dar_can_shared=$GCC ;;
14429  esac
14430  if test yes = "$_lt_dar_can_shared"; then
14431    output_verbose_link_cmd=func_echo_all
14432    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14433    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14434    archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14435    module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
14436       if test yes != "$lt_cv_apple_cc_single_mod"; then
14437      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14438      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14439    fi
14440
14441  else
14442  ld_shlibs_CXX=no
14443  fi
14444
14445	;;
14446
14447      os2*)
14448	hardcode_libdir_flag_spec_CXX='-L$libdir'
14449	hardcode_minus_L_CXX=yes
14450	allow_undefined_flag_CXX=unsupported
14451	shrext_cmds=.dll
14452	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14453	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14454	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14455	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14456	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14457	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14458	  emximp -o $lib $output_objdir/$libname.def'
14459	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14460	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14461	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14462	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14463	  prefix_cmds="$SED"~
14464	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14465	    prefix_cmds="$prefix_cmds -e 1d";
14466	  fi~
14467	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14468	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14469	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14470	  emximp -o $lib $output_objdir/$libname.def'
14471	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14472	enable_shared_with_static_runtimes_CXX=yes
14473	;;
14474
14475      dgux*)
14476        case $cc_basename in
14477          ec++*)
14478	    # FIXME: insert proper C++ library support
14479	    ld_shlibs_CXX=no
14480	    ;;
14481          ghcx*)
14482	    # Green Hills C++ Compiler
14483	    # FIXME: insert proper C++ library support
14484	    ld_shlibs_CXX=no
14485	    ;;
14486          *)
14487	    # FIXME: insert proper C++ library support
14488	    ld_shlibs_CXX=no
14489	    ;;
14490        esac
14491        ;;
14492
14493      freebsd2.*)
14494        # C++ shared libraries reported to be fairly broken before
14495	# switch to ELF
14496        ld_shlibs_CXX=no
14497        ;;
14498
14499      freebsd-elf*)
14500        archive_cmds_need_lc_CXX=no
14501        ;;
14502
14503      freebsd* | dragonfly*)
14504        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14505        # conventions
14506        ld_shlibs_CXX=yes
14507        ;;
14508
14509      haiku*)
14510        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14511        link_all_deplibs_CXX=yes
14512        ;;
14513
14514      hpux9*)
14515        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14516        hardcode_libdir_separator_CXX=:
14517        export_dynamic_flag_spec_CXX='$wl-E'
14518        hardcode_direct_CXX=yes
14519        hardcode_minus_L_CXX=yes # Not in the search PATH,
14520				             # but as the default
14521				             # location of the library.
14522
14523        case $cc_basename in
14524          CC*)
14525            # FIXME: insert proper C++ library support
14526            ld_shlibs_CXX=no
14527            ;;
14528          aCC*)
14529            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14530            # Commands to make compiler produce verbose output that lists
14531            # what "hidden" libraries, object files and flags are used when
14532            # linking a shared library.
14533            #
14534            # There doesn't appear to be a way to prevent this compiler from
14535            # explicitly linking system object files so we need to strip them
14536            # from the output so that they don't get included in the library
14537            # dependencies.
14538            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14539            ;;
14540          *)
14541            if test yes = "$GXX"; then
14542              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14543            else
14544              # FIXME: insert proper C++ library support
14545              ld_shlibs_CXX=no
14546            fi
14547            ;;
14548        esac
14549        ;;
14550
14551      hpux10*|hpux11*)
14552        if test no = "$with_gnu_ld"; then
14553	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14554	  hardcode_libdir_separator_CXX=:
14555
14556          case $host_cpu in
14557            hppa*64*|ia64*)
14558              ;;
14559            *)
14560	      export_dynamic_flag_spec_CXX='$wl-E'
14561              ;;
14562          esac
14563        fi
14564        case $host_cpu in
14565          hppa*64*|ia64*)
14566            hardcode_direct_CXX=no
14567            hardcode_shlibpath_var_CXX=no
14568            ;;
14569          *)
14570            hardcode_direct_CXX=yes
14571            hardcode_direct_absolute_CXX=yes
14572            hardcode_minus_L_CXX=yes # Not in the search PATH,
14573					         # but as the default
14574					         # location of the library.
14575            ;;
14576        esac
14577
14578        case $cc_basename in
14579          CC*)
14580	    # FIXME: insert proper C++ library support
14581	    ld_shlibs_CXX=no
14582	    ;;
14583          aCC*)
14584	    case $host_cpu in
14585	      hppa*64*)
14586	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14587	        ;;
14588	      ia64*)
14589	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14590	        ;;
14591	      *)
14592	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14593	        ;;
14594	    esac
14595	    # Commands to make compiler produce verbose output that lists
14596	    # what "hidden" libraries, object files and flags are used when
14597	    # linking a shared library.
14598	    #
14599	    # There doesn't appear to be a way to prevent this compiler from
14600	    # explicitly linking system object files so we need to strip them
14601	    # from the output so that they don't get included in the library
14602	    # dependencies.
14603	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14604	    ;;
14605          *)
14606	    if test yes = "$GXX"; then
14607	      if test no = "$with_gnu_ld"; then
14608	        case $host_cpu in
14609	          hppa*64*)
14610	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14611	            ;;
14612	          ia64*)
14613	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14614	            ;;
14615	          *)
14616	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14617	            ;;
14618	        esac
14619	      fi
14620	    else
14621	      # FIXME: insert proper C++ library support
14622	      ld_shlibs_CXX=no
14623	    fi
14624	    ;;
14625        esac
14626        ;;
14627
14628      interix[3-9]*)
14629	hardcode_direct_CXX=no
14630	hardcode_shlibpath_var_CXX=no
14631	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14632	export_dynamic_flag_spec_CXX='$wl-E'
14633	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14634	# Instead, shared libraries are loaded at an image base (0x10000000 by
14635	# default) and relocated if they conflict, which is a slow very memory
14636	# consuming and fragmenting process.  To avoid this, we pick a random,
14637	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14638	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14639	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14640	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14641	;;
14642      irix5* | irix6*)
14643        case $cc_basename in
14644          CC*)
14645	    # SGI C++
14646	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14647
14648	    # Archives containing C++ object files must be created using
14649	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14650	    # necessary to make sure instantiated templates are included
14651	    # in the archive.
14652	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14653	    ;;
14654          *)
14655	    if test yes = "$GXX"; then
14656	      if test no = "$with_gnu_ld"; then
14657	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14658	      else
14659	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14660	      fi
14661	    fi
14662	    link_all_deplibs_CXX=yes
14663	    ;;
14664        esac
14665        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14666        hardcode_libdir_separator_CXX=:
14667        inherit_rpath_CXX=yes
14668        ;;
14669
14670      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14671        case $cc_basename in
14672          KCC*)
14673	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14674
14675	    # KCC will only create a shared library if the output file
14676	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14677	    # to its proper name (with version) after linking.
14678	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14679	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14680	    # Commands to make compiler produce verbose output that lists
14681	    # what "hidden" libraries, object files and flags are used when
14682	    # linking a shared library.
14683	    #
14684	    # There doesn't appear to be a way to prevent this compiler from
14685	    # explicitly linking system object files so we need to strip them
14686	    # from the output so that they don't get included in the library
14687	    # dependencies.
14688	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14689
14690	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14691	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14692
14693	    # Archives containing C++ object files must be created using
14694	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14695	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14696	    ;;
14697	  icpc* | ecpc* )
14698	    # Intel C++
14699	    with_gnu_ld=yes
14700	    # version 8.0 and above of icpc choke on multiply defined symbols
14701	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14702	    # earlier do not add the objects themselves.
14703	    case `$CC -V 2>&1` in
14704	      *"Version 7."*)
14705	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14706		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14707		;;
14708	      *)  # Version 8.0 or newer
14709	        tmp_idyn=
14710	        case $host_cpu in
14711		  ia64*) tmp_idyn=' -i_dynamic';;
14712		esac
14713	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14714		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14715		;;
14716	    esac
14717	    archive_cmds_need_lc_CXX=no
14718	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14719	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14720	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14721	    ;;
14722          pgCC* | pgcpp*)
14723            # Portland Group C++ compiler
14724	    case `$CC -V` in
14725	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14726	      prelink_cmds_CXX='tpldir=Template.dir~
14727               rm -rf $tpldir~
14728               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14729               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14730	      old_archive_cmds_CXX='tpldir=Template.dir~
14731                rm -rf $tpldir~
14732                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14733                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14734                $RANLIB $oldlib'
14735	      archive_cmds_CXX='tpldir=Template.dir~
14736                rm -rf $tpldir~
14737                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14738                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14739	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14740                rm -rf $tpldir~
14741                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14742                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14743	      ;;
14744	    *) # Version 6 and above use weak symbols
14745	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14746	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14747	      ;;
14748	    esac
14749
14750	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14751	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14752	    whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14753            ;;
14754	  cxx*)
14755	    # Compaq C++
14756	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14757	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
14758
14759	    runpath_var=LD_RUN_PATH
14760	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14761	    hardcode_libdir_separator_CXX=:
14762
14763	    # Commands to make compiler produce verbose output that lists
14764	    # what "hidden" libraries, object files and flags are used when
14765	    # linking a shared library.
14766	    #
14767	    # There doesn't appear to be a way to prevent this compiler from
14768	    # explicitly linking system object files so we need to strip them
14769	    # from the output so that they don't get included in the library
14770	    # dependencies.
14771	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14772	    ;;
14773	  xl* | mpixl* | bgxl*)
14774	    # IBM XL 8.0 on PPC, with GNU ld
14775	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14776	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14777	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14778	    if test yes = "$supports_anon_versioning"; then
14779	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14780                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14781                echo "local: *; };" >> $output_objdir/$libname.ver~
14782                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14783	    fi
14784	    ;;
14785	  *)
14786	    case `$CC -V 2>&1 | sed 5q` in
14787	    *Sun\ C*)
14788	      # Sun C++ 5.9
14789	      no_undefined_flag_CXX=' -zdefs'
14790	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14791	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14792	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14793	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14794	      compiler_needs_object_CXX=yes
14795
14796	      # Not sure whether something based on
14797	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14798	      # would be better.
14799	      output_verbose_link_cmd='func_echo_all'
14800
14801	      # Archives containing C++ object files must be created using
14802	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14803	      # necessary to make sure instantiated templates are included
14804	      # in the archive.
14805	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14806	      ;;
14807	    esac
14808	    ;;
14809	esac
14810	;;
14811
14812      lynxos*)
14813        # FIXME: insert proper C++ library support
14814	ld_shlibs_CXX=no
14815	;;
14816
14817      m88k*)
14818        # FIXME: insert proper C++ library support
14819        ld_shlibs_CXX=no
14820	;;
14821
14822      mvs*)
14823        case $cc_basename in
14824          cxx*)
14825	    # FIXME: insert proper C++ library support
14826	    ld_shlibs_CXX=no
14827	    ;;
14828	  *)
14829	    # FIXME: insert proper C++ library support
14830	    ld_shlibs_CXX=no
14831	    ;;
14832	esac
14833	;;
14834
14835      netbsd*)
14836        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14837	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14838	  wlarc=
14839	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14840	  hardcode_direct_CXX=yes
14841	  hardcode_shlibpath_var_CXX=no
14842	fi
14843	# Workaround some broken pre-1.5 toolchains
14844	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14845	;;
14846
14847      *nto* | *qnx*)
14848        ld_shlibs_CXX=yes
14849	;;
14850
14851      openbsd* | bitrig*)
14852	if test -f /usr/libexec/ld.so; then
14853	  hardcode_direct_CXX=yes
14854	  hardcode_shlibpath_var_CXX=no
14855	  hardcode_direct_absolute_CXX=yes
14856	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14857	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14858	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14859	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14860	    export_dynamic_flag_spec_CXX='$wl-E'
14861	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14862	  fi
14863	  output_verbose_link_cmd=func_echo_all
14864	else
14865	  ld_shlibs_CXX=no
14866	fi
14867	;;
14868
14869      osf3* | osf4* | osf5*)
14870        case $cc_basename in
14871          KCC*)
14872	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14873
14874	    # KCC will only create a shared library if the output file
14875	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14876	    # to its proper name (with version) after linking.
14877	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14878
14879	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14880	    hardcode_libdir_separator_CXX=:
14881
14882	    # Archives containing C++ object files must be created using
14883	    # the KAI C++ compiler.
14884	    case $host in
14885	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14886	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14887	    esac
14888	    ;;
14889          RCC*)
14890	    # Rational C++ 2.4.1
14891	    # FIXME: insert proper C++ library support
14892	    ld_shlibs_CXX=no
14893	    ;;
14894          cxx*)
14895	    case $host in
14896	      osf3*)
14897	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14898	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14899	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14900		;;
14901	      *)
14902	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14903	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14904	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14905                  echo "-hidden">> $lib.exp~
14906                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14907                  $RM $lib.exp'
14908	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14909		;;
14910	    esac
14911
14912	    hardcode_libdir_separator_CXX=:
14913
14914	    # Commands to make compiler produce verbose output that lists
14915	    # what "hidden" libraries, object files and flags are used when
14916	    # linking a shared library.
14917	    #
14918	    # There doesn't appear to be a way to prevent this compiler from
14919	    # explicitly linking system object files so we need to strip them
14920	    # from the output so that they don't get included in the library
14921	    # dependencies.
14922	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14923	    ;;
14924	  *)
14925	    if test yes,no = "$GXX,$with_gnu_ld"; then
14926	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14927	      case $host in
14928	        osf3*)
14929	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14930		  ;;
14931	        *)
14932	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14933		  ;;
14934	      esac
14935
14936	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14937	      hardcode_libdir_separator_CXX=:
14938
14939	      # Commands to make compiler produce verbose output that lists
14940	      # what "hidden" libraries, object files and flags are used when
14941	      # linking a shared library.
14942	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14943
14944	    else
14945	      # FIXME: insert proper C++ library support
14946	      ld_shlibs_CXX=no
14947	    fi
14948	    ;;
14949        esac
14950        ;;
14951
14952      psos*)
14953        # FIXME: insert proper C++ library support
14954        ld_shlibs_CXX=no
14955        ;;
14956
14957      sunos4*)
14958        case $cc_basename in
14959          CC*)
14960	    # Sun C++ 4.x
14961	    # FIXME: insert proper C++ library support
14962	    ld_shlibs_CXX=no
14963	    ;;
14964          lcc*)
14965	    # Lucid
14966	    # FIXME: insert proper C++ library support
14967	    ld_shlibs_CXX=no
14968	    ;;
14969          *)
14970	    # FIXME: insert proper C++ library support
14971	    ld_shlibs_CXX=no
14972	    ;;
14973        esac
14974        ;;
14975
14976      solaris*)
14977        case $cc_basename in
14978          CC* | sunCC*)
14979	    # Sun C++ 4.2, 5.x and Centerline C++
14980            archive_cmds_need_lc_CXX=yes
14981	    no_undefined_flag_CXX=' -zdefs'
14982	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14983	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14984              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14985
14986	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14987	    hardcode_shlibpath_var_CXX=no
14988	    case $host_os in
14989	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14990	      *)
14991		# The compiler driver will combine and reorder linker options,
14992		# but understands '-z linker_flag'.
14993	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14994		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14995	        ;;
14996	    esac
14997	    link_all_deplibs_CXX=yes
14998
14999	    output_verbose_link_cmd='func_echo_all'
15000
15001	    # Archives containing C++ object files must be created using
15002	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15003	    # necessary to make sure instantiated templates are included
15004	    # in the archive.
15005	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15006	    ;;
15007          gcx*)
15008	    # Green Hills C++ Compiler
15009	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15010
15011	    # The C++ compiler must be used to create the archive.
15012	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15013	    ;;
15014          *)
15015	    # GNU C++ compiler with Solaris linker
15016	    if test yes,no = "$GXX,$with_gnu_ld"; then
15017	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15018	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15019	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15020	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15021                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15022
15023	        # Commands to make compiler produce verbose output that lists
15024	        # what "hidden" libraries, object files and flags are used when
15025	        # linking a shared library.
15026	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15027	      else
15028	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15029	        # platform.
15030	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15031	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15032                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15033
15034	        # Commands to make compiler produce verbose output that lists
15035	        # what "hidden" libraries, object files and flags are used when
15036	        # linking a shared library.
15037	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15038	      fi
15039
15040	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15041	      case $host_os in
15042		solaris2.[0-5] | solaris2.[0-5].*) ;;
15043		*)
15044		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15045		  ;;
15046	      esac
15047	    fi
15048	    ;;
15049        esac
15050        ;;
15051
15052    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15053      no_undefined_flag_CXX='$wl-z,text'
15054      archive_cmds_need_lc_CXX=no
15055      hardcode_shlibpath_var_CXX=no
15056      runpath_var='LD_RUN_PATH'
15057
15058      case $cc_basename in
15059        CC*)
15060	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15061	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15062	  ;;
15063	*)
15064	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15065	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15066	  ;;
15067      esac
15068      ;;
15069
15070      sysv5* | sco3.2v5* | sco5v6*)
15071	# Note: We CANNOT use -z defs as we might desire, because we do not
15072	# link with -lc, and that would cause any symbols used from libc to
15073	# always be unresolved, which means just about no library would
15074	# ever link correctly.  If we're not using GNU ld we use -z text
15075	# though, which does catch some bad symbols but isn't as heavy-handed
15076	# as -z defs.
15077	no_undefined_flag_CXX='$wl-z,text'
15078	allow_undefined_flag_CXX='$wl-z,nodefs'
15079	archive_cmds_need_lc_CXX=no
15080	hardcode_shlibpath_var_CXX=no
15081	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15082	hardcode_libdir_separator_CXX=':'
15083	link_all_deplibs_CXX=yes
15084	export_dynamic_flag_spec_CXX='$wl-Bexport'
15085	runpath_var='LD_RUN_PATH'
15086
15087	case $cc_basename in
15088          CC*)
15089	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15090	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15091	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15092              '"$old_archive_cmds_CXX"
15093	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15094              '"$reload_cmds_CXX"
15095	    ;;
15096	  *)
15097	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15098	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15099	    ;;
15100	esac
15101      ;;
15102
15103      tandem*)
15104        case $cc_basename in
15105          NCC*)
15106	    # NonStop-UX NCC 3.20
15107	    # FIXME: insert proper C++ library support
15108	    ld_shlibs_CXX=no
15109	    ;;
15110          *)
15111	    # FIXME: insert proper C++ library support
15112	    ld_shlibs_CXX=no
15113	    ;;
15114        esac
15115        ;;
15116
15117      vxworks*)
15118        # FIXME: insert proper C++ library support
15119        ld_shlibs_CXX=no
15120        ;;
15121
15122      *)
15123        # FIXME: insert proper C++ library support
15124        ld_shlibs_CXX=no
15125        ;;
15126    esac
15127
15128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15129$as_echo "$ld_shlibs_CXX" >&6; }
15130    test no = "$ld_shlibs_CXX" && can_build_shared=no
15131
15132    GCC_CXX=$GXX
15133    LD_CXX=$LD
15134
15135    ## CAVEAT EMPTOR:
15136    ## There is no encapsulation within the following macros, do not change
15137    ## the running order or otherwise move them around unless you know exactly
15138    ## what you are doing...
15139    # Dependencies to place before and after the object being linked:
15140predep_objects_CXX=
15141postdep_objects_CXX=
15142predeps_CXX=
15143postdeps_CXX=
15144compiler_lib_search_path_CXX=
15145
15146cat > conftest.$ac_ext <<_LT_EOF
15147class Foo
15148{
15149public:
15150  Foo (void) { a = 0; }
15151private:
15152  int a;
15153};
15154_LT_EOF
15155
15156
15157_lt_libdeps_save_CFLAGS=$CFLAGS
15158case "$CC $CFLAGS " in #(
15159*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15160*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15161*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15162esac
15163
15164if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15165  (eval $ac_compile) 2>&5
15166  ac_status=$?
15167  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15168  test $ac_status = 0; }; then
15169  # Parse the compiler output and extract the necessary
15170  # objects, libraries and library flags.
15171
15172  # Sentinel used to keep track of whether or not we are before
15173  # the conftest object file.
15174  pre_test_object_deps_done=no
15175
15176  for p in `eval "$output_verbose_link_cmd"`; do
15177    case $prev$p in
15178
15179    -L* | -R* | -l*)
15180       # Some compilers place space between "-{L,R}" and the path.
15181       # Remove the space.
15182       if test x-L = "$p" ||
15183          test x-R = "$p"; then
15184	 prev=$p
15185	 continue
15186       fi
15187
15188       # Expand the sysroot to ease extracting the directories later.
15189       if test -z "$prev"; then
15190         case $p in
15191         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15192         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15193         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15194         esac
15195       fi
15196       case $p in
15197       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15198       esac
15199       if test no = "$pre_test_object_deps_done"; then
15200	 case $prev in
15201	 -L | -R)
15202	   # Internal compiler library paths should come after those
15203	   # provided the user.  The postdeps already come after the
15204	   # user supplied libs so there is no need to process them.
15205	   if test -z "$compiler_lib_search_path_CXX"; then
15206	     compiler_lib_search_path_CXX=$prev$p
15207	   else
15208	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15209	   fi
15210	   ;;
15211	 # The "-l" case would never come before the object being
15212	 # linked, so don't bother handling this case.
15213	 esac
15214       else
15215	 if test -z "$postdeps_CXX"; then
15216	   postdeps_CXX=$prev$p
15217	 else
15218	   postdeps_CXX="${postdeps_CXX} $prev$p"
15219	 fi
15220       fi
15221       prev=
15222       ;;
15223
15224    *.lto.$objext) ;; # Ignore GCC LTO objects
15225    *.$objext)
15226       # This assumes that the test object file only shows up
15227       # once in the compiler output.
15228       if test "$p" = "conftest.$objext"; then
15229	 pre_test_object_deps_done=yes
15230	 continue
15231       fi
15232
15233       if test no = "$pre_test_object_deps_done"; then
15234	 if test -z "$predep_objects_CXX"; then
15235	   predep_objects_CXX=$p
15236	 else
15237	   predep_objects_CXX="$predep_objects_CXX $p"
15238	 fi
15239       else
15240	 if test -z "$postdep_objects_CXX"; then
15241	   postdep_objects_CXX=$p
15242	 else
15243	   postdep_objects_CXX="$postdep_objects_CXX $p"
15244	 fi
15245       fi
15246       ;;
15247
15248    *) ;; # Ignore the rest.
15249
15250    esac
15251  done
15252
15253  # Clean up.
15254  rm -f a.out a.exe
15255else
15256  echo "libtool.m4: error: problem compiling CXX test program"
15257fi
15258
15259$RM -f confest.$objext
15260CFLAGS=$_lt_libdeps_save_CFLAGS
15261
15262# PORTME: override above test on systems where it is broken
15263case $host_os in
15264interix[3-9]*)
15265  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15266  # hack all around it, let's just trust "g++" to DTRT.
15267  predep_objects_CXX=
15268  postdep_objects_CXX=
15269  postdeps_CXX=
15270  ;;
15271esac
15272
15273
15274case " $postdeps_CXX " in
15275*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15276esac
15277 compiler_lib_search_dirs_CXX=
15278if test -n "${compiler_lib_search_path_CXX}"; then
15279 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15280fi
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312    lt_prog_compiler_wl_CXX=
15313lt_prog_compiler_pic_CXX=
15314lt_prog_compiler_static_CXX=
15315
15316
15317  # C++ specific cases for pic, static, wl, etc.
15318  if test yes = "$GXX"; then
15319    lt_prog_compiler_wl_CXX='-Wl,'
15320    lt_prog_compiler_static_CXX='-static'
15321
15322    case $host_os in
15323    aix*)
15324      # All AIX code is PIC.
15325      if test ia64 = "$host_cpu"; then
15326	# AIX 5 now supports IA64 processor
15327	lt_prog_compiler_static_CXX='-Bstatic'
15328      fi
15329      lt_prog_compiler_pic_CXX='-fPIC'
15330      ;;
15331
15332    amigaos*)
15333      case $host_cpu in
15334      powerpc)
15335            # see comment about AmigaOS4 .so support
15336            lt_prog_compiler_pic_CXX='-fPIC'
15337        ;;
15338      m68k)
15339            # FIXME: we need at least 68020 code to build shared libraries, but
15340            # adding the '-m68020' flag to GCC prevents building anything better,
15341            # like '-m68040'.
15342            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15343        ;;
15344      esac
15345      ;;
15346
15347    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15348      # PIC is the default for these OSes.
15349      ;;
15350    mingw* | cygwin* | os2* | pw32* | cegcc*)
15351      # This hack is so that the source file can tell whether it is being
15352      # built for inclusion in a dll (and should export symbols for example).
15353      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15354      # (--disable-auto-import) libraries
15355      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15356      case $host_os in
15357      os2*)
15358	lt_prog_compiler_static_CXX='$wl-static'
15359	;;
15360      esac
15361      ;;
15362    darwin* | rhapsody*)
15363      # PIC is the default on this platform
15364      # Common symbols not allowed in MH_DYLIB files
15365      lt_prog_compiler_pic_CXX='-fno-common'
15366      ;;
15367    *djgpp*)
15368      # DJGPP does not support shared libraries at all
15369      lt_prog_compiler_pic_CXX=
15370      ;;
15371    haiku*)
15372      # PIC is the default for Haiku.
15373      # The "-static" flag exists, but is broken.
15374      lt_prog_compiler_static_CXX=
15375      ;;
15376    interix[3-9]*)
15377      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15378      # Instead, we relocate shared libraries at runtime.
15379      ;;
15380    sysv4*MP*)
15381      if test -d /usr/nec; then
15382	lt_prog_compiler_pic_CXX=-Kconform_pic
15383      fi
15384      ;;
15385    hpux*)
15386      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15387      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15388      # sets the default TLS model and affects inlining.
15389      case $host_cpu in
15390      hppa*64*)
15391	;;
15392      *)
15393	lt_prog_compiler_pic_CXX='-fPIC'
15394	;;
15395      esac
15396      ;;
15397    *qnx* | *nto*)
15398      # QNX uses GNU C++, but need to define -shared option too, otherwise
15399      # it will coredump.
15400      lt_prog_compiler_pic_CXX='-fPIC -shared'
15401      ;;
15402    *)
15403      lt_prog_compiler_pic_CXX='-fPIC'
15404      ;;
15405    esac
15406  else
15407    case $host_os in
15408      aix[4-9]*)
15409	# All AIX code is PIC.
15410	if test ia64 = "$host_cpu"; then
15411	  # AIX 5 now supports IA64 processor
15412	  lt_prog_compiler_static_CXX='-Bstatic'
15413	else
15414	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15415	fi
15416	;;
15417      chorus*)
15418	case $cc_basename in
15419	cxch68*)
15420	  # Green Hills C++ Compiler
15421	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15422	  ;;
15423	esac
15424	;;
15425      mingw* | cygwin* | os2* | pw32* | cegcc*)
15426	# This hack is so that the source file can tell whether it is being
15427	# built for inclusion in a dll (and should export symbols for example).
15428	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15429	;;
15430      dgux*)
15431	case $cc_basename in
15432	  ec++*)
15433	    lt_prog_compiler_pic_CXX='-KPIC'
15434	    ;;
15435	  ghcx*)
15436	    # Green Hills C++ Compiler
15437	    lt_prog_compiler_pic_CXX='-pic'
15438	    ;;
15439	  *)
15440	    ;;
15441	esac
15442	;;
15443      freebsd* | dragonfly*)
15444	# FreeBSD uses GNU C++
15445	;;
15446      hpux9* | hpux10* | hpux11*)
15447	case $cc_basename in
15448	  CC*)
15449	    lt_prog_compiler_wl_CXX='-Wl,'
15450	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15451	    if test ia64 != "$host_cpu"; then
15452	      lt_prog_compiler_pic_CXX='+Z'
15453	    fi
15454	    ;;
15455	  aCC*)
15456	    lt_prog_compiler_wl_CXX='-Wl,'
15457	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15458	    case $host_cpu in
15459	    hppa*64*|ia64*)
15460	      # +Z the default
15461	      ;;
15462	    *)
15463	      lt_prog_compiler_pic_CXX='+Z'
15464	      ;;
15465	    esac
15466	    ;;
15467	  *)
15468	    ;;
15469	esac
15470	;;
15471      interix*)
15472	# This is c89, which is MS Visual C++ (no shared libs)
15473	# Anyone wants to do a port?
15474	;;
15475      irix5* | irix6* | nonstopux*)
15476	case $cc_basename in
15477	  CC*)
15478	    lt_prog_compiler_wl_CXX='-Wl,'
15479	    lt_prog_compiler_static_CXX='-non_shared'
15480	    # CC pic flag -KPIC is the default.
15481	    ;;
15482	  *)
15483	    ;;
15484	esac
15485	;;
15486      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15487	case $cc_basename in
15488	  KCC*)
15489	    # KAI C++ Compiler
15490	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15491	    lt_prog_compiler_pic_CXX='-fPIC'
15492	    ;;
15493	  ecpc* )
15494	    # old Intel C++ for x86_64, which still supported -KPIC.
15495	    lt_prog_compiler_wl_CXX='-Wl,'
15496	    lt_prog_compiler_pic_CXX='-KPIC'
15497	    lt_prog_compiler_static_CXX='-static'
15498	    ;;
15499	  icpc* )
15500	    # Intel C++, used to be incompatible with GCC.
15501	    # ICC 10 doesn't accept -KPIC any more.
15502	    lt_prog_compiler_wl_CXX='-Wl,'
15503	    lt_prog_compiler_pic_CXX='-fPIC'
15504	    lt_prog_compiler_static_CXX='-static'
15505	    ;;
15506	  pgCC* | pgcpp*)
15507	    # Portland Group C++ compiler
15508	    lt_prog_compiler_wl_CXX='-Wl,'
15509	    lt_prog_compiler_pic_CXX='-fpic'
15510	    lt_prog_compiler_static_CXX='-Bstatic'
15511	    ;;
15512	  cxx*)
15513	    # Compaq C++
15514	    # Make sure the PIC flag is empty.  It appears that all Alpha
15515	    # Linux and Compaq Tru64 Unix objects are PIC.
15516	    lt_prog_compiler_pic_CXX=
15517	    lt_prog_compiler_static_CXX='-non_shared'
15518	    ;;
15519	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15520	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15521	    lt_prog_compiler_wl_CXX='-Wl,'
15522	    lt_prog_compiler_pic_CXX='-qpic'
15523	    lt_prog_compiler_static_CXX='-qstaticlink'
15524	    ;;
15525	  *)
15526	    case `$CC -V 2>&1 | sed 5q` in
15527	    *Sun\ C*)
15528	      # Sun C++ 5.9
15529	      lt_prog_compiler_pic_CXX='-KPIC'
15530	      lt_prog_compiler_static_CXX='-Bstatic'
15531	      lt_prog_compiler_wl_CXX='-Qoption ld '
15532	      ;;
15533	    esac
15534	    ;;
15535	esac
15536	;;
15537      lynxos*)
15538	;;
15539      m88k*)
15540	;;
15541      mvs*)
15542	case $cc_basename in
15543	  cxx*)
15544	    lt_prog_compiler_pic_CXX='-W c,exportall'
15545	    ;;
15546	  *)
15547	    ;;
15548	esac
15549	;;
15550      netbsd*)
15551	;;
15552      *qnx* | *nto*)
15553        # QNX uses GNU C++, but need to define -shared option too, otherwise
15554        # it will coredump.
15555        lt_prog_compiler_pic_CXX='-fPIC -shared'
15556        ;;
15557      osf3* | osf4* | osf5*)
15558	case $cc_basename in
15559	  KCC*)
15560	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15561	    ;;
15562	  RCC*)
15563	    # Rational C++ 2.4.1
15564	    lt_prog_compiler_pic_CXX='-pic'
15565	    ;;
15566	  cxx*)
15567	    # Digital/Compaq C++
15568	    lt_prog_compiler_wl_CXX='-Wl,'
15569	    # Make sure the PIC flag is empty.  It appears that all Alpha
15570	    # Linux and Compaq Tru64 Unix objects are PIC.
15571	    lt_prog_compiler_pic_CXX=
15572	    lt_prog_compiler_static_CXX='-non_shared'
15573	    ;;
15574	  *)
15575	    ;;
15576	esac
15577	;;
15578      psos*)
15579	;;
15580      solaris*)
15581	case $cc_basename in
15582	  CC* | sunCC*)
15583	    # Sun C++ 4.2, 5.x and Centerline C++
15584	    lt_prog_compiler_pic_CXX='-KPIC'
15585	    lt_prog_compiler_static_CXX='-Bstatic'
15586	    lt_prog_compiler_wl_CXX='-Qoption ld '
15587	    ;;
15588	  gcx*)
15589	    # Green Hills C++ Compiler
15590	    lt_prog_compiler_pic_CXX='-PIC'
15591	    ;;
15592	  *)
15593	    ;;
15594	esac
15595	;;
15596      sunos4*)
15597	case $cc_basename in
15598	  CC*)
15599	    # Sun C++ 4.x
15600	    lt_prog_compiler_pic_CXX='-pic'
15601	    lt_prog_compiler_static_CXX='-Bstatic'
15602	    ;;
15603	  lcc*)
15604	    # Lucid
15605	    lt_prog_compiler_pic_CXX='-pic'
15606	    ;;
15607	  *)
15608	    ;;
15609	esac
15610	;;
15611      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15612	case $cc_basename in
15613	  CC*)
15614	    lt_prog_compiler_wl_CXX='-Wl,'
15615	    lt_prog_compiler_pic_CXX='-KPIC'
15616	    lt_prog_compiler_static_CXX='-Bstatic'
15617	    ;;
15618	esac
15619	;;
15620      tandem*)
15621	case $cc_basename in
15622	  NCC*)
15623	    # NonStop-UX NCC 3.20
15624	    lt_prog_compiler_pic_CXX='-KPIC'
15625	    ;;
15626	  *)
15627	    ;;
15628	esac
15629	;;
15630      vxworks*)
15631	;;
15632      *)
15633	lt_prog_compiler_can_build_shared_CXX=no
15634	;;
15635    esac
15636  fi
15637
15638case $host_os in
15639  # For platforms that do not support PIC, -DPIC is meaningless:
15640  *djgpp*)
15641    lt_prog_compiler_pic_CXX=
15642    ;;
15643  *)
15644    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15645    ;;
15646esac
15647
15648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15649$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15650if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15651  $as_echo_n "(cached) " >&6
15652else
15653  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15654fi
15655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15656$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15657lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15658
15659#
15660# Check to make sure the PIC flag actually works.
15661#
15662if test -n "$lt_prog_compiler_pic_CXX"; then
15663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15664$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15665if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15666  $as_echo_n "(cached) " >&6
15667else
15668  lt_cv_prog_compiler_pic_works_CXX=no
15669   ac_outfile=conftest.$ac_objext
15670   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15671   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15672   # Insert the option either (1) after the last *FLAGS variable, or
15673   # (2) before a word containing "conftest.", or (3) at the end.
15674   # Note that $ac_compile itself does not contain backslashes and begins
15675   # with a dollar sign (not a hyphen), so the echo should work correctly.
15676   # The option is referenced via a variable to avoid confusing sed.
15677   lt_compile=`echo "$ac_compile" | $SED \
15678   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15679   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15680   -e 's:$: $lt_compiler_flag:'`
15681   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15682   (eval "$lt_compile" 2>conftest.err)
15683   ac_status=$?
15684   cat conftest.err >&5
15685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686   if (exit $ac_status) && test -s "$ac_outfile"; then
15687     # The compiler can only warn and ignore the option if not recognized
15688     # So say no if there are warnings other than the usual output.
15689     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15690     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15691     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15692       lt_cv_prog_compiler_pic_works_CXX=yes
15693     fi
15694   fi
15695   $RM conftest*
15696
15697fi
15698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15699$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15700
15701if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15702    case $lt_prog_compiler_pic_CXX in
15703     "" | " "*) ;;
15704     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15705     esac
15706else
15707    lt_prog_compiler_pic_CXX=
15708     lt_prog_compiler_can_build_shared_CXX=no
15709fi
15710
15711fi
15712
15713
15714
15715
15716
15717#
15718# Check to make sure the static flag actually works.
15719#
15720wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15722$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15723if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15724  $as_echo_n "(cached) " >&6
15725else
15726  lt_cv_prog_compiler_static_works_CXX=no
15727   save_LDFLAGS=$LDFLAGS
15728   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15729   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15730   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15731     # The linker can only warn and ignore the option if not recognized
15732     # So say no if there are warnings
15733     if test -s conftest.err; then
15734       # Append any errors to the config.log.
15735       cat conftest.err 1>&5
15736       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15737       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15738       if diff conftest.exp conftest.er2 >/dev/null; then
15739         lt_cv_prog_compiler_static_works_CXX=yes
15740       fi
15741     else
15742       lt_cv_prog_compiler_static_works_CXX=yes
15743     fi
15744   fi
15745   $RM -r conftest*
15746   LDFLAGS=$save_LDFLAGS
15747
15748fi
15749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15750$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15751
15752if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15753    :
15754else
15755    lt_prog_compiler_static_CXX=
15756fi
15757
15758
15759
15760
15761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15762$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15763if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15764  $as_echo_n "(cached) " >&6
15765else
15766  lt_cv_prog_compiler_c_o_CXX=no
15767   $RM -r conftest 2>/dev/null
15768   mkdir conftest
15769   cd conftest
15770   mkdir out
15771   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15772
15773   lt_compiler_flag="-o out/conftest2.$ac_objext"
15774   # Insert the option either (1) after the last *FLAGS variable, or
15775   # (2) before a word containing "conftest.", or (3) at the end.
15776   # Note that $ac_compile itself does not contain backslashes and begins
15777   # with a dollar sign (not a hyphen), so the echo should work correctly.
15778   lt_compile=`echo "$ac_compile" | $SED \
15779   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15780   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15781   -e 's:$: $lt_compiler_flag:'`
15782   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15783   (eval "$lt_compile" 2>out/conftest.err)
15784   ac_status=$?
15785   cat out/conftest.err >&5
15786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15788   then
15789     # The compiler can only warn and ignore the option if not recognized
15790     # So say no if there are warnings
15791     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15792     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15793     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15794       lt_cv_prog_compiler_c_o_CXX=yes
15795     fi
15796   fi
15797   chmod u+w . 2>&5
15798   $RM conftest*
15799   # SGI C++ compiler will create directory out/ii_files/ for
15800   # template instantiation
15801   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15802   $RM out/* && rmdir out
15803   cd ..
15804   $RM -r conftest
15805   $RM conftest*
15806
15807fi
15808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15809$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15810
15811
15812
15813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15814$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15815if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15816  $as_echo_n "(cached) " >&6
15817else
15818  lt_cv_prog_compiler_c_o_CXX=no
15819   $RM -r conftest 2>/dev/null
15820   mkdir conftest
15821   cd conftest
15822   mkdir out
15823   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15824
15825   lt_compiler_flag="-o out/conftest2.$ac_objext"
15826   # Insert the option either (1) after the last *FLAGS variable, or
15827   # (2) before a word containing "conftest.", or (3) at the end.
15828   # Note that $ac_compile itself does not contain backslashes and begins
15829   # with a dollar sign (not a hyphen), so the echo should work correctly.
15830   lt_compile=`echo "$ac_compile" | $SED \
15831   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15832   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15833   -e 's:$: $lt_compiler_flag:'`
15834   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15835   (eval "$lt_compile" 2>out/conftest.err)
15836   ac_status=$?
15837   cat out/conftest.err >&5
15838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15840   then
15841     # The compiler can only warn and ignore the option if not recognized
15842     # So say no if there are warnings
15843     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15844     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15845     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15846       lt_cv_prog_compiler_c_o_CXX=yes
15847     fi
15848   fi
15849   chmod u+w . 2>&5
15850   $RM conftest*
15851   # SGI C++ compiler will create directory out/ii_files/ for
15852   # template instantiation
15853   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15854   $RM out/* && rmdir out
15855   cd ..
15856   $RM -r conftest
15857   $RM conftest*
15858
15859fi
15860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15861$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15862
15863
15864
15865
15866hard_links=nottested
15867if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15868  # do not overwrite the value of need_locks provided by the user
15869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15870$as_echo_n "checking if we can lock with hard links... " >&6; }
15871  hard_links=yes
15872  $RM conftest*
15873  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15874  touch conftest.a
15875  ln conftest.a conftest.b 2>&5 || hard_links=no
15876  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15878$as_echo "$hard_links" >&6; }
15879  if test no = "$hard_links"; then
15880    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15881$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15882    need_locks=warn
15883  fi
15884else
15885  need_locks=no
15886fi
15887
15888
15889
15890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15891$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15892
15893  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15894  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15895  case $host_os in
15896  aix[4-9]*)
15897    # If we're using GNU nm, then we don't want the "-C" option.
15898    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15899    # Without the "-l" option, or with the "-B" option, AIX nm treats
15900    # weak defined symbols like other global defined symbols, whereas
15901    # GNU nm marks them as "W".
15902    # While the 'weak' keyword is ignored in the Export File, we need
15903    # it in the Import File for the 'aix-soname' feature, so we have
15904    # to replace the "-B" option with "-P" for AIX nm.
15905    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15906      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15907    else
15908      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15909    fi
15910    ;;
15911  pw32*)
15912    export_symbols_cmds_CXX=$ltdll_cmds
15913    ;;
15914  cygwin* | mingw* | cegcc*)
15915    case $cc_basename in
15916    cl*)
15917      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15918      ;;
15919    *)
15920      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15921      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15922      ;;
15923    esac
15924    ;;
15925  *)
15926    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15927    ;;
15928  esac
15929
15930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15931$as_echo "$ld_shlibs_CXX" >&6; }
15932test no = "$ld_shlibs_CXX" && can_build_shared=no
15933
15934with_gnu_ld_CXX=$with_gnu_ld
15935
15936
15937
15938
15939
15940
15941#
15942# Do we need to explicitly link libc?
15943#
15944case "x$archive_cmds_need_lc_CXX" in
15945x|xyes)
15946  # Assume -lc should be added
15947  archive_cmds_need_lc_CXX=yes
15948
15949  if test yes,yes = "$GCC,$enable_shared"; then
15950    case $archive_cmds_CXX in
15951    *'~'*)
15952      # FIXME: we may have to deal with multi-command sequences.
15953      ;;
15954    '$CC '*)
15955      # Test whether the compiler implicitly links with -lc since on some
15956      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15957      # to ld, don't add -lc before -lgcc.
15958      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15959$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15960if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15961  $as_echo_n "(cached) " >&6
15962else
15963  $RM conftest*
15964	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15965
15966	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15967  (eval $ac_compile) 2>&5
15968  ac_status=$?
15969  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15970  test $ac_status = 0; } 2>conftest.err; then
15971	  soname=conftest
15972	  lib=conftest
15973	  libobjs=conftest.$ac_objext
15974	  deplibs=
15975	  wl=$lt_prog_compiler_wl_CXX
15976	  pic_flag=$lt_prog_compiler_pic_CXX
15977	  compiler_flags=-v
15978	  linker_flags=-v
15979	  verstring=
15980	  output_objdir=.
15981	  libname=conftest
15982	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15983	  allow_undefined_flag_CXX=
15984	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15985  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15986  ac_status=$?
15987  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15988  test $ac_status = 0; }
15989	  then
15990	    lt_cv_archive_cmds_need_lc_CXX=no
15991	  else
15992	    lt_cv_archive_cmds_need_lc_CXX=yes
15993	  fi
15994	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15995	else
15996	  cat conftest.err 1>&5
15997	fi
15998	$RM conftest*
15999
16000fi
16001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16002$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16003      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16004      ;;
16005    esac
16006  fi
16007  ;;
16008esac
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16072$as_echo_n "checking dynamic linker characteristics... " >&6; }
16073
16074library_names_spec=
16075libname_spec='lib$name'
16076soname_spec=
16077shrext_cmds=.so
16078postinstall_cmds=
16079postuninstall_cmds=
16080finish_cmds=
16081finish_eval=
16082shlibpath_var=
16083shlibpath_overrides_runpath=unknown
16084version_type=none
16085dynamic_linker="$host_os ld.so"
16086sys_lib_dlsearch_path_spec="/lib /usr/lib"
16087need_lib_prefix=unknown
16088hardcode_into_libs=no
16089
16090# when you set need_version to no, make sure it does not cause -set_version
16091# flags to be left without arguments
16092need_version=unknown
16093
16094
16095
16096case $host_os in
16097aix3*)
16098  version_type=linux # correct to gnu/linux during the next big refactor
16099  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16100  shlibpath_var=LIBPATH
16101
16102  # AIX 3 has no versioning support, so we append a major version to the name.
16103  soname_spec='$libname$release$shared_ext$major'
16104  ;;
16105
16106aix[4-9]*)
16107  version_type=linux # correct to gnu/linux during the next big refactor
16108  need_lib_prefix=no
16109  need_version=no
16110  hardcode_into_libs=yes
16111  if test ia64 = "$host_cpu"; then
16112    # AIX 5 supports IA64
16113    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16114    shlibpath_var=LD_LIBRARY_PATH
16115  else
16116    # With GCC up to 2.95.x, collect2 would create an import file
16117    # for dependence libraries.  The import file would start with
16118    # the line '#! .'.  This would cause the generated library to
16119    # depend on '.', always an invalid library.  This was fixed in
16120    # development snapshots of GCC prior to 3.0.
16121    case $host_os in
16122      aix4 | aix4.[01] | aix4.[01].*)
16123      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16124	   echo ' yes '
16125	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16126	:
16127      else
16128	can_build_shared=no
16129      fi
16130      ;;
16131    esac
16132    # Using Import Files as archive members, it is possible to support
16133    # filename-based versioning of shared library archives on AIX. While
16134    # this would work for both with and without runtime linking, it will
16135    # prevent static linking of such archives. So we do filename-based
16136    # shared library versioning with .so extension only, which is used
16137    # when both runtime linking and shared linking is enabled.
16138    # Unfortunately, runtime linking may impact performance, so we do
16139    # not want this to be the default eventually. Also, we use the
16140    # versioned .so libs for executables only if there is the -brtl
16141    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16142    # To allow for filename-based versioning support, we need to create
16143    # libNAME.so.V as an archive file, containing:
16144    # *) an Import File, referring to the versioned filename of the
16145    #    archive as well as the shared archive member, telling the
16146    #    bitwidth (32 or 64) of that shared object, and providing the
16147    #    list of exported symbols of that shared object, eventually
16148    #    decorated with the 'weak' keyword
16149    # *) the shared object with the F_LOADONLY flag set, to really avoid
16150    #    it being seen by the linker.
16151    # At run time we better use the real file rather than another symlink,
16152    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16153
16154    case $with_aix_soname,$aix_use_runtimelinking in
16155    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16156    # soname into executable. Probably we can add versioning support to
16157    # collect2, so additional links can be useful in future.
16158    aix,yes) # traditional libtool
16159      dynamic_linker='AIX unversionable lib.so'
16160      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16161      # instead of lib<name>.a to let people know that these are not
16162      # typical AIX shared libraries.
16163      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16164      ;;
16165    aix,no) # traditional AIX only
16166      dynamic_linker='AIX lib.a(lib.so.V)'
16167      # We preserve .a as extension for shared libraries through AIX4.2
16168      # and later when we are not doing run time linking.
16169      library_names_spec='$libname$release.a $libname.a'
16170      soname_spec='$libname$release$shared_ext$major'
16171      ;;
16172    svr4,*) # full svr4 only
16173      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16174      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16175      # We do not specify a path in Import Files, so LIBPATH fires.
16176      shlibpath_overrides_runpath=yes
16177      ;;
16178    *,yes) # both, prefer svr4
16179      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16180      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16181      # unpreferred sharedlib libNAME.a needs extra handling
16182      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"'
16183      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"'
16184      # We do not specify a path in Import Files, so LIBPATH fires.
16185      shlibpath_overrides_runpath=yes
16186      ;;
16187    *,no) # both, prefer aix
16188      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16189      library_names_spec='$libname$release.a $libname.a'
16190      soname_spec='$libname$release$shared_ext$major'
16191      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16192      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)'
16193      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"'
16194      ;;
16195    esac
16196    shlibpath_var=LIBPATH
16197  fi
16198  ;;
16199
16200amigaos*)
16201  case $host_cpu in
16202  powerpc)
16203    # Since July 2007 AmigaOS4 officially supports .so libraries.
16204    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16205    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16206    ;;
16207  m68k)
16208    library_names_spec='$libname.ixlibrary $libname.a'
16209    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16210    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'
16211    ;;
16212  esac
16213  ;;
16214
16215beos*)
16216  library_names_spec='$libname$shared_ext'
16217  dynamic_linker="$host_os ld.so"
16218  shlibpath_var=LIBRARY_PATH
16219  ;;
16220
16221bsdi[45]*)
16222  version_type=linux # correct to gnu/linux during the next big refactor
16223  need_version=no
16224  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16225  soname_spec='$libname$release$shared_ext$major'
16226  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16227  shlibpath_var=LD_LIBRARY_PATH
16228  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16229  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16230  # the default ld.so.conf also contains /usr/contrib/lib and
16231  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16232  # libtool to hard-code these into programs
16233  ;;
16234
16235cygwin* | mingw* | pw32* | cegcc*)
16236  version_type=windows
16237  shrext_cmds=.dll
16238  need_version=no
16239  need_lib_prefix=no
16240
16241  case $GCC,$cc_basename in
16242  yes,*)
16243    # gcc
16244    library_names_spec='$libname.dll.a'
16245    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16246    postinstall_cmds='base_file=`basename \$file`~
16247      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16248      dldir=$destdir/`dirname \$dlpath`~
16249      test -d \$dldir || mkdir -p \$dldir~
16250      $install_prog $dir/$dlname \$dldir/$dlname~
16251      chmod a+x \$dldir/$dlname~
16252      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16253        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16254      fi'
16255    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16256      dlpath=$dir/\$dldll~
16257       $RM \$dlpath'
16258    shlibpath_overrides_runpath=yes
16259
16260    case $host_os in
16261    cygwin*)
16262      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16263      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16264
16265      ;;
16266    mingw* | cegcc*)
16267      # MinGW DLLs use traditional 'lib' prefix
16268      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16269      ;;
16270    pw32*)
16271      # pw32 DLLs use 'pw' prefix rather than 'lib'
16272      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16273      ;;
16274    esac
16275    dynamic_linker='Win32 ld.exe'
16276    ;;
16277
16278  *,cl*)
16279    # Native MSVC
16280    libname_spec='$name'
16281    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16282    library_names_spec='$libname.dll.lib'
16283
16284    case $build_os in
16285    mingw*)
16286      sys_lib_search_path_spec=
16287      lt_save_ifs=$IFS
16288      IFS=';'
16289      for lt_path in $LIB
16290      do
16291        IFS=$lt_save_ifs
16292        # Let DOS variable expansion print the short 8.3 style file name.
16293        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16294        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16295      done
16296      IFS=$lt_save_ifs
16297      # Convert to MSYS style.
16298      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16299      ;;
16300    cygwin*)
16301      # Convert to unix form, then to dos form, then back to unix form
16302      # but this time dos style (no spaces!) so that the unix form looks
16303      # like /cygdrive/c/PROGRA~1:/cygdr...
16304      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16305      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16306      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16307      ;;
16308    *)
16309      sys_lib_search_path_spec=$LIB
16310      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16311        # It is most probably a Windows format PATH.
16312        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16313      else
16314        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16315      fi
16316      # FIXME: find the short name or the path components, as spaces are
16317      # common. (e.g. "Program Files" -> "PROGRA~1")
16318      ;;
16319    esac
16320
16321    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16322    postinstall_cmds='base_file=`basename \$file`~
16323      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16324      dldir=$destdir/`dirname \$dlpath`~
16325      test -d \$dldir || mkdir -p \$dldir~
16326      $install_prog $dir/$dlname \$dldir/$dlname'
16327    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16328      dlpath=$dir/\$dldll~
16329       $RM \$dlpath'
16330    shlibpath_overrides_runpath=yes
16331    dynamic_linker='Win32 link.exe'
16332    ;;
16333
16334  *)
16335    # Assume MSVC wrapper
16336    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16337    dynamic_linker='Win32 ld.exe'
16338    ;;
16339  esac
16340  # FIXME: first we should search . and the directory the executable is in
16341  shlibpath_var=PATH
16342  ;;
16343
16344darwin* | rhapsody*)
16345  dynamic_linker="$host_os dyld"
16346  version_type=darwin
16347  need_lib_prefix=no
16348  need_version=no
16349  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16350  soname_spec='$libname$release$major$shared_ext'
16351  shlibpath_overrides_runpath=yes
16352  shlibpath_var=DYLD_LIBRARY_PATH
16353  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16354
16355  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16356  ;;
16357
16358dgux*)
16359  version_type=linux # correct to gnu/linux during the next big refactor
16360  need_lib_prefix=no
16361  need_version=no
16362  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16363  soname_spec='$libname$release$shared_ext$major'
16364  shlibpath_var=LD_LIBRARY_PATH
16365  ;;
16366
16367freebsd* | dragonfly*)
16368  # DragonFly does not have aout.  When/if they implement a new
16369  # versioning mechanism, adjust this.
16370  if test -x /usr/bin/objformat; then
16371    objformat=`/usr/bin/objformat`
16372  else
16373    case $host_os in
16374    freebsd[23].*) objformat=aout ;;
16375    *) objformat=elf ;;
16376    esac
16377  fi
16378  version_type=freebsd-$objformat
16379  case $version_type in
16380    freebsd-elf*)
16381      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16382      soname_spec='$libname$release$shared_ext$major'
16383      need_version=no
16384      need_lib_prefix=no
16385      ;;
16386    freebsd-*)
16387      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16388      need_version=yes
16389      ;;
16390  esac
16391  shlibpath_var=LD_LIBRARY_PATH
16392  case $host_os in
16393  freebsd2.*)
16394    shlibpath_overrides_runpath=yes
16395    ;;
16396  freebsd3.[01]* | freebsdelf3.[01]*)
16397    shlibpath_overrides_runpath=yes
16398    hardcode_into_libs=yes
16399    ;;
16400  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16401  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16402    shlibpath_overrides_runpath=no
16403    hardcode_into_libs=yes
16404    ;;
16405  *) # from 4.6 on, and DragonFly
16406    shlibpath_overrides_runpath=yes
16407    hardcode_into_libs=yes
16408    ;;
16409  esac
16410  ;;
16411
16412haiku*)
16413  version_type=linux # correct to gnu/linux during the next big refactor
16414  need_lib_prefix=no
16415  need_version=no
16416  dynamic_linker="$host_os runtime_loader"
16417  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16418  soname_spec='$libname$release$shared_ext$major'
16419  shlibpath_var=LIBRARY_PATH
16420  shlibpath_overrides_runpath=no
16421  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16422  hardcode_into_libs=yes
16423  ;;
16424
16425hpux9* | hpux10* | hpux11*)
16426  # Give a soname corresponding to the major version so that dld.sl refuses to
16427  # link against other versions.
16428  version_type=sunos
16429  need_lib_prefix=no
16430  need_version=no
16431  case $host_cpu in
16432  ia64*)
16433    shrext_cmds='.so'
16434    hardcode_into_libs=yes
16435    dynamic_linker="$host_os dld.so"
16436    shlibpath_var=LD_LIBRARY_PATH
16437    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16438    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16439    soname_spec='$libname$release$shared_ext$major'
16440    if test 32 = "$HPUX_IA64_MODE"; then
16441      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16442      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16443    else
16444      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16445      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16446    fi
16447    ;;
16448  hppa*64*)
16449    shrext_cmds='.sl'
16450    hardcode_into_libs=yes
16451    dynamic_linker="$host_os dld.sl"
16452    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16453    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16454    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16455    soname_spec='$libname$release$shared_ext$major'
16456    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16457    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16458    ;;
16459  *)
16460    shrext_cmds='.sl'
16461    dynamic_linker="$host_os dld.sl"
16462    shlibpath_var=SHLIB_PATH
16463    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16464    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16465    soname_spec='$libname$release$shared_ext$major'
16466    ;;
16467  esac
16468  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16469  postinstall_cmds='chmod 555 $lib'
16470  # or fails outright, so override atomically:
16471  install_override_mode=555
16472  ;;
16473
16474interix[3-9]*)
16475  version_type=linux # correct to gnu/linux during the next big refactor
16476  need_lib_prefix=no
16477  need_version=no
16478  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16479  soname_spec='$libname$release$shared_ext$major'
16480  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16481  shlibpath_var=LD_LIBRARY_PATH
16482  shlibpath_overrides_runpath=no
16483  hardcode_into_libs=yes
16484  ;;
16485
16486irix5* | irix6* | nonstopux*)
16487  case $host_os in
16488    nonstopux*) version_type=nonstopux ;;
16489    *)
16490	if test yes = "$lt_cv_prog_gnu_ld"; then
16491		version_type=linux # correct to gnu/linux during the next big refactor
16492	else
16493		version_type=irix
16494	fi ;;
16495  esac
16496  need_lib_prefix=no
16497  need_version=no
16498  soname_spec='$libname$release$shared_ext$major'
16499  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16500  case $host_os in
16501  irix5* | nonstopux*)
16502    libsuff= shlibsuff=
16503    ;;
16504  *)
16505    case $LD in # libtool.m4 will add one of these switches to LD
16506    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16507      libsuff= shlibsuff= libmagic=32-bit;;
16508    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16509      libsuff=32 shlibsuff=N32 libmagic=N32;;
16510    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16511      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16512    *) libsuff= shlibsuff= libmagic=never-match;;
16513    esac
16514    ;;
16515  esac
16516  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16517  shlibpath_overrides_runpath=no
16518  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16519  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16520  hardcode_into_libs=yes
16521  ;;
16522
16523# No shared lib support for Linux oldld, aout, or coff.
16524linux*oldld* | linux*aout* | linux*coff*)
16525  dynamic_linker=no
16526  ;;
16527
16528linux*android*)
16529  version_type=none # Android doesn't support versioned libraries.
16530  need_lib_prefix=no
16531  need_version=no
16532  library_names_spec='$libname$release$shared_ext'
16533  soname_spec='$libname$release$shared_ext'
16534  finish_cmds=
16535  shlibpath_var=LD_LIBRARY_PATH
16536  shlibpath_overrides_runpath=yes
16537
16538  # This implies no fast_install, which is unacceptable.
16539  # Some rework will be needed to allow for fast_install
16540  # before this can be enabled.
16541  hardcode_into_libs=yes
16542
16543  dynamic_linker='Android linker'
16544  # Don't embed -rpath directories since the linker doesn't support them.
16545  hardcode_libdir_flag_spec_CXX='-L$libdir'
16546  ;;
16547
16548# This must be glibc/ELF.
16549linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16550  version_type=linux # correct to gnu/linux during the next big refactor
16551  need_lib_prefix=no
16552  need_version=no
16553  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16554  soname_spec='$libname$release$shared_ext$major'
16555  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16556  shlibpath_var=LD_LIBRARY_PATH
16557  shlibpath_overrides_runpath=no
16558
16559  # Some binutils ld are patched to set DT_RUNPATH
16560  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16561  $as_echo_n "(cached) " >&6
16562else
16563  lt_cv_shlibpath_overrides_runpath=no
16564    save_LDFLAGS=$LDFLAGS
16565    save_libdir=$libdir
16566    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16567	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16568    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569/* end confdefs.h.  */
16570
16571int
16572main ()
16573{
16574
16575  ;
16576  return 0;
16577}
16578_ACEOF
16579if ac_fn_cxx_try_link "$LINENO"; then :
16580  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16581  lt_cv_shlibpath_overrides_runpath=yes
16582fi
16583fi
16584rm -f core conftest.err conftest.$ac_objext \
16585    conftest$ac_exeext conftest.$ac_ext
16586    LDFLAGS=$save_LDFLAGS
16587    libdir=$save_libdir
16588
16589fi
16590
16591  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16592
16593  # This implies no fast_install, which is unacceptable.
16594  # Some rework will be needed to allow for fast_install
16595  # before this can be enabled.
16596  hardcode_into_libs=yes
16597
16598  # Add ABI-specific directories to the system library path.
16599  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16600
16601  # Ideally, we could use ldconfig to report *all* directores which are
16602  # searched for libraries, however this is still not possible.  Aside from not
16603  # being certain /sbin/ldconfig is available, command
16604  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16605  # even though it is searched at run-time.  Try to do the best guess by
16606  # appending ld.so.conf contents (and includes) to the search path.
16607  if test -f /etc/ld.so.conf; then
16608    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' ' '`
16609    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16610  fi
16611
16612  # We used to test for /lib/ld.so.1 and disable shared libraries on
16613  # powerpc, because MkLinux only supported shared libraries with the
16614  # GNU dynamic linker.  Since this was broken with cross compilers,
16615  # most powerpc-linux boxes support dynamic linking these days and
16616  # people can always --disable-shared, the test was removed, and we
16617  # assume the GNU/Linux dynamic linker is in use.
16618  dynamic_linker='GNU/Linux ld.so'
16619  ;;
16620
16621netbsd*)
16622  version_type=sunos
16623  need_lib_prefix=no
16624  need_version=no
16625  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16626    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16627    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16628    dynamic_linker='NetBSD (a.out) ld.so'
16629  else
16630    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16631    soname_spec='$libname$release$shared_ext$major'
16632    dynamic_linker='NetBSD ld.elf_so'
16633  fi
16634  shlibpath_var=LD_LIBRARY_PATH
16635  shlibpath_overrides_runpath=yes
16636  hardcode_into_libs=yes
16637  ;;
16638
16639newsos6)
16640  version_type=linux # correct to gnu/linux during the next big refactor
16641  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16642  shlibpath_var=LD_LIBRARY_PATH
16643  shlibpath_overrides_runpath=yes
16644  ;;
16645
16646*nto* | *qnx*)
16647  version_type=qnx
16648  need_lib_prefix=no
16649  need_version=no
16650  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16651  soname_spec='$libname$release$shared_ext$major'
16652  shlibpath_var=LD_LIBRARY_PATH
16653  shlibpath_overrides_runpath=no
16654  hardcode_into_libs=yes
16655  dynamic_linker='ldqnx.so'
16656  ;;
16657
16658openbsd* | bitrig*)
16659  version_type=sunos
16660  sys_lib_dlsearch_path_spec=/usr/lib
16661  need_lib_prefix=no
16662  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16663    need_version=no
16664  else
16665    need_version=yes
16666  fi
16667  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16668  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16669  shlibpath_var=LD_LIBRARY_PATH
16670  shlibpath_overrides_runpath=yes
16671  ;;
16672
16673os2*)
16674  libname_spec='$name'
16675  version_type=windows
16676  shrext_cmds=.dll
16677  need_version=no
16678  need_lib_prefix=no
16679  # OS/2 can only load a DLL with a base name of 8 characters or less.
16680  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16681    v=$($ECHO $release$versuffix | tr -d .-);
16682    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16683    $ECHO $n$v`$shared_ext'
16684  library_names_spec='${libname}_dll.$libext'
16685  dynamic_linker='OS/2 ld.exe'
16686  shlibpath_var=BEGINLIBPATH
16687  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16688  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16689  postinstall_cmds='base_file=`basename \$file`~
16690    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16691    dldir=$destdir/`dirname \$dlpath`~
16692    test -d \$dldir || mkdir -p \$dldir~
16693    $install_prog $dir/$dlname \$dldir/$dlname~
16694    chmod a+x \$dldir/$dlname~
16695    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16696      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16697    fi'
16698  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16699    dlpath=$dir/\$dldll~
16700    $RM \$dlpath'
16701  ;;
16702
16703osf3* | osf4* | osf5*)
16704  version_type=osf
16705  need_lib_prefix=no
16706  need_version=no
16707  soname_spec='$libname$release$shared_ext$major'
16708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16709  shlibpath_var=LD_LIBRARY_PATH
16710  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16711  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16712  ;;
16713
16714rdos*)
16715  dynamic_linker=no
16716  ;;
16717
16718solaris*)
16719  version_type=linux # correct to gnu/linux during the next big refactor
16720  need_lib_prefix=no
16721  need_version=no
16722  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16723  soname_spec='$libname$release$shared_ext$major'
16724  shlibpath_var=LD_LIBRARY_PATH
16725  shlibpath_overrides_runpath=yes
16726  hardcode_into_libs=yes
16727  # ldd complains unless libraries are executable
16728  postinstall_cmds='chmod +x $lib'
16729  ;;
16730
16731sunos4*)
16732  version_type=sunos
16733  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16734  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16735  shlibpath_var=LD_LIBRARY_PATH
16736  shlibpath_overrides_runpath=yes
16737  if test yes = "$with_gnu_ld"; then
16738    need_lib_prefix=no
16739  fi
16740  need_version=yes
16741  ;;
16742
16743sysv4 | sysv4.3*)
16744  version_type=linux # correct to gnu/linux during the next big refactor
16745  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16746  soname_spec='$libname$release$shared_ext$major'
16747  shlibpath_var=LD_LIBRARY_PATH
16748  case $host_vendor in
16749    sni)
16750      shlibpath_overrides_runpath=no
16751      need_lib_prefix=no
16752      runpath_var=LD_RUN_PATH
16753      ;;
16754    siemens)
16755      need_lib_prefix=no
16756      ;;
16757    motorola)
16758      need_lib_prefix=no
16759      need_version=no
16760      shlibpath_overrides_runpath=no
16761      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16762      ;;
16763  esac
16764  ;;
16765
16766sysv4*MP*)
16767  if test -d /usr/nec; then
16768    version_type=linux # correct to gnu/linux during the next big refactor
16769    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16770    soname_spec='$libname$shared_ext.$major'
16771    shlibpath_var=LD_LIBRARY_PATH
16772  fi
16773  ;;
16774
16775sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16776  version_type=sco
16777  need_lib_prefix=no
16778  need_version=no
16779  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16780  soname_spec='$libname$release$shared_ext$major'
16781  shlibpath_var=LD_LIBRARY_PATH
16782  shlibpath_overrides_runpath=yes
16783  hardcode_into_libs=yes
16784  if test yes = "$with_gnu_ld"; then
16785    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16786  else
16787    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16788    case $host_os in
16789      sco3.2v5*)
16790        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16791	;;
16792    esac
16793  fi
16794  sys_lib_dlsearch_path_spec='/usr/lib'
16795  ;;
16796
16797tpf*)
16798  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16799  version_type=linux # correct to gnu/linux during the next big refactor
16800  need_lib_prefix=no
16801  need_version=no
16802  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16803  shlibpath_var=LD_LIBRARY_PATH
16804  shlibpath_overrides_runpath=no
16805  hardcode_into_libs=yes
16806  ;;
16807
16808uts4*)
16809  version_type=linux # correct to gnu/linux during the next big refactor
16810  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16811  soname_spec='$libname$release$shared_ext$major'
16812  shlibpath_var=LD_LIBRARY_PATH
16813  ;;
16814
16815*)
16816  dynamic_linker=no
16817  ;;
16818esac
16819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16820$as_echo "$dynamic_linker" >&6; }
16821test no = "$dynamic_linker" && can_build_shared=no
16822
16823variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16824if test yes = "$GCC"; then
16825  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16826fi
16827
16828if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16829  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16830fi
16831
16832if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16833  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16834fi
16835
16836# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16837configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16838
16839# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16840func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16841
16842# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16843configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16885$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16886hardcode_action_CXX=
16887if test -n "$hardcode_libdir_flag_spec_CXX" ||
16888   test -n "$runpath_var_CXX" ||
16889   test yes = "$hardcode_automatic_CXX"; then
16890
16891  # We can hardcode non-existent directories.
16892  if test no != "$hardcode_direct_CXX" &&
16893     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16894     # have to relink, otherwise we might link with an installed library
16895     # when we should be linking with a yet-to-be-installed one
16896     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16897     test no != "$hardcode_minus_L_CXX"; then
16898    # Linking always hardcodes the temporary library directory.
16899    hardcode_action_CXX=relink
16900  else
16901    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16902    hardcode_action_CXX=immediate
16903  fi
16904else
16905  # We cannot hardcode anything, or else we can only hardcode existing
16906  # directories.
16907  hardcode_action_CXX=unsupported
16908fi
16909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16910$as_echo "$hardcode_action_CXX" >&6; }
16911
16912if test relink = "$hardcode_action_CXX" ||
16913   test yes = "$inherit_rpath_CXX"; then
16914  # Fast installation is not supported
16915  enable_fast_install=no
16916elif test yes = "$shlibpath_overrides_runpath" ||
16917     test no = "$enable_shared"; then
16918  # Fast installation is not necessary
16919  enable_fast_install=needless
16920fi
16921
16922
16923
16924
16925
16926
16927
16928  fi # test -n "$compiler"
16929
16930  CC=$lt_save_CC
16931  CFLAGS=$lt_save_CFLAGS
16932  LDCXX=$LD
16933  LD=$lt_save_LD
16934  GCC=$lt_save_GCC
16935  with_gnu_ld=$lt_save_with_gnu_ld
16936  lt_cv_path_LDCXX=$lt_cv_path_LD
16937  lt_cv_path_LD=$lt_save_path_LD
16938  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16939  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16940fi # test yes != "$_lt_caught_CXX_error"
16941
16942ac_ext=c
16943ac_cpp='$CPP $CPPFLAGS'
16944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946ac_compiler_gnu=$ac_cv_c_compiler_gnu
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962        ac_config_commands="$ac_config_commands libtool"
16963
16964
16965
16966
16967# Only expand once:
16968
16969
16970
16971
16972# Extract the first word of "pkg-config", so it can be a program name with args.
16973set dummy pkg-config; ac_word=$2
16974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16975$as_echo_n "checking for $ac_word... " >&6; }
16976if ${ac_cv_path_PKGCONFIG+:} false; then :
16977  $as_echo_n "(cached) " >&6
16978else
16979  case $PKGCONFIG in
16980  [\\/]* | ?:[\\/]*)
16981  ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
16982  ;;
16983  *)
16984  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16985for as_dir in $PATH
16986do
16987  IFS=$as_save_IFS
16988  test -z "$as_dir" && as_dir=.
16989    for ac_exec_ext in '' $ac_executable_extensions; do
16990  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16991    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
16992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16993    break 2
16994  fi
16995done
16996  done
16997IFS=$as_save_IFS
16998
16999  ;;
17000esac
17001fi
17002PKGCONFIG=$ac_cv_path_PKGCONFIG
17003if test -n "$PKGCONFIG"; then
17004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
17005$as_echo "$PKGCONFIG" >&6; }
17006else
17007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17008$as_echo "no" >&6; }
17009fi
17010
17011
17012
17013
17014mkdir_p="$MKDIR_P"
17015case $mkdir_p in
17016  [\\/$]* | ?:[\\/]*) ;;
17017  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
17018esac
17019
17020
17021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17022$as_echo_n "checking whether NLS is requested... " >&6; }
17023    # Check whether --enable-nls was given.
17024if test "${enable_nls+set}" = set; then :
17025  enableval=$enable_nls; USE_NLS=$enableval
17026else
17027  USE_NLS=yes
17028fi
17029
17030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17031$as_echo "$USE_NLS" >&6; }
17032
17033
17034
17035
17036      GETTEXT_MACRO_VERSION=0.18
17037
17038
17039
17040
17041# Prepare PATH_SEPARATOR.
17042# The user is always right.
17043if test "${PATH_SEPARATOR+set}" != set; then
17044  echo "#! /bin/sh" >conf$$.sh
17045  echo  "exit 0"   >>conf$$.sh
17046  chmod +x conf$$.sh
17047  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17048    PATH_SEPARATOR=';'
17049  else
17050    PATH_SEPARATOR=:
17051  fi
17052  rm -f conf$$.sh
17053fi
17054
17055# Find out how to test for executable files. Don't use a zero-byte file,
17056# as systems may use methods other than mode bits to determine executability.
17057cat >conf$$.file <<_ASEOF
17058#! /bin/sh
17059exit 0
17060_ASEOF
17061chmod +x conf$$.file
17062if test -x conf$$.file >/dev/null 2>&1; then
17063  ac_executable_p="test -x"
17064else
17065  ac_executable_p="test -f"
17066fi
17067rm -f conf$$.file
17068
17069# Extract the first word of "msgfmt", so it can be a program name with args.
17070set dummy msgfmt; ac_word=$2
17071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17072$as_echo_n "checking for $ac_word... " >&6; }
17073if ${ac_cv_path_MSGFMT+:} false; then :
17074  $as_echo_n "(cached) " >&6
17075else
17076  case "$MSGFMT" in
17077  [\\/]* | ?:[\\/]*)
17078    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17079    ;;
17080  *)
17081    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17082    for ac_dir in $PATH; do
17083      IFS="$ac_save_IFS"
17084      test -z "$ac_dir" && ac_dir=.
17085      for ac_exec_ext in '' $ac_executable_extensions; do
17086        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17087          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17088          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17089     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17090            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17091            break 2
17092          fi
17093        fi
17094      done
17095    done
17096    IFS="$ac_save_IFS"
17097  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17098    ;;
17099esac
17100fi
17101MSGFMT="$ac_cv_path_MSGFMT"
17102if test "$MSGFMT" != ":"; then
17103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17104$as_echo "$MSGFMT" >&6; }
17105else
17106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107$as_echo "no" >&6; }
17108fi
17109
17110  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17111set dummy gmsgfmt; ac_word=$2
17112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17113$as_echo_n "checking for $ac_word... " >&6; }
17114if ${ac_cv_path_GMSGFMT+:} false; then :
17115  $as_echo_n "(cached) " >&6
17116else
17117  case $GMSGFMT in
17118  [\\/]* | ?:[\\/]*)
17119  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17120  ;;
17121  *)
17122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17123for as_dir in $PATH
17124do
17125  IFS=$as_save_IFS
17126  test -z "$as_dir" && as_dir=.
17127    for ac_exec_ext in '' $ac_executable_extensions; do
17128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17129    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17131    break 2
17132  fi
17133done
17134  done
17135IFS=$as_save_IFS
17136
17137  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17138  ;;
17139esac
17140fi
17141GMSGFMT=$ac_cv_path_GMSGFMT
17142if test -n "$GMSGFMT"; then
17143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17144$as_echo "$GMSGFMT" >&6; }
17145else
17146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17147$as_echo "no" >&6; }
17148fi
17149
17150
17151
17152    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17153    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17154    *) MSGFMT_015=$MSGFMT ;;
17155  esac
17156
17157  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17158    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17159    *) GMSGFMT_015=$GMSGFMT ;;
17160  esac
17161
17162
17163
17164# Prepare PATH_SEPARATOR.
17165# The user is always right.
17166if test "${PATH_SEPARATOR+set}" != set; then
17167  echo "#! /bin/sh" >conf$$.sh
17168  echo  "exit 0"   >>conf$$.sh
17169  chmod +x conf$$.sh
17170  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17171    PATH_SEPARATOR=';'
17172  else
17173    PATH_SEPARATOR=:
17174  fi
17175  rm -f conf$$.sh
17176fi
17177
17178# Find out how to test for executable files. Don't use a zero-byte file,
17179# as systems may use methods other than mode bits to determine executability.
17180cat >conf$$.file <<_ASEOF
17181#! /bin/sh
17182exit 0
17183_ASEOF
17184chmod +x conf$$.file
17185if test -x conf$$.file >/dev/null 2>&1; then
17186  ac_executable_p="test -x"
17187else
17188  ac_executable_p="test -f"
17189fi
17190rm -f conf$$.file
17191
17192# Extract the first word of "xgettext", so it can be a program name with args.
17193set dummy xgettext; ac_word=$2
17194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17195$as_echo_n "checking for $ac_word... " >&6; }
17196if ${ac_cv_path_XGETTEXT+:} false; then :
17197  $as_echo_n "(cached) " >&6
17198else
17199  case "$XGETTEXT" in
17200  [\\/]* | ?:[\\/]*)
17201    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17202    ;;
17203  *)
17204    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17205    for ac_dir in $PATH; do
17206      IFS="$ac_save_IFS"
17207      test -z "$ac_dir" && ac_dir=.
17208      for ac_exec_ext in '' $ac_executable_extensions; do
17209        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17210          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17211          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17212     (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
17213            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17214            break 2
17215          fi
17216        fi
17217      done
17218    done
17219    IFS="$ac_save_IFS"
17220  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17221    ;;
17222esac
17223fi
17224XGETTEXT="$ac_cv_path_XGETTEXT"
17225if test "$XGETTEXT" != ":"; then
17226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17227$as_echo "$XGETTEXT" >&6; }
17228else
17229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230$as_echo "no" >&6; }
17231fi
17232
17233    rm -f messages.po
17234
17235    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17236    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17237    *) XGETTEXT_015=$XGETTEXT ;;
17238  esac
17239
17240
17241
17242# Prepare PATH_SEPARATOR.
17243# The user is always right.
17244if test "${PATH_SEPARATOR+set}" != set; then
17245  echo "#! /bin/sh" >conf$$.sh
17246  echo  "exit 0"   >>conf$$.sh
17247  chmod +x conf$$.sh
17248  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17249    PATH_SEPARATOR=';'
17250  else
17251    PATH_SEPARATOR=:
17252  fi
17253  rm -f conf$$.sh
17254fi
17255
17256# Find out how to test for executable files. Don't use a zero-byte file,
17257# as systems may use methods other than mode bits to determine executability.
17258cat >conf$$.file <<_ASEOF
17259#! /bin/sh
17260exit 0
17261_ASEOF
17262chmod +x conf$$.file
17263if test -x conf$$.file >/dev/null 2>&1; then
17264  ac_executable_p="test -x"
17265else
17266  ac_executable_p="test -f"
17267fi
17268rm -f conf$$.file
17269
17270# Extract the first word of "msgmerge", so it can be a program name with args.
17271set dummy msgmerge; ac_word=$2
17272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17273$as_echo_n "checking for $ac_word... " >&6; }
17274if ${ac_cv_path_MSGMERGE+:} false; then :
17275  $as_echo_n "(cached) " >&6
17276else
17277  case "$MSGMERGE" in
17278  [\\/]* | ?:[\\/]*)
17279    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17280    ;;
17281  *)
17282    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17283    for ac_dir in $PATH; do
17284      IFS="$ac_save_IFS"
17285      test -z "$ac_dir" && ac_dir=.
17286      for ac_exec_ext in '' $ac_executable_extensions; do
17287        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17288          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17289          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17290            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17291            break 2
17292          fi
17293        fi
17294      done
17295    done
17296    IFS="$ac_save_IFS"
17297  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17298    ;;
17299esac
17300fi
17301MSGMERGE="$ac_cv_path_MSGMERGE"
17302if test "$MSGMERGE" != ":"; then
17303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17304$as_echo "$MSGMERGE" >&6; }
17305else
17306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307$as_echo "no" >&6; }
17308fi
17309
17310
17311        test -n "$localedir" || localedir='${datadir}/locale'
17312
17313
17314    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17315
17316
17317  ac_config_commands="$ac_config_commands po-directories"
17318
17319
17320
17321      if test "X$prefix" = "XNONE"; then
17322    acl_final_prefix="$ac_default_prefix"
17323  else
17324    acl_final_prefix="$prefix"
17325  fi
17326  if test "X$exec_prefix" = "XNONE"; then
17327    acl_final_exec_prefix='${prefix}'
17328  else
17329    acl_final_exec_prefix="$exec_prefix"
17330  fi
17331  acl_save_prefix="$prefix"
17332  prefix="$acl_final_prefix"
17333  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17334  prefix="$acl_save_prefix"
17335
17336
17337# Check whether --with-gnu-ld was given.
17338if test "${with_gnu_ld+set}" = set; then :
17339  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17340else
17341  with_gnu_ld=no
17342fi
17343
17344# Prepare PATH_SEPARATOR.
17345# The user is always right.
17346if test "${PATH_SEPARATOR+set}" != set; then
17347  echo "#! /bin/sh" >conf$$.sh
17348  echo  "exit 0"   >>conf$$.sh
17349  chmod +x conf$$.sh
17350  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17351    PATH_SEPARATOR=';'
17352  else
17353    PATH_SEPARATOR=:
17354  fi
17355  rm -f conf$$.sh
17356fi
17357ac_prog=ld
17358if test "$GCC" = yes; then
17359  # Check if gcc -print-prog-name=ld gives a path.
17360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17361$as_echo_n "checking for ld used by GCC... " >&6; }
17362  case $host in
17363  *-*-mingw*)
17364    # gcc leaves a trailing carriage return which upsets mingw
17365    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17366  *)
17367    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17368  esac
17369  case $ac_prog in
17370    # Accept absolute paths.
17371    [\\/]* | [A-Za-z]:[\\/]*)
17372      re_direlt='/[^/][^/]*/\.\./'
17373      # Canonicalize the path of ld
17374      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17375      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17376        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17377      done
17378      test -z "$LD" && LD="$ac_prog"
17379      ;;
17380  "")
17381    # If it fails, then pretend we aren't using GCC.
17382    ac_prog=ld
17383    ;;
17384  *)
17385    # If it is relative, then search for the first ld in PATH.
17386    with_gnu_ld=unknown
17387    ;;
17388  esac
17389elif test "$with_gnu_ld" = yes; then
17390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17391$as_echo_n "checking for GNU ld... " >&6; }
17392else
17393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17394$as_echo_n "checking for non-GNU ld... " >&6; }
17395fi
17396if ${acl_cv_path_LD+:} false; then :
17397  $as_echo_n "(cached) " >&6
17398else
17399  if test -z "$LD"; then
17400  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17401  for ac_dir in $PATH; do
17402    test -z "$ac_dir" && ac_dir=.
17403    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17404      acl_cv_path_LD="$ac_dir/$ac_prog"
17405      # Check to see if the program is GNU ld.  I'd rather use --version,
17406      # but apparently some GNU ld's only accept -v.
17407      # Break only if it was the GNU/non-GNU ld that we prefer.
17408      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17409      *GNU* | *'with BFD'*)
17410        test "$with_gnu_ld" != no && break ;;
17411      *)
17412        test "$with_gnu_ld" != yes && break ;;
17413      esac
17414    fi
17415  done
17416  IFS="$ac_save_ifs"
17417else
17418  acl_cv_path_LD="$LD" # Let the user override the test with a path.
17419fi
17420fi
17421
17422LD="$acl_cv_path_LD"
17423if test -n "$LD"; then
17424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17425$as_echo "$LD" >&6; }
17426else
17427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17428$as_echo "no" >&6; }
17429fi
17430test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17432$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17433if ${acl_cv_prog_gnu_ld+:} false; then :
17434  $as_echo_n "(cached) " >&6
17435else
17436  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17437case `$LD -v 2>&1 </dev/null` in
17438*GNU* | *'with BFD'*)
17439  acl_cv_prog_gnu_ld=yes ;;
17440*)
17441  acl_cv_prog_gnu_ld=no ;;
17442esac
17443fi
17444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17445$as_echo "$acl_cv_prog_gnu_ld" >&6; }
17446with_gnu_ld=$acl_cv_prog_gnu_ld
17447
17448
17449
17450
17451                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17452$as_echo_n "checking for shared library run path origin... " >&6; }
17453if ${acl_cv_rpath+:} false; then :
17454  $as_echo_n "(cached) " >&6
17455else
17456
17457    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17458    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17459    . ./conftest.sh
17460    rm -f ./conftest.sh
17461    acl_cv_rpath=done
17462
17463fi
17464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17465$as_echo "$acl_cv_rpath" >&6; }
17466  wl="$acl_cv_wl"
17467  acl_libext="$acl_cv_libext"
17468  acl_shlibext="$acl_cv_shlibext"
17469  acl_libname_spec="$acl_cv_libname_spec"
17470  acl_library_names_spec="$acl_cv_library_names_spec"
17471  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17472  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17473  acl_hardcode_direct="$acl_cv_hardcode_direct"
17474  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17475    # Check whether --enable-rpath was given.
17476if test "${enable_rpath+set}" = set; then :
17477  enableval=$enable_rpath; :
17478else
17479  enable_rpath=yes
17480fi
17481
17482
17483
17484
17485  acl_libdirstem=lib
17486  acl_libdirstem2=
17487  case "$host_os" in
17488    solaris*)
17489                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17490$as_echo_n "checking for 64-bit host... " >&6; }
17491if ${gl_cv_solaris_64bit+:} false; then :
17492  $as_echo_n "(cached) " >&6
17493else
17494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495/* end confdefs.h.  */
17496
17497#ifdef _LP64
17498sixtyfour bits
17499#endif
17500
17501_ACEOF
17502if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17503  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17504  gl_cv_solaris_64bit=yes
17505else
17506  gl_cv_solaris_64bit=no
17507fi
17508rm -f conftest*
17509
17510
17511fi
17512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17513$as_echo "$gl_cv_solaris_64bit" >&6; }
17514      if test $gl_cv_solaris_64bit = yes; then
17515        acl_libdirstem=lib/64
17516        case "$host_cpu" in
17517          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17518          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17519        esac
17520      fi
17521      ;;
17522    *)
17523      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17524      if test -n "$searchpath"; then
17525        acl_save_IFS="${IFS= 	}"; IFS=":"
17526        for searchdir in $searchpath; do
17527          if test -d "$searchdir"; then
17528            case "$searchdir" in
17529              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17530              */../ | */.. )
17531                # Better ignore directories of this form. They are misleading.
17532                ;;
17533              *) searchdir=`cd "$searchdir" && pwd`
17534                 case "$searchdir" in
17535                   */lib64 ) acl_libdirstem=lib64 ;;
17536                 esac ;;
17537            esac
17538          fi
17539        done
17540        IFS="$acl_save_IFS"
17541      fi
17542      ;;
17543  esac
17544  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557    use_additional=yes
17558
17559  acl_save_prefix="$prefix"
17560  prefix="$acl_final_prefix"
17561  acl_save_exec_prefix="$exec_prefix"
17562  exec_prefix="$acl_final_exec_prefix"
17563
17564    eval additional_includedir=\"$includedir\"
17565    eval additional_libdir=\"$libdir\"
17566
17567  exec_prefix="$acl_save_exec_prefix"
17568  prefix="$acl_save_prefix"
17569
17570
17571# Check whether --with-libiconv-prefix was given.
17572if test "${with_libiconv_prefix+set}" = set; then :
17573  withval=$with_libiconv_prefix;
17574    if test "X$withval" = "Xno"; then
17575      use_additional=no
17576    else
17577      if test "X$withval" = "X"; then
17578
17579  acl_save_prefix="$prefix"
17580  prefix="$acl_final_prefix"
17581  acl_save_exec_prefix="$exec_prefix"
17582  exec_prefix="$acl_final_exec_prefix"
17583
17584          eval additional_includedir=\"$includedir\"
17585          eval additional_libdir=\"$libdir\"
17586
17587  exec_prefix="$acl_save_exec_prefix"
17588  prefix="$acl_save_prefix"
17589
17590      else
17591        additional_includedir="$withval/include"
17592        additional_libdir="$withval/$acl_libdirstem"
17593        if test "$acl_libdirstem2" != "$acl_libdirstem" \
17594           && ! test -d "$withval/$acl_libdirstem"; then
17595          additional_libdir="$withval/$acl_libdirstem2"
17596        fi
17597      fi
17598    fi
17599
17600fi
17601
17602      LIBICONV=
17603  LTLIBICONV=
17604  INCICONV=
17605  LIBICONV_PREFIX=
17606      HAVE_LIBICONV=
17607  rpathdirs=
17608  ltrpathdirs=
17609  names_already_handled=
17610  names_next_round='iconv '
17611  while test -n "$names_next_round"; do
17612    names_this_round="$names_next_round"
17613    names_next_round=
17614    for name in $names_this_round; do
17615      already_handled=
17616      for n in $names_already_handled; do
17617        if test "$n" = "$name"; then
17618          already_handled=yes
17619          break
17620        fi
17621      done
17622      if test -z "$already_handled"; then
17623        names_already_handled="$names_already_handled $name"
17624                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17625        eval value=\"\$HAVE_LIB$uppername\"
17626        if test -n "$value"; then
17627          if test "$value" = yes; then
17628            eval value=\"\$LIB$uppername\"
17629            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17630            eval value=\"\$LTLIB$uppername\"
17631            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17632          else
17633                                    :
17634          fi
17635        else
17636                              found_dir=
17637          found_la=
17638          found_so=
17639          found_a=
17640          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17641          if test -n "$acl_shlibext"; then
17642            shrext=".$acl_shlibext"             # typically: shrext=.so
17643          else
17644            shrext=
17645          fi
17646          if test $use_additional = yes; then
17647            dir="$additional_libdir"
17648                                    if test -n "$acl_shlibext"; then
17649              if test -f "$dir/$libname$shrext"; then
17650                found_dir="$dir"
17651                found_so="$dir/$libname$shrext"
17652              else
17653                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17654                  ver=`(cd "$dir" && \
17655                        for f in "$libname$shrext".*; do echo "$f"; done \
17656                        | sed -e "s,^$libname$shrext\\\\.,," \
17657                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17658                        | sed 1q ) 2>/dev/null`
17659                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17660                    found_dir="$dir"
17661                    found_so="$dir/$libname$shrext.$ver"
17662                  fi
17663                else
17664                  eval library_names=\"$acl_library_names_spec\"
17665                  for f in $library_names; do
17666                    if test -f "$dir/$f"; then
17667                      found_dir="$dir"
17668                      found_so="$dir/$f"
17669                      break
17670                    fi
17671                  done
17672                fi
17673              fi
17674            fi
17675                        if test "X$found_dir" = "X"; then
17676              if test -f "$dir/$libname.$acl_libext"; then
17677                found_dir="$dir"
17678                found_a="$dir/$libname.$acl_libext"
17679              fi
17680            fi
17681            if test "X$found_dir" != "X"; then
17682              if test -f "$dir/$libname.la"; then
17683                found_la="$dir/$libname.la"
17684              fi
17685            fi
17686          fi
17687          if test "X$found_dir" = "X"; then
17688            for x in $LDFLAGS $LTLIBICONV; do
17689
17690  acl_save_prefix="$prefix"
17691  prefix="$acl_final_prefix"
17692  acl_save_exec_prefix="$exec_prefix"
17693  exec_prefix="$acl_final_exec_prefix"
17694  eval x=\"$x\"
17695  exec_prefix="$acl_save_exec_prefix"
17696  prefix="$acl_save_prefix"
17697
17698              case "$x" in
17699                -L*)
17700                  dir=`echo "X$x" | sed -e 's/^X-L//'`
17701                                    if test -n "$acl_shlibext"; then
17702                    if test -f "$dir/$libname$shrext"; then
17703                      found_dir="$dir"
17704                      found_so="$dir/$libname$shrext"
17705                    else
17706                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17707                        ver=`(cd "$dir" && \
17708                              for f in "$libname$shrext".*; do echo "$f"; done \
17709                              | sed -e "s,^$libname$shrext\\\\.,," \
17710                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17711                              | sed 1q ) 2>/dev/null`
17712                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17713                          found_dir="$dir"
17714                          found_so="$dir/$libname$shrext.$ver"
17715                        fi
17716                      else
17717                        eval library_names=\"$acl_library_names_spec\"
17718                        for f in $library_names; do
17719                          if test -f "$dir/$f"; then
17720                            found_dir="$dir"
17721                            found_so="$dir/$f"
17722                            break
17723                          fi
17724                        done
17725                      fi
17726                    fi
17727                  fi
17728                                    if test "X$found_dir" = "X"; then
17729                    if test -f "$dir/$libname.$acl_libext"; then
17730                      found_dir="$dir"
17731                      found_a="$dir/$libname.$acl_libext"
17732                    fi
17733                  fi
17734                  if test "X$found_dir" != "X"; then
17735                    if test -f "$dir/$libname.la"; then
17736                      found_la="$dir/$libname.la"
17737                    fi
17738                  fi
17739                  ;;
17740              esac
17741              if test "X$found_dir" != "X"; then
17742                break
17743              fi
17744            done
17745          fi
17746          if test "X$found_dir" != "X"; then
17747                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17748            if test "X$found_so" != "X"; then
17749                                                        if test "$enable_rpath" = no \
17750                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17751                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17752                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17753              else
17754                                                                                haveit=
17755                for x in $ltrpathdirs; do
17756                  if test "X$x" = "X$found_dir"; then
17757                    haveit=yes
17758                    break
17759                  fi
17760                done
17761                if test -z "$haveit"; then
17762                  ltrpathdirs="$ltrpathdirs $found_dir"
17763                fi
17764                                if test "$acl_hardcode_direct" = yes; then
17765                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17766                else
17767                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17768                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17769                                                            haveit=
17770                    for x in $rpathdirs; do
17771                      if test "X$x" = "X$found_dir"; then
17772                        haveit=yes
17773                        break
17774                      fi
17775                    done
17776                    if test -z "$haveit"; then
17777                      rpathdirs="$rpathdirs $found_dir"
17778                    fi
17779                  else
17780                                                                                haveit=
17781                    for x in $LDFLAGS $LIBICONV; do
17782
17783  acl_save_prefix="$prefix"
17784  prefix="$acl_final_prefix"
17785  acl_save_exec_prefix="$exec_prefix"
17786  exec_prefix="$acl_final_exec_prefix"
17787  eval x=\"$x\"
17788  exec_prefix="$acl_save_exec_prefix"
17789  prefix="$acl_save_prefix"
17790
17791                      if test "X$x" = "X-L$found_dir"; then
17792                        haveit=yes
17793                        break
17794                      fi
17795                    done
17796                    if test -z "$haveit"; then
17797                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17798                    fi
17799                    if test "$acl_hardcode_minus_L" != no; then
17800                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17801                    else
17802                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17803                    fi
17804                  fi
17805                fi
17806              fi
17807            else
17808              if test "X$found_a" != "X"; then
17809                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17810              else
17811                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17812              fi
17813            fi
17814                        additional_includedir=
17815            case "$found_dir" in
17816              */$acl_libdirstem | */$acl_libdirstem/)
17817                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17818                if test "$name" = 'iconv'; then
17819                  LIBICONV_PREFIX="$basedir"
17820                fi
17821                additional_includedir="$basedir/include"
17822                ;;
17823              */$acl_libdirstem2 | */$acl_libdirstem2/)
17824                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17825                if test "$name" = 'iconv'; then
17826                  LIBICONV_PREFIX="$basedir"
17827                fi
17828                additional_includedir="$basedir/include"
17829                ;;
17830            esac
17831            if test "X$additional_includedir" != "X"; then
17832                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
17833                haveit=
17834                if test "X$additional_includedir" = "X/usr/local/include"; then
17835                  if test -n "$GCC"; then
17836                    case $host_os in
17837                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17838                    esac
17839                  fi
17840                fi
17841                if test -z "$haveit"; then
17842                  for x in $CPPFLAGS $INCICONV; do
17843
17844  acl_save_prefix="$prefix"
17845  prefix="$acl_final_prefix"
17846  acl_save_exec_prefix="$exec_prefix"
17847  exec_prefix="$acl_final_exec_prefix"
17848  eval x=\"$x\"
17849  exec_prefix="$acl_save_exec_prefix"
17850  prefix="$acl_save_prefix"
17851
17852                    if test "X$x" = "X-I$additional_includedir"; then
17853                      haveit=yes
17854                      break
17855                    fi
17856                  done
17857                  if test -z "$haveit"; then
17858                    if test -d "$additional_includedir"; then
17859                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17860                    fi
17861                  fi
17862                fi
17863              fi
17864            fi
17865                        if test -n "$found_la"; then
17866                                                        save_libdir="$libdir"
17867              case "$found_la" in
17868                */* | *\\*) . "$found_la" ;;
17869                *) . "./$found_la" ;;
17870              esac
17871              libdir="$save_libdir"
17872                            for dep in $dependency_libs; do
17873                case "$dep" in
17874                  -L*)
17875                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17876                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17877                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17878                      haveit=
17879                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17880                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17881                        if test -n "$GCC"; then
17882                          case $host_os in
17883                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17884                          esac
17885                        fi
17886                      fi
17887                      if test -z "$haveit"; then
17888                        haveit=
17889                        for x in $LDFLAGS $LIBICONV; do
17890
17891  acl_save_prefix="$prefix"
17892  prefix="$acl_final_prefix"
17893  acl_save_exec_prefix="$exec_prefix"
17894  exec_prefix="$acl_final_exec_prefix"
17895  eval x=\"$x\"
17896  exec_prefix="$acl_save_exec_prefix"
17897  prefix="$acl_save_prefix"
17898
17899                          if test "X$x" = "X-L$additional_libdir"; then
17900                            haveit=yes
17901                            break
17902                          fi
17903                        done
17904                        if test -z "$haveit"; then
17905                          if test -d "$additional_libdir"; then
17906                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17907                          fi
17908                        fi
17909                        haveit=
17910                        for x in $LDFLAGS $LTLIBICONV; do
17911
17912  acl_save_prefix="$prefix"
17913  prefix="$acl_final_prefix"
17914  acl_save_exec_prefix="$exec_prefix"
17915  exec_prefix="$acl_final_exec_prefix"
17916  eval x=\"$x\"
17917  exec_prefix="$acl_save_exec_prefix"
17918  prefix="$acl_save_prefix"
17919
17920                          if test "X$x" = "X-L$additional_libdir"; then
17921                            haveit=yes
17922                            break
17923                          fi
17924                        done
17925                        if test -z "$haveit"; then
17926                          if test -d "$additional_libdir"; then
17927                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17928                          fi
17929                        fi
17930                      fi
17931                    fi
17932                    ;;
17933                  -R*)
17934                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
17935                    if test "$enable_rpath" != no; then
17936                                                                  haveit=
17937                      for x in $rpathdirs; do
17938                        if test "X$x" = "X$dir"; then
17939                          haveit=yes
17940                          break
17941                        fi
17942                      done
17943                      if test -z "$haveit"; then
17944                        rpathdirs="$rpathdirs $dir"
17945                      fi
17946                                                                  haveit=
17947                      for x in $ltrpathdirs; do
17948                        if test "X$x" = "X$dir"; then
17949                          haveit=yes
17950                          break
17951                        fi
17952                      done
17953                      if test -z "$haveit"; then
17954                        ltrpathdirs="$ltrpathdirs $dir"
17955                      fi
17956                    fi
17957                    ;;
17958                  -l*)
17959                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17960                    ;;
17961                  *.la)
17962                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17963                    ;;
17964                  *)
17965                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
17966                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
17967                    ;;
17968                esac
17969              done
17970            fi
17971          else
17972                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17973            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17974          fi
17975        fi
17976      fi
17977    done
17978  done
17979  if test "X$rpathdirs" != "X"; then
17980    if test -n "$acl_hardcode_libdir_separator"; then
17981                        alldirs=
17982      for found_dir in $rpathdirs; do
17983        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17984      done
17985            acl_save_libdir="$libdir"
17986      libdir="$alldirs"
17987      eval flag=\"$acl_hardcode_libdir_flag_spec\"
17988      libdir="$acl_save_libdir"
17989      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17990    else
17991            for found_dir in $rpathdirs; do
17992        acl_save_libdir="$libdir"
17993        libdir="$found_dir"
17994        eval flag=\"$acl_hardcode_libdir_flag_spec\"
17995        libdir="$acl_save_libdir"
17996        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17997      done
17998    fi
17999  fi
18000  if test "X$ltrpathdirs" != "X"; then
18001            for found_dir in $ltrpathdirs; do
18002      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18003    done
18004  fi
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18037$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18038if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18039  $as_echo_n "(cached) " >&6
18040else
18041  gt_save_LIBS="$LIBS"
18042     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044/* end confdefs.h.  */
18045#include <CoreFoundation/CFPreferences.h>
18046int
18047main ()
18048{
18049CFPreferencesCopyAppValue(NULL, NULL)
18050  ;
18051  return 0;
18052}
18053_ACEOF
18054if ac_fn_c_try_link "$LINENO"; then :
18055  gt_cv_func_CFPreferencesCopyAppValue=yes
18056else
18057  gt_cv_func_CFPreferencesCopyAppValue=no
18058fi
18059rm -f core conftest.err conftest.$ac_objext \
18060    conftest$ac_exeext conftest.$ac_ext
18061     LIBS="$gt_save_LIBS"
18062fi
18063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18064$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18065  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18066
18067$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18068
18069  fi
18070    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18071$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18072if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18073  $as_echo_n "(cached) " >&6
18074else
18075  gt_save_LIBS="$LIBS"
18076     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18077     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078/* end confdefs.h.  */
18079#include <CoreFoundation/CFLocale.h>
18080int
18081main ()
18082{
18083CFLocaleCopyCurrent();
18084  ;
18085  return 0;
18086}
18087_ACEOF
18088if ac_fn_c_try_link "$LINENO"; then :
18089  gt_cv_func_CFLocaleCopyCurrent=yes
18090else
18091  gt_cv_func_CFLocaleCopyCurrent=no
18092fi
18093rm -f core conftest.err conftest.$ac_objext \
18094    conftest$ac_exeext conftest.$ac_ext
18095     LIBS="$gt_save_LIBS"
18096fi
18097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18098$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18099  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18100
18101$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18102
18103  fi
18104  INTL_MACOSX_LIBS=
18105  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18106    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18107  fi
18108
18109
18110
18111
18112
18113
18114  LIBINTL=
18115  LTLIBINTL=
18116  POSUB=
18117
18118    case " $gt_needs " in
18119    *" need-formatstring-macros "*) gt_api_version=3 ;;
18120    *" need-ngettext "*) gt_api_version=2 ;;
18121    *) gt_api_version=1 ;;
18122  esac
18123  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18124  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18125
18126    if test "$USE_NLS" = "yes"; then
18127    gt_use_preinstalled_gnugettext=no
18128
18129
18130        if test $gt_api_version -ge 3; then
18131          gt_revision_test_code='
18132#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18133#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18134#endif
18135typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18136'
18137        else
18138          gt_revision_test_code=
18139        fi
18140        if test $gt_api_version -ge 2; then
18141          gt_expression_test_code=' + * ngettext ("", "", 0)'
18142        else
18143          gt_expression_test_code=
18144        fi
18145
18146        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18147$as_echo_n "checking for GNU gettext in libc... " >&6; }
18148if eval \${$gt_func_gnugettext_libc+:} false; then :
18149  $as_echo_n "(cached) " >&6
18150else
18151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152/* end confdefs.h.  */
18153#include <libintl.h>
18154$gt_revision_test_code
18155extern int _nl_msg_cat_cntr;
18156extern int *_nl_domain_bindings;
18157int
18158main ()
18159{
18160bindtextdomain ("", "");
18161return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
18162  ;
18163  return 0;
18164}
18165_ACEOF
18166if ac_fn_c_try_link "$LINENO"; then :
18167  eval "$gt_func_gnugettext_libc=yes"
18168else
18169  eval "$gt_func_gnugettext_libc=no"
18170fi
18171rm -f core conftest.err conftest.$ac_objext \
18172    conftest$ac_exeext conftest.$ac_ext
18173fi
18174eval ac_res=\$$gt_func_gnugettext_libc
18175	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18176$as_echo "$ac_res" >&6; }
18177
18178        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18179
18180
18181
18182
18183
18184          am_save_CPPFLAGS="$CPPFLAGS"
18185
18186  for element in $INCICONV; do
18187    haveit=
18188    for x in $CPPFLAGS; do
18189
18190  acl_save_prefix="$prefix"
18191  prefix="$acl_final_prefix"
18192  acl_save_exec_prefix="$exec_prefix"
18193  exec_prefix="$acl_final_exec_prefix"
18194  eval x=\"$x\"
18195  exec_prefix="$acl_save_exec_prefix"
18196  prefix="$acl_save_prefix"
18197
18198      if test "X$x" = "X$element"; then
18199        haveit=yes
18200        break
18201      fi
18202    done
18203    if test -z "$haveit"; then
18204      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18205    fi
18206  done
18207
18208
18209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18210$as_echo_n "checking for iconv... " >&6; }
18211if ${am_cv_func_iconv+:} false; then :
18212  $as_echo_n "(cached) " >&6
18213else
18214
18215    am_cv_func_iconv="no, consider installing GNU libiconv"
18216    am_cv_lib_iconv=no
18217    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218/* end confdefs.h.  */
18219#include <stdlib.h>
18220#include <iconv.h>
18221int
18222main ()
18223{
18224iconv_t cd = iconv_open("","");
18225       iconv(cd,NULL,NULL,NULL,NULL);
18226       iconv_close(cd);
18227  ;
18228  return 0;
18229}
18230_ACEOF
18231if ac_fn_c_try_link "$LINENO"; then :
18232  am_cv_func_iconv=yes
18233fi
18234rm -f core conftest.err conftest.$ac_objext \
18235    conftest$ac_exeext conftest.$ac_ext
18236    if test "$am_cv_func_iconv" != yes; then
18237      am_save_LIBS="$LIBS"
18238      LIBS="$LIBS $LIBICONV"
18239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240/* end confdefs.h.  */
18241#include <stdlib.h>
18242#include <iconv.h>
18243int
18244main ()
18245{
18246iconv_t cd = iconv_open("","");
18247         iconv(cd,NULL,NULL,NULL,NULL);
18248         iconv_close(cd);
18249  ;
18250  return 0;
18251}
18252_ACEOF
18253if ac_fn_c_try_link "$LINENO"; then :
18254  am_cv_lib_iconv=yes
18255        am_cv_func_iconv=yes
18256fi
18257rm -f core conftest.err conftest.$ac_objext \
18258    conftest$ac_exeext conftest.$ac_ext
18259      LIBS="$am_save_LIBS"
18260    fi
18261
18262fi
18263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18264$as_echo "$am_cv_func_iconv" >&6; }
18265  if test "$am_cv_func_iconv" = yes; then
18266    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18267$as_echo_n "checking for working iconv... " >&6; }
18268if ${am_cv_func_iconv_works+:} false; then :
18269  $as_echo_n "(cached) " >&6
18270else
18271
18272            am_save_LIBS="$LIBS"
18273      if test $am_cv_lib_iconv = yes; then
18274        LIBS="$LIBS $LIBICONV"
18275      fi
18276      if test "$cross_compiling" = yes; then :
18277  case "$host_os" in
18278           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18279           *)            am_cv_func_iconv_works="guessing yes" ;;
18280         esac
18281else
18282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283/* end confdefs.h.  */
18284
18285#include <iconv.h>
18286#include <string.h>
18287int main ()
18288{
18289  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18290     returns.  */
18291  {
18292    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18293    if (cd_utf8_to_88591 != (iconv_t)(-1))
18294      {
18295        static const char input[] = "\342\202\254"; /* EURO SIGN */
18296        char buf[10];
18297        const char *inptr = input;
18298        size_t inbytesleft = strlen (input);
18299        char *outptr = buf;
18300        size_t outbytesleft = sizeof (buf);
18301        size_t res = iconv (cd_utf8_to_88591,
18302                            (char **) &inptr, &inbytesleft,
18303                            &outptr, &outbytesleft);
18304        if (res == 0)
18305          return 1;
18306      }
18307  }
18308  /* Test against Solaris 10 bug: Failures are not distinguishable from
18309     successful returns.  */
18310  {
18311    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
18312    if (cd_ascii_to_88591 != (iconv_t)(-1))
18313      {
18314        static const char input[] = "\263";
18315        char buf[10];
18316        const char *inptr = input;
18317        size_t inbytesleft = strlen (input);
18318        char *outptr = buf;
18319        size_t outbytesleft = sizeof (buf);
18320        size_t res = iconv (cd_ascii_to_88591,
18321                            (char **) &inptr, &inbytesleft,
18322                            &outptr, &outbytesleft);
18323        if (res == 0)
18324          return 1;
18325      }
18326  }
18327#if 0 /* This bug could be worked around by the caller.  */
18328  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
18329  {
18330    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18331    if (cd_88591_to_utf8 != (iconv_t)(-1))
18332      {
18333        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18334        char buf[50];
18335        const char *inptr = input;
18336        size_t inbytesleft = strlen (input);
18337        char *outptr = buf;
18338        size_t outbytesleft = sizeof (buf);
18339        size_t res = iconv (cd_88591_to_utf8,
18340                            (char **) &inptr, &inbytesleft,
18341                            &outptr, &outbytesleft);
18342        if ((int)res > 0)
18343          return 1;
18344      }
18345  }
18346#endif
18347  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18348     provided.  */
18349  if (/* Try standardized names.  */
18350      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18351      /* Try IRIX, OSF/1 names.  */
18352      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18353      /* Try AIX names.  */
18354      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18355      /* Try HP-UX names.  */
18356      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18357    return 1;
18358  return 0;
18359}
18360_ACEOF
18361if ac_fn_c_try_run "$LINENO"; then :
18362  am_cv_func_iconv_works=yes
18363else
18364  am_cv_func_iconv_works=no
18365fi
18366rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18367  conftest.$ac_objext conftest.beam conftest.$ac_ext
18368fi
18369
18370      LIBS="$am_save_LIBS"
18371
18372fi
18373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18374$as_echo "$am_cv_func_iconv_works" >&6; }
18375    case "$am_cv_func_iconv_works" in
18376      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18377      *)   am_func_iconv=yes ;;
18378    esac
18379  else
18380    am_func_iconv=no am_cv_lib_iconv=no
18381  fi
18382  if test "$am_func_iconv" = yes; then
18383
18384$as_echo "#define HAVE_ICONV 1" >>confdefs.h
18385
18386  fi
18387  if test "$am_cv_lib_iconv" = yes; then
18388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18389$as_echo_n "checking how to link with libiconv... " >&6; }
18390    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18391$as_echo "$LIBICONV" >&6; }
18392  else
18393            CPPFLAGS="$am_save_CPPFLAGS"
18394    LIBICONV=
18395    LTLIBICONV=
18396  fi
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408    use_additional=yes
18409
18410  acl_save_prefix="$prefix"
18411  prefix="$acl_final_prefix"
18412  acl_save_exec_prefix="$exec_prefix"
18413  exec_prefix="$acl_final_exec_prefix"
18414
18415    eval additional_includedir=\"$includedir\"
18416    eval additional_libdir=\"$libdir\"
18417
18418  exec_prefix="$acl_save_exec_prefix"
18419  prefix="$acl_save_prefix"
18420
18421
18422# Check whether --with-libintl-prefix was given.
18423if test "${with_libintl_prefix+set}" = set; then :
18424  withval=$with_libintl_prefix;
18425    if test "X$withval" = "Xno"; then
18426      use_additional=no
18427    else
18428      if test "X$withval" = "X"; then
18429
18430  acl_save_prefix="$prefix"
18431  prefix="$acl_final_prefix"
18432  acl_save_exec_prefix="$exec_prefix"
18433  exec_prefix="$acl_final_exec_prefix"
18434
18435          eval additional_includedir=\"$includedir\"
18436          eval additional_libdir=\"$libdir\"
18437
18438  exec_prefix="$acl_save_exec_prefix"
18439  prefix="$acl_save_prefix"
18440
18441      else
18442        additional_includedir="$withval/include"
18443        additional_libdir="$withval/$acl_libdirstem"
18444        if test "$acl_libdirstem2" != "$acl_libdirstem" \
18445           && ! test -d "$withval/$acl_libdirstem"; then
18446          additional_libdir="$withval/$acl_libdirstem2"
18447        fi
18448      fi
18449    fi
18450
18451fi
18452
18453      LIBINTL=
18454  LTLIBINTL=
18455  INCINTL=
18456  LIBINTL_PREFIX=
18457      HAVE_LIBINTL=
18458  rpathdirs=
18459  ltrpathdirs=
18460  names_already_handled=
18461  names_next_round='intl '
18462  while test -n "$names_next_round"; do
18463    names_this_round="$names_next_round"
18464    names_next_round=
18465    for name in $names_this_round; do
18466      already_handled=
18467      for n in $names_already_handled; do
18468        if test "$n" = "$name"; then
18469          already_handled=yes
18470          break
18471        fi
18472      done
18473      if test -z "$already_handled"; then
18474        names_already_handled="$names_already_handled $name"
18475                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18476        eval value=\"\$HAVE_LIB$uppername\"
18477        if test -n "$value"; then
18478          if test "$value" = yes; then
18479            eval value=\"\$LIB$uppername\"
18480            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18481            eval value=\"\$LTLIB$uppername\"
18482            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18483          else
18484                                    :
18485          fi
18486        else
18487                              found_dir=
18488          found_la=
18489          found_so=
18490          found_a=
18491          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
18492          if test -n "$acl_shlibext"; then
18493            shrext=".$acl_shlibext"             # typically: shrext=.so
18494          else
18495            shrext=
18496          fi
18497          if test $use_additional = yes; then
18498            dir="$additional_libdir"
18499                                    if test -n "$acl_shlibext"; then
18500              if test -f "$dir/$libname$shrext"; then
18501                found_dir="$dir"
18502                found_so="$dir/$libname$shrext"
18503              else
18504                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18505                  ver=`(cd "$dir" && \
18506                        for f in "$libname$shrext".*; do echo "$f"; done \
18507                        | sed -e "s,^$libname$shrext\\\\.,," \
18508                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18509                        | sed 1q ) 2>/dev/null`
18510                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18511                    found_dir="$dir"
18512                    found_so="$dir/$libname$shrext.$ver"
18513                  fi
18514                else
18515                  eval library_names=\"$acl_library_names_spec\"
18516                  for f in $library_names; do
18517                    if test -f "$dir/$f"; then
18518                      found_dir="$dir"
18519                      found_so="$dir/$f"
18520                      break
18521                    fi
18522                  done
18523                fi
18524              fi
18525            fi
18526                        if test "X$found_dir" = "X"; then
18527              if test -f "$dir/$libname.$acl_libext"; then
18528                found_dir="$dir"
18529                found_a="$dir/$libname.$acl_libext"
18530              fi
18531            fi
18532            if test "X$found_dir" != "X"; then
18533              if test -f "$dir/$libname.la"; then
18534                found_la="$dir/$libname.la"
18535              fi
18536            fi
18537          fi
18538          if test "X$found_dir" = "X"; then
18539            for x in $LDFLAGS $LTLIBINTL; do
18540
18541  acl_save_prefix="$prefix"
18542  prefix="$acl_final_prefix"
18543  acl_save_exec_prefix="$exec_prefix"
18544  exec_prefix="$acl_final_exec_prefix"
18545  eval x=\"$x\"
18546  exec_prefix="$acl_save_exec_prefix"
18547  prefix="$acl_save_prefix"
18548
18549              case "$x" in
18550                -L*)
18551                  dir=`echo "X$x" | sed -e 's/^X-L//'`
18552                                    if test -n "$acl_shlibext"; then
18553                    if test -f "$dir/$libname$shrext"; then
18554                      found_dir="$dir"
18555                      found_so="$dir/$libname$shrext"
18556                    else
18557                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18558                        ver=`(cd "$dir" && \
18559                              for f in "$libname$shrext".*; do echo "$f"; done \
18560                              | sed -e "s,^$libname$shrext\\\\.,," \
18561                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18562                              | sed 1q ) 2>/dev/null`
18563                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18564                          found_dir="$dir"
18565                          found_so="$dir/$libname$shrext.$ver"
18566                        fi
18567                      else
18568                        eval library_names=\"$acl_library_names_spec\"
18569                        for f in $library_names; do
18570                          if test -f "$dir/$f"; then
18571                            found_dir="$dir"
18572                            found_so="$dir/$f"
18573                            break
18574                          fi
18575                        done
18576                      fi
18577                    fi
18578                  fi
18579                                    if test "X$found_dir" = "X"; then
18580                    if test -f "$dir/$libname.$acl_libext"; then
18581                      found_dir="$dir"
18582                      found_a="$dir/$libname.$acl_libext"
18583                    fi
18584                  fi
18585                  if test "X$found_dir" != "X"; then
18586                    if test -f "$dir/$libname.la"; then
18587                      found_la="$dir/$libname.la"
18588                    fi
18589                  fi
18590                  ;;
18591              esac
18592              if test "X$found_dir" != "X"; then
18593                break
18594              fi
18595            done
18596          fi
18597          if test "X$found_dir" != "X"; then
18598                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18599            if test "X$found_so" != "X"; then
18600                                                        if test "$enable_rpath" = no \
18601                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18602                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18603                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18604              else
18605                                                                                haveit=
18606                for x in $ltrpathdirs; do
18607                  if test "X$x" = "X$found_dir"; then
18608                    haveit=yes
18609                    break
18610                  fi
18611                done
18612                if test -z "$haveit"; then
18613                  ltrpathdirs="$ltrpathdirs $found_dir"
18614                fi
18615                                if test "$acl_hardcode_direct" = yes; then
18616                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18617                else
18618                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18619                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18620                                                            haveit=
18621                    for x in $rpathdirs; do
18622                      if test "X$x" = "X$found_dir"; then
18623                        haveit=yes
18624                        break
18625                      fi
18626                    done
18627                    if test -z "$haveit"; then
18628                      rpathdirs="$rpathdirs $found_dir"
18629                    fi
18630                  else
18631                                                                                haveit=
18632                    for x in $LDFLAGS $LIBINTL; do
18633
18634  acl_save_prefix="$prefix"
18635  prefix="$acl_final_prefix"
18636  acl_save_exec_prefix="$exec_prefix"
18637  exec_prefix="$acl_final_exec_prefix"
18638  eval x=\"$x\"
18639  exec_prefix="$acl_save_exec_prefix"
18640  prefix="$acl_save_prefix"
18641
18642                      if test "X$x" = "X-L$found_dir"; then
18643                        haveit=yes
18644                        break
18645                      fi
18646                    done
18647                    if test -z "$haveit"; then
18648                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18649                    fi
18650                    if test "$acl_hardcode_minus_L" != no; then
18651                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18652                    else
18653                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18654                    fi
18655                  fi
18656                fi
18657              fi
18658            else
18659              if test "X$found_a" != "X"; then
18660                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18661              else
18662                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18663              fi
18664            fi
18665                        additional_includedir=
18666            case "$found_dir" in
18667              */$acl_libdirstem | */$acl_libdirstem/)
18668                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18669                if test "$name" = 'intl'; then
18670                  LIBINTL_PREFIX="$basedir"
18671                fi
18672                additional_includedir="$basedir/include"
18673                ;;
18674              */$acl_libdirstem2 | */$acl_libdirstem2/)
18675                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18676                if test "$name" = 'intl'; then
18677                  LIBINTL_PREFIX="$basedir"
18678                fi
18679                additional_includedir="$basedir/include"
18680                ;;
18681            esac
18682            if test "X$additional_includedir" != "X"; then
18683                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
18684                haveit=
18685                if test "X$additional_includedir" = "X/usr/local/include"; then
18686                  if test -n "$GCC"; then
18687                    case $host_os in
18688                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18689                    esac
18690                  fi
18691                fi
18692                if test -z "$haveit"; then
18693                  for x in $CPPFLAGS $INCINTL; do
18694
18695  acl_save_prefix="$prefix"
18696  prefix="$acl_final_prefix"
18697  acl_save_exec_prefix="$exec_prefix"
18698  exec_prefix="$acl_final_exec_prefix"
18699  eval x=\"$x\"
18700  exec_prefix="$acl_save_exec_prefix"
18701  prefix="$acl_save_prefix"
18702
18703                    if test "X$x" = "X-I$additional_includedir"; then
18704                      haveit=yes
18705                      break
18706                    fi
18707                  done
18708                  if test -z "$haveit"; then
18709                    if test -d "$additional_includedir"; then
18710                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18711                    fi
18712                  fi
18713                fi
18714              fi
18715            fi
18716                        if test -n "$found_la"; then
18717                                                        save_libdir="$libdir"
18718              case "$found_la" in
18719                */* | *\\*) . "$found_la" ;;
18720                *) . "./$found_la" ;;
18721              esac
18722              libdir="$save_libdir"
18723                            for dep in $dependency_libs; do
18724                case "$dep" in
18725                  -L*)
18726                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18727                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18728                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18729                      haveit=
18730                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18731                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18732                        if test -n "$GCC"; then
18733                          case $host_os in
18734                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18735                          esac
18736                        fi
18737                      fi
18738                      if test -z "$haveit"; then
18739                        haveit=
18740                        for x in $LDFLAGS $LIBINTL; do
18741
18742  acl_save_prefix="$prefix"
18743  prefix="$acl_final_prefix"
18744  acl_save_exec_prefix="$exec_prefix"
18745  exec_prefix="$acl_final_exec_prefix"
18746  eval x=\"$x\"
18747  exec_prefix="$acl_save_exec_prefix"
18748  prefix="$acl_save_prefix"
18749
18750                          if test "X$x" = "X-L$additional_libdir"; then
18751                            haveit=yes
18752                            break
18753                          fi
18754                        done
18755                        if test -z "$haveit"; then
18756                          if test -d "$additional_libdir"; then
18757                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18758                          fi
18759                        fi
18760                        haveit=
18761                        for x in $LDFLAGS $LTLIBINTL; do
18762
18763  acl_save_prefix="$prefix"
18764  prefix="$acl_final_prefix"
18765  acl_save_exec_prefix="$exec_prefix"
18766  exec_prefix="$acl_final_exec_prefix"
18767  eval x=\"$x\"
18768  exec_prefix="$acl_save_exec_prefix"
18769  prefix="$acl_save_prefix"
18770
18771                          if test "X$x" = "X-L$additional_libdir"; then
18772                            haveit=yes
18773                            break
18774                          fi
18775                        done
18776                        if test -z "$haveit"; then
18777                          if test -d "$additional_libdir"; then
18778                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18779                          fi
18780                        fi
18781                      fi
18782                    fi
18783                    ;;
18784                  -R*)
18785                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18786                    if test "$enable_rpath" != no; then
18787                                                                  haveit=
18788                      for x in $rpathdirs; do
18789                        if test "X$x" = "X$dir"; then
18790                          haveit=yes
18791                          break
18792                        fi
18793                      done
18794                      if test -z "$haveit"; then
18795                        rpathdirs="$rpathdirs $dir"
18796                      fi
18797                                                                  haveit=
18798                      for x in $ltrpathdirs; do
18799                        if test "X$x" = "X$dir"; then
18800                          haveit=yes
18801                          break
18802                        fi
18803                      done
18804                      if test -z "$haveit"; then
18805                        ltrpathdirs="$ltrpathdirs $dir"
18806                      fi
18807                    fi
18808                    ;;
18809                  -l*)
18810                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18811                    ;;
18812                  *.la)
18813                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18814                    ;;
18815                  *)
18816                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18817                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18818                    ;;
18819                esac
18820              done
18821            fi
18822          else
18823                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18824            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18825          fi
18826        fi
18827      fi
18828    done
18829  done
18830  if test "X$rpathdirs" != "X"; then
18831    if test -n "$acl_hardcode_libdir_separator"; then
18832                        alldirs=
18833      for found_dir in $rpathdirs; do
18834        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18835      done
18836            acl_save_libdir="$libdir"
18837      libdir="$alldirs"
18838      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18839      libdir="$acl_save_libdir"
18840      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18841    else
18842            for found_dir in $rpathdirs; do
18843        acl_save_libdir="$libdir"
18844        libdir="$found_dir"
18845        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18846        libdir="$acl_save_libdir"
18847        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18848      done
18849    fi
18850  fi
18851  if test "X$ltrpathdirs" != "X"; then
18852            for found_dir in $ltrpathdirs; do
18853      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18854    done
18855  fi
18856
18857
18858
18859
18860
18861
18862          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
18863$as_echo_n "checking for GNU gettext in libintl... " >&6; }
18864if eval \${$gt_func_gnugettext_libintl+:} false; then :
18865  $as_echo_n "(cached) " >&6
18866else
18867  gt_save_CPPFLAGS="$CPPFLAGS"
18868            CPPFLAGS="$CPPFLAGS $INCINTL"
18869            gt_save_LIBS="$LIBS"
18870            LIBS="$LIBS $LIBINTL"
18871                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872/* end confdefs.h.  */
18873#include <libintl.h>
18874$gt_revision_test_code
18875extern int _nl_msg_cat_cntr;
18876extern
18877#ifdef __cplusplus
18878"C"
18879#endif
18880const char *_nl_expand_alias (const char *);
18881int
18882main ()
18883{
18884bindtextdomain ("", "");
18885return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18886  ;
18887  return 0;
18888}
18889_ACEOF
18890if ac_fn_c_try_link "$LINENO"; then :
18891  eval "$gt_func_gnugettext_libintl=yes"
18892else
18893  eval "$gt_func_gnugettext_libintl=no"
18894fi
18895rm -f core conftest.err conftest.$ac_objext \
18896    conftest$ac_exeext conftest.$ac_ext
18897                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
18898              LIBS="$LIBS $LIBICONV"
18899              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900/* end confdefs.h.  */
18901#include <libintl.h>
18902$gt_revision_test_code
18903extern int _nl_msg_cat_cntr;
18904extern
18905#ifdef __cplusplus
18906"C"
18907#endif
18908const char *_nl_expand_alias (const char *);
18909int
18910main ()
18911{
18912bindtextdomain ("", "");
18913return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18914  ;
18915  return 0;
18916}
18917_ACEOF
18918if ac_fn_c_try_link "$LINENO"; then :
18919  LIBINTL="$LIBINTL $LIBICONV"
18920                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18921                eval "$gt_func_gnugettext_libintl=yes"
18922
18923fi
18924rm -f core conftest.err conftest.$ac_objext \
18925    conftest$ac_exeext conftest.$ac_ext
18926            fi
18927            CPPFLAGS="$gt_save_CPPFLAGS"
18928            LIBS="$gt_save_LIBS"
18929fi
18930eval ac_res=\$$gt_func_gnugettext_libintl
18931	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18932$as_echo "$ac_res" >&6; }
18933        fi
18934
18935                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
18936           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
18937                && test "$PACKAGE" != gettext-runtime \
18938                && test "$PACKAGE" != gettext-tools; }; then
18939          gt_use_preinstalled_gnugettext=yes
18940        else
18941                    LIBINTL=
18942          LTLIBINTL=
18943          INCINTL=
18944        fi
18945
18946
18947
18948    if test -n "$INTL_MACOSX_LIBS"; then
18949      if test "$gt_use_preinstalled_gnugettext" = "yes" \
18950         || test "$nls_cv_use_gnu_gettext" = "yes"; then
18951                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
18952        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
18953      fi
18954    fi
18955
18956    if test "$gt_use_preinstalled_gnugettext" = "yes" \
18957       || test "$nls_cv_use_gnu_gettext" = "yes"; then
18958
18959$as_echo "#define ENABLE_NLS 1" >>confdefs.h
18960
18961    else
18962      USE_NLS=no
18963    fi
18964  fi
18965
18966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18967$as_echo_n "checking whether to use NLS... " >&6; }
18968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18969$as_echo "$USE_NLS" >&6; }
18970  if test "$USE_NLS" = "yes"; then
18971    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18972$as_echo_n "checking where the gettext function comes from... " >&6; }
18973    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18974      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18975        gt_source="external libintl"
18976      else
18977        gt_source="libc"
18978      fi
18979    else
18980      gt_source="included intl directory"
18981    fi
18982    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18983$as_echo "$gt_source" >&6; }
18984  fi
18985
18986  if test "$USE_NLS" = "yes"; then
18987
18988    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18989      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18990        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18991$as_echo_n "checking how to link with libintl... " >&6; }
18992        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18993$as_echo "$LIBINTL" >&6; }
18994
18995  for element in $INCINTL; do
18996    haveit=
18997    for x in $CPPFLAGS; do
18998
18999  acl_save_prefix="$prefix"
19000  prefix="$acl_final_prefix"
19001  acl_save_exec_prefix="$exec_prefix"
19002  exec_prefix="$acl_final_exec_prefix"
19003  eval x=\"$x\"
19004  exec_prefix="$acl_save_exec_prefix"
19005  prefix="$acl_save_prefix"
19006
19007      if test "X$x" = "X$element"; then
19008        haveit=yes
19009        break
19010      fi
19011    done
19012    if test -z "$haveit"; then
19013      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19014    fi
19015  done
19016
19017      fi
19018
19019
19020$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19021
19022
19023$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19024
19025    fi
19026
19027        POSUB=po
19028  fi
19029
19030
19031
19032    INTLLIBS="$LIBINTL"
19033
19034
19035
19036
19037
19038
19039
19040
19041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19042$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19043if ${ac_cv_c_const+:} false; then :
19044  $as_echo_n "(cached) " >&6
19045else
19046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047/* end confdefs.h.  */
19048
19049int
19050main ()
19051{
19052
19053#ifndef __cplusplus
19054  /* Ultrix mips cc rejects this sort of thing.  */
19055  typedef int charset[2];
19056  const charset cs = { 0, 0 };
19057  /* SunOS 4.1.1 cc rejects this.  */
19058  char const *const *pcpcc;
19059  char **ppc;
19060  /* NEC SVR4.0.2 mips cc rejects this.  */
19061  struct point {int x, y;};
19062  static struct point const zero = {0,0};
19063  /* AIX XL C 1.02.0.0 rejects this.
19064     It does not let you subtract one const X* pointer from another in
19065     an arm of an if-expression whose if-part is not a constant
19066     expression */
19067  const char *g = "string";
19068  pcpcc = &g + (g ? g-g : 0);
19069  /* HPUX 7.0 cc rejects these. */
19070  ++pcpcc;
19071  ppc = (char**) pcpcc;
19072  pcpcc = (char const *const *) ppc;
19073  { /* SCO 3.2v4 cc rejects this sort of thing.  */
19074    char tx;
19075    char *t = &tx;
19076    char const *s = 0 ? (char *) 0 : (char const *) 0;
19077
19078    *t++ = 0;
19079    if (s) return 0;
19080  }
19081  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19082    int x[] = {25, 17};
19083    const int *foo = &x[0];
19084    ++foo;
19085  }
19086  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19087    typedef const int *iptr;
19088    iptr p = 0;
19089    ++p;
19090  }
19091  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19092       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19093    struct s { int j; const int *ap[3]; } bx;
19094    struct s *b = &bx; b->j = 5;
19095  }
19096  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19097    const int foo = 10;
19098    if (!foo) return 0;
19099  }
19100  return !cs[0] && !zero.x;
19101#endif
19102
19103  ;
19104  return 0;
19105}
19106_ACEOF
19107if ac_fn_c_try_compile "$LINENO"; then :
19108  ac_cv_c_const=yes
19109else
19110  ac_cv_c_const=no
19111fi
19112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113fi
19114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19115$as_echo "$ac_cv_c_const" >&6; }
19116if test $ac_cv_c_const = no; then
19117
19118$as_echo "#define const /**/" >>confdefs.h
19119
19120fi
19121
19122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
19123$as_echo_n "checking for working volatile... " >&6; }
19124if ${ac_cv_c_volatile+:} false; then :
19125  $as_echo_n "(cached) " >&6
19126else
19127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128/* end confdefs.h.  */
19129
19130int
19131main ()
19132{
19133
19134volatile int x;
19135int * volatile y = (int *) 0;
19136return !x && !y;
19137  ;
19138  return 0;
19139}
19140_ACEOF
19141if ac_fn_c_try_compile "$LINENO"; then :
19142  ac_cv_c_volatile=yes
19143else
19144  ac_cv_c_volatile=no
19145fi
19146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147fi
19148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
19149$as_echo "$ac_cv_c_volatile" >&6; }
19150if test $ac_cv_c_volatile = no; then
19151
19152$as_echo "#define volatile /**/" >>confdefs.h
19153
19154fi
19155
19156
19157# Check whether --enable-largefile was given.
19158if test "${enable_largefile+set}" = set; then :
19159  enableval=$enable_largefile;
19160fi
19161
19162if test "$enable_largefile" != no; then
19163
19164  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
19165$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
19166if ${ac_cv_sys_largefile_CC+:} false; then :
19167  $as_echo_n "(cached) " >&6
19168else
19169  ac_cv_sys_largefile_CC=no
19170     if test "$GCC" != yes; then
19171       ac_save_CC=$CC
19172       while :; do
19173	 # IRIX 6.2 and later do not support large files by default,
19174	 # so use the C compiler's -n32 option if that helps.
19175	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176/* end confdefs.h.  */
19177#include <sys/types.h>
19178 /* Check that off_t can represent 2**63 - 1 correctly.
19179    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19180    since some C++ compilers masquerading as C compilers
19181    incorrectly reject 9223372036854775807.  */
19182#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19183  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19184		       && LARGE_OFF_T % 2147483647 == 1)
19185		      ? 1 : -1];
19186int
19187main ()
19188{
19189
19190  ;
19191  return 0;
19192}
19193_ACEOF
19194	 if ac_fn_c_try_compile "$LINENO"; then :
19195  break
19196fi
19197rm -f core conftest.err conftest.$ac_objext
19198	 CC="$CC -n32"
19199	 if ac_fn_c_try_compile "$LINENO"; then :
19200  ac_cv_sys_largefile_CC=' -n32'; break
19201fi
19202rm -f core conftest.err conftest.$ac_objext
19203	 break
19204       done
19205       CC=$ac_save_CC
19206       rm -f conftest.$ac_ext
19207    fi
19208fi
19209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
19210$as_echo "$ac_cv_sys_largefile_CC" >&6; }
19211  if test "$ac_cv_sys_largefile_CC" != no; then
19212    CC=$CC$ac_cv_sys_largefile_CC
19213  fi
19214
19215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19216$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
19217if ${ac_cv_sys_file_offset_bits+:} false; then :
19218  $as_echo_n "(cached) " >&6
19219else
19220  while :; do
19221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222/* end confdefs.h.  */
19223#include <sys/types.h>
19224 /* Check that off_t can represent 2**63 - 1 correctly.
19225    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19226    since some C++ compilers masquerading as C compilers
19227    incorrectly reject 9223372036854775807.  */
19228#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19229  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19230		       && LARGE_OFF_T % 2147483647 == 1)
19231		      ? 1 : -1];
19232int
19233main ()
19234{
19235
19236  ;
19237  return 0;
19238}
19239_ACEOF
19240if ac_fn_c_try_compile "$LINENO"; then :
19241  ac_cv_sys_file_offset_bits=no; break
19242fi
19243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245/* end confdefs.h.  */
19246#define _FILE_OFFSET_BITS 64
19247#include <sys/types.h>
19248 /* Check that off_t can represent 2**63 - 1 correctly.
19249    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19250    since some C++ compilers masquerading as C compilers
19251    incorrectly reject 9223372036854775807.  */
19252#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19253  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19254		       && LARGE_OFF_T % 2147483647 == 1)
19255		      ? 1 : -1];
19256int
19257main ()
19258{
19259
19260  ;
19261  return 0;
19262}
19263_ACEOF
19264if ac_fn_c_try_compile "$LINENO"; then :
19265  ac_cv_sys_file_offset_bits=64; break
19266fi
19267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268  ac_cv_sys_file_offset_bits=unknown
19269  break
19270done
19271fi
19272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
19273$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
19274case $ac_cv_sys_file_offset_bits in #(
19275  no | unknown) ;;
19276  *)
19277cat >>confdefs.h <<_ACEOF
19278#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19279_ACEOF
19280;;
19281esac
19282rm -rf conftest*
19283  if test $ac_cv_sys_file_offset_bits = unknown; then
19284    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
19285$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
19286if ${ac_cv_sys_large_files+:} false; then :
19287  $as_echo_n "(cached) " >&6
19288else
19289  while :; do
19290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291/* end confdefs.h.  */
19292#include <sys/types.h>
19293 /* Check that off_t can represent 2**63 - 1 correctly.
19294    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19295    since some C++ compilers masquerading as C compilers
19296    incorrectly reject 9223372036854775807.  */
19297#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19298  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19299		       && LARGE_OFF_T % 2147483647 == 1)
19300		      ? 1 : -1];
19301int
19302main ()
19303{
19304
19305  ;
19306  return 0;
19307}
19308_ACEOF
19309if ac_fn_c_try_compile "$LINENO"; then :
19310  ac_cv_sys_large_files=no; break
19311fi
19312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19314/* end confdefs.h.  */
19315#define _LARGE_FILES 1
19316#include <sys/types.h>
19317 /* Check that off_t can represent 2**63 - 1 correctly.
19318    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19319    since some C++ compilers masquerading as C compilers
19320    incorrectly reject 9223372036854775807.  */
19321#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19322  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19323		       && LARGE_OFF_T % 2147483647 == 1)
19324		      ? 1 : -1];
19325int
19326main ()
19327{
19328
19329  ;
19330  return 0;
19331}
19332_ACEOF
19333if ac_fn_c_try_compile "$LINENO"; then :
19334  ac_cv_sys_large_files=1; break
19335fi
19336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19337  ac_cv_sys_large_files=unknown
19338  break
19339done
19340fi
19341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
19342$as_echo "$ac_cv_sys_large_files" >&6; }
19343case $ac_cv_sys_large_files in #(
19344  no | unknown) ;;
19345  *)
19346cat >>confdefs.h <<_ACEOF
19347#define _LARGE_FILES $ac_cv_sys_large_files
19348_ACEOF
19349;;
19350esac
19351rm -rf conftest*
19352  fi
19353
19354
19355fi
19356
19357
19358
19359
19360  # Check whether --enable-shared-libs was given.
19361if test "${enable_shared_libs+set}" = set; then :
19362  enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval
19363else
19364  ac_cv_enable_shared_libs="yes"
19365fi
19366
19367    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5
19368$as_echo_n "checking whether to disable disable shared library support... " >&6; }
19369if ${ac_cv_enable_shared_libs+:} false; then :
19370  $as_echo_n "(cached) " >&6
19371else
19372  ac_cv_enable_shared_libs="yes"
19373fi
19374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5
19375$as_echo "$ac_cv_enable_shared_libs" >&6; }
19376
19377
19378
19379
19380  # Check whether --enable-static-executables was given.
19381if test "${enable_static_executables+set}" = set; then :
19382  enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval
19383else
19384  ac_cv_enable_static_executables=no
19385fi
19386
19387    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5
19388$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; }
19389if ${ac_cv_enable_static_executables+:} false; then :
19390  $as_echo_n "(cached) " >&6
19391else
19392  ac_cv_enable_static_executables=no
19393fi
19394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5
19395$as_echo "$ac_cv_enable_static_executables" >&6; }
19396
19397  if test "x$ac_cv_enable_static_executables" != xno; then :
19398  STATIC_LDFLAGS="-all-static";
19399
19400
19401
19402    ac_cv_enable_static_executables=yes
19403    enable_shared=no
19404fi
19405
19406
19407
19408
19409  # Check whether --enable-winapi was given.
19410if test "${enable_winapi+set}" = set; then :
19411  enableval=$enable_winapi; ac_cv_enable_winapi=$enableval
19412else
19413  ac_cv_enable_winapi=auto-detect
19414fi
19415
19416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5
19417$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; }
19418if ${ac_cv_enable_winapi+:} false; then :
19419  $as_echo_n "(cached) " >&6
19420else
19421  ac_cv_enable_winapi=auto-detect
19422fi
19423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5
19424$as_echo "$ac_cv_enable_winapi" >&6; }
19425
19426  if test "x$ac_cv_enable_winapi" = xauto-detect; then :
19427  ac_common_check_winapi_target_string="$target"
19428
19429    if test "x$ac_common_check_winapi_target_string" = x; then :
19430  ac_common_check_winapi_target_string="$host"
19431fi
19432
19433    case $ac_common_check_winapi_target_string in #(
19434  *mingw*) :
19435    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5
19436$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;}
19437        ac_cv_enable_winapi=yes ;; #(
19438  *msys*) :
19439    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5
19440$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;}
19441        ac_cv_enable_winapi=yes ;; #(
19442  *) :
19443    ac_cv_enable_winapi=no ;; #(
19444  *) :
19445     ;;
19446esac
19447
19448fi
19449
19450
19451
19452
19453  # Check whether --enable-wide-character-type was given.
19454if test "${enable_wide_character_type+set}" = set; then :
19455  enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval
19456else
19457  ac_cv_enable_wide_character_type=no
19458fi
19459
19460    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5
19461$as_echo_n "checking whether to enable enable wide character type support... " >&6; }
19462if ${ac_cv_enable_wide_character_type+:} false; then :
19463  $as_echo_n "(cached) " >&6
19464else
19465  ac_cv_enable_wide_character_type=no
19466fi
19467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5
19468$as_echo "$ac_cv_enable_wide_character_type" >&6; }
19469
19470
19471
19472
19473  # Check whether --enable-verbose-output was given.
19474if test "${enable_verbose_output+set}" = set; then :
19475  enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval
19476else
19477  ac_cv_enable_verbose_output=no
19478fi
19479
19480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5
19481$as_echo_n "checking whether to enable enable verbose output... " >&6; }
19482if ${ac_cv_enable_verbose_output+:} false; then :
19483  $as_echo_n "(cached) " >&6
19484else
19485  ac_cv_enable_verbose_output=no
19486fi
19487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5
19488$as_echo "$ac_cv_enable_verbose_output" >&6; }
19489
19490  if test "x$ac_cv_enable_verbose_output" != xno ; then :
19491
19492$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h
19493
19494
19495    ac_cv_enable_verbose_output=yes
19496fi
19497
19498
19499
19500
19501  # Check whether --enable-debug-output was given.
19502if test "${enable_debug_output+set}" = set; then :
19503  enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval
19504else
19505  ac_cv_enable_debug_output=no
19506fi
19507
19508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5
19509$as_echo_n "checking whether to enable enable debug output... " >&6; }
19510if ${ac_cv_enable_debug_output+:} false; then :
19511  $as_echo_n "(cached) " >&6
19512else
19513  ac_cv_enable_debug_output=no
19514fi
19515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5
19516$as_echo "$ac_cv_enable_debug_output" >&6; }
19517
19518  if test "x$ac_cv_enable_debug_output" != xno ; then :
19519
19520$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h
19521
19522
19523    ac_cv_enable_debug_output=yes
19524fi
19525
19526
19527if test "x$ac_cv_enable_winapi" = xyes; then :
19528  ac_cv_enable_wide_character_type=yes
19529fi
19530
19531 if test "x$ac_cv_enable_wide_character_type" = xyes; then :
19532
19533$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h
19534
19535  HAVE_WIDE_CHARACTER_TYPE=1
19536
19537else
19538  HAVE_WIDE_CHARACTER_TYPE=0
19539
19540
19541fi
19542
19543 for ac_header in sys/types.h inttypes.h stdint.h wchar.h
19544do :
19545  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19546ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19547if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19548  cat >>confdefs.h <<_ACEOF
19549#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19550_ACEOF
19551
19552fi
19553
19554done
19555
19556
19557 if test "x$ac_cv_header_sys_types_h" = xyes; then :
19558  HAVE_SYS_TYPES_H=1
19559
19560else
19561  HAVE_SYS_TYPES_H=0
19562
19563
19564fi
19565
19566 if test "x$ac_cv_header_inttypes_h" = xyes; then :
19567  HAVE_INTTYPES_H=1
19568
19569else
19570  HAVE_INTTYPES_H=0
19571
19572
19573fi
19574
19575 if test "x$ac_cv_header_stdint_h" = xyes; then :
19576  HAVE_STDINT_H=1
19577
19578else
19579  HAVE_STDINT_H=0
19580
19581
19582fi
19583
19584 if test "x$ac_cv_header_wchar_h" = xyes; then :
19585  HAVE_WCHAR_H=1
19586
19587else
19588  HAVE_WCHAR_H=0
19589
19590
19591fi
19592
19593 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19594if test "x$ac_cv_type_mode_t" = xyes; then :
19595
19596else
19597
19598cat >>confdefs.h <<_ACEOF
19599#define mode_t int
19600_ACEOF
19601
19602fi
19603
19604 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
19605if test "x$ac_cv_type_off_t" = xyes; then :
19606
19607else
19608
19609cat >>confdefs.h <<_ACEOF
19610#define off_t long int
19611_ACEOF
19612
19613fi
19614
19615 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19616if test "x$ac_cv_type_size_t" = xyes; then :
19617
19618else
19619
19620cat >>confdefs.h <<_ACEOF
19621#define size_t unsigned int
19622_ACEOF
19623
19624fi
19625
19626
19627 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default"
19628if test "x$ac_cv_type_size32_t" = xyes; then :
19629  HAVE_SIZE32_T=1
19630
19631else
19632  HAVE_SIZE32_T=0
19633
19634
19635fi
19636
19637
19638 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default"
19639if test "x$ac_cv_type_ssize32_t" = xyes; then :
19640  HAVE_SSIZE32_T=1
19641
19642else
19643  HAVE_SSIZE32_T=0
19644
19645
19646fi
19647
19648
19649 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default"
19650if test "x$ac_cv_type_size64_t" = xyes; then :
19651  HAVE_SIZE64_T=1
19652
19653else
19654  HAVE_SIZE64_T=0
19655
19656
19657fi
19658
19659
19660 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default"
19661if test "x$ac_cv_type_ssize64_t" = xyes; then :
19662  HAVE_SSIZE64_T=1
19663
19664else
19665  HAVE_SSIZE64_T=0
19666
19667
19668fi
19669
19670
19671 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
19672if test "x$ac_cv_type_off64_t" = xyes; then :
19673  HAVE_OFF64_T=1
19674
19675else
19676  HAVE_OFF64_T=0
19677
19678
19679fi
19680
19681
19682 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
19683if test "x$ac_cv_type_ssize_t" = xyes; then :
19684
19685fi
19686
19687 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default"
19688if test "x$ac_cv_type_u64" = xyes; then :
19689
19690fi
19691
19692
19693 # The cast to long int works around a bug in the HP C Compiler
19694# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19695# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19696# This bug is HP SR number 8606223364.
19697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
19698$as_echo_n "checking size of int... " >&6; }
19699if ${ac_cv_sizeof_int+:} false; then :
19700  $as_echo_n "(cached) " >&6
19701else
19702  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
19703
19704else
19705  if test "$ac_cv_type_int" = yes; then
19706     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19708as_fn_error 77 "cannot compute sizeof (int)
19709See \`config.log' for more details" "$LINENO" 5; }
19710   else
19711     ac_cv_sizeof_int=0
19712   fi
19713fi
19714
19715fi
19716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
19717$as_echo "$ac_cv_sizeof_int" >&6; }
19718
19719
19720
19721cat >>confdefs.h <<_ACEOF
19722#define SIZEOF_INT $ac_cv_sizeof_int
19723_ACEOF
19724
19725
19726 # The cast to long int works around a bug in the HP C Compiler
19727# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19728# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19729# This bug is HP SR number 8606223364.
19730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
19731$as_echo_n "checking size of long... " >&6; }
19732if ${ac_cv_sizeof_long+:} false; then :
19733  $as_echo_n "(cached) " >&6
19734else
19735  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
19736
19737else
19738  if test "$ac_cv_type_long" = yes; then
19739     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19740$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19741as_fn_error 77 "cannot compute sizeof (long)
19742See \`config.log' for more details" "$LINENO" 5; }
19743   else
19744     ac_cv_sizeof_long=0
19745   fi
19746fi
19747
19748fi
19749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
19750$as_echo "$ac_cv_sizeof_long" >&6; }
19751
19752
19753
19754cat >>confdefs.h <<_ACEOF
19755#define SIZEOF_LONG $ac_cv_sizeof_long
19756_ACEOF
19757
19758
19759 # The cast to long int works around a bug in the HP C Compiler
19760# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19761# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19762# This bug is HP SR number 8606223364.
19763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
19764$as_echo_n "checking size of off_t... " >&6; }
19765if ${ac_cv_sizeof_off_t+:} false; then :
19766  $as_echo_n "(cached) " >&6
19767else
19768  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
19769
19770else
19771  if test "$ac_cv_type_off_t" = yes; then
19772     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19774as_fn_error 77 "cannot compute sizeof (off_t)
19775See \`config.log' for more details" "$LINENO" 5; }
19776   else
19777     ac_cv_sizeof_off_t=0
19778   fi
19779fi
19780
19781fi
19782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
19783$as_echo "$ac_cv_sizeof_off_t" >&6; }
19784
19785
19786
19787cat >>confdefs.h <<_ACEOF
19788#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
19789_ACEOF
19790
19791
19792 # The cast to long int works around a bug in the HP C Compiler
19793# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19794# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19795# This bug is HP SR number 8606223364.
19796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
19797$as_echo_n "checking size of size_t... " >&6; }
19798if ${ac_cv_sizeof_size_t+:} false; then :
19799  $as_echo_n "(cached) " >&6
19800else
19801  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
19802
19803else
19804  if test "$ac_cv_type_size_t" = yes; then
19805     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19806$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19807as_fn_error 77 "cannot compute sizeof (size_t)
19808See \`config.log' for more details" "$LINENO" 5; }
19809   else
19810     ac_cv_sizeof_size_t=0
19811   fi
19812fi
19813
19814fi
19815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
19816$as_echo "$ac_cv_sizeof_size_t" >&6; }
19817
19818
19819
19820cat >>confdefs.h <<_ACEOF
19821#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19822_ACEOF
19823
19824
19825
19826 if test "x$ac_cv_header_wchar_h" = xyes; then :
19827  # The cast to long int works around a bug in the HP C Compiler
19828# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19829# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19830# This bug is HP SR number 8606223364.
19831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
19832$as_echo_n "checking size of wchar_t... " >&6; }
19833if ${ac_cv_sizeof_wchar_t+:} false; then :
19834  $as_echo_n "(cached) " >&6
19835else
19836  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "$ac_includes_default"; then :
19837
19838else
19839  if test "$ac_cv_type_wchar_t" = yes; then
19840     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19841$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19842as_fn_error 77 "cannot compute sizeof (wchar_t)
19843See \`config.log' for more details" "$LINENO" 5; }
19844   else
19845     ac_cv_sizeof_wchar_t=0
19846   fi
19847fi
19848
19849fi
19850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
19851$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
19852
19853
19854
19855cat >>confdefs.h <<_ACEOF
19856#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19857_ACEOF
19858
19859
19860fi
19861
19862
19863
19864    if test "x$ac_cv_enable_winapi" = xyes; then :
19865  for ac_header in windows.h
19866do :
19867  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
19868if test "x$ac_cv_header_windows_h" = xyes; then :
19869  cat >>confdefs.h <<_ACEOF
19870#define HAVE_WINDOWS_H 1
19871_ACEOF
19872
19873fi
19874
19875done
19876
19877
19878    if test "x$ac_cv_header_windows_h" = xno; then :
19879  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19881as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support
19882See \`config.log' for more details" "$LINENO" 5; }
19883
19884fi
19885
19886fi
19887
19888  if test "x$ac_cv_enable_winapi" = xno; then :
19889  for ac_header in libintl.h
19890do :
19891  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19892if test "x$ac_cv_header_libintl_h" = xyes; then :
19893  cat >>confdefs.h <<_ACEOF
19894#define HAVE_LIBINTL_H 1
19895_ACEOF
19896
19897fi
19898
19899done
19900
19901
19902fi
19903
19904    for ac_header in limits.h
19905do :
19906  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
19907if test "x$ac_cv_header_limits_h" = xyes; then :
19908  cat >>confdefs.h <<_ACEOF
19909#define HAVE_LIMITS_H 1
19910_ACEOF
19911
19912fi
19913
19914done
19915
19916
19917    for ac_header in stdlib.h string.h
19918do :
19919  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19920ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19921if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19922  cat >>confdefs.h <<_ACEOF
19923#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19924_ACEOF
19925
19926fi
19927
19928done
19929
19930
19931    for ac_header in wchar.h wctype.h
19932do :
19933  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19934ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19935if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19936  cat >>confdefs.h <<_ACEOF
19937#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19938_ACEOF
19939
19940fi
19941
19942done
19943
19944
19945    for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf
19946do :
19947  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19948ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19949if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19950  cat >>confdefs.h <<_ACEOF
19951#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19952_ACEOF
19953
19954fi
19955done
19956
19957
19958  if test "x$ac_cv_func_fclose" != xyes; then :
19959  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19960$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19961as_fn_error 1 "Missing function: fclose
19962See \`config.log' for more details" "$LINENO" 5; }
19963
19964fi
19965
19966  if test "x$ac_cv_func_feof" != xyes; then :
19967  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19968$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19969as_fn_error 1 "Missing function: feof
19970See \`config.log' for more details" "$LINENO" 5; }
19971
19972fi
19973
19974  if test "x$ac_cv_func_fgets" != xyes; then :
19975  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19976$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19977as_fn_error 1 "Missing function: fgets
19978See \`config.log' for more details" "$LINENO" 5; }
19979
19980fi
19981
19982  if test "x$ac_cv_func_fopen" != xyes; then :
19983  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19985as_fn_error 1 "Missing function: fopen
19986See \`config.log' for more details" "$LINENO" 5; }
19987
19988fi
19989
19990  if test "x$ac_cv_func_fread" != xyes; then :
19991  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19993as_fn_error 1 "Missing function: fread
19994See \`config.log' for more details" "$LINENO" 5; }
19995
19996fi
19997
19998  if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then :
19999  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20001as_fn_error 1 "Missing function: fseeko and fseeko64
20002See \`config.log' for more details" "$LINENO" 5; }
20003
20004fi
20005
20006  if test "x$ac_cv_func_fwrite" != xyes; then :
20007  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20008$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20009as_fn_error 1 "Missing function: fwrite
20010See \`config.log' for more details" "$LINENO" 5; }
20011
20012fi
20013
20014  if test "x$ac_cv_func_vfprintf" != xyes; then :
20015  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20017as_fn_error 1 "Missing function: vfprintf
20018See \`config.log' for more details" "$LINENO" 5; }
20019
20020fi
20021
20022  if test "x$ac_cv_enable_wide_character_type" != xno; then :
20023  for ac_func in fgetws
20024do :
20025  ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws"
20026if test "x$ac_cv_func_fgetws" = xyes; then :
20027  cat >>confdefs.h <<_ACEOF
20028#define HAVE_FGETWS 1
20029_ACEOF
20030
20031fi
20032done
20033
20034
20035    if test "x$ac_cv_func_fgetws" != xyes; then :
20036  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20038as_fn_error 1 "Missing function: fgetws
20039See \`config.log' for more details" "$LINENO" 5; }
20040
20041fi
20042
20043fi
20044
20045    for ac_func in free malloc memcmp memcpy memset realloc
20046do :
20047  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20048ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20049if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20050  cat >>confdefs.h <<_ACEOF
20051#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20052_ACEOF
20053
20054fi
20055done
20056
20057
20058  if test "x$ac_cv_func_free" != xyes; then :
20059  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20061as_fn_error 1 "Missing function: free
20062See \`config.log' for more details" "$LINENO" 5; }
20063
20064fi
20065
20066  if test "x$ac_cv_func_malloc" != xyes; then :
20067  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20068$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20069as_fn_error 1 "Missing function: malloc
20070See \`config.log' for more details" "$LINENO" 5; }
20071
20072fi
20073
20074  if test "x$ac_cv_func_memcmp" != xyes; then :
20075  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20077as_fn_error 1 "Missing function: memcmp
20078See \`config.log' for more details" "$LINENO" 5; }
20079
20080fi
20081
20082  if test "x$ac_cv_func_memcpy" != xyes; then :
20083  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20085as_fn_error 1 "Missing function: memcpy
20086See \`config.log' for more details" "$LINENO" 5; }
20087
20088fi
20089
20090  if test "x$ac_cv_func_memset" != xyes; then :
20091  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20093as_fn_error 1 "Missing function: memset
20094See \`config.log' for more details" "$LINENO" 5; }
20095
20096fi
20097
20098  if test "x$ac_cv_func_realloc" != xyes; then :
20099  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20101as_fn_error 1 "Missing function: realloc
20102See \`config.log' for more details" "$LINENO" 5; }
20103
20104fi
20105
20106    for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf
20107do :
20108  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20109ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20110if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20111  cat >>confdefs.h <<_ACEOF
20112#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20113_ACEOF
20114
20115fi
20116done
20117
20118
20119  if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then :
20120  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20122as_fn_error 1 "Missing functions: memchr and strchr
20123See \`config.log' for more details" "$LINENO" 5; }
20124
20125fi
20126
20127  if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then :
20128  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20130as_fn_error 1 "Missing functions: memcmp and strncmp
20131See \`config.log' for more details" "$LINENO" 5; }
20132
20133fi
20134
20135  if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then :
20136  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20138as_fn_error 1 "Missing functions: memcpy and strncpy
20139See \`config.log' for more details" "$LINENO" 5; }
20140
20141fi
20142
20143  if test "x$ac_cv_func_memrchr" = xyes; then :
20144  ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
20145if test "x$ac_cv_have_decl_memrchr" = xyes; then :
20146  ac_have_decl=1
20147else
20148  ac_have_decl=0
20149fi
20150
20151cat >>confdefs.h <<_ACEOF
20152#define HAVE_DECL_MEMRCHR $ac_have_decl
20153_ACEOF
20154
20155
20156    if test "x$ac_cv_decl_memrchr" != xyes; then :
20157  ac_cv_func_memrchr=no
20158fi
20159
20160fi
20161
20162  if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then :
20163  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20164$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20165as_fn_error 1 "Missing functions: strrchr and memrchr
20166See \`config.log' for more details" "$LINENO" 5; }
20167
20168fi
20169
20170  if test "x$ac_cv_func_snprintf" != xyes; then :
20171  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20173as_fn_error 1 "Missing function: snprintf
20174See \`config.log' for more details" "$LINENO" 5; }
20175
20176fi
20177
20178  if test "x$ac_cv_func_sscanf" != xyes; then :
20179  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20181as_fn_error 1 "Missing function: sscanf
20182See \`config.log' for more details" "$LINENO" 5; }
20183
20184fi
20185
20186  if test "x$ac_cv_func_strlen" != xyes; then :
20187  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20189as_fn_error 1 "Missing function: strlen
20190See \`config.log' for more details" "$LINENO" 5; }
20191
20192fi
20193
20194  if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then :
20195  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20197as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp
20198See \`config.log' for more details" "$LINENO" 5; }
20199
20200fi
20201
20202  if test "x$ac_cv_func_strstr" != xyes; then :
20203  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20205as_fn_error 1 "Missing function: strstr
20206See \`config.log' for more details" "$LINENO" 5; }
20207
20208fi
20209
20210  if test "x$ac_cv_func_vsnprintf" != xyes; then :
20211  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20213as_fn_error 1 "Missing function: vsnprintf
20214See \`config.log' for more details" "$LINENO" 5; }
20215
20216fi
20217
20218    if test "x$ac_cv_enable_wide_character_type" != xno; then :
20219  for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr
20220do :
20221  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20222ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20223if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20224  cat >>confdefs.h <<_ACEOF
20225#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20226_ACEOF
20227
20228fi
20229done
20230
20231
20232    if test "x$ac_cv_func_swprintf" != xyes; then :
20233  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20235as_fn_error 1 "Missing function: swprintf
20236See \`config.log' for more details" "$LINENO" 5; }
20237
20238fi
20239
20240    if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then :
20241  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20242$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20243as_fn_error 1 "Missing functions: wmemchr and wcschr
20244See \`config.log' for more details" "$LINENO" 5; }
20245
20246fi
20247
20248    if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then :
20249  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20251as_fn_error 1 "Missing functions: wmemcmp and wcsncmp
20252See \`config.log' for more details" "$LINENO" 5; }
20253
20254fi
20255
20256    if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then :
20257  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259as_fn_error 1 "Missing functions: wmemcpy and wcsncpy
20260See \`config.log' for more details" "$LINENO" 5; }
20261
20262fi
20263
20264    if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then :
20265  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20266$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20267as_fn_error 1 "Missing functions: wmemrchr and wcsrchr
20268See \`config.log' for more details" "$LINENO" 5; }
20269
20270fi
20271
20272    if test "x$ac_cv_func_wcslen" != xyes; then :
20273  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20275as_fn_error 1 "Missing function: wcslen
20276See \`config.log' for more details" "$LINENO" 5; }
20277
20278fi
20279
20280    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 :
20281  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20283as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower
20284See \`config.log' for more details" "$LINENO" 5; }
20285
20286fi
20287
20288    if test "x$ac_cv_func_wcsstr" != xyes; then :
20289  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20291as_fn_error 1 "Missing function: wcsstr
20292See \`config.log' for more details" "$LINENO" 5; }
20293
20294fi
20295
20296fi
20297
20298
20299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5
20300$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; }
20301
20302  SAVE_CFLAGS="$CFLAGS"
20303  CFLAGS="$CFLAGS -Wall -Werror"
20304  ac_ext=c
20305ac_cpp='$CPP $CPPFLAGS'
20306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308ac_compiler_gnu=$ac_cv_c_compiler_gnu
20309
20310
20311    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312/* end confdefs.h.  */
20313#include <stdio.h>
20314int
20315main ()
20316{
20317printf( "%jd" );
20318  ;
20319  return 0;
20320}
20321_ACEOF
20322if ac_fn_c_try_link "$LINENO"; then :
20323  ac_cv_cv_have_printf_jd=no
20324else
20325  ac_cv_cv_have_printf_jd=yes
20326fi
20327rm -f core conftest.err conftest.$ac_objext \
20328    conftest$ac_exeext conftest.$ac_ext
20329
20330    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20331  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20332/* end confdefs.h.  */
20333#include <sys/types.h>
20334#include <stdio.h>
20335int
20336main ()
20337{
20338printf( "%jd", (off_t) 10 );
20339  ;
20340  return 0;
20341}
20342_ACEOF
20343if ac_fn_c_try_link "$LINENO"; then :
20344  ac_cv_cv_have_printf_jd=yes
20345else
20346  ac_cv_cv_have_printf_jd=no
20347fi
20348rm -f core conftest.err conftest.$ac_objext \
20349    conftest$ac_exeext conftest.$ac_ext
20350
20351fi
20352
20353    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20354  if test "$cross_compiling" = yes; then :
20355  ac_cv_cv_have_printf_jd=undetermined
20356else
20357  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358/* end confdefs.h.  */
20359#include <sys/types.h>
20360#include <stdio.h>
20361int
20362main ()
20363{
20364char string[ 3 ];
20365if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 );
20366if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20367  ;
20368  return 0;
20369}
20370_ACEOF
20371if ac_fn_c_try_run "$LINENO"; then :
20372  ac_cv_cv_have_printf_jd=yes
20373else
20374  ac_cv_cv_have_printf_jd=no
20375fi
20376rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20377  conftest.$ac_objext conftest.beam conftest.$ac_ext
20378fi
20379
20380
20381fi
20382
20383  ac_ext=c
20384ac_cpp='$CPP $CPPFLAGS'
20385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20387ac_compiler_gnu=$ac_cv_c_compiler_gnu
20388
20389  CFLAGS="$SAVE_CFLAGS"
20390
20391  if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20393$as_echo "yes" >&6; }
20394
20395$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h
20396
20397else
20398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5
20399$as_echo "$ac_cv_cv_have_printf_jd" >&6; }
20400
20401fi
20402
20403
20404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5
20405$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; }
20406
20407  SAVE_CFLAGS="$CFLAGS"
20408  CFLAGS="$CFLAGS -Wall -Werror"
20409  ac_ext=c
20410ac_cpp='$CPP $CPPFLAGS'
20411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20413ac_compiler_gnu=$ac_cv_c_compiler_gnu
20414
20415
20416    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417/* end confdefs.h.  */
20418#include <stdio.h>
20419int
20420main ()
20421{
20422printf( "%zd" );
20423  ;
20424  return 0;
20425}
20426_ACEOF
20427if ac_fn_c_try_link "$LINENO"; then :
20428  ac_cv_cv_have_printf_zd=no
20429else
20430  ac_cv_cv_have_printf_zd=yes
20431fi
20432rm -f core conftest.err conftest.$ac_objext \
20433    conftest$ac_exeext conftest.$ac_ext
20434
20435    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437/* end confdefs.h.  */
20438#include <sys/types.h>
20439#include <stdio.h>
20440int
20441main ()
20442{
20443printf( "%zd", (size_t) 10 );
20444  ;
20445  return 0;
20446}
20447_ACEOF
20448if ac_fn_c_try_link "$LINENO"; then :
20449  ac_cv_cv_have_printf_zd=yes
20450else
20451  ac_cv_cv_have_printf_zd=no
20452fi
20453rm -f core conftest.err conftest.$ac_objext \
20454    conftest$ac_exeext conftest.$ac_ext
20455
20456fi
20457
20458    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20459  if test "$cross_compiling" = yes; then :
20460  ac_cv_cv_have_printf_zd=undetermined
20461else
20462  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20463/* end confdefs.h.  */
20464#include <sys/types.h>
20465#include <stdio.h>
20466int
20467main ()
20468{
20469char string[ 3 ];
20470if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 );
20471if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20472  ;
20473  return 0;
20474}
20475_ACEOF
20476if ac_fn_c_try_run "$LINENO"; then :
20477  ac_cv_cv_have_printf_zd=yes
20478else
20479  ac_cv_cv_have_printf_zd=no
20480fi
20481rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20482  conftest.$ac_objext conftest.beam conftest.$ac_ext
20483fi
20484
20485
20486fi
20487
20488  ac_ext=c
20489ac_cpp='$CPP $CPPFLAGS'
20490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20492ac_compiler_gnu=$ac_cv_c_compiler_gnu
20493
20494  CFLAGS="$SAVE_CFLAGS"
20495
20496  if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20498$as_echo "yes" >&6; }
20499
20500$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h
20501
20502else
20503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5
20504$as_echo "$ac_cv_cv_have_printf_zd" >&6; }
20505
20506fi
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20518	if test -n "$ac_tool_prefix"; then
20519  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20520set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20522$as_echo_n "checking for $ac_word... " >&6; }
20523if ${ac_cv_path_PKG_CONFIG+:} false; then :
20524  $as_echo_n "(cached) " >&6
20525else
20526  case $PKG_CONFIG in
20527  [\\/]* | ?:[\\/]*)
20528  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20529  ;;
20530  *)
20531  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20532for as_dir in $PATH
20533do
20534  IFS=$as_save_IFS
20535  test -z "$as_dir" && as_dir=.
20536    for ac_exec_ext in '' $ac_executable_extensions; do
20537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20538    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20540    break 2
20541  fi
20542done
20543  done
20544IFS=$as_save_IFS
20545
20546  ;;
20547esac
20548fi
20549PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20550if test -n "$PKG_CONFIG"; then
20551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20552$as_echo "$PKG_CONFIG" >&6; }
20553else
20554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20555$as_echo "no" >&6; }
20556fi
20557
20558
20559fi
20560if test -z "$ac_cv_path_PKG_CONFIG"; then
20561  ac_pt_PKG_CONFIG=$PKG_CONFIG
20562  # Extract the first word of "pkg-config", so it can be a program name with args.
20563set dummy pkg-config; ac_word=$2
20564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20565$as_echo_n "checking for $ac_word... " >&6; }
20566if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20567  $as_echo_n "(cached) " >&6
20568else
20569  case $ac_pt_PKG_CONFIG in
20570  [\\/]* | ?:[\\/]*)
20571  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20572  ;;
20573  *)
20574  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20575for as_dir in $PATH
20576do
20577  IFS=$as_save_IFS
20578  test -z "$as_dir" && as_dir=.
20579    for ac_exec_ext in '' $ac_executable_extensions; do
20580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20581    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20583    break 2
20584  fi
20585done
20586  done
20587IFS=$as_save_IFS
20588
20589  ;;
20590esac
20591fi
20592ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20593if test -n "$ac_pt_PKG_CONFIG"; then
20594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20595$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20596else
20597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20598$as_echo "no" >&6; }
20599fi
20600
20601  if test "x$ac_pt_PKG_CONFIG" = x; then
20602    PKG_CONFIG=""
20603  else
20604    case $cross_compiling:$ac_tool_warned in
20605yes:)
20606{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20607$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20608ac_tool_warned=yes ;;
20609esac
20610    PKG_CONFIG=$ac_pt_PKG_CONFIG
20611  fi
20612else
20613  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20614fi
20615
20616fi
20617if test -n "$PKG_CONFIG"; then
20618	_pkg_min_version=0.9.0
20619	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20620$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20621	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20622		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20623$as_echo "yes" >&6; }
20624	else
20625		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20626$as_echo "no" >&6; }
20627		PKG_CONFIG=""
20628	fi
20629fi
20630
20631
20632# Check whether --with-libcerror was given.
20633if test "${with_libcerror+set}" = set; then :
20634  withval=$with_libcerror; ac_cv_with_libcerror=$withval
20635else
20636  ac_cv_with_libcerror=auto-detect
20637fi
20638
20639    { $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
20640$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; }
20641if ${ac_cv_with_libcerror+:} false; then :
20642  $as_echo_n "(cached) " >&6
20643else
20644  ac_cv_with_libcerror=auto-detect
20645fi
20646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5
20647$as_echo "$ac_cv_with_libcerror" >&6; }
20648
20649    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then :
20650  ac_cv_libcerror=no
20651else
20652  ac_cv_libcerror=check
20653        if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then :
20654  if test -d "$ac_cv_with_libcerror"; then :
20655  CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include"
20656        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib"
20657else
20658  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20660as_fn_error 1 "no such directory: $ac_cv_with_libcerror
20661See \`config.log' for more details" "$LINENO" 5; }
20662
20663fi
20664
20665else
20666        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
20667
20668pkg_failed=no
20669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5
20670$as_echo_n "checking for libcerror... " >&6; }
20671
20672if test -n "$libcerror_CFLAGS"; then
20673    pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS"
20674 elif test -n "$PKG_CONFIG"; then
20675    if test -n "$PKG_CONFIG" && \
20676    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20677  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20678  ac_status=$?
20679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20680  test $ac_status = 0; }; then
20681  pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null`
20682		      test "x$?" != "x0" && pkg_failed=yes
20683else
20684  pkg_failed=yes
20685fi
20686 else
20687    pkg_failed=untried
20688fi
20689if test -n "$libcerror_LIBS"; then
20690    pkg_cv_libcerror_LIBS="$libcerror_LIBS"
20691 elif test -n "$PKG_CONFIG"; then
20692    if test -n "$PKG_CONFIG" && \
20693    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20694  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20695  ac_status=$?
20696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20697  test $ac_status = 0; }; then
20698  pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null`
20699		      test "x$?" != "x0" && pkg_failed=yes
20700else
20701  pkg_failed=yes
20702fi
20703 else
20704    pkg_failed=untried
20705fi
20706
20707
20708
20709if test $pkg_failed = yes; then
20710   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20711$as_echo "no" >&6; }
20712
20713if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20714        _pkg_short_errors_supported=yes
20715else
20716        _pkg_short_errors_supported=no
20717fi
20718        if test $_pkg_short_errors_supported = yes; then
20719	        libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20720        else
20721	        libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20722        fi
20723	# Put the nasty error message in config.log where it belongs
20724	echo "$libcerror_PKG_ERRORS" >&5
20725
20726	ac_cv_libcerror=check
20727elif test $pkg_failed = untried; then
20728     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20729$as_echo "no" >&6; }
20730	ac_cv_libcerror=check
20731else
20732	libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS
20733	libcerror_LIBS=$pkg_cv_libcerror_LIBS
20734        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20735$as_echo "yes" >&6; }
20736	ac_cv_libcerror=yes
20737fi
20738
20739fi
20740      if test "x$ac_cv_libcerror" = xyes; then :
20741  ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS"
20742        ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS"
20743fi
20744
20745fi
20746
20747    if test "x$ac_cv_libcerror" = xcheck; then :
20748        for ac_header in libcerror.h
20749do :
20750  ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default"
20751if test "x$ac_cv_header_libcerror_h" = xyes; then :
20752  cat >>confdefs.h <<_ACEOF
20753#define HAVE_LIBCERROR_H 1
20754_ACEOF
20755
20756fi
20757
20758done
20759
20760
20761      if test "x$ac_cv_header_libcerror_h" = xno; then :
20762  ac_cv_libcerror=no
20763else
20764          ac_cv_libcerror=yes
20765
20766        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5
20767$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; }
20768if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then :
20769  $as_echo_n "(cached) " >&6
20770else
20771  ac_check_lib_save_LIBS=$LIBS
20772LIBS="-lcerror  $LIBS"
20773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774/* end confdefs.h.  */
20775
20776/* Override any GCC internal prototype to avoid an error.
20777   Use char because int might match the return type of a GCC
20778   builtin and then its argument prototype would still apply.  */
20779#ifdef __cplusplus
20780extern "C"
20781#endif
20782char libcerror_get_version ();
20783int
20784main ()
20785{
20786return libcerror_get_version ();
20787  ;
20788  return 0;
20789}
20790_ACEOF
20791if ac_fn_c_try_link "$LINENO"; then :
20792  ac_cv_lib_cerror_libcerror_get_version=yes
20793else
20794  ac_cv_lib_cerror_libcerror_get_version=no
20795fi
20796rm -f core conftest.err conftest.$ac_objext \
20797    conftest$ac_exeext conftest.$ac_ext
20798LIBS=$ac_check_lib_save_LIBS
20799fi
20800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5
20801$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; }
20802if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then :
20803  ac_cv_libcerror_dummy=yes
20804else
20805  ac_cv_libcerror=no
20806fi
20807
20808
20809                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5
20810$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; }
20811if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then :
20812  $as_echo_n "(cached) " >&6
20813else
20814  ac_check_lib_save_LIBS=$LIBS
20815LIBS="-lcerror  $LIBS"
20816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20817/* end confdefs.h.  */
20818
20819/* Override any GCC internal prototype to avoid an error.
20820   Use char because int might match the return type of a GCC
20821   builtin and then its argument prototype would still apply.  */
20822#ifdef __cplusplus
20823extern "C"
20824#endif
20825char libcerror_error_free ();
20826int
20827main ()
20828{
20829return libcerror_error_free ();
20830  ;
20831  return 0;
20832}
20833_ACEOF
20834if ac_fn_c_try_link "$LINENO"; then :
20835  ac_cv_lib_cerror_libcerror_error_free=yes
20836else
20837  ac_cv_lib_cerror_libcerror_error_free=no
20838fi
20839rm -f core conftest.err conftest.$ac_objext \
20840    conftest$ac_exeext conftest.$ac_ext
20841LIBS=$ac_check_lib_save_LIBS
20842fi
20843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5
20844$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; }
20845if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then :
20846  ac_cv_libcerror_dummy=yes
20847else
20848  ac_cv_libcerror=no
20849fi
20850
20851        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5
20852$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; }
20853if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then :
20854  $as_echo_n "(cached) " >&6
20855else
20856  ac_check_lib_save_LIBS=$LIBS
20857LIBS="-lcerror  $LIBS"
20858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859/* end confdefs.h.  */
20860
20861/* Override any GCC internal prototype to avoid an error.
20862   Use char because int might match the return type of a GCC
20863   builtin and then its argument prototype would still apply.  */
20864#ifdef __cplusplus
20865extern "C"
20866#endif
20867char libcerror_error_set ();
20868int
20869main ()
20870{
20871return libcerror_error_set ();
20872  ;
20873  return 0;
20874}
20875_ACEOF
20876if ac_fn_c_try_link "$LINENO"; then :
20877  ac_cv_lib_cerror_libcerror_error_set=yes
20878else
20879  ac_cv_lib_cerror_libcerror_error_set=no
20880fi
20881rm -f core conftest.err conftest.$ac_objext \
20882    conftest$ac_exeext conftest.$ac_ext
20883LIBS=$ac_check_lib_save_LIBS
20884fi
20885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5
20886$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; }
20887if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then :
20888  ac_cv_libcerror_dummy=yes
20889else
20890  ac_cv_libcerror=no
20891fi
20892
20893        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5
20894$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; }
20895if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then :
20896  $as_echo_n "(cached) " >&6
20897else
20898  ac_check_lib_save_LIBS=$LIBS
20899LIBS="-lcerror  $LIBS"
20900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901/* end confdefs.h.  */
20902
20903/* Override any GCC internal prototype to avoid an error.
20904   Use char because int might match the return type of a GCC
20905   builtin and then its argument prototype would still apply.  */
20906#ifdef __cplusplus
20907extern "C"
20908#endif
20909char libcerror_error_matches ();
20910int
20911main ()
20912{
20913return libcerror_error_matches ();
20914  ;
20915  return 0;
20916}
20917_ACEOF
20918if ac_fn_c_try_link "$LINENO"; then :
20919  ac_cv_lib_cerror_libcerror_error_matches=yes
20920else
20921  ac_cv_lib_cerror_libcerror_error_matches=no
20922fi
20923rm -f core conftest.err conftest.$ac_objext \
20924    conftest$ac_exeext conftest.$ac_ext
20925LIBS=$ac_check_lib_save_LIBS
20926fi
20927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5
20928$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; }
20929if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then :
20930  ac_cv_libcerror_dummy=yes
20931else
20932  ac_cv_libcerror=no
20933fi
20934
20935        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5
20936$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; }
20937if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then :
20938  $as_echo_n "(cached) " >&6
20939else
20940  ac_check_lib_save_LIBS=$LIBS
20941LIBS="-lcerror  $LIBS"
20942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943/* end confdefs.h.  */
20944
20945/* Override any GCC internal prototype to avoid an error.
20946   Use char because int might match the return type of a GCC
20947   builtin and then its argument prototype would still apply.  */
20948#ifdef __cplusplus
20949extern "C"
20950#endif
20951char libcerror_error_fprint ();
20952int
20953main ()
20954{
20955return libcerror_error_fprint ();
20956  ;
20957  return 0;
20958}
20959_ACEOF
20960if ac_fn_c_try_link "$LINENO"; then :
20961  ac_cv_lib_cerror_libcerror_error_fprint=yes
20962else
20963  ac_cv_lib_cerror_libcerror_error_fprint=no
20964fi
20965rm -f core conftest.err conftest.$ac_objext \
20966    conftest$ac_exeext conftest.$ac_ext
20967LIBS=$ac_check_lib_save_LIBS
20968fi
20969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5
20970$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; }
20971if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then :
20972  ac_cv_libcerror_dummy=yes
20973else
20974  ac_cv_libcerror=no
20975fi
20976
20977        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5
20978$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; }
20979if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then :
20980  $as_echo_n "(cached) " >&6
20981else
20982  ac_check_lib_save_LIBS=$LIBS
20983LIBS="-lcerror  $LIBS"
20984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20985/* end confdefs.h.  */
20986
20987/* Override any GCC internal prototype to avoid an error.
20988   Use char because int might match the return type of a GCC
20989   builtin and then its argument prototype would still apply.  */
20990#ifdef __cplusplus
20991extern "C"
20992#endif
20993char libcerror_error_sprint ();
20994int
20995main ()
20996{
20997return libcerror_error_sprint ();
20998  ;
20999  return 0;
21000}
21001_ACEOF
21002if ac_fn_c_try_link "$LINENO"; then :
21003  ac_cv_lib_cerror_libcerror_error_sprint=yes
21004else
21005  ac_cv_lib_cerror_libcerror_error_sprint=no
21006fi
21007rm -f core conftest.err conftest.$ac_objext \
21008    conftest$ac_exeext conftest.$ac_ext
21009LIBS=$ac_check_lib_save_LIBS
21010fi
21011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5
21012$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; }
21013if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then :
21014  ac_cv_libcerror_dummy=yes
21015else
21016  ac_cv_libcerror=no
21017fi
21018
21019        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5
21020$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; }
21021if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then :
21022  $as_echo_n "(cached) " >&6
21023else
21024  ac_check_lib_save_LIBS=$LIBS
21025LIBS="-lcerror  $LIBS"
21026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21027/* end confdefs.h.  */
21028
21029/* Override any GCC internal prototype to avoid an error.
21030   Use char because int might match the return type of a GCC
21031   builtin and then its argument prototype would still apply.  */
21032#ifdef __cplusplus
21033extern "C"
21034#endif
21035char libcerror_error_backtrace_fprint ();
21036int
21037main ()
21038{
21039return libcerror_error_backtrace_fprint ();
21040  ;
21041  return 0;
21042}
21043_ACEOF
21044if ac_fn_c_try_link "$LINENO"; then :
21045  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes
21046else
21047  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no
21048fi
21049rm -f core conftest.err conftest.$ac_objext \
21050    conftest$ac_exeext conftest.$ac_ext
21051LIBS=$ac_check_lib_save_LIBS
21052fi
21053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5
21054$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; }
21055if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then :
21056  ac_cv_libcerror_dummy=yes
21057else
21058  ac_cv_libcerror=no
21059fi
21060
21061        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5
21062$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; }
21063if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then :
21064  $as_echo_n "(cached) " >&6
21065else
21066  ac_check_lib_save_LIBS=$LIBS
21067LIBS="-lcerror  $LIBS"
21068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21069/* end confdefs.h.  */
21070
21071/* Override any GCC internal prototype to avoid an error.
21072   Use char because int might match the return type of a GCC
21073   builtin and then its argument prototype would still apply.  */
21074#ifdef __cplusplus
21075extern "C"
21076#endif
21077char libcerror_error_backtrace_sprint ();
21078int
21079main ()
21080{
21081return libcerror_error_backtrace_sprint ();
21082  ;
21083  return 0;
21084}
21085_ACEOF
21086if ac_fn_c_try_link "$LINENO"; then :
21087  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes
21088else
21089  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no
21090fi
21091rm -f core conftest.err conftest.$ac_objext \
21092    conftest$ac_exeext conftest.$ac_ext
21093LIBS=$ac_check_lib_save_LIBS
21094fi
21095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5
21096$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; }
21097if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then :
21098  ac_cv_libcerror_dummy=yes
21099else
21100  ac_cv_libcerror=no
21101fi
21102
21103
21104                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5
21105$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; }
21106if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then :
21107  $as_echo_n "(cached) " >&6
21108else
21109  ac_check_lib_save_LIBS=$LIBS
21110LIBS="-lcerror  $LIBS"
21111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112/* end confdefs.h.  */
21113
21114/* Override any GCC internal prototype to avoid an error.
21115   Use char because int might match the return type of a GCC
21116   builtin and then its argument prototype would still apply.  */
21117#ifdef __cplusplus
21118extern "C"
21119#endif
21120char libcerror_system_set_error ();
21121int
21122main ()
21123{
21124return libcerror_system_set_error ();
21125  ;
21126  return 0;
21127}
21128_ACEOF
21129if ac_fn_c_try_link "$LINENO"; then :
21130  ac_cv_lib_cerror_libcerror_system_set_error=yes
21131else
21132  ac_cv_lib_cerror_libcerror_system_set_error=no
21133fi
21134rm -f core conftest.err conftest.$ac_objext \
21135    conftest$ac_exeext conftest.$ac_ext
21136LIBS=$ac_check_lib_save_LIBS
21137fi
21138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5
21139$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; }
21140if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then :
21141  ac_cv_libcerror_dummy=yes
21142else
21143  ac_cv_libcerror=no
21144fi
21145
21146
21147        ac_cv_libcerror_LIBADD="-lcerror"
21148fi
21149
21150fi
21151    if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then :
21152  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21153$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21154as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror
21155See \`config.log' for more details" "$LINENO" 5; }
21156
21157fi
21158
21159fi
21160
21161  if test "x$ac_cv_libcerror" = xyes; then :
21162
21163$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h
21164
21165
21166fi
21167
21168  if test "x$ac_cv_libcerror" = xyes; then :
21169  HAVE_LIBCERROR=1
21170
21171else
21172  HAVE_LIBCERROR=0
21173
21174
21175fi
21176
21177
21178    if test "x$ac_cv_libcerror" != xyes; then :
21179    for ac_header in stdarg.h varargs.h
21180do :
21181  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21182ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21183if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21184  cat >>confdefs.h <<_ACEOF
21185#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21186_ACEOF
21187
21188fi
21189
21190done
21191
21192
21193  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
21194  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21196as_fn_error 1 "Missing headers: stdarg.h and varargs.h
21197See \`config.log' for more details" "$LINENO" 5; }
21198
21199fi
21200
21201    if test "x$ac_cv_enable_wide_character_type" != xno; then :
21202  for ac_func in wcstombs
21203do :
21204  ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs"
21205if test "x$ac_cv_func_wcstombs" = xyes; then :
21206  cat >>confdefs.h <<_ACEOF
21207#define HAVE_WCSTOMBS 1
21208_ACEOF
21209
21210fi
21211done
21212
21213
21214    if test "x$ac_cv_func_wcstombs" != xyes; then :
21215  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21217as_fn_error 1 "Missing function: wcstombs
21218See \`config.log' for more details" "$LINENO" 5; }
21219
21220fi
21221
21222fi
21223
21224    ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
21225if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
21226  ac_have_decl=1
21227else
21228  ac_have_decl=0
21229fi
21230
21231cat >>confdefs.h <<_ACEOF
21232#define HAVE_DECL_STRERROR_R $ac_have_decl
21233_ACEOF
21234
21235for ac_func in strerror_r
21236do :
21237  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
21238if test "x$ac_cv_func_strerror_r" = xyes; then :
21239  cat >>confdefs.h <<_ACEOF
21240#define HAVE_STRERROR_R 1
21241_ACEOF
21242
21243fi
21244done
21245
21246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
21247$as_echo_n "checking whether strerror_r returns char *... " >&6; }
21248if ${ac_cv_func_strerror_r_char_p+:} false; then :
21249  $as_echo_n "(cached) " >&6
21250else
21251
21252    ac_cv_func_strerror_r_char_p=no
21253    if test $ac_cv_have_decl_strerror_r = yes; then
21254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255/* end confdefs.h.  */
21256$ac_includes_default
21257int
21258main ()
21259{
21260
21261	  char buf[100];
21262	  char x = *strerror_r (0, buf, sizeof buf);
21263	  char *p = strerror_r (0, buf, sizeof buf);
21264	  return !p || x;
21265
21266  ;
21267  return 0;
21268}
21269_ACEOF
21270if ac_fn_c_try_compile "$LINENO"; then :
21271  ac_cv_func_strerror_r_char_p=yes
21272fi
21273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274    else
21275      # strerror_r is not declared.  Choose between
21276      # systems that have relatively inaccessible declarations for the
21277      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
21278      # former has a strerror_r that returns char*, while the latter
21279      # has a strerror_r that returns `int'.
21280      # This test should segfault on the DEC system.
21281      if test "$cross_compiling" = yes; then :
21282  :
21283else
21284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285/* end confdefs.h.  */
21286$ac_includes_default
21287	extern char *strerror_r ();
21288int
21289main ()
21290{
21291char buf[100];
21292	  char x = *strerror_r (0, buf, sizeof buf);
21293	  return ! isalpha (x);
21294  ;
21295  return 0;
21296}
21297_ACEOF
21298if ac_fn_c_try_run "$LINENO"; then :
21299  ac_cv_func_strerror_r_char_p=yes
21300fi
21301rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21302  conftest.$ac_objext conftest.beam conftest.$ac_ext
21303fi
21304
21305    fi
21306
21307fi
21308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
21309$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
21310if test $ac_cv_func_strerror_r_char_p = yes; then
21311
21312$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
21313
21314fi
21315
21316
21317  if test "x$ac_cv_have_decl_strerror_r" != xyes; then :
21318  for ac_func in strerror
21319do :
21320  ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
21321if test "x$ac_cv_func_strerror" = xyes; then :
21322  cat >>confdefs.h <<_ACEOF
21323#define HAVE_STRERROR 1
21324_ACEOF
21325
21326fi
21327done
21328
21329
21330    if test "x$ac_cv_func_strerror" != xyes; then :
21331  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21333as_fn_error 1 "Missing functions: strerror_r and strerror
21334See \`config.log' for more details" "$LINENO" 5; }
21335
21336fi
21337
21338fi
21339
21340  ac_cv_libcerror_CPPFLAGS="-I../libcerror";
21341  ac_cv_libcerror_LIBADD="../libcerror/libcerror.la";
21342
21343  ac_cv_libcerror=local
21344
21345
21346
21347$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h
21348
21349    HAVE_LOCAL_LIBCERROR=1
21350
21351
21352fi
21353
21354   if test "x$ac_cv_libcerror" = xlocal; then
21355  HAVE_LOCAL_LIBCERROR_TRUE=
21356  HAVE_LOCAL_LIBCERROR_FALSE='#'
21357else
21358  HAVE_LOCAL_LIBCERROR_TRUE='#'
21359  HAVE_LOCAL_LIBCERROR_FALSE=
21360fi
21361
21362  if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then :
21363  LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS
21364
21365
21366fi
21367  if test "x$ac_cv_libcerror_LIBADD" != "x"; then :
21368  LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD
21369
21370
21371fi
21372
21373  if test "x$ac_cv_libcerror" = xyes; then :
21374  ax_libcerror_pc_libs_private=-lcerror
21375
21376
21377fi
21378
21379  if test "x$ac_cv_libcerror" = xyes; then :
21380  ax_libcerror_spec_requires=libcerror
21381
21382    ax_libcerror_spec_build_requires=libcerror-devel
21383
21384
21385fi
21386
21387
21388
21389  # Check whether --enable-multi-threading-support was given.
21390if test "${enable_multi_threading_support+set}" = set; then :
21391  enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval
21392else
21393  ac_cv_enable_multi_threading_support=yes
21394fi
21395
21396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5
21397$as_echo_n "checking whether to enable enable multi-threading support... " >&6; }
21398if ${ac_cv_enable_multi_threading_support+:} false; then :
21399  $as_echo_n "(cached) " >&6
21400else
21401  ac_cv_enable_multi_threading_support=yes
21402fi
21403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5
21404$as_echo "$ac_cv_enable_multi_threading_support" >&6; }
21405
21406
21407# Check whether --with-libcthreads was given.
21408if test "${with_libcthreads+set}" = set; then :
21409  withval=$with_libcthreads; ac_cv_with_libcthreads=$withval
21410else
21411  ac_cv_with_libcthreads=auto-detect
21412fi
21413
21414    { $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
21415$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; }
21416if ${ac_cv_with_libcthreads+:} false; then :
21417  $as_echo_n "(cached) " >&6
21418else
21419  ac_cv_with_libcthreads=auto-detect
21420fi
21421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5
21422$as_echo "$ac_cv_with_libcthreads" >&6; }
21423
21424  if test "x$ac_cv_enable_multi_threading_support" = xno; then :
21425  ac_cv_libcthreads="no"
21426    ac_cv_libcthreads_multi_threading="no"
21427else
21428      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then :
21429  ac_cv_libcthreads=no
21430else
21431  ac_cv_libcthreads=check
21432        if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then :
21433  if test -d "$ac_cv_with_libcthreads"; then :
21434  CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include"
21435        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib"
21436else
21437  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21439as_fn_error 1 "no such directory: $ac_cv_with_libcthreads
21440See \`config.log' for more details" "$LINENO" 5; }
21441
21442fi
21443
21444else
21445        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
21446
21447pkg_failed=no
21448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5
21449$as_echo_n "checking for libcthreads... " >&6; }
21450
21451if test -n "$libcthreads_CFLAGS"; then
21452    pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS"
21453 elif test -n "$PKG_CONFIG"; then
21454    if test -n "$PKG_CONFIG" && \
21455    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21456  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21457  ac_status=$?
21458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21459  test $ac_status = 0; }; then
21460  pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null`
21461		      test "x$?" != "x0" && pkg_failed=yes
21462else
21463  pkg_failed=yes
21464fi
21465 else
21466    pkg_failed=untried
21467fi
21468if test -n "$libcthreads_LIBS"; then
21469    pkg_cv_libcthreads_LIBS="$libcthreads_LIBS"
21470 elif test -n "$PKG_CONFIG"; then
21471    if test -n "$PKG_CONFIG" && \
21472    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21473  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21474  ac_status=$?
21475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21476  test $ac_status = 0; }; then
21477  pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null`
21478		      test "x$?" != "x0" && pkg_failed=yes
21479else
21480  pkg_failed=yes
21481fi
21482 else
21483    pkg_failed=untried
21484fi
21485
21486
21487
21488if test $pkg_failed = yes; then
21489   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21490$as_echo "no" >&6; }
21491
21492if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21493        _pkg_short_errors_supported=yes
21494else
21495        _pkg_short_errors_supported=no
21496fi
21497        if test $_pkg_short_errors_supported = yes; then
21498	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21499        else
21500	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21501        fi
21502	# Put the nasty error message in config.log where it belongs
21503	echo "$libcthreads_PKG_ERRORS" >&5
21504
21505	ac_cv_libcthreads=check
21506elif test $pkg_failed = untried; then
21507     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21508$as_echo "no" >&6; }
21509	ac_cv_libcthreads=check
21510else
21511	libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS
21512	libcthreads_LIBS=$pkg_cv_libcthreads_LIBS
21513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21514$as_echo "yes" >&6; }
21515	ac_cv_libcthreads=yes
21516fi
21517
21518fi
21519      if test "x$ac_cv_libcthreads" = xyes; then :
21520  ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS"
21521        ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS"
21522fi
21523
21524fi
21525
21526    if test "x$ac_cv_libcthreads" = xcheck; then :
21527        for ac_header in libcthreads.h
21528do :
21529  ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default"
21530if test "x$ac_cv_header_libcthreads_h" = xyes; then :
21531  cat >>confdefs.h <<_ACEOF
21532#define HAVE_LIBCTHREADS_H 1
21533_ACEOF
21534
21535fi
21536
21537done
21538
21539
21540      if test "x$ac_cv_header_libcthreads_h" = xno; then :
21541  ac_cv_libcthreads=no
21542else
21543          ac_cv_libcthreads=yes
21544
21545        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5
21546$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; }
21547if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then :
21548  $as_echo_n "(cached) " >&6
21549else
21550  ac_check_lib_save_LIBS=$LIBS
21551LIBS="-lcthreads  $LIBS"
21552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553/* end confdefs.h.  */
21554
21555/* Override any GCC internal prototype to avoid an error.
21556   Use char because int might match the return type of a GCC
21557   builtin and then its argument prototype would still apply.  */
21558#ifdef __cplusplus
21559extern "C"
21560#endif
21561char libcthreads_get_version ();
21562int
21563main ()
21564{
21565return libcthreads_get_version ();
21566  ;
21567  return 0;
21568}
21569_ACEOF
21570if ac_fn_c_try_link "$LINENO"; then :
21571  ac_cv_lib_cthreads_libcthreads_get_version=yes
21572else
21573  ac_cv_lib_cthreads_libcthreads_get_version=no
21574fi
21575rm -f core conftest.err conftest.$ac_objext \
21576    conftest$ac_exeext conftest.$ac_ext
21577LIBS=$ac_check_lib_save_LIBS
21578fi
21579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5
21580$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; }
21581if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then :
21582  ac_cv_libcthreads_dummy=yes
21583else
21584  ac_cv_libcthreads=no
21585fi
21586
21587
21588                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5
21589$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; }
21590if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then :
21591  $as_echo_n "(cached) " >&6
21592else
21593  ac_check_lib_save_LIBS=$LIBS
21594LIBS="-lcthreads  $LIBS"
21595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21596/* end confdefs.h.  */
21597
21598/* Override any GCC internal prototype to avoid an error.
21599   Use char because int might match the return type of a GCC
21600   builtin and then its argument prototype would still apply.  */
21601#ifdef __cplusplus
21602extern "C"
21603#endif
21604char libcthreads_thread_create ();
21605int
21606main ()
21607{
21608return libcthreads_thread_create ();
21609  ;
21610  return 0;
21611}
21612_ACEOF
21613if ac_fn_c_try_link "$LINENO"; then :
21614  ac_cv_lib_cthreads_libcthreads_thread_create=yes
21615else
21616  ac_cv_lib_cthreads_libcthreads_thread_create=no
21617fi
21618rm -f core conftest.err conftest.$ac_objext \
21619    conftest$ac_exeext conftest.$ac_ext
21620LIBS=$ac_check_lib_save_LIBS
21621fi
21622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5
21623$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; }
21624if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then :
21625  ac_cv_libcthreads_dummy=yes
21626else
21627  ac_cv_libcthreads=no
21628fi
21629
21630        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5
21631$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; }
21632if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then :
21633  $as_echo_n "(cached) " >&6
21634else
21635  ac_check_lib_save_LIBS=$LIBS
21636LIBS="-lcthreads  $LIBS"
21637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638/* end confdefs.h.  */
21639
21640/* Override any GCC internal prototype to avoid an error.
21641   Use char because int might match the return type of a GCC
21642   builtin and then its argument prototype would still apply.  */
21643#ifdef __cplusplus
21644extern "C"
21645#endif
21646char libcthreads_thread_join ();
21647int
21648main ()
21649{
21650return libcthreads_thread_join ();
21651  ;
21652  return 0;
21653}
21654_ACEOF
21655if ac_fn_c_try_link "$LINENO"; then :
21656  ac_cv_lib_cthreads_libcthreads_thread_join=yes
21657else
21658  ac_cv_lib_cthreads_libcthreads_thread_join=no
21659fi
21660rm -f core conftest.err conftest.$ac_objext \
21661    conftest$ac_exeext conftest.$ac_ext
21662LIBS=$ac_check_lib_save_LIBS
21663fi
21664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5
21665$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; }
21666if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then :
21667  ac_cv_libcthreads_dummy=yes
21668else
21669  ac_cv_libcthreads=no
21670fi
21671
21672
21673                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5
21674$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; }
21675if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then :
21676  $as_echo_n "(cached) " >&6
21677else
21678  ac_check_lib_save_LIBS=$LIBS
21679LIBS="-lcthreads  $LIBS"
21680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681/* end confdefs.h.  */
21682
21683/* Override any GCC internal prototype to avoid an error.
21684   Use char because int might match the return type of a GCC
21685   builtin and then its argument prototype would still apply.  */
21686#ifdef __cplusplus
21687extern "C"
21688#endif
21689char libcthreads_thread_attributes_initialize ();
21690int
21691main ()
21692{
21693return libcthreads_thread_attributes_initialize ();
21694  ;
21695  return 0;
21696}
21697_ACEOF
21698if ac_fn_c_try_link "$LINENO"; then :
21699  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes
21700else
21701  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no
21702fi
21703rm -f core conftest.err conftest.$ac_objext \
21704    conftest$ac_exeext conftest.$ac_ext
21705LIBS=$ac_check_lib_save_LIBS
21706fi
21707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5
21708$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; }
21709if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then :
21710  ac_cv_libcthreads_dummy=yes
21711else
21712  ac_cv_libcthreads=no
21713fi
21714
21715        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5
21716$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; }
21717if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then :
21718  $as_echo_n "(cached) " >&6
21719else
21720  ac_check_lib_save_LIBS=$LIBS
21721LIBS="-lcthreads  $LIBS"
21722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723/* end confdefs.h.  */
21724
21725/* Override any GCC internal prototype to avoid an error.
21726   Use char because int might match the return type of a GCC
21727   builtin and then its argument prototype would still apply.  */
21728#ifdef __cplusplus
21729extern "C"
21730#endif
21731char libcthreads_thread_attributes_free ();
21732int
21733main ()
21734{
21735return libcthreads_thread_attributes_free ();
21736  ;
21737  return 0;
21738}
21739_ACEOF
21740if ac_fn_c_try_link "$LINENO"; then :
21741  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes
21742else
21743  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no
21744fi
21745rm -f core conftest.err conftest.$ac_objext \
21746    conftest$ac_exeext conftest.$ac_ext
21747LIBS=$ac_check_lib_save_LIBS
21748fi
21749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5
21750$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; }
21751if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then :
21752  ac_cv_libcthreads_dummy=yes
21753else
21754  ac_cv_libcthreads=no
21755fi
21756
21757
21758                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5
21759$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; }
21760if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then :
21761  $as_echo_n "(cached) " >&6
21762else
21763  ac_check_lib_save_LIBS=$LIBS
21764LIBS="-lcthreads  $LIBS"
21765cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766/* end confdefs.h.  */
21767
21768/* Override any GCC internal prototype to avoid an error.
21769   Use char because int might match the return type of a GCC
21770   builtin and then its argument prototype would still apply.  */
21771#ifdef __cplusplus
21772extern "C"
21773#endif
21774char libcthreads_condition_initialize ();
21775int
21776main ()
21777{
21778return libcthreads_condition_initialize ();
21779  ;
21780  return 0;
21781}
21782_ACEOF
21783if ac_fn_c_try_link "$LINENO"; then :
21784  ac_cv_lib_cthreads_libcthreads_condition_initialize=yes
21785else
21786  ac_cv_lib_cthreads_libcthreads_condition_initialize=no
21787fi
21788rm -f core conftest.err conftest.$ac_objext \
21789    conftest$ac_exeext conftest.$ac_ext
21790LIBS=$ac_check_lib_save_LIBS
21791fi
21792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5
21793$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; }
21794if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then :
21795  ac_cv_libcthreads_dummy=yes
21796else
21797  ac_cv_libcthreads=no
21798fi
21799
21800        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5
21801$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; }
21802if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then :
21803  $as_echo_n "(cached) " >&6
21804else
21805  ac_check_lib_save_LIBS=$LIBS
21806LIBS="-lcthreads  $LIBS"
21807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21808/* end confdefs.h.  */
21809
21810/* Override any GCC internal prototype to avoid an error.
21811   Use char because int might match the return type of a GCC
21812   builtin and then its argument prototype would still apply.  */
21813#ifdef __cplusplus
21814extern "C"
21815#endif
21816char libcthreads_condition_free ();
21817int
21818main ()
21819{
21820return libcthreads_condition_free ();
21821  ;
21822  return 0;
21823}
21824_ACEOF
21825if ac_fn_c_try_link "$LINENO"; then :
21826  ac_cv_lib_cthreads_libcthreads_condition_free=yes
21827else
21828  ac_cv_lib_cthreads_libcthreads_condition_free=no
21829fi
21830rm -f core conftest.err conftest.$ac_objext \
21831    conftest$ac_exeext conftest.$ac_ext
21832LIBS=$ac_check_lib_save_LIBS
21833fi
21834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5
21835$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; }
21836if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then :
21837  ac_cv_libcthreads_dummy=yes
21838else
21839  ac_cv_libcthreads=no
21840fi
21841
21842        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5
21843$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; }
21844if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then :
21845  $as_echo_n "(cached) " >&6
21846else
21847  ac_check_lib_save_LIBS=$LIBS
21848LIBS="-lcthreads  $LIBS"
21849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850/* end confdefs.h.  */
21851
21852/* Override any GCC internal prototype to avoid an error.
21853   Use char because int might match the return type of a GCC
21854   builtin and then its argument prototype would still apply.  */
21855#ifdef __cplusplus
21856extern "C"
21857#endif
21858char libcthreads_condition_broadcast ();
21859int
21860main ()
21861{
21862return libcthreads_condition_broadcast ();
21863  ;
21864  return 0;
21865}
21866_ACEOF
21867if ac_fn_c_try_link "$LINENO"; then :
21868  ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes
21869else
21870  ac_cv_lib_cthreads_libcthreads_condition_broadcast=no
21871fi
21872rm -f core conftest.err conftest.$ac_objext \
21873    conftest$ac_exeext conftest.$ac_ext
21874LIBS=$ac_check_lib_save_LIBS
21875fi
21876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5
21877$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; }
21878if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then :
21879  ac_cv_libcthreads_dummy=yes
21880else
21881  ac_cv_libcthreads=no
21882fi
21883
21884        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5
21885$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; }
21886if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then :
21887  $as_echo_n "(cached) " >&6
21888else
21889  ac_check_lib_save_LIBS=$LIBS
21890LIBS="-lcthreads  $LIBS"
21891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21892/* end confdefs.h.  */
21893
21894/* Override any GCC internal prototype to avoid an error.
21895   Use char because int might match the return type of a GCC
21896   builtin and then its argument prototype would still apply.  */
21897#ifdef __cplusplus
21898extern "C"
21899#endif
21900char libcthreads_condition_signal ();
21901int
21902main ()
21903{
21904return libcthreads_condition_signal ();
21905  ;
21906  return 0;
21907}
21908_ACEOF
21909if ac_fn_c_try_link "$LINENO"; then :
21910  ac_cv_lib_cthreads_libcthreads_condition_signal=yes
21911else
21912  ac_cv_lib_cthreads_libcthreads_condition_signal=no
21913fi
21914rm -f core conftest.err conftest.$ac_objext \
21915    conftest$ac_exeext conftest.$ac_ext
21916LIBS=$ac_check_lib_save_LIBS
21917fi
21918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5
21919$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; }
21920if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then :
21921  ac_cv_libcthreads_dummy=yes
21922else
21923  ac_cv_libcthreads=no
21924fi
21925
21926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5
21927$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; }
21928if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then :
21929  $as_echo_n "(cached) " >&6
21930else
21931  ac_check_lib_save_LIBS=$LIBS
21932LIBS="-lcthreads  $LIBS"
21933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21934/* end confdefs.h.  */
21935
21936/* Override any GCC internal prototype to avoid an error.
21937   Use char because int might match the return type of a GCC
21938   builtin and then its argument prototype would still apply.  */
21939#ifdef __cplusplus
21940extern "C"
21941#endif
21942char libcthreads_condition_wait ();
21943int
21944main ()
21945{
21946return libcthreads_condition_wait ();
21947  ;
21948  return 0;
21949}
21950_ACEOF
21951if ac_fn_c_try_link "$LINENO"; then :
21952  ac_cv_lib_cthreads_libcthreads_condition_wait=yes
21953else
21954  ac_cv_lib_cthreads_libcthreads_condition_wait=no
21955fi
21956rm -f core conftest.err conftest.$ac_objext \
21957    conftest$ac_exeext conftest.$ac_ext
21958LIBS=$ac_check_lib_save_LIBS
21959fi
21960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5
21961$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; }
21962if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then :
21963  ac_cv_libcthreads_dummy=yes
21964else
21965  ac_cv_libcthreads=no
21966fi
21967
21968
21969                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5
21970$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; }
21971if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then :
21972  $as_echo_n "(cached) " >&6
21973else
21974  ac_check_lib_save_LIBS=$LIBS
21975LIBS="-lcthreads  $LIBS"
21976cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21977/* end confdefs.h.  */
21978
21979/* Override any GCC internal prototype to avoid an error.
21980   Use char because int might match the return type of a GCC
21981   builtin and then its argument prototype would still apply.  */
21982#ifdef __cplusplus
21983extern "C"
21984#endif
21985char libcthreads_lock_initialize ();
21986int
21987main ()
21988{
21989return libcthreads_lock_initialize ();
21990  ;
21991  return 0;
21992}
21993_ACEOF
21994if ac_fn_c_try_link "$LINENO"; then :
21995  ac_cv_lib_cthreads_libcthreads_lock_initialize=yes
21996else
21997  ac_cv_lib_cthreads_libcthreads_lock_initialize=no
21998fi
21999rm -f core conftest.err conftest.$ac_objext \
22000    conftest$ac_exeext conftest.$ac_ext
22001LIBS=$ac_check_lib_save_LIBS
22002fi
22003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5
22004$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; }
22005if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then :
22006  ac_cv_libcthreads_dummy=yes
22007else
22008  ac_cv_libcthreads=no
22009fi
22010
22011        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5
22012$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; }
22013if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then :
22014  $as_echo_n "(cached) " >&6
22015else
22016  ac_check_lib_save_LIBS=$LIBS
22017LIBS="-lcthreads  $LIBS"
22018cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22019/* end confdefs.h.  */
22020
22021/* Override any GCC internal prototype to avoid an error.
22022   Use char because int might match the return type of a GCC
22023   builtin and then its argument prototype would still apply.  */
22024#ifdef __cplusplus
22025extern "C"
22026#endif
22027char libcthreads_lock_free ();
22028int
22029main ()
22030{
22031return libcthreads_lock_free ();
22032  ;
22033  return 0;
22034}
22035_ACEOF
22036if ac_fn_c_try_link "$LINENO"; then :
22037  ac_cv_lib_cthreads_libcthreads_lock_free=yes
22038else
22039  ac_cv_lib_cthreads_libcthreads_lock_free=no
22040fi
22041rm -f core conftest.err conftest.$ac_objext \
22042    conftest$ac_exeext conftest.$ac_ext
22043LIBS=$ac_check_lib_save_LIBS
22044fi
22045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5
22046$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; }
22047if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then :
22048  ac_cv_libcthreads_dummy=yes
22049else
22050  ac_cv_libcthreads=no
22051fi
22052
22053        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5
22054$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; }
22055if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then :
22056  $as_echo_n "(cached) " >&6
22057else
22058  ac_check_lib_save_LIBS=$LIBS
22059LIBS="-lcthreads  $LIBS"
22060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22061/* end confdefs.h.  */
22062
22063/* Override any GCC internal prototype to avoid an error.
22064   Use char because int might match the return type of a GCC
22065   builtin and then its argument prototype would still apply.  */
22066#ifdef __cplusplus
22067extern "C"
22068#endif
22069char libcthreads_lock_grab ();
22070int
22071main ()
22072{
22073return libcthreads_lock_grab ();
22074  ;
22075  return 0;
22076}
22077_ACEOF
22078if ac_fn_c_try_link "$LINENO"; then :
22079  ac_cv_lib_cthreads_libcthreads_lock_grab=yes
22080else
22081  ac_cv_lib_cthreads_libcthreads_lock_grab=no
22082fi
22083rm -f core conftest.err conftest.$ac_objext \
22084    conftest$ac_exeext conftest.$ac_ext
22085LIBS=$ac_check_lib_save_LIBS
22086fi
22087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5
22088$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; }
22089if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then :
22090  ac_cv_libcthreads_dummy=yes
22091else
22092  ac_cv_libcthreads=no
22093fi
22094
22095        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5
22096$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; }
22097if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then :
22098  $as_echo_n "(cached) " >&6
22099else
22100  ac_check_lib_save_LIBS=$LIBS
22101LIBS="-lcthreads  $LIBS"
22102cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22103/* end confdefs.h.  */
22104
22105/* Override any GCC internal prototype to avoid an error.
22106   Use char because int might match the return type of a GCC
22107   builtin and then its argument prototype would still apply.  */
22108#ifdef __cplusplus
22109extern "C"
22110#endif
22111char libcthreads_lock_release ();
22112int
22113main ()
22114{
22115return libcthreads_lock_release ();
22116  ;
22117  return 0;
22118}
22119_ACEOF
22120if ac_fn_c_try_link "$LINENO"; then :
22121  ac_cv_lib_cthreads_libcthreads_lock_release=yes
22122else
22123  ac_cv_lib_cthreads_libcthreads_lock_release=no
22124fi
22125rm -f core conftest.err conftest.$ac_objext \
22126    conftest$ac_exeext conftest.$ac_ext
22127LIBS=$ac_check_lib_save_LIBS
22128fi
22129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5
22130$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; }
22131if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then :
22132  ac_cv_libcthreads_dummy=yes
22133else
22134  ac_cv_libcthreads=no
22135fi
22136
22137
22138                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5
22139$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; }
22140if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then :
22141  $as_echo_n "(cached) " >&6
22142else
22143  ac_check_lib_save_LIBS=$LIBS
22144LIBS="-lcthreads  $LIBS"
22145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22146/* end confdefs.h.  */
22147
22148/* Override any GCC internal prototype to avoid an error.
22149   Use char because int might match the return type of a GCC
22150   builtin and then its argument prototype would still apply.  */
22151#ifdef __cplusplus
22152extern "C"
22153#endif
22154char libcthreads_mutex_initialize ();
22155int
22156main ()
22157{
22158return libcthreads_mutex_initialize ();
22159  ;
22160  return 0;
22161}
22162_ACEOF
22163if ac_fn_c_try_link "$LINENO"; then :
22164  ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes
22165else
22166  ac_cv_lib_cthreads_libcthreads_mutex_initialize=no
22167fi
22168rm -f core conftest.err conftest.$ac_objext \
22169    conftest$ac_exeext conftest.$ac_ext
22170LIBS=$ac_check_lib_save_LIBS
22171fi
22172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5
22173$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; }
22174if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then :
22175  ac_cv_libcthreads_dummy=yes
22176else
22177  ac_cv_libcthreads=no
22178fi
22179
22180        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5
22181$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; }
22182if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then :
22183  $as_echo_n "(cached) " >&6
22184else
22185  ac_check_lib_save_LIBS=$LIBS
22186LIBS="-lcthreads  $LIBS"
22187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22188/* end confdefs.h.  */
22189
22190/* Override any GCC internal prototype to avoid an error.
22191   Use char because int might match the return type of a GCC
22192   builtin and then its argument prototype would still apply.  */
22193#ifdef __cplusplus
22194extern "C"
22195#endif
22196char libcthreads_mutex_free ();
22197int
22198main ()
22199{
22200return libcthreads_mutex_free ();
22201  ;
22202  return 0;
22203}
22204_ACEOF
22205if ac_fn_c_try_link "$LINENO"; then :
22206  ac_cv_lib_cthreads_libcthreads_mutex_free=yes
22207else
22208  ac_cv_lib_cthreads_libcthreads_mutex_free=no
22209fi
22210rm -f core conftest.err conftest.$ac_objext \
22211    conftest$ac_exeext conftest.$ac_ext
22212LIBS=$ac_check_lib_save_LIBS
22213fi
22214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5
22215$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; }
22216if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then :
22217  ac_cv_libcthreads_dummy=yes
22218else
22219  ac_cv_libcthreads=no
22220fi
22221
22222        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5
22223$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; }
22224if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then :
22225  $as_echo_n "(cached) " >&6
22226else
22227  ac_check_lib_save_LIBS=$LIBS
22228LIBS="-lcthreads  $LIBS"
22229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22230/* end confdefs.h.  */
22231
22232/* Override any GCC internal prototype to avoid an error.
22233   Use char because int might match the return type of a GCC
22234   builtin and then its argument prototype would still apply.  */
22235#ifdef __cplusplus
22236extern "C"
22237#endif
22238char libcthreads_mutex_grab ();
22239int
22240main ()
22241{
22242return libcthreads_mutex_grab ();
22243  ;
22244  return 0;
22245}
22246_ACEOF
22247if ac_fn_c_try_link "$LINENO"; then :
22248  ac_cv_lib_cthreads_libcthreads_mutex_grab=yes
22249else
22250  ac_cv_lib_cthreads_libcthreads_mutex_grab=no
22251fi
22252rm -f core conftest.err conftest.$ac_objext \
22253    conftest$ac_exeext conftest.$ac_ext
22254LIBS=$ac_check_lib_save_LIBS
22255fi
22256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5
22257$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; }
22258if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then :
22259  ac_cv_libcthreads_dummy=yes
22260else
22261  ac_cv_libcthreads=no
22262fi
22263
22264        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5
22265$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; }
22266if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then :
22267  $as_echo_n "(cached) " >&6
22268else
22269  ac_check_lib_save_LIBS=$LIBS
22270LIBS="-lcthreads  $LIBS"
22271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22272/* end confdefs.h.  */
22273
22274/* Override any GCC internal prototype to avoid an error.
22275   Use char because int might match the return type of a GCC
22276   builtin and then its argument prototype would still apply.  */
22277#ifdef __cplusplus
22278extern "C"
22279#endif
22280char libcthreads_mutex_try_grab ();
22281int
22282main ()
22283{
22284return libcthreads_mutex_try_grab ();
22285  ;
22286  return 0;
22287}
22288_ACEOF
22289if ac_fn_c_try_link "$LINENO"; then :
22290  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes
22291else
22292  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no
22293fi
22294rm -f core conftest.err conftest.$ac_objext \
22295    conftest$ac_exeext conftest.$ac_ext
22296LIBS=$ac_check_lib_save_LIBS
22297fi
22298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5
22299$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; }
22300if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then :
22301  ac_cv_libcthreads_dummy=yes
22302else
22303  ac_cv_libcthreads=no
22304fi
22305
22306        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5
22307$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; }
22308if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then :
22309  $as_echo_n "(cached) " >&6
22310else
22311  ac_check_lib_save_LIBS=$LIBS
22312LIBS="-lcthreads  $LIBS"
22313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314/* end confdefs.h.  */
22315
22316/* Override any GCC internal prototype to avoid an error.
22317   Use char because int might match the return type of a GCC
22318   builtin and then its argument prototype would still apply.  */
22319#ifdef __cplusplus
22320extern "C"
22321#endif
22322char libcthreads_mutex_release ();
22323int
22324main ()
22325{
22326return libcthreads_mutex_release ();
22327  ;
22328  return 0;
22329}
22330_ACEOF
22331if ac_fn_c_try_link "$LINENO"; then :
22332  ac_cv_lib_cthreads_libcthreads_mutex_release=yes
22333else
22334  ac_cv_lib_cthreads_libcthreads_mutex_release=no
22335fi
22336rm -f core conftest.err conftest.$ac_objext \
22337    conftest$ac_exeext conftest.$ac_ext
22338LIBS=$ac_check_lib_save_LIBS
22339fi
22340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5
22341$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; }
22342if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then :
22343  ac_cv_libcthreads_dummy=yes
22344else
22345  ac_cv_libcthreads=no
22346fi
22347
22348
22349                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5
22350$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; }
22351if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then :
22352  $as_echo_n "(cached) " >&6
22353else
22354  ac_check_lib_save_LIBS=$LIBS
22355LIBS="-lcthreads  $LIBS"
22356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357/* end confdefs.h.  */
22358
22359/* Override any GCC internal prototype to avoid an error.
22360   Use char because int might match the return type of a GCC
22361   builtin and then its argument prototype would still apply.  */
22362#ifdef __cplusplus
22363extern "C"
22364#endif
22365char libcthreads_read_write_lock_initialize ();
22366int
22367main ()
22368{
22369return libcthreads_read_write_lock_initialize ();
22370  ;
22371  return 0;
22372}
22373_ACEOF
22374if ac_fn_c_try_link "$LINENO"; then :
22375  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes
22376else
22377  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no
22378fi
22379rm -f core conftest.err conftest.$ac_objext \
22380    conftest$ac_exeext conftest.$ac_ext
22381LIBS=$ac_check_lib_save_LIBS
22382fi
22383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5
22384$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; }
22385if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then :
22386  ac_cv_libcthreads_dummy=yes
22387else
22388  ac_cv_libcthreads=no
22389fi
22390
22391        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5
22392$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; }
22393if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then :
22394  $as_echo_n "(cached) " >&6
22395else
22396  ac_check_lib_save_LIBS=$LIBS
22397LIBS="-lcthreads  $LIBS"
22398cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399/* end confdefs.h.  */
22400
22401/* Override any GCC internal prototype to avoid an error.
22402   Use char because int might match the return type of a GCC
22403   builtin and then its argument prototype would still apply.  */
22404#ifdef __cplusplus
22405extern "C"
22406#endif
22407char libcthreads_read_write_lock_free ();
22408int
22409main ()
22410{
22411return libcthreads_read_write_lock_free ();
22412  ;
22413  return 0;
22414}
22415_ACEOF
22416if ac_fn_c_try_link "$LINENO"; then :
22417  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes
22418else
22419  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no
22420fi
22421rm -f core conftest.err conftest.$ac_objext \
22422    conftest$ac_exeext conftest.$ac_ext
22423LIBS=$ac_check_lib_save_LIBS
22424fi
22425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5
22426$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; }
22427if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then :
22428  ac_cv_libcthreads_dummy=yes
22429else
22430  ac_cv_libcthreads=no
22431fi
22432
22433        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5
22434$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; }
22435if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then :
22436  $as_echo_n "(cached) " >&6
22437else
22438  ac_check_lib_save_LIBS=$LIBS
22439LIBS="-lcthreads  $LIBS"
22440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441/* end confdefs.h.  */
22442
22443/* Override any GCC internal prototype to avoid an error.
22444   Use char because int might match the return type of a GCC
22445   builtin and then its argument prototype would still apply.  */
22446#ifdef __cplusplus
22447extern "C"
22448#endif
22449char libcthreads_read_write_lock_grab_for_read ();
22450int
22451main ()
22452{
22453return libcthreads_read_write_lock_grab_for_read ();
22454  ;
22455  return 0;
22456}
22457_ACEOF
22458if ac_fn_c_try_link "$LINENO"; then :
22459  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes
22460else
22461  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no
22462fi
22463rm -f core conftest.err conftest.$ac_objext \
22464    conftest$ac_exeext conftest.$ac_ext
22465LIBS=$ac_check_lib_save_LIBS
22466fi
22467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5
22468$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; }
22469if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then :
22470  ac_cv_libcthreads_dummy=yes
22471else
22472  ac_cv_libcthreads=no
22473fi
22474
22475        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5
22476$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; }
22477if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then :
22478  $as_echo_n "(cached) " >&6
22479else
22480  ac_check_lib_save_LIBS=$LIBS
22481LIBS="-lcthreads  $LIBS"
22482cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22483/* end confdefs.h.  */
22484
22485/* Override any GCC internal prototype to avoid an error.
22486   Use char because int might match the return type of a GCC
22487   builtin and then its argument prototype would still apply.  */
22488#ifdef __cplusplus
22489extern "C"
22490#endif
22491char libcthreads_read_write_lock_grab_for_write ();
22492int
22493main ()
22494{
22495return libcthreads_read_write_lock_grab_for_write ();
22496  ;
22497  return 0;
22498}
22499_ACEOF
22500if ac_fn_c_try_link "$LINENO"; then :
22501  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes
22502else
22503  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no
22504fi
22505rm -f core conftest.err conftest.$ac_objext \
22506    conftest$ac_exeext conftest.$ac_ext
22507LIBS=$ac_check_lib_save_LIBS
22508fi
22509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5
22510$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; }
22511if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then :
22512  ac_cv_libcthreads_dummy=yes
22513else
22514  ac_cv_libcthreads=no
22515fi
22516
22517        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5
22518$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; }
22519if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then :
22520  $as_echo_n "(cached) " >&6
22521else
22522  ac_check_lib_save_LIBS=$LIBS
22523LIBS="-lcthreads  $LIBS"
22524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22525/* end confdefs.h.  */
22526
22527/* Override any GCC internal prototype to avoid an error.
22528   Use char because int might match the return type of a GCC
22529   builtin and then its argument prototype would still apply.  */
22530#ifdef __cplusplus
22531extern "C"
22532#endif
22533char libcthreads_read_write_lock_release_for_read ();
22534int
22535main ()
22536{
22537return libcthreads_read_write_lock_release_for_read ();
22538  ;
22539  return 0;
22540}
22541_ACEOF
22542if ac_fn_c_try_link "$LINENO"; then :
22543  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes
22544else
22545  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no
22546fi
22547rm -f core conftest.err conftest.$ac_objext \
22548    conftest$ac_exeext conftest.$ac_ext
22549LIBS=$ac_check_lib_save_LIBS
22550fi
22551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5
22552$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; }
22553if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then :
22554  ac_cv_libcthreads_dummy=yes
22555else
22556  ac_cv_libcthreads=no
22557fi
22558
22559        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5
22560$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; }
22561if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then :
22562  $as_echo_n "(cached) " >&6
22563else
22564  ac_check_lib_save_LIBS=$LIBS
22565LIBS="-lcthreads  $LIBS"
22566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22567/* end confdefs.h.  */
22568
22569/* Override any GCC internal prototype to avoid an error.
22570   Use char because int might match the return type of a GCC
22571   builtin and then its argument prototype would still apply.  */
22572#ifdef __cplusplus
22573extern "C"
22574#endif
22575char libcthreads_read_write_lock_release_for_write ();
22576int
22577main ()
22578{
22579return libcthreads_read_write_lock_release_for_write ();
22580  ;
22581  return 0;
22582}
22583_ACEOF
22584if ac_fn_c_try_link "$LINENO"; then :
22585  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes
22586else
22587  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no
22588fi
22589rm -f core conftest.err conftest.$ac_objext \
22590    conftest$ac_exeext conftest.$ac_ext
22591LIBS=$ac_check_lib_save_LIBS
22592fi
22593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5
22594$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; }
22595if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then :
22596  ac_cv_libcthreads_dummy=yes
22597else
22598  ac_cv_libcthreads=no
22599fi
22600
22601
22602                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5
22603$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; }
22604if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then :
22605  $as_echo_n "(cached) " >&6
22606else
22607  ac_check_lib_save_LIBS=$LIBS
22608LIBS="-lcthreads  $LIBS"
22609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610/* end confdefs.h.  */
22611
22612/* Override any GCC internal prototype to avoid an error.
22613   Use char because int might match the return type of a GCC
22614   builtin and then its argument prototype would still apply.  */
22615#ifdef __cplusplus
22616extern "C"
22617#endif
22618char libcthreads_queue_initialize ();
22619int
22620main ()
22621{
22622return libcthreads_queue_initialize ();
22623  ;
22624  return 0;
22625}
22626_ACEOF
22627if ac_fn_c_try_link "$LINENO"; then :
22628  ac_cv_lib_cthreads_libcthreads_queue_initialize=yes
22629else
22630  ac_cv_lib_cthreads_libcthreads_queue_initialize=no
22631fi
22632rm -f core conftest.err conftest.$ac_objext \
22633    conftest$ac_exeext conftest.$ac_ext
22634LIBS=$ac_check_lib_save_LIBS
22635fi
22636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5
22637$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; }
22638if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then :
22639  ac_cv_libcthreads_dummy=yes
22640else
22641  ac_cv_libcthreads=no
22642fi
22643
22644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5
22645$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; }
22646if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then :
22647  $as_echo_n "(cached) " >&6
22648else
22649  ac_check_lib_save_LIBS=$LIBS
22650LIBS="-lcthreads  $LIBS"
22651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22652/* end confdefs.h.  */
22653
22654/* Override any GCC internal prototype to avoid an error.
22655   Use char because int might match the return type of a GCC
22656   builtin and then its argument prototype would still apply.  */
22657#ifdef __cplusplus
22658extern "C"
22659#endif
22660char libcthreads_queue_free ();
22661int
22662main ()
22663{
22664return libcthreads_queue_free ();
22665  ;
22666  return 0;
22667}
22668_ACEOF
22669if ac_fn_c_try_link "$LINENO"; then :
22670  ac_cv_lib_cthreads_libcthreads_queue_free=yes
22671else
22672  ac_cv_lib_cthreads_libcthreads_queue_free=no
22673fi
22674rm -f core conftest.err conftest.$ac_objext \
22675    conftest$ac_exeext conftest.$ac_ext
22676LIBS=$ac_check_lib_save_LIBS
22677fi
22678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5
22679$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; }
22680if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then :
22681  ac_cv_libcthreads_dummy=yes
22682else
22683  ac_cv_libcthreads=no
22684fi
22685
22686        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5
22687$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; }
22688if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then :
22689  $as_echo_n "(cached) " >&6
22690else
22691  ac_check_lib_save_LIBS=$LIBS
22692LIBS="-lcthreads  $LIBS"
22693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22694/* end confdefs.h.  */
22695
22696/* Override any GCC internal prototype to avoid an error.
22697   Use char because int might match the return type of a GCC
22698   builtin and then its argument prototype would still apply.  */
22699#ifdef __cplusplus
22700extern "C"
22701#endif
22702char libcthreads_queue_type_pop ();
22703int
22704main ()
22705{
22706return libcthreads_queue_type_pop ();
22707  ;
22708  return 0;
22709}
22710_ACEOF
22711if ac_fn_c_try_link "$LINENO"; then :
22712  ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes
22713else
22714  ac_cv_lib_cthreads_libcthreads_queue_type_pop=no
22715fi
22716rm -f core conftest.err conftest.$ac_objext \
22717    conftest$ac_exeext conftest.$ac_ext
22718LIBS=$ac_check_lib_save_LIBS
22719fi
22720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5
22721$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; }
22722if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then :
22723  ac_cv_libcthreads_dummy=yes
22724else
22725  ac_cv_libcthreads=no
22726fi
22727
22728        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5
22729$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; }
22730if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then :
22731  $as_echo_n "(cached) " >&6
22732else
22733  ac_check_lib_save_LIBS=$LIBS
22734LIBS="-lcthreads  $LIBS"
22735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22736/* end confdefs.h.  */
22737
22738/* Override any GCC internal prototype to avoid an error.
22739   Use char because int might match the return type of a GCC
22740   builtin and then its argument prototype would still apply.  */
22741#ifdef __cplusplus
22742extern "C"
22743#endif
22744char libcthreads_queue_pop ();
22745int
22746main ()
22747{
22748return libcthreads_queue_pop ();
22749  ;
22750  return 0;
22751}
22752_ACEOF
22753if ac_fn_c_try_link "$LINENO"; then :
22754  ac_cv_lib_cthreads_libcthreads_queue_pop=yes
22755else
22756  ac_cv_lib_cthreads_libcthreads_queue_pop=no
22757fi
22758rm -f core conftest.err conftest.$ac_objext \
22759    conftest$ac_exeext conftest.$ac_ext
22760LIBS=$ac_check_lib_save_LIBS
22761fi
22762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5
22763$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; }
22764if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then :
22765  ac_cv_libcthreads_dummy=yes
22766else
22767  ac_cv_libcthreads=no
22768fi
22769
22770        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5
22771$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; }
22772if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then :
22773  $as_echo_n "(cached) " >&6
22774else
22775  ac_check_lib_save_LIBS=$LIBS
22776LIBS="-lcthreads  $LIBS"
22777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22778/* end confdefs.h.  */
22779
22780/* Override any GCC internal prototype to avoid an error.
22781   Use char because int might match the return type of a GCC
22782   builtin and then its argument prototype would still apply.  */
22783#ifdef __cplusplus
22784extern "C"
22785#endif
22786char libcthreads_queue_try_push ();
22787int
22788main ()
22789{
22790return libcthreads_queue_try_push ();
22791  ;
22792  return 0;
22793}
22794_ACEOF
22795if ac_fn_c_try_link "$LINENO"; then :
22796  ac_cv_lib_cthreads_libcthreads_queue_try_push=yes
22797else
22798  ac_cv_lib_cthreads_libcthreads_queue_try_push=no
22799fi
22800rm -f core conftest.err conftest.$ac_objext \
22801    conftest$ac_exeext conftest.$ac_ext
22802LIBS=$ac_check_lib_save_LIBS
22803fi
22804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5
22805$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; }
22806if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then :
22807  ac_cv_libcthreads_dummy=yes
22808else
22809  ac_cv_libcthreads=no
22810fi
22811
22812        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5
22813$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; }
22814if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then :
22815  $as_echo_n "(cached) " >&6
22816else
22817  ac_check_lib_save_LIBS=$LIBS
22818LIBS="-lcthreads  $LIBS"
22819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820/* end confdefs.h.  */
22821
22822/* Override any GCC internal prototype to avoid an error.
22823   Use char because int might match the return type of a GCC
22824   builtin and then its argument prototype would still apply.  */
22825#ifdef __cplusplus
22826extern "C"
22827#endif
22828char libcthreads_queue_push ();
22829int
22830main ()
22831{
22832return libcthreads_queue_push ();
22833  ;
22834  return 0;
22835}
22836_ACEOF
22837if ac_fn_c_try_link "$LINENO"; then :
22838  ac_cv_lib_cthreads_libcthreads_queue_push=yes
22839else
22840  ac_cv_lib_cthreads_libcthreads_queue_push=no
22841fi
22842rm -f core conftest.err conftest.$ac_objext \
22843    conftest$ac_exeext conftest.$ac_ext
22844LIBS=$ac_check_lib_save_LIBS
22845fi
22846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5
22847$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; }
22848if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then :
22849  ac_cv_libcthreads_dummy=yes
22850else
22851  ac_cv_libcthreads=no
22852fi
22853
22854        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5
22855$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; }
22856if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then :
22857  $as_echo_n "(cached) " >&6
22858else
22859  ac_check_lib_save_LIBS=$LIBS
22860LIBS="-lcthreads  $LIBS"
22861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22862/* end confdefs.h.  */
22863
22864/* Override any GCC internal prototype to avoid an error.
22865   Use char because int might match the return type of a GCC
22866   builtin and then its argument prototype would still apply.  */
22867#ifdef __cplusplus
22868extern "C"
22869#endif
22870char libcthreads_queue_push_sorted ();
22871int
22872main ()
22873{
22874return libcthreads_queue_push_sorted ();
22875  ;
22876  return 0;
22877}
22878_ACEOF
22879if ac_fn_c_try_link "$LINENO"; then :
22880  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes
22881else
22882  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no
22883fi
22884rm -f core conftest.err conftest.$ac_objext \
22885    conftest$ac_exeext conftest.$ac_ext
22886LIBS=$ac_check_lib_save_LIBS
22887fi
22888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5
22889$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; }
22890if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then :
22891  ac_cv_libcthreads_dummy=yes
22892else
22893  ac_cv_libcthreads=no
22894fi
22895
22896
22897                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5
22898$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; }
22899if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then :
22900  $as_echo_n "(cached) " >&6
22901else
22902  ac_check_lib_save_LIBS=$LIBS
22903LIBS="-lcthreads  $LIBS"
22904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905/* end confdefs.h.  */
22906
22907/* Override any GCC internal prototype to avoid an error.
22908   Use char because int might match the return type of a GCC
22909   builtin and then its argument prototype would still apply.  */
22910#ifdef __cplusplus
22911extern "C"
22912#endif
22913char libcthreads_thread_pool_create ();
22914int
22915main ()
22916{
22917return libcthreads_thread_pool_create ();
22918  ;
22919  return 0;
22920}
22921_ACEOF
22922if ac_fn_c_try_link "$LINENO"; then :
22923  ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes
22924else
22925  ac_cv_lib_cthreads_libcthreads_thread_pool_create=no
22926fi
22927rm -f core conftest.err conftest.$ac_objext \
22928    conftest$ac_exeext conftest.$ac_ext
22929LIBS=$ac_check_lib_save_LIBS
22930fi
22931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5
22932$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; }
22933if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then :
22934  ac_cv_libcthreads_dummy=yes
22935else
22936  ac_cv_libcthreads=no
22937fi
22938
22939        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5
22940$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; }
22941if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then :
22942  $as_echo_n "(cached) " >&6
22943else
22944  ac_check_lib_save_LIBS=$LIBS
22945LIBS="-lcthreads  $LIBS"
22946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22947/* end confdefs.h.  */
22948
22949/* Override any GCC internal prototype to avoid an error.
22950   Use char because int might match the return type of a GCC
22951   builtin and then its argument prototype would still apply.  */
22952#ifdef __cplusplus
22953extern "C"
22954#endif
22955char libcthreads_thread_pool_push ();
22956int
22957main ()
22958{
22959return libcthreads_thread_pool_push ();
22960  ;
22961  return 0;
22962}
22963_ACEOF
22964if ac_fn_c_try_link "$LINENO"; then :
22965  ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes
22966else
22967  ac_cv_lib_cthreads_libcthreads_thread_pool_push=no
22968fi
22969rm -f core conftest.err conftest.$ac_objext \
22970    conftest$ac_exeext conftest.$ac_ext
22971LIBS=$ac_check_lib_save_LIBS
22972fi
22973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5
22974$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; }
22975if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then :
22976  ac_cv_libcthreads_dummy=yes
22977else
22978  ac_cv_libcthreads=no
22979fi
22980
22981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5
22982$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; }
22983if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then :
22984  $as_echo_n "(cached) " >&6
22985else
22986  ac_check_lib_save_LIBS=$LIBS
22987LIBS="-lcthreads  $LIBS"
22988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22989/* end confdefs.h.  */
22990
22991/* Override any GCC internal prototype to avoid an error.
22992   Use char because int might match the return type of a GCC
22993   builtin and then its argument prototype would still apply.  */
22994#ifdef __cplusplus
22995extern "C"
22996#endif
22997char libcthreads_thread_pool_push_sorted ();
22998int
22999main ()
23000{
23001return libcthreads_thread_pool_push_sorted ();
23002  ;
23003  return 0;
23004}
23005_ACEOF
23006if ac_fn_c_try_link "$LINENO"; then :
23007  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes
23008else
23009  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no
23010fi
23011rm -f core conftest.err conftest.$ac_objext \
23012    conftest$ac_exeext conftest.$ac_ext
23013LIBS=$ac_check_lib_save_LIBS
23014fi
23015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5
23016$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; }
23017if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then :
23018  ac_cv_libcthreads_dummy=yes
23019else
23020  ac_cv_libcthreads=no
23021fi
23022
23023        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5
23024$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; }
23025if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then :
23026  $as_echo_n "(cached) " >&6
23027else
23028  ac_check_lib_save_LIBS=$LIBS
23029LIBS="-lcthreads  $LIBS"
23030cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031/* end confdefs.h.  */
23032
23033/* Override any GCC internal prototype to avoid an error.
23034   Use char because int might match the return type of a GCC
23035   builtin and then its argument prototype would still apply.  */
23036#ifdef __cplusplus
23037extern "C"
23038#endif
23039char libcthreads_thread_pool_join ();
23040int
23041main ()
23042{
23043return libcthreads_thread_pool_join ();
23044  ;
23045  return 0;
23046}
23047_ACEOF
23048if ac_fn_c_try_link "$LINENO"; then :
23049  ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes
23050else
23051  ac_cv_lib_cthreads_libcthreads_thread_pool_join=no
23052fi
23053rm -f core conftest.err conftest.$ac_objext \
23054    conftest$ac_exeext conftest.$ac_ext
23055LIBS=$ac_check_lib_save_LIBS
23056fi
23057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5
23058$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; }
23059if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then :
23060  ac_cv_libcthreads_dummy=yes
23061else
23062  ac_cv_libcthreads=no
23063fi
23064
23065
23066        ac_cv_libcthreads_LIBADD="-lcthreads"
23067fi
23068
23069fi
23070
23071    if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then :
23072  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23074as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads
23075See \`config.log' for more details" "$LINENO" 5; }
23076
23077fi
23078
23079fi
23080
23081  if test "x$ac_cv_libcthreads" = xyes; then :
23082
23083$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h
23084
23085
23086fi
23087
23088  if test "x$ac_cv_libcthreads" = xyes; then :
23089  ac_cv_libcthreads_multi_threading=libcthreads
23090else
23091  ac_cv_libcthreads_multi_threading=no
23092fi
23093
23094  if test "x$ac_cv_libcthreads" = xyes; then :
23095  HAVE_LIBCTHREADS=1
23096
23097else
23098  HAVE_LIBCTHREADS=0
23099
23100
23101fi
23102
23103
23104        if test "x$ac_cv_libcthreads" != xyes; then :
23105  if test "x$ac_cv_enable_winapi" = xno; then :
23106
23107
23108# Check whether --with-pthread was given.
23109if test "${with_pthread+set}" = set; then :
23110  withval=$with_pthread; ac_cv_with_pthread=$withval
23111else
23112  ac_cv_with_pthread=auto-detect
23113fi
23114
23115    { $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
23116$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; }
23117if ${ac_cv_with_pthread+:} false; then :
23118  $as_echo_n "(cached) " >&6
23119else
23120  ac_cv_with_pthread=auto-detect
23121fi
23122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5
23123$as_echo "$ac_cv_with_pthread" >&6; }
23124
23125   if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then :
23126  if test -d "$ac_cv_with_pthread"; then :
23127  CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include"
23128   LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"
23129else
23130  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5
23131$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;}
23132
23133fi
23134
23135fi
23136
23137 if test "x$ac_cv_with_pthread" = xno; then :
23138  ac_cv_pthread=no
23139else
23140    for ac_header in pthread.h
23141do :
23142  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
23143if test "x$ac_cv_header_pthread_h" = xyes; then :
23144  cat >>confdefs.h <<_ACEOF
23145#define HAVE_PTHREAD_H 1
23146_ACEOF
23147
23148fi
23149
23150done
23151
23152
23153  if test "x$ac_cv_header_pthread_h" = xno; then :
23154  ac_cv_pthread=no
23155else
23156     ac_cv_pthread=pthread
23157
23158      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
23159$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
23160if ${ac_cv_lib_pthread_pthread_create+:} false; then :
23161  $as_echo_n "(cached) " >&6
23162else
23163  ac_check_lib_save_LIBS=$LIBS
23164LIBS="-lpthread  $LIBS"
23165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23166/* end confdefs.h.  */
23167
23168/* Override any GCC internal prototype to avoid an error.
23169   Use char because int might match the return type of a GCC
23170   builtin and then its argument prototype would still apply.  */
23171#ifdef __cplusplus
23172extern "C"
23173#endif
23174char pthread_create ();
23175int
23176main ()
23177{
23178return pthread_create ();
23179  ;
23180  return 0;
23181}
23182_ACEOF
23183if ac_fn_c_try_link "$LINENO"; then :
23184  ac_cv_lib_pthread_pthread_create=yes
23185else
23186  ac_cv_lib_pthread_pthread_create=no
23187fi
23188rm -f core conftest.err conftest.$ac_objext \
23189    conftest$ac_exeext conftest.$ac_ext
23190LIBS=$ac_check_lib_save_LIBS
23191fi
23192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
23193$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
23194if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
23195  ac_pthread_dummy=yes
23196else
23197  ac_cv_pthread=no
23198fi
23199
23200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5
23201$as_echo_n "checking for pthread_exit in -lpthread... " >&6; }
23202if ${ac_cv_lib_pthread_pthread_exit+:} false; then :
23203  $as_echo_n "(cached) " >&6
23204else
23205  ac_check_lib_save_LIBS=$LIBS
23206LIBS="-lpthread  $LIBS"
23207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208/* end confdefs.h.  */
23209
23210/* Override any GCC internal prototype to avoid an error.
23211   Use char because int might match the return type of a GCC
23212   builtin and then its argument prototype would still apply.  */
23213#ifdef __cplusplus
23214extern "C"
23215#endif
23216char pthread_exit ();
23217int
23218main ()
23219{
23220return pthread_exit ();
23221  ;
23222  return 0;
23223}
23224_ACEOF
23225if ac_fn_c_try_link "$LINENO"; then :
23226  ac_cv_lib_pthread_pthread_exit=yes
23227else
23228  ac_cv_lib_pthread_pthread_exit=no
23229fi
23230rm -f core conftest.err conftest.$ac_objext \
23231    conftest$ac_exeext conftest.$ac_ext
23232LIBS=$ac_check_lib_save_LIBS
23233fi
23234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5
23235$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; }
23236if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then :
23237  ac_pthread_dummy=yes
23238else
23239  ac_cv_pthread=no
23240fi
23241
23242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
23243$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
23244if ${ac_cv_lib_pthread_pthread_join+:} false; then :
23245  $as_echo_n "(cached) " >&6
23246else
23247  ac_check_lib_save_LIBS=$LIBS
23248LIBS="-lpthread  $LIBS"
23249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23250/* end confdefs.h.  */
23251
23252/* Override any GCC internal prototype to avoid an error.
23253   Use char because int might match the return type of a GCC
23254   builtin and then its argument prototype would still apply.  */
23255#ifdef __cplusplus
23256extern "C"
23257#endif
23258char pthread_join ();
23259int
23260main ()
23261{
23262return pthread_join ();
23263  ;
23264  return 0;
23265}
23266_ACEOF
23267if ac_fn_c_try_link "$LINENO"; then :
23268  ac_cv_lib_pthread_pthread_join=yes
23269else
23270  ac_cv_lib_pthread_pthread_join=no
23271fi
23272rm -f core conftest.err conftest.$ac_objext \
23273    conftest$ac_exeext conftest.$ac_ext
23274LIBS=$ac_check_lib_save_LIBS
23275fi
23276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
23277$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
23278if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
23279  ac_pthread_dummy=yes
23280else
23281  ac_cv_pthread=no
23282fi
23283
23284
23285      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5
23286$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; }
23287if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then :
23288  $as_echo_n "(cached) " >&6
23289else
23290  ac_check_lib_save_LIBS=$LIBS
23291LIBS="-lpthread  $LIBS"
23292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293/* end confdefs.h.  */
23294
23295/* Override any GCC internal prototype to avoid an error.
23296   Use char because int might match the return type of a GCC
23297   builtin and then its argument prototype would still apply.  */
23298#ifdef __cplusplus
23299extern "C"
23300#endif
23301char pthread_cond_init ();
23302int
23303main ()
23304{
23305return pthread_cond_init ();
23306  ;
23307  return 0;
23308}
23309_ACEOF
23310if ac_fn_c_try_link "$LINENO"; then :
23311  ac_cv_lib_pthread_pthread_cond_init=yes
23312else
23313  ac_cv_lib_pthread_pthread_cond_init=no
23314fi
23315rm -f core conftest.err conftest.$ac_objext \
23316    conftest$ac_exeext conftest.$ac_ext
23317LIBS=$ac_check_lib_save_LIBS
23318fi
23319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5
23320$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; }
23321if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then :
23322  ac_pthread_dummy=yes
23323else
23324  ac_cv_pthread=no
23325fi
23326
23327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5
23328$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; }
23329if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then :
23330  $as_echo_n "(cached) " >&6
23331else
23332  ac_check_lib_save_LIBS=$LIBS
23333LIBS="-lpthread  $LIBS"
23334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335/* end confdefs.h.  */
23336
23337/* Override any GCC internal prototype to avoid an error.
23338   Use char because int might match the return type of a GCC
23339   builtin and then its argument prototype would still apply.  */
23340#ifdef __cplusplus
23341extern "C"
23342#endif
23343char pthread_cond_destroy ();
23344int
23345main ()
23346{
23347return pthread_cond_destroy ();
23348  ;
23349  return 0;
23350}
23351_ACEOF
23352if ac_fn_c_try_link "$LINENO"; then :
23353  ac_cv_lib_pthread_pthread_cond_destroy=yes
23354else
23355  ac_cv_lib_pthread_pthread_cond_destroy=no
23356fi
23357rm -f core conftest.err conftest.$ac_objext \
23358    conftest$ac_exeext conftest.$ac_ext
23359LIBS=$ac_check_lib_save_LIBS
23360fi
23361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5
23362$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; }
23363if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then :
23364  ac_pthread_dummy=yes
23365else
23366  ac_cv_pthread=no
23367fi
23368
23369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5
23370$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; }
23371if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then :
23372  $as_echo_n "(cached) " >&6
23373else
23374  ac_check_lib_save_LIBS=$LIBS
23375LIBS="-lpthread  $LIBS"
23376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23377/* end confdefs.h.  */
23378
23379/* Override any GCC internal prototype to avoid an error.
23380   Use char because int might match the return type of a GCC
23381   builtin and then its argument prototype would still apply.  */
23382#ifdef __cplusplus
23383extern "C"
23384#endif
23385char pthread_cond_broadcast ();
23386int
23387main ()
23388{
23389return pthread_cond_broadcast ();
23390  ;
23391  return 0;
23392}
23393_ACEOF
23394if ac_fn_c_try_link "$LINENO"; then :
23395  ac_cv_lib_pthread_pthread_cond_broadcast=yes
23396else
23397  ac_cv_lib_pthread_pthread_cond_broadcast=no
23398fi
23399rm -f core conftest.err conftest.$ac_objext \
23400    conftest$ac_exeext conftest.$ac_ext
23401LIBS=$ac_check_lib_save_LIBS
23402fi
23403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5
23404$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; }
23405if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then :
23406  ac_pthread_dummy=yes
23407else
23408  ac_cv_pthread=no
23409fi
23410
23411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5
23412$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; }
23413if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then :
23414  $as_echo_n "(cached) " >&6
23415else
23416  ac_check_lib_save_LIBS=$LIBS
23417LIBS="-lpthread  $LIBS"
23418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419/* end confdefs.h.  */
23420
23421/* Override any GCC internal prototype to avoid an error.
23422   Use char because int might match the return type of a GCC
23423   builtin and then its argument prototype would still apply.  */
23424#ifdef __cplusplus
23425extern "C"
23426#endif
23427char pthread_cond_signal ();
23428int
23429main ()
23430{
23431return pthread_cond_signal ();
23432  ;
23433  return 0;
23434}
23435_ACEOF
23436if ac_fn_c_try_link "$LINENO"; then :
23437  ac_cv_lib_pthread_pthread_cond_signal=yes
23438else
23439  ac_cv_lib_pthread_pthread_cond_signal=no
23440fi
23441rm -f core conftest.err conftest.$ac_objext \
23442    conftest$ac_exeext conftest.$ac_ext
23443LIBS=$ac_check_lib_save_LIBS
23444fi
23445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5
23446$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; }
23447if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then :
23448  ac_pthread_dummy=yes
23449else
23450  ac_cv_pthread=no
23451fi
23452
23453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5
23454$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; }
23455if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then :
23456  $as_echo_n "(cached) " >&6
23457else
23458  ac_check_lib_save_LIBS=$LIBS
23459LIBS="-lpthread  $LIBS"
23460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23461/* end confdefs.h.  */
23462
23463/* Override any GCC internal prototype to avoid an error.
23464   Use char because int might match the return type of a GCC
23465   builtin and then its argument prototype would still apply.  */
23466#ifdef __cplusplus
23467extern "C"
23468#endif
23469char pthread_cond_wait ();
23470int
23471main ()
23472{
23473return pthread_cond_wait ();
23474  ;
23475  return 0;
23476}
23477_ACEOF
23478if ac_fn_c_try_link "$LINENO"; then :
23479  ac_cv_lib_pthread_pthread_cond_wait=yes
23480else
23481  ac_cv_lib_pthread_pthread_cond_wait=no
23482fi
23483rm -f core conftest.err conftest.$ac_objext \
23484    conftest$ac_exeext conftest.$ac_ext
23485LIBS=$ac_check_lib_save_LIBS
23486fi
23487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5
23488$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; }
23489if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then :
23490  ac_pthread_dummy=yes
23491else
23492  ac_cv_pthread=no
23493fi
23494
23495
23496      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
23497$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
23498if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
23499  $as_echo_n "(cached) " >&6
23500else
23501  ac_check_lib_save_LIBS=$LIBS
23502LIBS="-lpthread  $LIBS"
23503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23504/* end confdefs.h.  */
23505
23506/* Override any GCC internal prototype to avoid an error.
23507   Use char because int might match the return type of a GCC
23508   builtin and then its argument prototype would still apply.  */
23509#ifdef __cplusplus
23510extern "C"
23511#endif
23512char pthread_mutex_init ();
23513int
23514main ()
23515{
23516return pthread_mutex_init ();
23517  ;
23518  return 0;
23519}
23520_ACEOF
23521if ac_fn_c_try_link "$LINENO"; then :
23522  ac_cv_lib_pthread_pthread_mutex_init=yes
23523else
23524  ac_cv_lib_pthread_pthread_mutex_init=no
23525fi
23526rm -f core conftest.err conftest.$ac_objext \
23527    conftest$ac_exeext conftest.$ac_ext
23528LIBS=$ac_check_lib_save_LIBS
23529fi
23530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
23531$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
23532if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
23533  ac_pthread_dummy=yes
23534else
23535  ac_cv_pthread=no
23536fi
23537
23538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5
23539$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; }
23540if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then :
23541  $as_echo_n "(cached) " >&6
23542else
23543  ac_check_lib_save_LIBS=$LIBS
23544LIBS="-lpthread  $LIBS"
23545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23546/* end confdefs.h.  */
23547
23548/* Override any GCC internal prototype to avoid an error.
23549   Use char because int might match the return type of a GCC
23550   builtin and then its argument prototype would still apply.  */
23551#ifdef __cplusplus
23552extern "C"
23553#endif
23554char pthread_mutex_destroy ();
23555int
23556main ()
23557{
23558return pthread_mutex_destroy ();
23559  ;
23560  return 0;
23561}
23562_ACEOF
23563if ac_fn_c_try_link "$LINENO"; then :
23564  ac_cv_lib_pthread_pthread_mutex_destroy=yes
23565else
23566  ac_cv_lib_pthread_pthread_mutex_destroy=no
23567fi
23568rm -f core conftest.err conftest.$ac_objext \
23569    conftest$ac_exeext conftest.$ac_ext
23570LIBS=$ac_check_lib_save_LIBS
23571fi
23572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5
23573$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; }
23574if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then :
23575  ac_pthread_dummy=yes
23576else
23577  ac_cv_pthread=no
23578fi
23579
23580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
23581$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
23582if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then :
23583  $as_echo_n "(cached) " >&6
23584else
23585  ac_check_lib_save_LIBS=$LIBS
23586LIBS="-lpthread  $LIBS"
23587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23588/* end confdefs.h.  */
23589
23590/* Override any GCC internal prototype to avoid an error.
23591   Use char because int might match the return type of a GCC
23592   builtin and then its argument prototype would still apply.  */
23593#ifdef __cplusplus
23594extern "C"
23595#endif
23596char pthread_mutex_lock ();
23597int
23598main ()
23599{
23600return pthread_mutex_lock ();
23601  ;
23602  return 0;
23603}
23604_ACEOF
23605if ac_fn_c_try_link "$LINENO"; then :
23606  ac_cv_lib_pthread_pthread_mutex_lock=yes
23607else
23608  ac_cv_lib_pthread_pthread_mutex_lock=no
23609fi
23610rm -f core conftest.err conftest.$ac_objext \
23611    conftest$ac_exeext conftest.$ac_ext
23612LIBS=$ac_check_lib_save_LIBS
23613fi
23614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
23615$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
23616if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then :
23617  ac_pthread_dummy=yes
23618else
23619  ac_cv_pthread=no
23620fi
23621
23622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5
23623$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; }
23624if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then :
23625  $as_echo_n "(cached) " >&6
23626else
23627  ac_check_lib_save_LIBS=$LIBS
23628LIBS="-lpthread  $LIBS"
23629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23630/* end confdefs.h.  */
23631
23632/* Override any GCC internal prototype to avoid an error.
23633   Use char because int might match the return type of a GCC
23634   builtin and then its argument prototype would still apply.  */
23635#ifdef __cplusplus
23636extern "C"
23637#endif
23638char pthread_mutex_trylock ();
23639int
23640main ()
23641{
23642return pthread_mutex_trylock ();
23643  ;
23644  return 0;
23645}
23646_ACEOF
23647if ac_fn_c_try_link "$LINENO"; then :
23648  ac_cv_lib_pthread_pthread_mutex_trylock=yes
23649else
23650  ac_cv_lib_pthread_pthread_mutex_trylock=no
23651fi
23652rm -f core conftest.err conftest.$ac_objext \
23653    conftest$ac_exeext conftest.$ac_ext
23654LIBS=$ac_check_lib_save_LIBS
23655fi
23656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5
23657$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; }
23658if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then :
23659  ac_pthread_dummy=yes
23660else
23661  ac_cv_pthread=no
23662fi
23663
23664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5
23665$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; }
23666if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then :
23667  $as_echo_n "(cached) " >&6
23668else
23669  ac_check_lib_save_LIBS=$LIBS
23670LIBS="-lpthread  $LIBS"
23671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672/* end confdefs.h.  */
23673
23674/* Override any GCC internal prototype to avoid an error.
23675   Use char because int might match the return type of a GCC
23676   builtin and then its argument prototype would still apply.  */
23677#ifdef __cplusplus
23678extern "C"
23679#endif
23680char pthread_mutex_unlock ();
23681int
23682main ()
23683{
23684return pthread_mutex_unlock ();
23685  ;
23686  return 0;
23687}
23688_ACEOF
23689if ac_fn_c_try_link "$LINENO"; then :
23690  ac_cv_lib_pthread_pthread_mutex_unlock=yes
23691else
23692  ac_cv_lib_pthread_pthread_mutex_unlock=no
23693fi
23694rm -f core conftest.err conftest.$ac_objext \
23695    conftest$ac_exeext conftest.$ac_ext
23696LIBS=$ac_check_lib_save_LIBS
23697fi
23698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5
23699$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; }
23700if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then :
23701  ac_pthread_dummy=yes
23702else
23703  ac_cv_pthread=no
23704fi
23705
23706
23707      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5
23708$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; }
23709if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then :
23710  $as_echo_n "(cached) " >&6
23711else
23712  ac_check_lib_save_LIBS=$LIBS
23713LIBS="-lpthread  $LIBS"
23714cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715/* end confdefs.h.  */
23716
23717/* Override any GCC internal prototype to avoid an error.
23718   Use char because int might match the return type of a GCC
23719   builtin and then its argument prototype would still apply.  */
23720#ifdef __cplusplus
23721extern "C"
23722#endif
23723char pthread_rwlock_init ();
23724int
23725main ()
23726{
23727return pthread_rwlock_init ();
23728  ;
23729  return 0;
23730}
23731_ACEOF
23732if ac_fn_c_try_link "$LINENO"; then :
23733  ac_cv_lib_pthread_pthread_rwlock_init=yes
23734else
23735  ac_cv_lib_pthread_pthread_rwlock_init=no
23736fi
23737rm -f core conftest.err conftest.$ac_objext \
23738    conftest$ac_exeext conftest.$ac_ext
23739LIBS=$ac_check_lib_save_LIBS
23740fi
23741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5
23742$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; }
23743if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then :
23744  ac_pthread_dummy=yes
23745else
23746  ac_cv_pthread=no
23747fi
23748
23749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5
23750$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; }
23751if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then :
23752  $as_echo_n "(cached) " >&6
23753else
23754  ac_check_lib_save_LIBS=$LIBS
23755LIBS="-lpthread  $LIBS"
23756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23757/* end confdefs.h.  */
23758
23759/* Override any GCC internal prototype to avoid an error.
23760   Use char because int might match the return type of a GCC
23761   builtin and then its argument prototype would still apply.  */
23762#ifdef __cplusplus
23763extern "C"
23764#endif
23765char pthread_rwlock_destroy ();
23766int
23767main ()
23768{
23769return pthread_rwlock_destroy ();
23770  ;
23771  return 0;
23772}
23773_ACEOF
23774if ac_fn_c_try_link "$LINENO"; then :
23775  ac_cv_lib_pthread_pthread_rwlock_destroy=yes
23776else
23777  ac_cv_lib_pthread_pthread_rwlock_destroy=no
23778fi
23779rm -f core conftest.err conftest.$ac_objext \
23780    conftest$ac_exeext conftest.$ac_ext
23781LIBS=$ac_check_lib_save_LIBS
23782fi
23783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5
23784$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; }
23785if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then :
23786  ac_pthread_dummy=yes
23787else
23788  ac_cv_pthread=no
23789fi
23790
23791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5
23792$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; }
23793if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then :
23794  $as_echo_n "(cached) " >&6
23795else
23796  ac_check_lib_save_LIBS=$LIBS
23797LIBS="-lpthread  $LIBS"
23798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23799/* end confdefs.h.  */
23800
23801/* Override any GCC internal prototype to avoid an error.
23802   Use char because int might match the return type of a GCC
23803   builtin and then its argument prototype would still apply.  */
23804#ifdef __cplusplus
23805extern "C"
23806#endif
23807char pthread_rwlock_rdlock ();
23808int
23809main ()
23810{
23811return pthread_rwlock_rdlock ();
23812  ;
23813  return 0;
23814}
23815_ACEOF
23816if ac_fn_c_try_link "$LINENO"; then :
23817  ac_cv_lib_pthread_pthread_rwlock_rdlock=yes
23818else
23819  ac_cv_lib_pthread_pthread_rwlock_rdlock=no
23820fi
23821rm -f core conftest.err conftest.$ac_objext \
23822    conftest$ac_exeext conftest.$ac_ext
23823LIBS=$ac_check_lib_save_LIBS
23824fi
23825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5
23826$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; }
23827if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then :
23828  ac_pthread_dummy=yes
23829else
23830  ac_cv_pthread=no
23831fi
23832
23833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5
23834$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; }
23835if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then :
23836  $as_echo_n "(cached) " >&6
23837else
23838  ac_check_lib_save_LIBS=$LIBS
23839LIBS="-lpthread  $LIBS"
23840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23841/* end confdefs.h.  */
23842
23843/* Override any GCC internal prototype to avoid an error.
23844   Use char because int might match the return type of a GCC
23845   builtin and then its argument prototype would still apply.  */
23846#ifdef __cplusplus
23847extern "C"
23848#endif
23849char pthread_rwlock_wrlock ();
23850int
23851main ()
23852{
23853return pthread_rwlock_wrlock ();
23854  ;
23855  return 0;
23856}
23857_ACEOF
23858if ac_fn_c_try_link "$LINENO"; then :
23859  ac_cv_lib_pthread_pthread_rwlock_wrlock=yes
23860else
23861  ac_cv_lib_pthread_pthread_rwlock_wrlock=no
23862fi
23863rm -f core conftest.err conftest.$ac_objext \
23864    conftest$ac_exeext conftest.$ac_ext
23865LIBS=$ac_check_lib_save_LIBS
23866fi
23867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5
23868$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; }
23869if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then :
23870  ac_pthread_dummy=yes
23871else
23872  ac_cv_pthread=no
23873fi
23874
23875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5
23876$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; }
23877if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then :
23878  $as_echo_n "(cached) " >&6
23879else
23880  ac_check_lib_save_LIBS=$LIBS
23881LIBS="-lpthread  $LIBS"
23882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883/* end confdefs.h.  */
23884
23885/* Override any GCC internal prototype to avoid an error.
23886   Use char because int might match the return type of a GCC
23887   builtin and then its argument prototype would still apply.  */
23888#ifdef __cplusplus
23889extern "C"
23890#endif
23891char pthread_rwlock_unlock ();
23892int
23893main ()
23894{
23895return pthread_rwlock_unlock ();
23896  ;
23897  return 0;
23898}
23899_ACEOF
23900if ac_fn_c_try_link "$LINENO"; then :
23901  ac_cv_lib_pthread_pthread_rwlock_unlock=yes
23902else
23903  ac_cv_lib_pthread_pthread_rwlock_unlock=no
23904fi
23905rm -f core conftest.err conftest.$ac_objext \
23906    conftest$ac_exeext conftest.$ac_ext
23907LIBS=$ac_check_lib_save_LIBS
23908fi
23909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5
23910$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; }
23911if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then :
23912  ac_pthread_dummy=yes
23913else
23914  ac_cv_pthread=no
23915fi
23916
23917
23918   ac_cv_pthread_LIBADD="-lpthread";
23919
23920fi
23921
23922fi
23923
23924 if test "x$ac_cv_pthread" = xpthread; then :
23925
23926$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
23927
23928
23929fi
23930
23931 if test "x$ac_cv_pthread" != xno; then :
23932  HAVE_PTHREAD=1
23933
23934else
23935  HAVE_PTHREAD=0
23936
23937
23938fi
23939
23940
23941 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then :
23942  PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS
23943
23944
23945fi
23946 if test "x$ac_cv_pthread_LIBADD" != "x"; then :
23947  PTHREAD_LIBADD=$ac_cv_pthread_LIBADD
23948
23949
23950fi
23951
23952 if test "x$ac_cv_pthread" = xpthread; then :
23953  ax_pthread_pc_libs_private=-lpthread
23954
23955
23956fi
23957
23958      ac_cv_libcthreads_multi_threading=$ac_cv_pthread
23959else
23960  ac_cv_libcthreads_multi_threading="winapi"
23961fi
23962
23963  if test "x$ac_cv_libcthreads_multi_threading" != xno; then :
23964  ac_cv_libcthreads_CPPFLAGS="-I../libcthreads";
23965    ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la";
23966
23967    ac_cv_libcthreads=local
23968else
23969  ac_cv_libcthreads=no
23970fi
23971
23972
23973
23974$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h
23975
23976      HAVE_LOCAL_LIBCTHREADS=1
23977
23978
23979fi
23980
23981fi
23982
23983   if test "x$ac_cv_libcthreads" = xlocal; then
23984  HAVE_LOCAL_LIBCTHREADS_TRUE=
23985  HAVE_LOCAL_LIBCTHREADS_FALSE='#'
23986else
23987  HAVE_LOCAL_LIBCTHREADS_TRUE='#'
23988  HAVE_LOCAL_LIBCTHREADS_FALSE=
23989fi
23990
23991  if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then :
23992  LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS
23993
23994
23995fi
23996  if test "x$ac_cv_libcthreads_LIBADD" != "x"; then :
23997  LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD
23998
23999
24000fi
24001
24002  if test "x$ac_cv_libcthreads" != xno; then :
24003
24004$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h
24005
24006    HAVE_MULTI_THREAD_SUPPORT=1
24007
24008else
24009  HAVE_MULTI_THREAD_SUPPORT=0
24010
24011
24012fi
24013
24014  if test "x$ac_cv_libcthreads" = xyes; then :
24015  ax_libcthreads_pc_libs_private=-lcthreads
24016
24017
24018fi
24019
24020  if test "x$ac_cv_libcthreads" = xyes; then :
24021  ax_libcthreads_spec_requires=libcthreads
24022
24023    ax_libcthreads_spec_build_requires=libcthreads-devel
24024
24025
24026fi
24027
24028
24029
24030
24031# Check whether --with-libcdata was given.
24032if test "${with_libcdata+set}" = set; then :
24033  withval=$with_libcdata; ac_cv_with_libcdata=$withval
24034else
24035  ac_cv_with_libcdata=auto-detect
24036fi
24037
24038    { $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
24039$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; }
24040if ${ac_cv_with_libcdata+:} false; then :
24041  $as_echo_n "(cached) " >&6
24042else
24043  ac_cv_with_libcdata=auto-detect
24044fi
24045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5
24046$as_echo "$ac_cv_with_libcdata" >&6; }
24047
24048    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then :
24049  ac_cv_libcdata=no
24050else
24051  ac_cv_libcdata=check
24052        if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then :
24053  if test -d "$ac_cv_with_libcdata"; then :
24054  CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include"
24055        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib"
24056else
24057  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24059as_fn_error 1 "no such directory: $ac_cv_with_libcdata
24060See \`config.log' for more details" "$LINENO" 5; }
24061
24062fi
24063
24064else
24065        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
24066
24067pkg_failed=no
24068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5
24069$as_echo_n "checking for libcdata... " >&6; }
24070
24071if test -n "$libcdata_CFLAGS"; then
24072    pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS"
24073 elif test -n "$PKG_CONFIG"; then
24074    if test -n "$PKG_CONFIG" && \
24075    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24076  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24077  ac_status=$?
24078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24079  test $ac_status = 0; }; then
24080  pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null`
24081		      test "x$?" != "x0" && pkg_failed=yes
24082else
24083  pkg_failed=yes
24084fi
24085 else
24086    pkg_failed=untried
24087fi
24088if test -n "$libcdata_LIBS"; then
24089    pkg_cv_libcdata_LIBS="$libcdata_LIBS"
24090 elif test -n "$PKG_CONFIG"; then
24091    if test -n "$PKG_CONFIG" && \
24092    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24093  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24094  ac_status=$?
24095  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24096  test $ac_status = 0; }; then
24097  pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null`
24098		      test "x$?" != "x0" && pkg_failed=yes
24099else
24100  pkg_failed=yes
24101fi
24102 else
24103    pkg_failed=untried
24104fi
24105
24106
24107
24108if test $pkg_failed = yes; then
24109   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24110$as_echo "no" >&6; }
24111
24112if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24113        _pkg_short_errors_supported=yes
24114else
24115        _pkg_short_errors_supported=no
24116fi
24117        if test $_pkg_short_errors_supported = yes; then
24118	        libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24119        else
24120	        libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24121        fi
24122	# Put the nasty error message in config.log where it belongs
24123	echo "$libcdata_PKG_ERRORS" >&5
24124
24125	ac_cv_libcdata=check
24126elif test $pkg_failed = untried; then
24127     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24128$as_echo "no" >&6; }
24129	ac_cv_libcdata=check
24130else
24131	libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS
24132	libcdata_LIBS=$pkg_cv_libcdata_LIBS
24133        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24134$as_echo "yes" >&6; }
24135	ac_cv_libcdata=yes
24136fi
24137
24138fi
24139      if test "x$ac_cv_libcdata" = xyes; then :
24140  ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS"
24141        ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS"
24142fi
24143
24144fi
24145
24146    if test "x$ac_cv_libcdata" = xcheck; then :
24147        for ac_header in libcdata.h
24148do :
24149  ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default"
24150if test "x$ac_cv_header_libcdata_h" = xyes; then :
24151  cat >>confdefs.h <<_ACEOF
24152#define HAVE_LIBCDATA_H 1
24153_ACEOF
24154
24155fi
24156
24157done
24158
24159
24160      if test "x$ac_cv_header_libcdata_h" = xno; then :
24161  ac_cv_libcdata=no
24162else
24163          ac_cv_libcdata=yes
24164
24165        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5
24166$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; }
24167if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then :
24168  $as_echo_n "(cached) " >&6
24169else
24170  ac_check_lib_save_LIBS=$LIBS
24171LIBS="-lcdata  $LIBS"
24172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24173/* end confdefs.h.  */
24174
24175/* Override any GCC internal prototype to avoid an error.
24176   Use char because int might match the return type of a GCC
24177   builtin and then its argument prototype would still apply.  */
24178#ifdef __cplusplus
24179extern "C"
24180#endif
24181char libcdata_get_version ();
24182int
24183main ()
24184{
24185return libcdata_get_version ();
24186  ;
24187  return 0;
24188}
24189_ACEOF
24190if ac_fn_c_try_link "$LINENO"; then :
24191  ac_cv_lib_cdata_libcdata_get_version=yes
24192else
24193  ac_cv_lib_cdata_libcdata_get_version=no
24194fi
24195rm -f core conftest.err conftest.$ac_objext \
24196    conftest$ac_exeext conftest.$ac_ext
24197LIBS=$ac_check_lib_save_LIBS
24198fi
24199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5
24200$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; }
24201if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then :
24202  ac_cv_libcdata_dummy=yes
24203else
24204  ac_cv_libcdata=no
24205fi
24206
24207
24208                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5
24209$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; }
24210if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then :
24211  $as_echo_n "(cached) " >&6
24212else
24213  ac_check_lib_save_LIBS=$LIBS
24214LIBS="-lcdata  $LIBS"
24215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216/* end confdefs.h.  */
24217
24218/* Override any GCC internal prototype to avoid an error.
24219   Use char because int might match the return type of a GCC
24220   builtin and then its argument prototype would still apply.  */
24221#ifdef __cplusplus
24222extern "C"
24223#endif
24224char libcdata_array_initialize ();
24225int
24226main ()
24227{
24228return libcdata_array_initialize ();
24229  ;
24230  return 0;
24231}
24232_ACEOF
24233if ac_fn_c_try_link "$LINENO"; then :
24234  ac_cv_lib_cdata_libcdata_array_initialize=yes
24235else
24236  ac_cv_lib_cdata_libcdata_array_initialize=no
24237fi
24238rm -f core conftest.err conftest.$ac_objext \
24239    conftest$ac_exeext conftest.$ac_ext
24240LIBS=$ac_check_lib_save_LIBS
24241fi
24242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5
24243$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; }
24244if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then :
24245  ac_cv_libcdata_dummy=yes
24246else
24247  ac_cv_libcdata=no
24248fi
24249
24250        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5
24251$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; }
24252if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then :
24253  $as_echo_n "(cached) " >&6
24254else
24255  ac_check_lib_save_LIBS=$LIBS
24256LIBS="-lcdata  $LIBS"
24257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24258/* end confdefs.h.  */
24259
24260/* Override any GCC internal prototype to avoid an error.
24261   Use char because int might match the return type of a GCC
24262   builtin and then its argument prototype would still apply.  */
24263#ifdef __cplusplus
24264extern "C"
24265#endif
24266char libcdata_array_free ();
24267int
24268main ()
24269{
24270return libcdata_array_free ();
24271  ;
24272  return 0;
24273}
24274_ACEOF
24275if ac_fn_c_try_link "$LINENO"; then :
24276  ac_cv_lib_cdata_libcdata_array_free=yes
24277else
24278  ac_cv_lib_cdata_libcdata_array_free=no
24279fi
24280rm -f core conftest.err conftest.$ac_objext \
24281    conftest$ac_exeext conftest.$ac_ext
24282LIBS=$ac_check_lib_save_LIBS
24283fi
24284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5
24285$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; }
24286if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then :
24287  ac_cv_libcdata_dummy=yes
24288else
24289  ac_cv_libcdata=no
24290fi
24291
24292        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5
24293$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; }
24294if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then :
24295  $as_echo_n "(cached) " >&6
24296else
24297  ac_check_lib_save_LIBS=$LIBS
24298LIBS="-lcdata  $LIBS"
24299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24300/* end confdefs.h.  */
24301
24302/* Override any GCC internal prototype to avoid an error.
24303   Use char because int might match the return type of a GCC
24304   builtin and then its argument prototype would still apply.  */
24305#ifdef __cplusplus
24306extern "C"
24307#endif
24308char libcdata_array_empty ();
24309int
24310main ()
24311{
24312return libcdata_array_empty ();
24313  ;
24314  return 0;
24315}
24316_ACEOF
24317if ac_fn_c_try_link "$LINENO"; then :
24318  ac_cv_lib_cdata_libcdata_array_empty=yes
24319else
24320  ac_cv_lib_cdata_libcdata_array_empty=no
24321fi
24322rm -f core conftest.err conftest.$ac_objext \
24323    conftest$ac_exeext conftest.$ac_ext
24324LIBS=$ac_check_lib_save_LIBS
24325fi
24326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5
24327$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; }
24328if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then :
24329  ac_cv_libcdata_dummy=yes
24330else
24331  ac_cv_libcdata=no
24332fi
24333
24334        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5
24335$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; }
24336if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then :
24337  $as_echo_n "(cached) " >&6
24338else
24339  ac_check_lib_save_LIBS=$LIBS
24340LIBS="-lcdata  $LIBS"
24341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24342/* end confdefs.h.  */
24343
24344/* Override any GCC internal prototype to avoid an error.
24345   Use char because int might match the return type of a GCC
24346   builtin and then its argument prototype would still apply.  */
24347#ifdef __cplusplus
24348extern "C"
24349#endif
24350char libcdata_array_clone ();
24351int
24352main ()
24353{
24354return libcdata_array_clone ();
24355  ;
24356  return 0;
24357}
24358_ACEOF
24359if ac_fn_c_try_link "$LINENO"; then :
24360  ac_cv_lib_cdata_libcdata_array_clone=yes
24361else
24362  ac_cv_lib_cdata_libcdata_array_clone=no
24363fi
24364rm -f core conftest.err conftest.$ac_objext \
24365    conftest$ac_exeext conftest.$ac_ext
24366LIBS=$ac_check_lib_save_LIBS
24367fi
24368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5
24369$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; }
24370if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then :
24371  ac_cv_libcdata_dummy=yes
24372else
24373  ac_cv_libcdata=no
24374fi
24375
24376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5
24377$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; }
24378if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then :
24379  $as_echo_n "(cached) " >&6
24380else
24381  ac_check_lib_save_LIBS=$LIBS
24382LIBS="-lcdata  $LIBS"
24383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384/* end confdefs.h.  */
24385
24386/* Override any GCC internal prototype to avoid an error.
24387   Use char because int might match the return type of a GCC
24388   builtin and then its argument prototype would still apply.  */
24389#ifdef __cplusplus
24390extern "C"
24391#endif
24392char libcdata_array_resize ();
24393int
24394main ()
24395{
24396return libcdata_array_resize ();
24397  ;
24398  return 0;
24399}
24400_ACEOF
24401if ac_fn_c_try_link "$LINENO"; then :
24402  ac_cv_lib_cdata_libcdata_array_resize=yes
24403else
24404  ac_cv_lib_cdata_libcdata_array_resize=no
24405fi
24406rm -f core conftest.err conftest.$ac_objext \
24407    conftest$ac_exeext conftest.$ac_ext
24408LIBS=$ac_check_lib_save_LIBS
24409fi
24410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5
24411$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; }
24412if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then :
24413  ac_cv_libcdata_dummy=yes
24414else
24415  ac_cv_libcdata=no
24416fi
24417
24418        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5
24419$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; }
24420if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then :
24421  $as_echo_n "(cached) " >&6
24422else
24423  ac_check_lib_save_LIBS=$LIBS
24424LIBS="-lcdata  $LIBS"
24425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24426/* end confdefs.h.  */
24427
24428/* Override any GCC internal prototype to avoid an error.
24429   Use char because int might match the return type of a GCC
24430   builtin and then its argument prototype would still apply.  */
24431#ifdef __cplusplus
24432extern "C"
24433#endif
24434char libcdata_array_reverse ();
24435int
24436main ()
24437{
24438return libcdata_array_reverse ();
24439  ;
24440  return 0;
24441}
24442_ACEOF
24443if ac_fn_c_try_link "$LINENO"; then :
24444  ac_cv_lib_cdata_libcdata_array_reverse=yes
24445else
24446  ac_cv_lib_cdata_libcdata_array_reverse=no
24447fi
24448rm -f core conftest.err conftest.$ac_objext \
24449    conftest$ac_exeext conftest.$ac_ext
24450LIBS=$ac_check_lib_save_LIBS
24451fi
24452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5
24453$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; }
24454if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then :
24455  ac_cv_libcdata_dummy=yes
24456else
24457  ac_cv_libcdata=no
24458fi
24459
24460        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5
24461$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; }
24462if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then :
24463  $as_echo_n "(cached) " >&6
24464else
24465  ac_check_lib_save_LIBS=$LIBS
24466LIBS="-lcdata  $LIBS"
24467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24468/* end confdefs.h.  */
24469
24470/* Override any GCC internal prototype to avoid an error.
24471   Use char because int might match the return type of a GCC
24472   builtin and then its argument prototype would still apply.  */
24473#ifdef __cplusplus
24474extern "C"
24475#endif
24476char libcdata_array_get_number_of_entries ();
24477int
24478main ()
24479{
24480return libcdata_array_get_number_of_entries ();
24481  ;
24482  return 0;
24483}
24484_ACEOF
24485if ac_fn_c_try_link "$LINENO"; then :
24486  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes
24487else
24488  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no
24489fi
24490rm -f core conftest.err conftest.$ac_objext \
24491    conftest$ac_exeext conftest.$ac_ext
24492LIBS=$ac_check_lib_save_LIBS
24493fi
24494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5
24495$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; }
24496if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then :
24497  ac_cv_libcdata_dummy=yes
24498else
24499  ac_cv_libcdata=no
24500fi
24501
24502        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5
24503$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; }
24504if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then :
24505  $as_echo_n "(cached) " >&6
24506else
24507  ac_check_lib_save_LIBS=$LIBS
24508LIBS="-lcdata  $LIBS"
24509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510/* end confdefs.h.  */
24511
24512/* Override any GCC internal prototype to avoid an error.
24513   Use char because int might match the return type of a GCC
24514   builtin and then its argument prototype would still apply.  */
24515#ifdef __cplusplus
24516extern "C"
24517#endif
24518char libcdata_array_get_entry_by_index ();
24519int
24520main ()
24521{
24522return libcdata_array_get_entry_by_index ();
24523  ;
24524  return 0;
24525}
24526_ACEOF
24527if ac_fn_c_try_link "$LINENO"; then :
24528  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes
24529else
24530  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no
24531fi
24532rm -f core conftest.err conftest.$ac_objext \
24533    conftest$ac_exeext conftest.$ac_ext
24534LIBS=$ac_check_lib_save_LIBS
24535fi
24536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5
24537$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; }
24538if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then :
24539  ac_cv_libcdata_dummy=yes
24540else
24541  ac_cv_libcdata=no
24542fi
24543
24544        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5
24545$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; }
24546if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then :
24547  $as_echo_n "(cached) " >&6
24548else
24549  ac_check_lib_save_LIBS=$LIBS
24550LIBS="-lcdata  $LIBS"
24551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24552/* end confdefs.h.  */
24553
24554/* Override any GCC internal prototype to avoid an error.
24555   Use char because int might match the return type of a GCC
24556   builtin and then its argument prototype would still apply.  */
24557#ifdef __cplusplus
24558extern "C"
24559#endif
24560char libcdata_array_get_entry_by_value ();
24561int
24562main ()
24563{
24564return libcdata_array_get_entry_by_value ();
24565  ;
24566  return 0;
24567}
24568_ACEOF
24569if ac_fn_c_try_link "$LINENO"; then :
24570  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes
24571else
24572  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no
24573fi
24574rm -f core conftest.err conftest.$ac_objext \
24575    conftest$ac_exeext conftest.$ac_ext
24576LIBS=$ac_check_lib_save_LIBS
24577fi
24578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5
24579$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; }
24580if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then :
24581  ac_cv_libcdata_dummy=yes
24582else
24583  ac_cv_libcdata=no
24584fi
24585
24586        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5
24587$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; }
24588if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then :
24589  $as_echo_n "(cached) " >&6
24590else
24591  ac_check_lib_save_LIBS=$LIBS
24592LIBS="-lcdata  $LIBS"
24593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24594/* end confdefs.h.  */
24595
24596/* Override any GCC internal prototype to avoid an error.
24597   Use char because int might match the return type of a GCC
24598   builtin and then its argument prototype would still apply.  */
24599#ifdef __cplusplus
24600extern "C"
24601#endif
24602char libcdata_array_set_entry_by_index ();
24603int
24604main ()
24605{
24606return libcdata_array_set_entry_by_index ();
24607  ;
24608  return 0;
24609}
24610_ACEOF
24611if ac_fn_c_try_link "$LINENO"; then :
24612  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes
24613else
24614  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no
24615fi
24616rm -f core conftest.err conftest.$ac_objext \
24617    conftest$ac_exeext conftest.$ac_ext
24618LIBS=$ac_check_lib_save_LIBS
24619fi
24620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5
24621$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; }
24622if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then :
24623  ac_cv_libcdata_dummy=yes
24624else
24625  ac_cv_libcdata=no
24626fi
24627
24628        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5
24629$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; }
24630if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then :
24631  $as_echo_n "(cached) " >&6
24632else
24633  ac_check_lib_save_LIBS=$LIBS
24634LIBS="-lcdata  $LIBS"
24635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24636/* end confdefs.h.  */
24637
24638/* Override any GCC internal prototype to avoid an error.
24639   Use char because int might match the return type of a GCC
24640   builtin and then its argument prototype would still apply.  */
24641#ifdef __cplusplus
24642extern "C"
24643#endif
24644char libcdata_array_prepend_entry ();
24645int
24646main ()
24647{
24648return libcdata_array_prepend_entry ();
24649  ;
24650  return 0;
24651}
24652_ACEOF
24653if ac_fn_c_try_link "$LINENO"; then :
24654  ac_cv_lib_cdata_libcdata_array_prepend_entry=yes
24655else
24656  ac_cv_lib_cdata_libcdata_array_prepend_entry=no
24657fi
24658rm -f core conftest.err conftest.$ac_objext \
24659    conftest$ac_exeext conftest.$ac_ext
24660LIBS=$ac_check_lib_save_LIBS
24661fi
24662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5
24663$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; }
24664if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then :
24665  ac_cv_libcdata_dummy=yes
24666else
24667  ac_cv_libcdata=no
24668fi
24669
24670        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5
24671$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; }
24672if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then :
24673  $as_echo_n "(cached) " >&6
24674else
24675  ac_check_lib_save_LIBS=$LIBS
24676LIBS="-lcdata  $LIBS"
24677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678/* end confdefs.h.  */
24679
24680/* Override any GCC internal prototype to avoid an error.
24681   Use char because int might match the return type of a GCC
24682   builtin and then its argument prototype would still apply.  */
24683#ifdef __cplusplus
24684extern "C"
24685#endif
24686char libcdata_array_append_entry ();
24687int
24688main ()
24689{
24690return libcdata_array_append_entry ();
24691  ;
24692  return 0;
24693}
24694_ACEOF
24695if ac_fn_c_try_link "$LINENO"; then :
24696  ac_cv_lib_cdata_libcdata_array_append_entry=yes
24697else
24698  ac_cv_lib_cdata_libcdata_array_append_entry=no
24699fi
24700rm -f core conftest.err conftest.$ac_objext \
24701    conftest$ac_exeext conftest.$ac_ext
24702LIBS=$ac_check_lib_save_LIBS
24703fi
24704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5
24705$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; }
24706if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then :
24707  ac_cv_libcdata_dummy=yes
24708else
24709  ac_cv_libcdata=no
24710fi
24711
24712        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5
24713$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; }
24714if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then :
24715  $as_echo_n "(cached) " >&6
24716else
24717  ac_check_lib_save_LIBS=$LIBS
24718LIBS="-lcdata  $LIBS"
24719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720/* end confdefs.h.  */
24721
24722/* Override any GCC internal prototype to avoid an error.
24723   Use char because int might match the return type of a GCC
24724   builtin and then its argument prototype would still apply.  */
24725#ifdef __cplusplus
24726extern "C"
24727#endif
24728char libcdata_array_insert_entry ();
24729int
24730main ()
24731{
24732return libcdata_array_insert_entry ();
24733  ;
24734  return 0;
24735}
24736_ACEOF
24737if ac_fn_c_try_link "$LINENO"; then :
24738  ac_cv_lib_cdata_libcdata_array_insert_entry=yes
24739else
24740  ac_cv_lib_cdata_libcdata_array_insert_entry=no
24741fi
24742rm -f core conftest.err conftest.$ac_objext \
24743    conftest$ac_exeext conftest.$ac_ext
24744LIBS=$ac_check_lib_save_LIBS
24745fi
24746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5
24747$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; }
24748if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then :
24749  ac_cv_libcdata_dummy=yes
24750else
24751  ac_cv_libcdata=no
24752fi
24753
24754        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5
24755$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; }
24756if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then :
24757  $as_echo_n "(cached) " >&6
24758else
24759  ac_check_lib_save_LIBS=$LIBS
24760LIBS="-lcdata  $LIBS"
24761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762/* end confdefs.h.  */
24763
24764/* Override any GCC internal prototype to avoid an error.
24765   Use char because int might match the return type of a GCC
24766   builtin and then its argument prototype would still apply.  */
24767#ifdef __cplusplus
24768extern "C"
24769#endif
24770char libcdata_array_remove_entry ();
24771int
24772main ()
24773{
24774return libcdata_array_remove_entry ();
24775  ;
24776  return 0;
24777}
24778_ACEOF
24779if ac_fn_c_try_link "$LINENO"; then :
24780  ac_cv_lib_cdata_libcdata_array_remove_entry=yes
24781else
24782  ac_cv_lib_cdata_libcdata_array_remove_entry=no
24783fi
24784rm -f core conftest.err conftest.$ac_objext \
24785    conftest$ac_exeext conftest.$ac_ext
24786LIBS=$ac_check_lib_save_LIBS
24787fi
24788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5
24789$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; }
24790if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then :
24791  ac_cv_libcdata_dummy=yes
24792else
24793  ac_cv_libcdata=no
24794fi
24795
24796
24797                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5
24798$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; }
24799if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then :
24800  $as_echo_n "(cached) " >&6
24801else
24802  ac_check_lib_save_LIBS=$LIBS
24803LIBS="-lcdata  $LIBS"
24804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24805/* end confdefs.h.  */
24806
24807/* Override any GCC internal prototype to avoid an error.
24808   Use char because int might match the return type of a GCC
24809   builtin and then its argument prototype would still apply.  */
24810#ifdef __cplusplus
24811extern "C"
24812#endif
24813char libfdata_btree_initialize ();
24814int
24815main ()
24816{
24817return libfdata_btree_initialize ();
24818  ;
24819  return 0;
24820}
24821_ACEOF
24822if ac_fn_c_try_link "$LINENO"; then :
24823  ac_cv_lib_cdata_libfdata_btree_initialize=yes
24824else
24825  ac_cv_lib_cdata_libfdata_btree_initialize=no
24826fi
24827rm -f core conftest.err conftest.$ac_objext \
24828    conftest$ac_exeext conftest.$ac_ext
24829LIBS=$ac_check_lib_save_LIBS
24830fi
24831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5
24832$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; }
24833if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then :
24834  ac_cv_libcdata_dummy=yes
24835else
24836  ac_cv_libcdata=no
24837fi
24838
24839        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5
24840$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; }
24841if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then :
24842  $as_echo_n "(cached) " >&6
24843else
24844  ac_check_lib_save_LIBS=$LIBS
24845LIBS="-lcdata  $LIBS"
24846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24847/* end confdefs.h.  */
24848
24849/* Override any GCC internal prototype to avoid an error.
24850   Use char because int might match the return type of a GCC
24851   builtin and then its argument prototype would still apply.  */
24852#ifdef __cplusplus
24853extern "C"
24854#endif
24855char libcdata_btree_free ();
24856int
24857main ()
24858{
24859return libcdata_btree_free ();
24860  ;
24861  return 0;
24862}
24863_ACEOF
24864if ac_fn_c_try_link "$LINENO"; then :
24865  ac_cv_lib_cdata_libcdata_btree_free=yes
24866else
24867  ac_cv_lib_cdata_libcdata_btree_free=no
24868fi
24869rm -f core conftest.err conftest.$ac_objext \
24870    conftest$ac_exeext conftest.$ac_ext
24871LIBS=$ac_check_lib_save_LIBS
24872fi
24873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5
24874$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; }
24875if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then :
24876  ac_cv_libcdata_dummy=yes
24877else
24878  ac_cv_libcdata=no
24879fi
24880
24881        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5
24882$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; }
24883if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then :
24884  $as_echo_n "(cached) " >&6
24885else
24886  ac_check_lib_save_LIBS=$LIBS
24887LIBS="-lcdata  $LIBS"
24888cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889/* end confdefs.h.  */
24890
24891/* Override any GCC internal prototype to avoid an error.
24892   Use char because int might match the return type of a GCC
24893   builtin and then its argument prototype would still apply.  */
24894#ifdef __cplusplus
24895extern "C"
24896#endif
24897char libcdata_btree_get_number_of_values ();
24898int
24899main ()
24900{
24901return libcdata_btree_get_number_of_values ();
24902  ;
24903  return 0;
24904}
24905_ACEOF
24906if ac_fn_c_try_link "$LINENO"; then :
24907  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes
24908else
24909  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no
24910fi
24911rm -f core conftest.err conftest.$ac_objext \
24912    conftest$ac_exeext conftest.$ac_ext
24913LIBS=$ac_check_lib_save_LIBS
24914fi
24915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5
24916$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; }
24917if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then :
24918  ac_cv_libcdata_dummy=yes
24919else
24920  ac_cv_libcdata=no
24921fi
24922
24923        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5
24924$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; }
24925if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then :
24926  $as_echo_n "(cached) " >&6
24927else
24928  ac_check_lib_save_LIBS=$LIBS
24929LIBS="-lcdata  $LIBS"
24930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24931/* end confdefs.h.  */
24932
24933/* Override any GCC internal prototype to avoid an error.
24934   Use char because int might match the return type of a GCC
24935   builtin and then its argument prototype would still apply.  */
24936#ifdef __cplusplus
24937extern "C"
24938#endif
24939char libcdata_btree_get_value_by_index ();
24940int
24941main ()
24942{
24943return libcdata_btree_get_value_by_index ();
24944  ;
24945  return 0;
24946}
24947_ACEOF
24948if ac_fn_c_try_link "$LINENO"; then :
24949  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes
24950else
24951  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no
24952fi
24953rm -f core conftest.err conftest.$ac_objext \
24954    conftest$ac_exeext conftest.$ac_ext
24955LIBS=$ac_check_lib_save_LIBS
24956fi
24957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5
24958$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; }
24959if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then :
24960  ac_cv_libcdata_dummy=yes
24961else
24962  ac_cv_libcdata=no
24963fi
24964
24965        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5
24966$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; }
24967if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then :
24968  $as_echo_n "(cached) " >&6
24969else
24970  ac_check_lib_save_LIBS=$LIBS
24971LIBS="-lcdata  $LIBS"
24972cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24973/* end confdefs.h.  */
24974
24975/* Override any GCC internal prototype to avoid an error.
24976   Use char because int might match the return type of a GCC
24977   builtin and then its argument prototype would still apply.  */
24978#ifdef __cplusplus
24979extern "C"
24980#endif
24981char libcdata_btree_get_value_by_value ();
24982int
24983main ()
24984{
24985return libcdata_btree_get_value_by_value ();
24986  ;
24987  return 0;
24988}
24989_ACEOF
24990if ac_fn_c_try_link "$LINENO"; then :
24991  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes
24992else
24993  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no
24994fi
24995rm -f core conftest.err conftest.$ac_objext \
24996    conftest$ac_exeext conftest.$ac_ext
24997LIBS=$ac_check_lib_save_LIBS
24998fi
24999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5
25000$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; }
25001if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then :
25002  ac_cv_libcdata_dummy=yes
25003else
25004  ac_cv_libcdata=no
25005fi
25006
25007        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5
25008$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; }
25009if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then :
25010  $as_echo_n "(cached) " >&6
25011else
25012  ac_check_lib_save_LIBS=$LIBS
25013LIBS="-lcdata  $LIBS"
25014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25015/* end confdefs.h.  */
25016
25017/* Override any GCC internal prototype to avoid an error.
25018   Use char because int might match the return type of a GCC
25019   builtin and then its argument prototype would still apply.  */
25020#ifdef __cplusplus
25021extern "C"
25022#endif
25023char libcdata_btree_insert_value ();
25024int
25025main ()
25026{
25027return libcdata_btree_insert_value ();
25028  ;
25029  return 0;
25030}
25031_ACEOF
25032if ac_fn_c_try_link "$LINENO"; then :
25033  ac_cv_lib_cdata_libcdata_btree_insert_value=yes
25034else
25035  ac_cv_lib_cdata_libcdata_btree_insert_value=no
25036fi
25037rm -f core conftest.err conftest.$ac_objext \
25038    conftest$ac_exeext conftest.$ac_ext
25039LIBS=$ac_check_lib_save_LIBS
25040fi
25041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5
25042$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; }
25043if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then :
25044  ac_cv_libcdata_dummy=yes
25045else
25046  ac_cv_libcdata=no
25047fi
25048
25049        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5
25050$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; }
25051if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then :
25052  $as_echo_n "(cached) " >&6
25053else
25054  ac_check_lib_save_LIBS=$LIBS
25055LIBS="-lcdata  $LIBS"
25056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25057/* end confdefs.h.  */
25058
25059/* Override any GCC internal prototype to avoid an error.
25060   Use char because int might match the return type of a GCC
25061   builtin and then its argument prototype would still apply.  */
25062#ifdef __cplusplus
25063extern "C"
25064#endif
25065char libcdata_btree_replace_value ();
25066int
25067main ()
25068{
25069return libcdata_btree_replace_value ();
25070  ;
25071  return 0;
25072}
25073_ACEOF
25074if ac_fn_c_try_link "$LINENO"; then :
25075  ac_cv_lib_cdata_libcdata_btree_replace_value=yes
25076else
25077  ac_cv_lib_cdata_libcdata_btree_replace_value=no
25078fi
25079rm -f core conftest.err conftest.$ac_objext \
25080    conftest$ac_exeext conftest.$ac_ext
25081LIBS=$ac_check_lib_save_LIBS
25082fi
25083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5
25084$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; }
25085if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then :
25086  ac_cv_libcdata_dummy=yes
25087else
25088  ac_cv_libcdata=no
25089fi
25090
25091        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5
25092$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; }
25093if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then :
25094  $as_echo_n "(cached) " >&6
25095else
25096  ac_check_lib_save_LIBS=$LIBS
25097LIBS="-lcdata  $LIBS"
25098cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099/* end confdefs.h.  */
25100
25101/* Override any GCC internal prototype to avoid an error.
25102   Use char because int might match the return type of a GCC
25103   builtin and then its argument prototype would still apply.  */
25104#ifdef __cplusplus
25105extern "C"
25106#endif
25107char libcdata_btree_remove_value ();
25108int
25109main ()
25110{
25111return libcdata_btree_remove_value ();
25112  ;
25113  return 0;
25114}
25115_ACEOF
25116if ac_fn_c_try_link "$LINENO"; then :
25117  ac_cv_lib_cdata_libcdata_btree_remove_value=yes
25118else
25119  ac_cv_lib_cdata_libcdata_btree_remove_value=no
25120fi
25121rm -f core conftest.err conftest.$ac_objext \
25122    conftest$ac_exeext conftest.$ac_ext
25123LIBS=$ac_check_lib_save_LIBS
25124fi
25125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5
25126$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; }
25127if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then :
25128  ac_cv_libcdata_dummy=yes
25129else
25130  ac_cv_libcdata=no
25131fi
25132
25133
25134                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5
25135$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; }
25136if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then :
25137  $as_echo_n "(cached) " >&6
25138else
25139  ac_check_lib_save_LIBS=$LIBS
25140LIBS="-lcdata  $LIBS"
25141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142/* end confdefs.h.  */
25143
25144/* Override any GCC internal prototype to avoid an error.
25145   Use char because int might match the return type of a GCC
25146   builtin and then its argument prototype would still apply.  */
25147#ifdef __cplusplus
25148extern "C"
25149#endif
25150char libcdata_list_initialize ();
25151int
25152main ()
25153{
25154return libcdata_list_initialize ();
25155  ;
25156  return 0;
25157}
25158_ACEOF
25159if ac_fn_c_try_link "$LINENO"; then :
25160  ac_cv_lib_cdata_libcdata_list_initialize=yes
25161else
25162  ac_cv_lib_cdata_libcdata_list_initialize=no
25163fi
25164rm -f core conftest.err conftest.$ac_objext \
25165    conftest$ac_exeext conftest.$ac_ext
25166LIBS=$ac_check_lib_save_LIBS
25167fi
25168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5
25169$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; }
25170if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then :
25171  ac_cv_libcdata_dummy=yes
25172else
25173  ac_cv_libcdata=no
25174fi
25175
25176        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5
25177$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; }
25178if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then :
25179  $as_echo_n "(cached) " >&6
25180else
25181  ac_check_lib_save_LIBS=$LIBS
25182LIBS="-lcdata  $LIBS"
25183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25184/* end confdefs.h.  */
25185
25186/* Override any GCC internal prototype to avoid an error.
25187   Use char because int might match the return type of a GCC
25188   builtin and then its argument prototype would still apply.  */
25189#ifdef __cplusplus
25190extern "C"
25191#endif
25192char libcdata_list_free ();
25193int
25194main ()
25195{
25196return libcdata_list_free ();
25197  ;
25198  return 0;
25199}
25200_ACEOF
25201if ac_fn_c_try_link "$LINENO"; then :
25202  ac_cv_lib_cdata_libcdata_list_free=yes
25203else
25204  ac_cv_lib_cdata_libcdata_list_free=no
25205fi
25206rm -f core conftest.err conftest.$ac_objext \
25207    conftest$ac_exeext conftest.$ac_ext
25208LIBS=$ac_check_lib_save_LIBS
25209fi
25210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5
25211$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; }
25212if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then :
25213  ac_cv_libcdata_dummy=yes
25214else
25215  ac_cv_libcdata=no
25216fi
25217
25218        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5
25219$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; }
25220if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then :
25221  $as_echo_n "(cached) " >&6
25222else
25223  ac_check_lib_save_LIBS=$LIBS
25224LIBS="-lcdata  $LIBS"
25225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25226/* end confdefs.h.  */
25227
25228/* Override any GCC internal prototype to avoid an error.
25229   Use char because int might match the return type of a GCC
25230   builtin and then its argument prototype would still apply.  */
25231#ifdef __cplusplus
25232extern "C"
25233#endif
25234char libcdata_list_empty ();
25235int
25236main ()
25237{
25238return libcdata_list_empty ();
25239  ;
25240  return 0;
25241}
25242_ACEOF
25243if ac_fn_c_try_link "$LINENO"; then :
25244  ac_cv_lib_cdata_libcdata_list_empty=yes
25245else
25246  ac_cv_lib_cdata_libcdata_list_empty=no
25247fi
25248rm -f core conftest.err conftest.$ac_objext \
25249    conftest$ac_exeext conftest.$ac_ext
25250LIBS=$ac_check_lib_save_LIBS
25251fi
25252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5
25253$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; }
25254if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then :
25255  ac_cv_libcdata_dummy=yes
25256else
25257  ac_cv_libcdata=no
25258fi
25259
25260        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5
25261$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; }
25262if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then :
25263  $as_echo_n "(cached) " >&6
25264else
25265  ac_check_lib_save_LIBS=$LIBS
25266LIBS="-lcdata  $LIBS"
25267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25268/* end confdefs.h.  */
25269
25270/* Override any GCC internal prototype to avoid an error.
25271   Use char because int might match the return type of a GCC
25272   builtin and then its argument prototype would still apply.  */
25273#ifdef __cplusplus
25274extern "C"
25275#endif
25276char libcdata_list_clone ();
25277int
25278main ()
25279{
25280return libcdata_list_clone ();
25281  ;
25282  return 0;
25283}
25284_ACEOF
25285if ac_fn_c_try_link "$LINENO"; then :
25286  ac_cv_lib_cdata_libcdata_list_clone=yes
25287else
25288  ac_cv_lib_cdata_libcdata_list_clone=no
25289fi
25290rm -f core conftest.err conftest.$ac_objext \
25291    conftest$ac_exeext conftest.$ac_ext
25292LIBS=$ac_check_lib_save_LIBS
25293fi
25294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5
25295$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; }
25296if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then :
25297  ac_cv_libcdata_dummy=yes
25298else
25299  ac_cv_libcdata=no
25300fi
25301
25302        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5
25303$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; }
25304if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then :
25305  $as_echo_n "(cached) " >&6
25306else
25307  ac_check_lib_save_LIBS=$LIBS
25308LIBS="-lcdata  $LIBS"
25309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25310/* end confdefs.h.  */
25311
25312/* Override any GCC internal prototype to avoid an error.
25313   Use char because int might match the return type of a GCC
25314   builtin and then its argument prototype would still apply.  */
25315#ifdef __cplusplus
25316extern "C"
25317#endif
25318char libcdata_list_get_number_of_elements ();
25319int
25320main ()
25321{
25322return libcdata_list_get_number_of_elements ();
25323  ;
25324  return 0;
25325}
25326_ACEOF
25327if ac_fn_c_try_link "$LINENO"; then :
25328  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes
25329else
25330  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no
25331fi
25332rm -f core conftest.err conftest.$ac_objext \
25333    conftest$ac_exeext conftest.$ac_ext
25334LIBS=$ac_check_lib_save_LIBS
25335fi
25336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5
25337$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; }
25338if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then :
25339  ac_cv_libcdata_dummy=yes
25340else
25341  ac_cv_libcdata=no
25342fi
25343
25344        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5
25345$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; }
25346if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then :
25347  $as_echo_n "(cached) " >&6
25348else
25349  ac_check_lib_save_LIBS=$LIBS
25350LIBS="-lcdata  $LIBS"
25351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352/* end confdefs.h.  */
25353
25354/* Override any GCC internal prototype to avoid an error.
25355   Use char because int might match the return type of a GCC
25356   builtin and then its argument prototype would still apply.  */
25357#ifdef __cplusplus
25358extern "C"
25359#endif
25360char libcdata_list_get_first_element ();
25361int
25362main ()
25363{
25364return libcdata_list_get_first_element ();
25365  ;
25366  return 0;
25367}
25368_ACEOF
25369if ac_fn_c_try_link "$LINENO"; then :
25370  ac_cv_lib_cdata_libcdata_list_get_first_element=yes
25371else
25372  ac_cv_lib_cdata_libcdata_list_get_first_element=no
25373fi
25374rm -f core conftest.err conftest.$ac_objext \
25375    conftest$ac_exeext conftest.$ac_ext
25376LIBS=$ac_check_lib_save_LIBS
25377fi
25378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5
25379$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; }
25380if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then :
25381  ac_cv_libcdata_dummy=yes
25382else
25383  ac_cv_libcdata=no
25384fi
25385
25386        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5
25387$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; }
25388if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then :
25389  $as_echo_n "(cached) " >&6
25390else
25391  ac_check_lib_save_LIBS=$LIBS
25392LIBS="-lcdata  $LIBS"
25393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394/* end confdefs.h.  */
25395
25396/* Override any GCC internal prototype to avoid an error.
25397   Use char because int might match the return type of a GCC
25398   builtin and then its argument prototype would still apply.  */
25399#ifdef __cplusplus
25400extern "C"
25401#endif
25402char libcdata_list_get_last_element ();
25403int
25404main ()
25405{
25406return libcdata_list_get_last_element ();
25407  ;
25408  return 0;
25409}
25410_ACEOF
25411if ac_fn_c_try_link "$LINENO"; then :
25412  ac_cv_lib_cdata_libcdata_list_get_last_element=yes
25413else
25414  ac_cv_lib_cdata_libcdata_list_get_last_element=no
25415fi
25416rm -f core conftest.err conftest.$ac_objext \
25417    conftest$ac_exeext conftest.$ac_ext
25418LIBS=$ac_check_lib_save_LIBS
25419fi
25420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5
25421$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; }
25422if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then :
25423  ac_cv_libcdata_dummy=yes
25424else
25425  ac_cv_libcdata=no
25426fi
25427
25428        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5
25429$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; }
25430if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then :
25431  $as_echo_n "(cached) " >&6
25432else
25433  ac_check_lib_save_LIBS=$LIBS
25434LIBS="-lcdata  $LIBS"
25435cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25436/* end confdefs.h.  */
25437
25438/* Override any GCC internal prototype to avoid an error.
25439   Use char because int might match the return type of a GCC
25440   builtin and then its argument prototype would still apply.  */
25441#ifdef __cplusplus
25442extern "C"
25443#endif
25444char libcdata_list_get_element_by_index ();
25445int
25446main ()
25447{
25448return libcdata_list_get_element_by_index ();
25449  ;
25450  return 0;
25451}
25452_ACEOF
25453if ac_fn_c_try_link "$LINENO"; then :
25454  ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes
25455else
25456  ac_cv_lib_cdata_libcdata_list_get_element_by_index=no
25457fi
25458rm -f core conftest.err conftest.$ac_objext \
25459    conftest$ac_exeext conftest.$ac_ext
25460LIBS=$ac_check_lib_save_LIBS
25461fi
25462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5
25463$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; }
25464if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then :
25465  ac_cv_libcdata_dummy=yes
25466else
25467  ac_cv_libcdata=no
25468fi
25469
25470        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5
25471$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; }
25472if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then :
25473  $as_echo_n "(cached) " >&6
25474else
25475  ac_check_lib_save_LIBS=$LIBS
25476LIBS="-lcdata  $LIBS"
25477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25478/* end confdefs.h.  */
25479
25480/* Override any GCC internal prototype to avoid an error.
25481   Use char because int might match the return type of a GCC
25482   builtin and then its argument prototype would still apply.  */
25483#ifdef __cplusplus
25484extern "C"
25485#endif
25486char libcdata_list_get_value_by_index ();
25487int
25488main ()
25489{
25490return libcdata_list_get_value_by_index ();
25491  ;
25492  return 0;
25493}
25494_ACEOF
25495if ac_fn_c_try_link "$LINENO"; then :
25496  ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes
25497else
25498  ac_cv_lib_cdata_libcdata_list_get_value_by_index=no
25499fi
25500rm -f core conftest.err conftest.$ac_objext \
25501    conftest$ac_exeext conftest.$ac_ext
25502LIBS=$ac_check_lib_save_LIBS
25503fi
25504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5
25505$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; }
25506if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then :
25507  ac_cv_libcdata_dummy=yes
25508else
25509  ac_cv_libcdata=no
25510fi
25511
25512        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5
25513$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; }
25514if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then :
25515  $as_echo_n "(cached) " >&6
25516else
25517  ac_check_lib_save_LIBS=$LIBS
25518LIBS="-lcdata  $LIBS"
25519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25520/* end confdefs.h.  */
25521
25522/* Override any GCC internal prototype to avoid an error.
25523   Use char because int might match the return type of a GCC
25524   builtin and then its argument prototype would still apply.  */
25525#ifdef __cplusplus
25526extern "C"
25527#endif
25528char libcdata_list_prepend_element ();
25529int
25530main ()
25531{
25532return libcdata_list_prepend_element ();
25533  ;
25534  return 0;
25535}
25536_ACEOF
25537if ac_fn_c_try_link "$LINENO"; then :
25538  ac_cv_lib_cdata_libcdata_list_prepend_element=yes
25539else
25540  ac_cv_lib_cdata_libcdata_list_prepend_element=no
25541fi
25542rm -f core conftest.err conftest.$ac_objext \
25543    conftest$ac_exeext conftest.$ac_ext
25544LIBS=$ac_check_lib_save_LIBS
25545fi
25546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5
25547$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; }
25548if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then :
25549  ac_cv_libcdata_dummy=yes
25550else
25551  ac_cv_libcdata=no
25552fi
25553
25554        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5
25555$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; }
25556if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then :
25557  $as_echo_n "(cached) " >&6
25558else
25559  ac_check_lib_save_LIBS=$LIBS
25560LIBS="-lcdata  $LIBS"
25561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562/* end confdefs.h.  */
25563
25564/* Override any GCC internal prototype to avoid an error.
25565   Use char because int might match the return type of a GCC
25566   builtin and then its argument prototype would still apply.  */
25567#ifdef __cplusplus
25568extern "C"
25569#endif
25570char libcdata_list_prepend_value ();
25571int
25572main ()
25573{
25574return libcdata_list_prepend_value ();
25575  ;
25576  return 0;
25577}
25578_ACEOF
25579if ac_fn_c_try_link "$LINENO"; then :
25580  ac_cv_lib_cdata_libcdata_list_prepend_value=yes
25581else
25582  ac_cv_lib_cdata_libcdata_list_prepend_value=no
25583fi
25584rm -f core conftest.err conftest.$ac_objext \
25585    conftest$ac_exeext conftest.$ac_ext
25586LIBS=$ac_check_lib_save_LIBS
25587fi
25588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5
25589$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; }
25590if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then :
25591  ac_cv_libcdata_dummy=yes
25592else
25593  ac_cv_libcdata=no
25594fi
25595
25596        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5
25597$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; }
25598if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then :
25599  $as_echo_n "(cached) " >&6
25600else
25601  ac_check_lib_save_LIBS=$LIBS
25602LIBS="-lcdata  $LIBS"
25603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25604/* end confdefs.h.  */
25605
25606/* Override any GCC internal prototype to avoid an error.
25607   Use char because int might match the return type of a GCC
25608   builtin and then its argument prototype would still apply.  */
25609#ifdef __cplusplus
25610extern "C"
25611#endif
25612char libcdata_list_append_element ();
25613int
25614main ()
25615{
25616return libcdata_list_append_element ();
25617  ;
25618  return 0;
25619}
25620_ACEOF
25621if ac_fn_c_try_link "$LINENO"; then :
25622  ac_cv_lib_cdata_libcdata_list_append_element=yes
25623else
25624  ac_cv_lib_cdata_libcdata_list_append_element=no
25625fi
25626rm -f core conftest.err conftest.$ac_objext \
25627    conftest$ac_exeext conftest.$ac_ext
25628LIBS=$ac_check_lib_save_LIBS
25629fi
25630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5
25631$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; }
25632if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then :
25633  ac_cv_libcdata_dummy=yes
25634else
25635  ac_cv_libcdata=no
25636fi
25637
25638        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5
25639$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; }
25640if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then :
25641  $as_echo_n "(cached) " >&6
25642else
25643  ac_check_lib_save_LIBS=$LIBS
25644LIBS="-lcdata  $LIBS"
25645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25646/* end confdefs.h.  */
25647
25648/* Override any GCC internal prototype to avoid an error.
25649   Use char because int might match the return type of a GCC
25650   builtin and then its argument prototype would still apply.  */
25651#ifdef __cplusplus
25652extern "C"
25653#endif
25654char libcdata_list_append_value ();
25655int
25656main ()
25657{
25658return libcdata_list_append_value ();
25659  ;
25660  return 0;
25661}
25662_ACEOF
25663if ac_fn_c_try_link "$LINENO"; then :
25664  ac_cv_lib_cdata_libcdata_list_append_value=yes
25665else
25666  ac_cv_lib_cdata_libcdata_list_append_value=no
25667fi
25668rm -f core conftest.err conftest.$ac_objext \
25669    conftest$ac_exeext conftest.$ac_ext
25670LIBS=$ac_check_lib_save_LIBS
25671fi
25672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5
25673$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; }
25674if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then :
25675  ac_cv_libcdata_dummy=yes
25676else
25677  ac_cv_libcdata=no
25678fi
25679
25680        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5
25681$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; }
25682if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then :
25683  $as_echo_n "(cached) " >&6
25684else
25685  ac_check_lib_save_LIBS=$LIBS
25686LIBS="-lcdata  $LIBS"
25687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25688/* end confdefs.h.  */
25689
25690/* Override any GCC internal prototype to avoid an error.
25691   Use char because int might match the return type of a GCC
25692   builtin and then its argument prototype would still apply.  */
25693#ifdef __cplusplus
25694extern "C"
25695#endif
25696char libcdata_list_insert_element ();
25697int
25698main ()
25699{
25700return libcdata_list_insert_element ();
25701  ;
25702  return 0;
25703}
25704_ACEOF
25705if ac_fn_c_try_link "$LINENO"; then :
25706  ac_cv_lib_cdata_libcdata_list_insert_element=yes
25707else
25708  ac_cv_lib_cdata_libcdata_list_insert_element=no
25709fi
25710rm -f core conftest.err conftest.$ac_objext \
25711    conftest$ac_exeext conftest.$ac_ext
25712LIBS=$ac_check_lib_save_LIBS
25713fi
25714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5
25715$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; }
25716if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then :
25717  ac_cv_libcdata_dummy=yes
25718else
25719  ac_cv_libcdata=no
25720fi
25721
25722        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5
25723$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; }
25724if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then :
25725  $as_echo_n "(cached) " >&6
25726else
25727  ac_check_lib_save_LIBS=$LIBS
25728LIBS="-lcdata  $LIBS"
25729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25730/* end confdefs.h.  */
25731
25732/* Override any GCC internal prototype to avoid an error.
25733   Use char because int might match the return type of a GCC
25734   builtin and then its argument prototype would still apply.  */
25735#ifdef __cplusplus
25736extern "C"
25737#endif
25738char libcdata_list_insert_value ();
25739int
25740main ()
25741{
25742return libcdata_list_insert_value ();
25743  ;
25744  return 0;
25745}
25746_ACEOF
25747if ac_fn_c_try_link "$LINENO"; then :
25748  ac_cv_lib_cdata_libcdata_list_insert_value=yes
25749else
25750  ac_cv_lib_cdata_libcdata_list_insert_value=no
25751fi
25752rm -f core conftest.err conftest.$ac_objext \
25753    conftest$ac_exeext conftest.$ac_ext
25754LIBS=$ac_check_lib_save_LIBS
25755fi
25756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5
25757$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; }
25758if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then :
25759  ac_cv_libcdata_dummy=yes
25760else
25761  ac_cv_libcdata=no
25762fi
25763
25764        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5
25765$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; }
25766if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then :
25767  $as_echo_n "(cached) " >&6
25768else
25769  ac_check_lib_save_LIBS=$LIBS
25770LIBS="-lcdata  $LIBS"
25771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772/* end confdefs.h.  */
25773
25774/* Override any GCC internal prototype to avoid an error.
25775   Use char because int might match the return type of a GCC
25776   builtin and then its argument prototype would still apply.  */
25777#ifdef __cplusplus
25778extern "C"
25779#endif
25780char libcdata_list_remove_element ();
25781int
25782main ()
25783{
25784return libcdata_list_remove_element ();
25785  ;
25786  return 0;
25787}
25788_ACEOF
25789if ac_fn_c_try_link "$LINENO"; then :
25790  ac_cv_lib_cdata_libcdata_list_remove_element=yes
25791else
25792  ac_cv_lib_cdata_libcdata_list_remove_element=no
25793fi
25794rm -f core conftest.err conftest.$ac_objext \
25795    conftest$ac_exeext conftest.$ac_ext
25796LIBS=$ac_check_lib_save_LIBS
25797fi
25798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5
25799$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; }
25800if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then :
25801  ac_cv_libcdata_dummy=yes
25802else
25803  ac_cv_libcdata=no
25804fi
25805
25806
25807                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5
25808$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; }
25809if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then :
25810  $as_echo_n "(cached) " >&6
25811else
25812  ac_check_lib_save_LIBS=$LIBS
25813LIBS="-lcdata  $LIBS"
25814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25815/* end confdefs.h.  */
25816
25817/* Override any GCC internal prototype to avoid an error.
25818   Use char because int might match the return type of a GCC
25819   builtin and then its argument prototype would still apply.  */
25820#ifdef __cplusplus
25821extern "C"
25822#endif
25823char libcdata_list_element_initialize ();
25824int
25825main ()
25826{
25827return libcdata_list_element_initialize ();
25828  ;
25829  return 0;
25830}
25831_ACEOF
25832if ac_fn_c_try_link "$LINENO"; then :
25833  ac_cv_lib_cdata_libcdata_list_element_initialize=yes
25834else
25835  ac_cv_lib_cdata_libcdata_list_element_initialize=no
25836fi
25837rm -f core conftest.err conftest.$ac_objext \
25838    conftest$ac_exeext conftest.$ac_ext
25839LIBS=$ac_check_lib_save_LIBS
25840fi
25841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5
25842$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; }
25843if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then :
25844  ac_cv_libcdata_dummy=yes
25845else
25846  ac_cv_libcdata=no
25847fi
25848
25849        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5
25850$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; }
25851if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then :
25852  $as_echo_n "(cached) " >&6
25853else
25854  ac_check_lib_save_LIBS=$LIBS
25855LIBS="-lcdata  $LIBS"
25856cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25857/* end confdefs.h.  */
25858
25859/* Override any GCC internal prototype to avoid an error.
25860   Use char because int might match the return type of a GCC
25861   builtin and then its argument prototype would still apply.  */
25862#ifdef __cplusplus
25863extern "C"
25864#endif
25865char libcdata_list_element_free ();
25866int
25867main ()
25868{
25869return libcdata_list_element_free ();
25870  ;
25871  return 0;
25872}
25873_ACEOF
25874if ac_fn_c_try_link "$LINENO"; then :
25875  ac_cv_lib_cdata_libcdata_list_element_free=yes
25876else
25877  ac_cv_lib_cdata_libcdata_list_element_free=no
25878fi
25879rm -f core conftest.err conftest.$ac_objext \
25880    conftest$ac_exeext conftest.$ac_ext
25881LIBS=$ac_check_lib_save_LIBS
25882fi
25883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5
25884$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; }
25885if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then :
25886  ac_cv_libcdata_dummy=yes
25887else
25888  ac_cv_libcdata=no
25889fi
25890
25891        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5
25892$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; }
25893if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then :
25894  $as_echo_n "(cached) " >&6
25895else
25896  ac_check_lib_save_LIBS=$LIBS
25897LIBS="-lcdata  $LIBS"
25898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25899/* end confdefs.h.  */
25900
25901/* Override any GCC internal prototype to avoid an error.
25902   Use char because int might match the return type of a GCC
25903   builtin and then its argument prototype would still apply.  */
25904#ifdef __cplusplus
25905extern "C"
25906#endif
25907char libcdata_list_element_get_value ();
25908int
25909main ()
25910{
25911return libcdata_list_element_get_value ();
25912  ;
25913  return 0;
25914}
25915_ACEOF
25916if ac_fn_c_try_link "$LINENO"; then :
25917  ac_cv_lib_cdata_libcdata_list_element_get_value=yes
25918else
25919  ac_cv_lib_cdata_libcdata_list_element_get_value=no
25920fi
25921rm -f core conftest.err conftest.$ac_objext \
25922    conftest$ac_exeext conftest.$ac_ext
25923LIBS=$ac_check_lib_save_LIBS
25924fi
25925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5
25926$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; }
25927if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then :
25928  ac_cv_libcdata_dummy=yes
25929else
25930  ac_cv_libcdata=no
25931fi
25932
25933        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5
25934$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; }
25935if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then :
25936  $as_echo_n "(cached) " >&6
25937else
25938  ac_check_lib_save_LIBS=$LIBS
25939LIBS="-lcdata  $LIBS"
25940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25941/* end confdefs.h.  */
25942
25943/* Override any GCC internal prototype to avoid an error.
25944   Use char because int might match the return type of a GCC
25945   builtin and then its argument prototype would still apply.  */
25946#ifdef __cplusplus
25947extern "C"
25948#endif
25949char libcdata_list_element_set_value ();
25950int
25951main ()
25952{
25953return libcdata_list_element_set_value ();
25954  ;
25955  return 0;
25956}
25957_ACEOF
25958if ac_fn_c_try_link "$LINENO"; then :
25959  ac_cv_lib_cdata_libcdata_list_element_set_value=yes
25960else
25961  ac_cv_lib_cdata_libcdata_list_element_set_value=no
25962fi
25963rm -f core conftest.err conftest.$ac_objext \
25964    conftest$ac_exeext conftest.$ac_ext
25965LIBS=$ac_check_lib_save_LIBS
25966fi
25967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5
25968$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; }
25969if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then :
25970  ac_cv_libcdata_dummy=yes
25971else
25972  ac_cv_libcdata=no
25973fi
25974
25975        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5
25976$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; }
25977if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then :
25978  $as_echo_n "(cached) " >&6
25979else
25980  ac_check_lib_save_LIBS=$LIBS
25981LIBS="-lcdata  $LIBS"
25982cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983/* end confdefs.h.  */
25984
25985/* Override any GCC internal prototype to avoid an error.
25986   Use char because int might match the return type of a GCC
25987   builtin and then its argument prototype would still apply.  */
25988#ifdef __cplusplus
25989extern "C"
25990#endif
25991char libcdata_list_element_get_previous_element ();
25992int
25993main ()
25994{
25995return libcdata_list_element_get_previous_element ();
25996  ;
25997  return 0;
25998}
25999_ACEOF
26000if ac_fn_c_try_link "$LINENO"; then :
26001  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes
26002else
26003  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no
26004fi
26005rm -f core conftest.err conftest.$ac_objext \
26006    conftest$ac_exeext conftest.$ac_ext
26007LIBS=$ac_check_lib_save_LIBS
26008fi
26009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5
26010$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; }
26011if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then :
26012  ac_cv_libcdata_dummy=yes
26013else
26014  ac_cv_libcdata=no
26015fi
26016
26017        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5
26018$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; }
26019if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then :
26020  $as_echo_n "(cached) " >&6
26021else
26022  ac_check_lib_save_LIBS=$LIBS
26023LIBS="-lcdata  $LIBS"
26024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025/* end confdefs.h.  */
26026
26027/* Override any GCC internal prototype to avoid an error.
26028   Use char because int might match the return type of a GCC
26029   builtin and then its argument prototype would still apply.  */
26030#ifdef __cplusplus
26031extern "C"
26032#endif
26033char libcdata_list_element_set_previous_element ();
26034int
26035main ()
26036{
26037return libcdata_list_element_set_previous_element ();
26038  ;
26039  return 0;
26040}
26041_ACEOF
26042if ac_fn_c_try_link "$LINENO"; then :
26043  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes
26044else
26045  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no
26046fi
26047rm -f core conftest.err conftest.$ac_objext \
26048    conftest$ac_exeext conftest.$ac_ext
26049LIBS=$ac_check_lib_save_LIBS
26050fi
26051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5
26052$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; }
26053if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then :
26054  ac_cv_libcdata_dummy=yes
26055else
26056  ac_cv_libcdata=no
26057fi
26058
26059        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5
26060$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; }
26061if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then :
26062  $as_echo_n "(cached) " >&6
26063else
26064  ac_check_lib_save_LIBS=$LIBS
26065LIBS="-lcdata  $LIBS"
26066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067/* end confdefs.h.  */
26068
26069/* Override any GCC internal prototype to avoid an error.
26070   Use char because int might match the return type of a GCC
26071   builtin and then its argument prototype would still apply.  */
26072#ifdef __cplusplus
26073extern "C"
26074#endif
26075char libcdata_list_element_get_next_element ();
26076int
26077main ()
26078{
26079return libcdata_list_element_get_next_element ();
26080  ;
26081  return 0;
26082}
26083_ACEOF
26084if ac_fn_c_try_link "$LINENO"; then :
26085  ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes
26086else
26087  ac_cv_lib_cdata_libcdata_list_element_get_next_element=no
26088fi
26089rm -f core conftest.err conftest.$ac_objext \
26090    conftest$ac_exeext conftest.$ac_ext
26091LIBS=$ac_check_lib_save_LIBS
26092fi
26093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5
26094$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; }
26095if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then :
26096  ac_cv_libcdata_dummy=yes
26097else
26098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5
26099$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; }
26100if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then :
26101  $as_echo_n "(cached) " >&6
26102else
26103  ac_check_lib_save_LIBS=$LIBS
26104LIBS="-lcdata  $LIBS"
26105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26106/* end confdefs.h.  */
26107
26108/* Override any GCC internal prototype to avoid an error.
26109   Use char because int might match the return type of a GCC
26110   builtin and then its argument prototype would still apply.  */
26111#ifdef __cplusplus
26112extern "C"
26113#endif
26114char libcdata_list_element_set_next_element ();
26115int
26116main ()
26117{
26118return libcdata_list_element_set_next_element ();
26119  ;
26120  return 0;
26121}
26122_ACEOF
26123if ac_fn_c_try_link "$LINENO"; then :
26124  ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes
26125else
26126  ac_cv_lib_cdata_libcdata_list_element_set_next_element=no
26127fi
26128rm -f core conftest.err conftest.$ac_objext \
26129    conftest$ac_exeext conftest.$ac_ext
26130LIBS=$ac_check_lib_save_LIBS
26131fi
26132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5
26133$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; }
26134if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then :
26135  ac_cv_libcdata_dummy=yes
26136else
26137  ac_cv_libcdata=no
26138fi
26139
26140        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5
26141$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; }
26142if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then :
26143  $as_echo_n "(cached) " >&6
26144else
26145  ac_check_lib_save_LIBS=$LIBS
26146LIBS="-lcdata  $LIBS"
26147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26148/* end confdefs.h.  */
26149
26150/* Override any GCC internal prototype to avoid an error.
26151   Use char because int might match the return type of a GCC
26152   builtin and then its argument prototype would still apply.  */
26153#ifdef __cplusplus
26154extern "C"
26155#endif
26156char libcdata_list_element_get_elements ();
26157int
26158main ()
26159{
26160return libcdata_list_element_get_elements ();
26161  ;
26162  return 0;
26163}
26164_ACEOF
26165if ac_fn_c_try_link "$LINENO"; then :
26166  ac_cv_lib_cdata_libcdata_list_element_get_elements=yes
26167else
26168  ac_cv_lib_cdata_libcdata_list_element_get_elements=no
26169fi
26170rm -f core conftest.err conftest.$ac_objext \
26171    conftest$ac_exeext conftest.$ac_ext
26172LIBS=$ac_check_lib_save_LIBS
26173fi
26174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5
26175$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; }
26176if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then :
26177  ac_cv_libcdata_dummy=yes
26178else
26179  ac_cv_libcdata=no
26180fi
26181
26182        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5
26183$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; }
26184if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then :
26185  $as_echo_n "(cached) " >&6
26186else
26187  ac_check_lib_save_LIBS=$LIBS
26188LIBS="-lcdata  $LIBS"
26189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190/* end confdefs.h.  */
26191
26192/* Override any GCC internal prototype to avoid an error.
26193   Use char because int might match the return type of a GCC
26194   builtin and then its argument prototype would still apply.  */
26195#ifdef __cplusplus
26196extern "C"
26197#endif
26198char libcdata_list_element_set_elements ();
26199int
26200main ()
26201{
26202return libcdata_list_element_set_elements ();
26203  ;
26204  return 0;
26205}
26206_ACEOF
26207if ac_fn_c_try_link "$LINENO"; then :
26208  ac_cv_lib_cdata_libcdata_list_element_set_elements=yes
26209else
26210  ac_cv_lib_cdata_libcdata_list_element_set_elements=no
26211fi
26212rm -f core conftest.err conftest.$ac_objext \
26213    conftest$ac_exeext conftest.$ac_ext
26214LIBS=$ac_check_lib_save_LIBS
26215fi
26216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5
26217$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; }
26218if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then :
26219  ac_cv_libcdata_dummy=yes
26220else
26221  ac_cv_libcdata=no
26222fi
26223
26224          ac_cv_libcdata=no
26225fi
26226
26227
26228                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5
26229$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; }
26230if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then :
26231  $as_echo_n "(cached) " >&6
26232else
26233  ac_check_lib_save_LIBS=$LIBS
26234LIBS="-lcdata  $LIBS"
26235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26236/* end confdefs.h.  */
26237
26238/* Override any GCC internal prototype to avoid an error.
26239   Use char because int might match the return type of a GCC
26240   builtin and then its argument prototype would still apply.  */
26241#ifdef __cplusplus
26242extern "C"
26243#endif
26244char libcdata_range_list_initialize ();
26245int
26246main ()
26247{
26248return libcdata_range_list_initialize ();
26249  ;
26250  return 0;
26251}
26252_ACEOF
26253if ac_fn_c_try_link "$LINENO"; then :
26254  ac_cv_lib_cdata_libcdata_range_list_initialize=yes
26255else
26256  ac_cv_lib_cdata_libcdata_range_list_initialize=no
26257fi
26258rm -f core conftest.err conftest.$ac_objext \
26259    conftest$ac_exeext conftest.$ac_ext
26260LIBS=$ac_check_lib_save_LIBS
26261fi
26262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5
26263$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; }
26264if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then :
26265  ac_cv_libcdata_dummy=yes
26266else
26267  ac_cv_libcdata=no
26268fi
26269
26270        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5
26271$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; }
26272if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then :
26273  $as_echo_n "(cached) " >&6
26274else
26275  ac_check_lib_save_LIBS=$LIBS
26276LIBS="-lcdata  $LIBS"
26277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26278/* end confdefs.h.  */
26279
26280/* Override any GCC internal prototype to avoid an error.
26281   Use char because int might match the return type of a GCC
26282   builtin and then its argument prototype would still apply.  */
26283#ifdef __cplusplus
26284extern "C"
26285#endif
26286char libcdata_range_list_free ();
26287int
26288main ()
26289{
26290return libcdata_range_list_free ();
26291  ;
26292  return 0;
26293}
26294_ACEOF
26295if ac_fn_c_try_link "$LINENO"; then :
26296  ac_cv_lib_cdata_libcdata_range_list_free=yes
26297else
26298  ac_cv_lib_cdata_libcdata_range_list_free=no
26299fi
26300rm -f core conftest.err conftest.$ac_objext \
26301    conftest$ac_exeext conftest.$ac_ext
26302LIBS=$ac_check_lib_save_LIBS
26303fi
26304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5
26305$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; }
26306if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then :
26307  ac_cv_libcdata_dummy=yes
26308else
26309  ac_cv_libcdata=no
26310fi
26311
26312        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5
26313$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; }
26314if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then :
26315  $as_echo_n "(cached) " >&6
26316else
26317  ac_check_lib_save_LIBS=$LIBS
26318LIBS="-lcdata  $LIBS"
26319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26320/* end confdefs.h.  */
26321
26322/* Override any GCC internal prototype to avoid an error.
26323   Use char because int might match the return type of a GCC
26324   builtin and then its argument prototype would still apply.  */
26325#ifdef __cplusplus
26326extern "C"
26327#endif
26328char libcdata_range_list_empty ();
26329int
26330main ()
26331{
26332return libcdata_range_list_empty ();
26333  ;
26334  return 0;
26335}
26336_ACEOF
26337if ac_fn_c_try_link "$LINENO"; then :
26338  ac_cv_lib_cdata_libcdata_range_list_empty=yes
26339else
26340  ac_cv_lib_cdata_libcdata_range_list_empty=no
26341fi
26342rm -f core conftest.err conftest.$ac_objext \
26343    conftest$ac_exeext conftest.$ac_ext
26344LIBS=$ac_check_lib_save_LIBS
26345fi
26346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5
26347$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; }
26348if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then :
26349  ac_cv_libcdata_dummy=yes
26350else
26351  ac_cv_libcdata=no
26352fi
26353
26354        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5
26355$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; }
26356if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then :
26357  $as_echo_n "(cached) " >&6
26358else
26359  ac_check_lib_save_LIBS=$LIBS
26360LIBS="-lcdata  $LIBS"
26361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26362/* end confdefs.h.  */
26363
26364/* Override any GCC internal prototype to avoid an error.
26365   Use char because int might match the return type of a GCC
26366   builtin and then its argument prototype would still apply.  */
26367#ifdef __cplusplus
26368extern "C"
26369#endif
26370char libcdata_range_list_clone ();
26371int
26372main ()
26373{
26374return libcdata_range_list_clone ();
26375  ;
26376  return 0;
26377}
26378_ACEOF
26379if ac_fn_c_try_link "$LINENO"; then :
26380  ac_cv_lib_cdata_libcdata_range_list_clone=yes
26381else
26382  ac_cv_lib_cdata_libcdata_range_list_clone=no
26383fi
26384rm -f core conftest.err conftest.$ac_objext \
26385    conftest$ac_exeext conftest.$ac_ext
26386LIBS=$ac_check_lib_save_LIBS
26387fi
26388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5
26389$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; }
26390if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then :
26391  ac_cv_libcdata_dummy=yes
26392else
26393  ac_cv_libcdata=no
26394fi
26395
26396        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5
26397$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; }
26398if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then :
26399  $as_echo_n "(cached) " >&6
26400else
26401  ac_check_lib_save_LIBS=$LIBS
26402LIBS="-lcdata  $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 libcdata_range_list_get_number_of_elements ();
26413int
26414main ()
26415{
26416return libcdata_range_list_get_number_of_elements ();
26417  ;
26418  return 0;
26419}
26420_ACEOF
26421if ac_fn_c_try_link "$LINENO"; then :
26422  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes
26423else
26424  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=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_cdata_libcdata_range_list_get_number_of_elements" >&5
26431$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; }
26432if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then :
26433  ac_cv_libcdata_dummy=yes
26434else
26435  ac_cv_libcdata=no
26436fi
26437
26438        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5
26439$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; }
26440if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then :
26441  $as_echo_n "(cached) " >&6
26442else
26443  ac_check_lib_save_LIBS=$LIBS
26444LIBS="-lcdata  $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 libcdata_range_list_insert_range ();
26455int
26456main ()
26457{
26458return libcdata_range_list_insert_range ();
26459  ;
26460  return 0;
26461}
26462_ACEOF
26463if ac_fn_c_try_link "$LINENO"; then :
26464  ac_cv_lib_cdata_libcdata_range_list_insert_range=yes
26465else
26466  ac_cv_lib_cdata_libcdata_range_list_insert_range=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_cdata_libcdata_range_list_insert_range" >&5
26473$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; }
26474if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then :
26475  ac_cv_libcdata_dummy=yes
26476else
26477  ac_cv_libcdata=no
26478fi
26479
26480        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5
26481$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; }
26482if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then :
26483  $as_echo_n "(cached) " >&6
26484else
26485  ac_check_lib_save_LIBS=$LIBS
26486LIBS="-lcdata  $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 libcdata_range_list_insert_range_list ();
26497int
26498main ()
26499{
26500return libcdata_range_list_insert_range_list ();
26501  ;
26502  return 0;
26503}
26504_ACEOF
26505if ac_fn_c_try_link "$LINENO"; then :
26506  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes
26507else
26508  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=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_cdata_libcdata_range_list_insert_range_list" >&5
26515$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; }
26516if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then :
26517  ac_cv_libcdata_dummy=yes
26518else
26519  ac_cv_libcdata=no
26520fi
26521
26522        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5
26523$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; }
26524if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then :
26525  $as_echo_n "(cached) " >&6
26526else
26527  ac_check_lib_save_LIBS=$LIBS
26528LIBS="-lcdata  $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 libcdata_range_list_remove_range ();
26539int
26540main ()
26541{
26542return libcdata_range_list_remove_range ();
26543  ;
26544  return 0;
26545}
26546_ACEOF
26547if ac_fn_c_try_link "$LINENO"; then :
26548  ac_cv_lib_cdata_libcdata_range_list_remove_range=yes
26549else
26550  ac_cv_lib_cdata_libcdata_range_list_remove_range=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_cdata_libcdata_range_list_remove_range" >&5
26557$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; }
26558if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then :
26559  ac_cv_libcdata_dummy=yes
26560else
26561  ac_cv_libcdata=no
26562fi
26563
26564        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5
26565$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; }
26566if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then :
26567  $as_echo_n "(cached) " >&6
26568else
26569  ac_check_lib_save_LIBS=$LIBS
26570LIBS="-lcdata  $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 libcdata_range_list_get_range_by_index ();
26581int
26582main ()
26583{
26584return libcdata_range_list_get_range_by_index ();
26585  ;
26586  return 0;
26587}
26588_ACEOF
26589if ac_fn_c_try_link "$LINENO"; then :
26590  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes
26591else
26592  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=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_cdata_libcdata_range_list_get_range_by_index" >&5
26599$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; }
26600if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then :
26601  ac_cv_libcdata_dummy=yes
26602else
26603  ac_cv_libcdata=no
26604fi
26605
26606        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5
26607$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; }
26608if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then :
26609  $as_echo_n "(cached) " >&6
26610else
26611  ac_check_lib_save_LIBS=$LIBS
26612LIBS="-lcdata  $LIBS"
26613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26614/* end confdefs.h.  */
26615
26616/* Override any GCC internal prototype to avoid an error.
26617   Use char because int might match the return type of a GCC
26618   builtin and then its argument prototype would still apply.  */
26619#ifdef __cplusplus
26620extern "C"
26621#endif
26622char libcdata_range_list_get_range_at_offset ();
26623int
26624main ()
26625{
26626return libcdata_range_list_get_range_at_offset ();
26627  ;
26628  return 0;
26629}
26630_ACEOF
26631if ac_fn_c_try_link "$LINENO"; then :
26632  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes
26633else
26634  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no
26635fi
26636rm -f core conftest.err conftest.$ac_objext \
26637    conftest$ac_exeext conftest.$ac_ext
26638LIBS=$ac_check_lib_save_LIBS
26639fi
26640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5
26641$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; }
26642if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then :
26643  ac_cv_libcdata_dummy=yes
26644else
26645  ac_cv_libcdata=no
26646fi
26647
26648        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5
26649$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; }
26650if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then :
26651  $as_echo_n "(cached) " >&6
26652else
26653  ac_check_lib_save_LIBS=$LIBS
26654LIBS="-lcdata  $LIBS"
26655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26656/* end confdefs.h.  */
26657
26658/* Override any GCC internal prototype to avoid an error.
26659   Use char because int might match the return type of a GCC
26660   builtin and then its argument prototype would still apply.  */
26661#ifdef __cplusplus
26662extern "C"
26663#endif
26664char libcdata_range_list_range_is_present ();
26665int
26666main ()
26667{
26668return libcdata_range_list_range_is_present ();
26669  ;
26670  return 0;
26671}
26672_ACEOF
26673if ac_fn_c_try_link "$LINENO"; then :
26674  ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes
26675else
26676  ac_cv_lib_cdata_libcdata_range_list_range_is_present=no
26677fi
26678rm -f core conftest.err conftest.$ac_objext \
26679    conftest$ac_exeext conftest.$ac_ext
26680LIBS=$ac_check_lib_save_LIBS
26681fi
26682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5
26683$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; }
26684if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then :
26685  ac_cv_libcdata_dummy=yes
26686else
26687  ac_cv_libcdata=no
26688fi
26689
26690        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5
26691$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; }
26692if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then :
26693  $as_echo_n "(cached) " >&6
26694else
26695  ac_check_lib_save_LIBS=$LIBS
26696LIBS="-lcdata  $LIBS"
26697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698/* end confdefs.h.  */
26699
26700/* Override any GCC internal prototype to avoid an error.
26701   Use char because int might match the return type of a GCC
26702   builtin and then its argument prototype would still apply.  */
26703#ifdef __cplusplus
26704extern "C"
26705#endif
26706char libcdata_range_list_get_spanning_range ();
26707int
26708main ()
26709{
26710return libcdata_range_list_get_spanning_range ();
26711  ;
26712  return 0;
26713}
26714_ACEOF
26715if ac_fn_c_try_link "$LINENO"; then :
26716  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes
26717else
26718  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no
26719fi
26720rm -f core conftest.err conftest.$ac_objext \
26721    conftest$ac_exeext conftest.$ac_ext
26722LIBS=$ac_check_lib_save_LIBS
26723fi
26724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5
26725$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; }
26726if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then :
26727  ac_cv_libcdata_dummy=yes
26728else
26729  ac_cv_libcdata=no
26730fi
26731
26732
26733                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5
26734$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; }
26735if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then :
26736  $as_echo_n "(cached) " >&6
26737else
26738  ac_check_lib_save_LIBS=$LIBS
26739LIBS="-lcdata  $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 libcdata_tree_node_initialize ();
26750int
26751main ()
26752{
26753return libcdata_tree_node_initialize ();
26754  ;
26755  return 0;
26756}
26757_ACEOF
26758if ac_fn_c_try_link "$LINENO"; then :
26759  ac_cv_lib_cdata_libcdata_tree_node_initialize=yes
26760else
26761  ac_cv_lib_cdata_libcdata_tree_node_initialize=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_cdata_libcdata_tree_node_initialize" >&5
26768$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; }
26769if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then :
26770  ac_cv_libcdata_dummy=yes
26771else
26772  ac_cv_libcdata=no
26773fi
26774
26775        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5
26776$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; }
26777if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then :
26778  $as_echo_n "(cached) " >&6
26779else
26780  ac_check_lib_save_LIBS=$LIBS
26781LIBS="-lcdata  $LIBS"
26782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26783/* end confdefs.h.  */
26784
26785/* Override any GCC internal prototype to avoid an error.
26786   Use char because int might match the return type of a GCC
26787   builtin and then its argument prototype would still apply.  */
26788#ifdef __cplusplus
26789extern "C"
26790#endif
26791char libcdata_tree_node_free ();
26792int
26793main ()
26794{
26795return libcdata_tree_node_free ();
26796  ;
26797  return 0;
26798}
26799_ACEOF
26800if ac_fn_c_try_link "$LINENO"; then :
26801  ac_cv_lib_cdata_libcdata_tree_node_free=yes
26802else
26803  ac_cv_lib_cdata_libcdata_tree_node_free=no
26804fi
26805rm -f core conftest.err conftest.$ac_objext \
26806    conftest$ac_exeext conftest.$ac_ext
26807LIBS=$ac_check_lib_save_LIBS
26808fi
26809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5
26810$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; }
26811if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then :
26812  ac_cv_libcdata_dummy=yes
26813else
26814  ac_cv_libcdata=no
26815fi
26816
26817        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5
26818$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; }
26819if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then :
26820  $as_echo_n "(cached) " >&6
26821else
26822  ac_check_lib_save_LIBS=$LIBS
26823LIBS="-lcdata  $LIBS"
26824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26825/* end confdefs.h.  */
26826
26827/* Override any GCC internal prototype to avoid an error.
26828   Use char because int might match the return type of a GCC
26829   builtin and then its argument prototype would still apply.  */
26830#ifdef __cplusplus
26831extern "C"
26832#endif
26833char libcdata_tree_node_empty ();
26834int
26835main ()
26836{
26837return libcdata_tree_node_empty ();
26838  ;
26839  return 0;
26840}
26841_ACEOF
26842if ac_fn_c_try_link "$LINENO"; then :
26843  ac_cv_lib_cdata_libcdata_tree_node_empty=yes
26844else
26845  ac_cv_lib_cdata_libcdata_tree_node_empty=no
26846fi
26847rm -f core conftest.err conftest.$ac_objext \
26848    conftest$ac_exeext conftest.$ac_ext
26849LIBS=$ac_check_lib_save_LIBS
26850fi
26851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5
26852$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; }
26853if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then :
26854  ac_cv_libcdata_dummy=yes
26855else
26856  ac_cv_libcdata=no
26857fi
26858
26859        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5
26860$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; }
26861if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then :
26862  $as_echo_n "(cached) " >&6
26863else
26864  ac_check_lib_save_LIBS=$LIBS
26865LIBS="-lcdata  $LIBS"
26866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26867/* end confdefs.h.  */
26868
26869/* Override any GCC internal prototype to avoid an error.
26870   Use char because int might match the return type of a GCC
26871   builtin and then its argument prototype would still apply.  */
26872#ifdef __cplusplus
26873extern "C"
26874#endif
26875char libcdata_tree_node_clone ();
26876int
26877main ()
26878{
26879return libcdata_tree_node_clone ();
26880  ;
26881  return 0;
26882}
26883_ACEOF
26884if ac_fn_c_try_link "$LINENO"; then :
26885  ac_cv_lib_cdata_libcdata_tree_node_clone=yes
26886else
26887  ac_cv_lib_cdata_libcdata_tree_node_clone=no
26888fi
26889rm -f core conftest.err conftest.$ac_objext \
26890    conftest$ac_exeext conftest.$ac_ext
26891LIBS=$ac_check_lib_save_LIBS
26892fi
26893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5
26894$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; }
26895if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then :
26896  ac_cv_libcdata_dummy=yes
26897else
26898  ac_cv_libcdata=no
26899fi
26900
26901        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5
26902$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; }
26903if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then :
26904  $as_echo_n "(cached) " >&6
26905else
26906  ac_check_lib_save_LIBS=$LIBS
26907LIBS="-lcdata  $LIBS"
26908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26909/* end confdefs.h.  */
26910
26911/* Override any GCC internal prototype to avoid an error.
26912   Use char because int might match the return type of a GCC
26913   builtin and then its argument prototype would still apply.  */
26914#ifdef __cplusplus
26915extern "C"
26916#endif
26917char libcdata_tree_node_get_value ();
26918int
26919main ()
26920{
26921return libcdata_tree_node_get_value ();
26922  ;
26923  return 0;
26924}
26925_ACEOF
26926if ac_fn_c_try_link "$LINENO"; then :
26927  ac_cv_lib_cdata_libcdata_tree_node_get_value=yes
26928else
26929  ac_cv_lib_cdata_libcdata_tree_node_get_value=no
26930fi
26931rm -f core conftest.err conftest.$ac_objext \
26932    conftest$ac_exeext conftest.$ac_ext
26933LIBS=$ac_check_lib_save_LIBS
26934fi
26935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5
26936$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; }
26937if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then :
26938  ac_cv_libcdata_dummy=yes
26939else
26940  ac_cv_libcdata=no
26941fi
26942
26943        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5
26944$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; }
26945if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then :
26946  $as_echo_n "(cached) " >&6
26947else
26948  ac_check_lib_save_LIBS=$LIBS
26949LIBS="-lcdata  $LIBS"
26950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26951/* end confdefs.h.  */
26952
26953/* Override any GCC internal prototype to avoid an error.
26954   Use char because int might match the return type of a GCC
26955   builtin and then its argument prototype would still apply.  */
26956#ifdef __cplusplus
26957extern "C"
26958#endif
26959char libcdata_tree_node_set_value ();
26960int
26961main ()
26962{
26963return libcdata_tree_node_set_value ();
26964  ;
26965  return 0;
26966}
26967_ACEOF
26968if ac_fn_c_try_link "$LINENO"; then :
26969  ac_cv_lib_cdata_libcdata_tree_node_set_value=yes
26970else
26971  ac_cv_lib_cdata_libcdata_tree_node_set_value=no
26972fi
26973rm -f core conftest.err conftest.$ac_objext \
26974    conftest$ac_exeext conftest.$ac_ext
26975LIBS=$ac_check_lib_save_LIBS
26976fi
26977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5
26978$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; }
26979if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then :
26980  ac_cv_libcdata_dummy=yes
26981else
26982  ac_cv_libcdata=no
26983fi
26984
26985        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5
26986$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; }
26987if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then :
26988  $as_echo_n "(cached) " >&6
26989else
26990  ac_check_lib_save_LIBS=$LIBS
26991LIBS="-lcdata  $LIBS"
26992cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993/* end confdefs.h.  */
26994
26995/* Override any GCC internal prototype to avoid an error.
26996   Use char because int might match the return type of a GCC
26997   builtin and then its argument prototype would still apply.  */
26998#ifdef __cplusplus
26999extern "C"
27000#endif
27001char libcdata_tree_node_get_parent_node ();
27002int
27003main ()
27004{
27005return libcdata_tree_node_get_parent_node ();
27006  ;
27007  return 0;
27008}
27009_ACEOF
27010if ac_fn_c_try_link "$LINENO"; then :
27011  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes
27012else
27013  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no
27014fi
27015rm -f core conftest.err conftest.$ac_objext \
27016    conftest$ac_exeext conftest.$ac_ext
27017LIBS=$ac_check_lib_save_LIBS
27018fi
27019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5
27020$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; }
27021if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then :
27022  ac_cv_libcdata_dummy=yes
27023else
27024  ac_cv_libcdata=no
27025fi
27026
27027        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5
27028$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; }
27029if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then :
27030  $as_echo_n "(cached) " >&6
27031else
27032  ac_check_lib_save_LIBS=$LIBS
27033LIBS="-lcdata  $LIBS"
27034cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27035/* end confdefs.h.  */
27036
27037/* Override any GCC internal prototype to avoid an error.
27038   Use char because int might match the return type of a GCC
27039   builtin and then its argument prototype would still apply.  */
27040#ifdef __cplusplus
27041extern "C"
27042#endif
27043char libcdata_tree_node_set_parent_node ();
27044int
27045main ()
27046{
27047return libcdata_tree_node_set_parent_node ();
27048  ;
27049  return 0;
27050}
27051_ACEOF
27052if ac_fn_c_try_link "$LINENO"; then :
27053  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes
27054else
27055  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no
27056fi
27057rm -f core conftest.err conftest.$ac_objext \
27058    conftest$ac_exeext conftest.$ac_ext
27059LIBS=$ac_check_lib_save_LIBS
27060fi
27061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5
27062$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; }
27063if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then :
27064  ac_cv_libcdata_dummy=yes
27065else
27066  ac_cv_libcdata=no
27067fi
27068
27069        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5
27070$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; }
27071if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then :
27072  $as_echo_n "(cached) " >&6
27073else
27074  ac_check_lib_save_LIBS=$LIBS
27075LIBS="-lcdata  $LIBS"
27076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27077/* end confdefs.h.  */
27078
27079/* Override any GCC internal prototype to avoid an error.
27080   Use char because int might match the return type of a GCC
27081   builtin and then its argument prototype would still apply.  */
27082#ifdef __cplusplus
27083extern "C"
27084#endif
27085char libcdata_tree_node_get_previous_node ();
27086int
27087main ()
27088{
27089return libcdata_tree_node_get_previous_node ();
27090  ;
27091  return 0;
27092}
27093_ACEOF
27094if ac_fn_c_try_link "$LINENO"; then :
27095  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes
27096else
27097  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no
27098fi
27099rm -f core conftest.err conftest.$ac_objext \
27100    conftest$ac_exeext conftest.$ac_ext
27101LIBS=$ac_check_lib_save_LIBS
27102fi
27103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5
27104$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; }
27105if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then :
27106  ac_cv_libcdata_dummy=yes
27107else
27108  ac_cv_libcdata=no
27109fi
27110
27111        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5
27112$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; }
27113if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then :
27114  $as_echo_n "(cached) " >&6
27115else
27116  ac_check_lib_save_LIBS=$LIBS
27117LIBS="-lcdata  $LIBS"
27118cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27119/* end confdefs.h.  */
27120
27121/* Override any GCC internal prototype to avoid an error.
27122   Use char because int might match the return type of a GCC
27123   builtin and then its argument prototype would still apply.  */
27124#ifdef __cplusplus
27125extern "C"
27126#endif
27127char libcdata_tree_node_set_previous_node ();
27128int
27129main ()
27130{
27131return libcdata_tree_node_set_previous_node ();
27132  ;
27133  return 0;
27134}
27135_ACEOF
27136if ac_fn_c_try_link "$LINENO"; then :
27137  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes
27138else
27139  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no
27140fi
27141rm -f core conftest.err conftest.$ac_objext \
27142    conftest$ac_exeext conftest.$ac_ext
27143LIBS=$ac_check_lib_save_LIBS
27144fi
27145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5
27146$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; }
27147if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then :
27148  ac_cv_libcdata_dummy=yes
27149else
27150  ac_cv_libcdata=no
27151fi
27152
27153        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5
27154$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; }
27155if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then :
27156  $as_echo_n "(cached) " >&6
27157else
27158  ac_check_lib_save_LIBS=$LIBS
27159LIBS="-lcdata  $LIBS"
27160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27161/* end confdefs.h.  */
27162
27163/* Override any GCC internal prototype to avoid an error.
27164   Use char because int might match the return type of a GCC
27165   builtin and then its argument prototype would still apply.  */
27166#ifdef __cplusplus
27167extern "C"
27168#endif
27169char libcdata_tree_node_get_next_node ();
27170int
27171main ()
27172{
27173return libcdata_tree_node_get_next_node ();
27174  ;
27175  return 0;
27176}
27177_ACEOF
27178if ac_fn_c_try_link "$LINENO"; then :
27179  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes
27180else
27181  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no
27182fi
27183rm -f core conftest.err conftest.$ac_objext \
27184    conftest$ac_exeext conftest.$ac_ext
27185LIBS=$ac_check_lib_save_LIBS
27186fi
27187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5
27188$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; }
27189if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then :
27190  ac_cv_libcdata_dummy=yes
27191else
27192  ac_cv_libcdata=no
27193fi
27194
27195        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5
27196$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; }
27197if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then :
27198  $as_echo_n "(cached) " >&6
27199else
27200  ac_check_lib_save_LIBS=$LIBS
27201LIBS="-lcdata  $LIBS"
27202cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203/* end confdefs.h.  */
27204
27205/* Override any GCC internal prototype to avoid an error.
27206   Use char because int might match the return type of a GCC
27207   builtin and then its argument prototype would still apply.  */
27208#ifdef __cplusplus
27209extern "C"
27210#endif
27211char libcdata_tree_node_set_next_node ();
27212int
27213main ()
27214{
27215return libcdata_tree_node_set_next_node ();
27216  ;
27217  return 0;
27218}
27219_ACEOF
27220if ac_fn_c_try_link "$LINENO"; then :
27221  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes
27222else
27223  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no
27224fi
27225rm -f core conftest.err conftest.$ac_objext \
27226    conftest$ac_exeext conftest.$ac_ext
27227LIBS=$ac_check_lib_save_LIBS
27228fi
27229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5
27230$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; }
27231if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then :
27232  ac_cv_libcdata_dummy=yes
27233else
27234  ac_cv_libcdata=no
27235fi
27236
27237        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5
27238$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; }
27239if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then :
27240  $as_echo_n "(cached) " >&6
27241else
27242  ac_check_lib_save_LIBS=$LIBS
27243LIBS="-lcdata  $LIBS"
27244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245/* end confdefs.h.  */
27246
27247/* Override any GCC internal prototype to avoid an error.
27248   Use char because int might match the return type of a GCC
27249   builtin and then its argument prototype would still apply.  */
27250#ifdef __cplusplus
27251extern "C"
27252#endif
27253char libcdata_tree_node_get_nodes ();
27254int
27255main ()
27256{
27257return libcdata_tree_node_get_nodes ();
27258  ;
27259  return 0;
27260}
27261_ACEOF
27262if ac_fn_c_try_link "$LINENO"; then :
27263  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes
27264else
27265  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no
27266fi
27267rm -f core conftest.err conftest.$ac_objext \
27268    conftest$ac_exeext conftest.$ac_ext
27269LIBS=$ac_check_lib_save_LIBS
27270fi
27271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5
27272$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; }
27273if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then :
27274  ac_cv_libcdata_dummy=yes
27275else
27276  ac_cv_libcdata=no
27277fi
27278
27279        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5
27280$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; }
27281if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then :
27282  $as_echo_n "(cached) " >&6
27283else
27284  ac_check_lib_save_LIBS=$LIBS
27285LIBS="-lcdata  $LIBS"
27286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27287/* end confdefs.h.  */
27288
27289/* Override any GCC internal prototype to avoid an error.
27290   Use char because int might match the return type of a GCC
27291   builtin and then its argument prototype would still apply.  */
27292#ifdef __cplusplus
27293extern "C"
27294#endif
27295char libcdata_tree_node_set_nodes ();
27296int
27297main ()
27298{
27299return libcdata_tree_node_set_nodes ();
27300  ;
27301  return 0;
27302}
27303_ACEOF
27304if ac_fn_c_try_link "$LINENO"; then :
27305  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes
27306else
27307  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no
27308fi
27309rm -f core conftest.err conftest.$ac_objext \
27310    conftest$ac_exeext conftest.$ac_ext
27311LIBS=$ac_check_lib_save_LIBS
27312fi
27313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5
27314$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; }
27315if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then :
27316  ac_cv_libcdata_dummy=yes
27317else
27318  ac_cv_libcdata=no
27319fi
27320
27321        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5
27322$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; }
27323if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then :
27324  $as_echo_n "(cached) " >&6
27325else
27326  ac_check_lib_save_LIBS=$LIBS
27327LIBS="-lcdata  $LIBS"
27328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27329/* end confdefs.h.  */
27330
27331/* Override any GCC internal prototype to avoid an error.
27332   Use char because int might match the return type of a GCC
27333   builtin and then its argument prototype would still apply.  */
27334#ifdef __cplusplus
27335extern "C"
27336#endif
27337char libcdata_tree_node_append_node ();
27338int
27339main ()
27340{
27341return libcdata_tree_node_append_node ();
27342  ;
27343  return 0;
27344}
27345_ACEOF
27346if ac_fn_c_try_link "$LINENO"; then :
27347  ac_cv_lib_cdata_libcdata_tree_node_append_node=yes
27348else
27349  ac_cv_lib_cdata_libcdata_tree_node_append_node=no
27350fi
27351rm -f core conftest.err conftest.$ac_objext \
27352    conftest$ac_exeext conftest.$ac_ext
27353LIBS=$ac_check_lib_save_LIBS
27354fi
27355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5
27356$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; }
27357if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then :
27358  ac_cv_libcdata_dummy=yes
27359else
27360  ac_cv_libcdata=no
27361fi
27362
27363        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5
27364$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; }
27365if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then :
27366  $as_echo_n "(cached) " >&6
27367else
27368  ac_check_lib_save_LIBS=$LIBS
27369LIBS="-lcdata  $LIBS"
27370cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371/* end confdefs.h.  */
27372
27373/* Override any GCC internal prototype to avoid an error.
27374   Use char because int might match the return type of a GCC
27375   builtin and then its argument prototype would still apply.  */
27376#ifdef __cplusplus
27377extern "C"
27378#endif
27379char libcdata_tree_node_append_value ();
27380int
27381main ()
27382{
27383return libcdata_tree_node_append_value ();
27384  ;
27385  return 0;
27386}
27387_ACEOF
27388if ac_fn_c_try_link "$LINENO"; then :
27389  ac_cv_lib_cdata_libcdata_tree_node_append_value=yes
27390else
27391  ac_cv_lib_cdata_libcdata_tree_node_append_value=no
27392fi
27393rm -f core conftest.err conftest.$ac_objext \
27394    conftest$ac_exeext conftest.$ac_ext
27395LIBS=$ac_check_lib_save_LIBS
27396fi
27397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5
27398$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; }
27399if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then :
27400  ac_cv_libcdata_dummy=yes
27401else
27402  ac_cv_libcdata=no
27403fi
27404
27405        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5
27406$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; }
27407if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then :
27408  $as_echo_n "(cached) " >&6
27409else
27410  ac_check_lib_save_LIBS=$LIBS
27411LIBS="-lcdata  $LIBS"
27412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27413/* end confdefs.h.  */
27414
27415/* Override any GCC internal prototype to avoid an error.
27416   Use char because int might match the return type of a GCC
27417   builtin and then its argument prototype would still apply.  */
27418#ifdef __cplusplus
27419extern "C"
27420#endif
27421char libcdata_tree_node_insert_node ();
27422int
27423main ()
27424{
27425return libcdata_tree_node_insert_node ();
27426  ;
27427  return 0;
27428}
27429_ACEOF
27430if ac_fn_c_try_link "$LINENO"; then :
27431  ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes
27432else
27433  ac_cv_lib_cdata_libcdata_tree_node_insert_node=no
27434fi
27435rm -f core conftest.err conftest.$ac_objext \
27436    conftest$ac_exeext conftest.$ac_ext
27437LIBS=$ac_check_lib_save_LIBS
27438fi
27439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5
27440$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; }
27441if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then :
27442  ac_cv_libcdata_dummy=yes
27443else
27444  ac_cv_libcdata=no
27445fi
27446
27447        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5
27448$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; }
27449if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then :
27450  $as_echo_n "(cached) " >&6
27451else
27452  ac_check_lib_save_LIBS=$LIBS
27453LIBS="-lcdata  $LIBS"
27454cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27455/* end confdefs.h.  */
27456
27457/* Override any GCC internal prototype to avoid an error.
27458   Use char because int might match the return type of a GCC
27459   builtin and then its argument prototype would still apply.  */
27460#ifdef __cplusplus
27461extern "C"
27462#endif
27463char libcdata_tree_node_insert_value ();
27464int
27465main ()
27466{
27467return libcdata_tree_node_insert_value ();
27468  ;
27469  return 0;
27470}
27471_ACEOF
27472if ac_fn_c_try_link "$LINENO"; then :
27473  ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes
27474else
27475  ac_cv_lib_cdata_libcdata_tree_node_insert_value=no
27476fi
27477rm -f core conftest.err conftest.$ac_objext \
27478    conftest$ac_exeext conftest.$ac_ext
27479LIBS=$ac_check_lib_save_LIBS
27480fi
27481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5
27482$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; }
27483if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then :
27484  ac_cv_libcdata_dummy=yes
27485else
27486  ac_cv_libcdata=no
27487fi
27488
27489        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5
27490$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; }
27491if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then :
27492  $as_echo_n "(cached) " >&6
27493else
27494  ac_check_lib_save_LIBS=$LIBS
27495LIBS="-lcdata  $LIBS"
27496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497/* end confdefs.h.  */
27498
27499/* Override any GCC internal prototype to avoid an error.
27500   Use char because int might match the return type of a GCC
27501   builtin and then its argument prototype would still apply.  */
27502#ifdef __cplusplus
27503extern "C"
27504#endif
27505char libcdata_tree_node_replace_node ();
27506int
27507main ()
27508{
27509return libcdata_tree_node_replace_node ();
27510  ;
27511  return 0;
27512}
27513_ACEOF
27514if ac_fn_c_try_link "$LINENO"; then :
27515  ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes
27516else
27517  ac_cv_lib_cdata_libcdata_tree_node_replace_node=no
27518fi
27519rm -f core conftest.err conftest.$ac_objext \
27520    conftest$ac_exeext conftest.$ac_ext
27521LIBS=$ac_check_lib_save_LIBS
27522fi
27523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5
27524$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; }
27525if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then :
27526  ac_cv_libcdata_dummy=yes
27527else
27528  ac_cv_libcdata=no
27529fi
27530
27531        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5
27532$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; }
27533if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then :
27534  $as_echo_n "(cached) " >&6
27535else
27536  ac_check_lib_save_LIBS=$LIBS
27537LIBS="-lcdata  $LIBS"
27538cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27539/* end confdefs.h.  */
27540
27541/* Override any GCC internal prototype to avoid an error.
27542   Use char because int might match the return type of a GCC
27543   builtin and then its argument prototype would still apply.  */
27544#ifdef __cplusplus
27545extern "C"
27546#endif
27547char libcdata_tree_node_remove_node ();
27548int
27549main ()
27550{
27551return libcdata_tree_node_remove_node ();
27552  ;
27553  return 0;
27554}
27555_ACEOF
27556if ac_fn_c_try_link "$LINENO"; then :
27557  ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes
27558else
27559  ac_cv_lib_cdata_libcdata_tree_node_remove_node=no
27560fi
27561rm -f core conftest.err conftest.$ac_objext \
27562    conftest$ac_exeext conftest.$ac_ext
27563LIBS=$ac_check_lib_save_LIBS
27564fi
27565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5
27566$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; }
27567if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then :
27568  ac_cv_libcdata_dummy=yes
27569else
27570  ac_cv_libcdata=no
27571fi
27572
27573        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5
27574$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; }
27575if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then :
27576  $as_echo_n "(cached) " >&6
27577else
27578  ac_check_lib_save_LIBS=$LIBS
27579LIBS="-lcdata  $LIBS"
27580cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27581/* end confdefs.h.  */
27582
27583/* Override any GCC internal prototype to avoid an error.
27584   Use char because int might match the return type of a GCC
27585   builtin and then its argument prototype would still apply.  */
27586#ifdef __cplusplus
27587extern "C"
27588#endif
27589char libcdata_tree_node_get_number_of_sub_nodes ();
27590int
27591main ()
27592{
27593return libcdata_tree_node_get_number_of_sub_nodes ();
27594  ;
27595  return 0;
27596}
27597_ACEOF
27598if ac_fn_c_try_link "$LINENO"; then :
27599  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes
27600else
27601  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no
27602fi
27603rm -f core conftest.err conftest.$ac_objext \
27604    conftest$ac_exeext conftest.$ac_ext
27605LIBS=$ac_check_lib_save_LIBS
27606fi
27607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5
27608$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; }
27609if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then :
27610  ac_cv_libcdata_dummy=yes
27611else
27612  ac_cv_libcdata=no
27613fi
27614
27615        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5
27616$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; }
27617if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then :
27618  $as_echo_n "(cached) " >&6
27619else
27620  ac_check_lib_save_LIBS=$LIBS
27621LIBS="-lcdata  $LIBS"
27622cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27623/* end confdefs.h.  */
27624
27625/* Override any GCC internal prototype to avoid an error.
27626   Use char because int might match the return type of a GCC
27627   builtin and then its argument prototype would still apply.  */
27628#ifdef __cplusplus
27629extern "C"
27630#endif
27631char libcdata_tree_node_get_sub_node_by_index ();
27632int
27633main ()
27634{
27635return libcdata_tree_node_get_sub_node_by_index ();
27636  ;
27637  return 0;
27638}
27639_ACEOF
27640if ac_fn_c_try_link "$LINENO"; then :
27641  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes
27642else
27643  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no
27644fi
27645rm -f core conftest.err conftest.$ac_objext \
27646    conftest$ac_exeext conftest.$ac_ext
27647LIBS=$ac_check_lib_save_LIBS
27648fi
27649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5
27650$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; }
27651if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then :
27652  ac_cv_libcdata_dummy=yes
27653else
27654  ac_cv_libcdata=no
27655fi
27656
27657        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5
27658$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; }
27659if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then :
27660  $as_echo_n "(cached) " >&6
27661else
27662  ac_check_lib_save_LIBS=$LIBS
27663LIBS="-lcdata  $LIBS"
27664cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665/* end confdefs.h.  */
27666
27667/* Override any GCC internal prototype to avoid an error.
27668   Use char because int might match the return type of a GCC
27669   builtin and then its argument prototype would still apply.  */
27670#ifdef __cplusplus
27671extern "C"
27672#endif
27673char libcdata_tree_node_get_leaf_node_list ();
27674int
27675main ()
27676{
27677return libcdata_tree_node_get_leaf_node_list ();
27678  ;
27679  return 0;
27680}
27681_ACEOF
27682if ac_fn_c_try_link "$LINENO"; then :
27683  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes
27684else
27685  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no
27686fi
27687rm -f core conftest.err conftest.$ac_objext \
27688    conftest$ac_exeext conftest.$ac_ext
27689LIBS=$ac_check_lib_save_LIBS
27690fi
27691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5
27692$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; }
27693if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then :
27694  ac_cv_libcdata_dummy=yes
27695else
27696  ac_cv_libcdata=no
27697fi
27698
27699
27700        ac_cv_libcdata_LIBADD="-lcdata"
27701fi
27702
27703fi
27704    if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then :
27705  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27706$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27707as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata
27708See \`config.log' for more details" "$LINENO" 5; }
27709
27710fi
27711
27712fi
27713
27714  if test "x$ac_cv_libcdata" = xyes; then :
27715
27716$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h
27717
27718
27719fi
27720
27721  if test "x$ac_cv_libcdata" = xyes; then :
27722  HAVE_LIBCDATA=1
27723
27724else
27725  HAVE_LIBCDATA=0
27726
27727
27728fi
27729
27730
27731    if test "x$ac_cv_libcdata" != xyes; then :
27732
27733  ac_cv_libcdata_CPPFLAGS="-I../libcdata";
27734  ac_cv_libcdata_LIBADD="../libcdata/libcdata.la";
27735
27736  ac_cv_libcdata=local
27737
27738
27739
27740$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h
27741
27742    HAVE_LOCAL_LIBCDATA=1
27743
27744
27745fi
27746
27747   if test "x$ac_cv_libcdata" = xlocal; then
27748  HAVE_LOCAL_LIBCDATA_TRUE=
27749  HAVE_LOCAL_LIBCDATA_FALSE='#'
27750else
27751  HAVE_LOCAL_LIBCDATA_TRUE='#'
27752  HAVE_LOCAL_LIBCDATA_FALSE=
27753fi
27754
27755  if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then :
27756  LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS
27757
27758
27759fi
27760  if test "x$ac_cv_libcdata_LIBADD" != "x"; then :
27761  LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD
27762
27763
27764fi
27765
27766  if test "x$ac_cv_libcdata" = xyes; then :
27767  ax_libcdata_pc_libs_private=-lcdata
27768
27769
27770fi
27771
27772  if test "x$ac_cv_libcdata" = xyes; then :
27773  ax_libcdata_spec_requires=libcdata
27774
27775    ax_libcdata_spec_build_requires=libcdata-devel
27776
27777
27778fi
27779
27780
27781
27782
27783# Check whether --with-libclocale was given.
27784if test "${with_libclocale+set}" = set; then :
27785  withval=$with_libclocale; ac_cv_with_libclocale=$withval
27786else
27787  ac_cv_with_libclocale=auto-detect
27788fi
27789
27790    { $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
27791$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; }
27792if ${ac_cv_with_libclocale+:} false; then :
27793  $as_echo_n "(cached) " >&6
27794else
27795  ac_cv_with_libclocale=auto-detect
27796fi
27797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5
27798$as_echo "$ac_cv_with_libclocale" >&6; }
27799
27800    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then :
27801  ac_cv_libclocale=no
27802else
27803  ac_cv_libclocale=check
27804        if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then :
27805  if test -d "$ac_cv_with_libclocale"; then :
27806  CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include"
27807        LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib"
27808else
27809  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27811as_fn_error 1 "no such directory: $ac_cv_with_libclocale
27812See \`config.log' for more details" "$LINENO" 5; }
27813
27814fi
27815
27816else
27817        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
27818
27819pkg_failed=no
27820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5
27821$as_echo_n "checking for libclocale... " >&6; }
27822
27823if test -n "$libclocale_CFLAGS"; then
27824    pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS"
27825 elif test -n "$PKG_CONFIG"; then
27826    if test -n "$PKG_CONFIG" && \
27827    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27828  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27829  ac_status=$?
27830  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27831  test $ac_status = 0; }; then
27832  pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null`
27833		      test "x$?" != "x0" && pkg_failed=yes
27834else
27835  pkg_failed=yes
27836fi
27837 else
27838    pkg_failed=untried
27839fi
27840if test -n "$libclocale_LIBS"; then
27841    pkg_cv_libclocale_LIBS="$libclocale_LIBS"
27842 elif test -n "$PKG_CONFIG"; then
27843    if test -n "$PKG_CONFIG" && \
27844    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27845  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27846  ac_status=$?
27847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27848  test $ac_status = 0; }; then
27849  pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null`
27850		      test "x$?" != "x0" && pkg_failed=yes
27851else
27852  pkg_failed=yes
27853fi
27854 else
27855    pkg_failed=untried
27856fi
27857
27858
27859
27860if test $pkg_failed = yes; then
27861   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27862$as_echo "no" >&6; }
27863
27864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27865        _pkg_short_errors_supported=yes
27866else
27867        _pkg_short_errors_supported=no
27868fi
27869        if test $_pkg_short_errors_supported = yes; then
27870	        libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
27871        else
27872	        libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
27873        fi
27874	# Put the nasty error message in config.log where it belongs
27875	echo "$libclocale_PKG_ERRORS" >&5
27876
27877	ac_cv_libclocale=check
27878elif test $pkg_failed = untried; then
27879     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27880$as_echo "no" >&6; }
27881	ac_cv_libclocale=check
27882else
27883	libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS
27884	libclocale_LIBS=$pkg_cv_libclocale_LIBS
27885        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27886$as_echo "yes" >&6; }
27887	ac_cv_libclocale=yes
27888fi
27889
27890fi
27891      if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
27892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
27893$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
27894if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then :
27895  $as_echo_n "(cached) " >&6
27896else
27897  ac_ext=c
27898ac_cpp='$CPP $CPPFLAGS'
27899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27901ac_compiler_gnu=$ac_cv_c_compiler_gnu
27902
27903          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27904/* end confdefs.h.  */
27905#include <libclocale/features.h>
27906int
27907main ()
27908{
27909#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 )
27910#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined
27911#endif
27912  ;
27913  return 0;
27914}
27915_ACEOF
27916if ac_fn_c_try_compile "$LINENO"; then :
27917  ac_cv_header_libclocale_features_h_have_wide_character_type=yes
27918else
27919  ac_cv_header_libclocale_features_h_have_wide_character_type=no
27920fi
27921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27922          ac_ext=c
27923ac_cpp='$CPP $CPPFLAGS'
27924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27926ac_compiler_gnu=$ac_cv_c_compiler_gnu
27927
27928fi
27929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5
27930$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; }
27931
27932        if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then :
27933  ac_cv_libclocale=no
27934fi
27935
27936fi
27937      if test "x$ac_cv_libclocale" = xyes; then :
27938  ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS"
27939        ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS"
27940fi
27941
27942fi
27943
27944    if test "x$ac_cv_libclocale" = xcheck; then :
27945        for ac_header in libclocale.h
27946do :
27947  ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default"
27948if test "x$ac_cv_header_libclocale_h" = xyes; then :
27949  cat >>confdefs.h <<_ACEOF
27950#define HAVE_LIBCLOCALE_H 1
27951_ACEOF
27952
27953fi
27954
27955done
27956
27957
27958      if test "x$ac_cv_header_libclocale_h" = xno; then :
27959  ac_cv_libclocale=no
27960else
27961          ac_cv_libclocale=yes
27962
27963        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5
27964$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; }
27965if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then :
27966  $as_echo_n "(cached) " >&6
27967else
27968  ac_check_lib_save_LIBS=$LIBS
27969LIBS="-lclocale  $LIBS"
27970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27971/* end confdefs.h.  */
27972
27973/* Override any GCC internal prototype to avoid an error.
27974   Use char because int might match the return type of a GCC
27975   builtin and then its argument prototype would still apply.  */
27976#ifdef __cplusplus
27977extern "C"
27978#endif
27979char libclocale_get_version ();
27980int
27981main ()
27982{
27983return libclocale_get_version ();
27984  ;
27985  return 0;
27986}
27987_ACEOF
27988if ac_fn_c_try_link "$LINENO"; then :
27989  ac_cv_lib_clocale_libclocale_get_version=yes
27990else
27991  ac_cv_lib_clocale_libclocale_get_version=no
27992fi
27993rm -f core conftest.err conftest.$ac_objext \
27994    conftest$ac_exeext conftest.$ac_ext
27995LIBS=$ac_check_lib_save_LIBS
27996fi
27997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5
27998$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; }
27999if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then :
28000  ac_cv_libclocale_dummy=yes
28001else
28002  ac_cv_libclocale=no
28003fi
28004
28005
28006                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5
28007$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; }
28008if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then :
28009  $as_echo_n "(cached) " >&6
28010else
28011  ac_check_lib_save_LIBS=$LIBS
28012LIBS="-lclocale  $LIBS"
28013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28014/* end confdefs.h.  */
28015
28016/* Override any GCC internal prototype to avoid an error.
28017   Use char because int might match the return type of a GCC
28018   builtin and then its argument prototype would still apply.  */
28019#ifdef __cplusplus
28020extern "C"
28021#endif
28022char libclocale_codepage ();
28023int
28024main ()
28025{
28026return libclocale_codepage ();
28027  ;
28028  return 0;
28029}
28030_ACEOF
28031if ac_fn_c_try_link "$LINENO"; then :
28032  ac_cv_lib_clocale_libclocale_codepage=yes
28033else
28034  ac_cv_lib_clocale_libclocale_codepage=no
28035fi
28036rm -f core conftest.err conftest.$ac_objext \
28037    conftest$ac_exeext conftest.$ac_ext
28038LIBS=$ac_check_lib_save_LIBS
28039fi
28040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5
28041$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; }
28042if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then :
28043  ac_cv_libclocale_dummy=yes
28044else
28045  ac_cv_libclocale=no
28046fi
28047
28048        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5
28049$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; }
28050if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then :
28051  $as_echo_n "(cached) " >&6
28052else
28053  ac_check_lib_save_LIBS=$LIBS
28054LIBS="-lclocale  $LIBS"
28055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28056/* end confdefs.h.  */
28057
28058/* Override any GCC internal prototype to avoid an error.
28059   Use char because int might match the return type of a GCC
28060   builtin and then its argument prototype would still apply.  */
28061#ifdef __cplusplus
28062extern "C"
28063#endif
28064char libclocale_codepage_get ();
28065int
28066main ()
28067{
28068return libclocale_codepage_get ();
28069  ;
28070  return 0;
28071}
28072_ACEOF
28073if ac_fn_c_try_link "$LINENO"; then :
28074  ac_cv_lib_clocale_libclocale_codepage_get=yes
28075else
28076  ac_cv_lib_clocale_libclocale_codepage_get=no
28077fi
28078rm -f core conftest.err conftest.$ac_objext \
28079    conftest$ac_exeext conftest.$ac_ext
28080LIBS=$ac_check_lib_save_LIBS
28081fi
28082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5
28083$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; }
28084if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then :
28085  ac_cv_libclocale_dummy=yes
28086else
28087  ac_cv_libclocale=no
28088fi
28089
28090        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5
28091$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; }
28092if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then :
28093  $as_echo_n "(cached) " >&6
28094else
28095  ac_check_lib_save_LIBS=$LIBS
28096LIBS="-lclocale  $LIBS"
28097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28098/* end confdefs.h.  */
28099
28100/* Override any GCC internal prototype to avoid an error.
28101   Use char because int might match the return type of a GCC
28102   builtin and then its argument prototype would still apply.  */
28103#ifdef __cplusplus
28104extern "C"
28105#endif
28106char libclocale_codepage_set ();
28107int
28108main ()
28109{
28110return libclocale_codepage_set ();
28111  ;
28112  return 0;
28113}
28114_ACEOF
28115if ac_fn_c_try_link "$LINENO"; then :
28116  ac_cv_lib_clocale_libclocale_codepage_set=yes
28117else
28118  ac_cv_lib_clocale_libclocale_codepage_set=no
28119fi
28120rm -f core conftest.err conftest.$ac_objext \
28121    conftest$ac_exeext conftest.$ac_ext
28122LIBS=$ac_check_lib_save_LIBS
28123fi
28124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5
28125$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; }
28126if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then :
28127  ac_cv_libclocale_dummy=yes
28128else
28129  ac_cv_libclocale=no
28130fi
28131
28132        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5
28133$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; }
28134if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then :
28135  $as_echo_n "(cached) " >&6
28136else
28137  ac_check_lib_save_LIBS=$LIBS
28138LIBS="-lclocale  $LIBS"
28139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140/* end confdefs.h.  */
28141
28142/* Override any GCC internal prototype to avoid an error.
28143   Use char because int might match the return type of a GCC
28144   builtin and then its argument prototype would still apply.  */
28145#ifdef __cplusplus
28146extern "C"
28147#endif
28148char libclocale_codepage_copy_from_string ();
28149int
28150main ()
28151{
28152return libclocale_codepage_copy_from_string ();
28153  ;
28154  return 0;
28155}
28156_ACEOF
28157if ac_fn_c_try_link "$LINENO"; then :
28158  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes
28159else
28160  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no
28161fi
28162rm -f core conftest.err conftest.$ac_objext \
28163    conftest$ac_exeext conftest.$ac_ext
28164LIBS=$ac_check_lib_save_LIBS
28165fi
28166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5
28167$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; }
28168if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then :
28169  ac_cv_libclocale_dummy=yes
28170else
28171  ac_cv_libclocale=no
28172fi
28173
28174
28175        if test "x$ac_cv_enable_wide_character_type" != xno; then :
28176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5
28177$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; }
28178if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then :
28179  $as_echo_n "(cached) " >&6
28180else
28181  ac_check_lib_save_LIBS=$LIBS
28182LIBS="-lclocale  $LIBS"
28183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184/* end confdefs.h.  */
28185
28186/* Override any GCC internal prototype to avoid an error.
28187   Use char because int might match the return type of a GCC
28188   builtin and then its argument prototype would still apply.  */
28189#ifdef __cplusplus
28190extern "C"
28191#endif
28192char libclocale_codepage_copy_from_string_wide ();
28193int
28194main ()
28195{
28196return libclocale_codepage_copy_from_string_wide ();
28197  ;
28198  return 0;
28199}
28200_ACEOF
28201if ac_fn_c_try_link "$LINENO"; then :
28202  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes
28203else
28204  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no
28205fi
28206rm -f core conftest.err conftest.$ac_objext \
28207    conftest$ac_exeext conftest.$ac_ext
28208LIBS=$ac_check_lib_save_LIBS
28209fi
28210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5
28211$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; }
28212if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then :
28213  ac_cv_libclocale_dummy=yes
28214else
28215  ac_cv_libclocale=no
28216fi
28217
28218
28219fi
28220
28221                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5
28222$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; }
28223if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then :
28224  $as_echo_n "(cached) " >&6
28225else
28226  ac_check_lib_save_LIBS=$LIBS
28227LIBS="-lclocale  $LIBS"
28228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28229/* end confdefs.h.  */
28230
28231/* Override any GCC internal prototype to avoid an error.
28232   Use char because int might match the return type of a GCC
28233   builtin and then its argument prototype would still apply.  */
28234#ifdef __cplusplus
28235extern "C"
28236#endif
28237char libclocale_locale_get_codepage ();
28238int
28239main ()
28240{
28241return libclocale_locale_get_codepage ();
28242  ;
28243  return 0;
28244}
28245_ACEOF
28246if ac_fn_c_try_link "$LINENO"; then :
28247  ac_cv_lib_clocale_libclocale_locale_get_codepage=yes
28248else
28249  ac_cv_lib_clocale_libclocale_locale_get_codepage=no
28250fi
28251rm -f core conftest.err conftest.$ac_objext \
28252    conftest$ac_exeext conftest.$ac_ext
28253LIBS=$ac_check_lib_save_LIBS
28254fi
28255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5
28256$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; }
28257if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then :
28258  ac_cv_libclocale_dummy=yes
28259else
28260  ac_cv_libclocale=no
28261fi
28262
28263        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5
28264$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; }
28265if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then :
28266  $as_echo_n "(cached) " >&6
28267else
28268  ac_check_lib_save_LIBS=$LIBS
28269LIBS="-lclocale  $LIBS"
28270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271/* end confdefs.h.  */
28272
28273/* Override any GCC internal prototype to avoid an error.
28274   Use char because int might match the return type of a GCC
28275   builtin and then its argument prototype would still apply.  */
28276#ifdef __cplusplus
28277extern "C"
28278#endif
28279char libclocale_locale_get_decimal_point ();
28280int
28281main ()
28282{
28283return libclocale_locale_get_decimal_point ();
28284  ;
28285  return 0;
28286}
28287_ACEOF
28288if ac_fn_c_try_link "$LINENO"; then :
28289  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes
28290else
28291  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no
28292fi
28293rm -f core conftest.err conftest.$ac_objext \
28294    conftest$ac_exeext conftest.$ac_ext
28295LIBS=$ac_check_lib_save_LIBS
28296fi
28297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5
28298$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; }
28299if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then :
28300  ac_cv_libclocale_dummy=yes
28301else
28302  ac_cv_libclocale=no
28303fi
28304
28305
28306                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5
28307$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; }
28308if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then :
28309  $as_echo_n "(cached) " >&6
28310else
28311  ac_check_lib_save_LIBS=$LIBS
28312LIBS="-lclocale  $LIBS"
28313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28314/* end confdefs.h.  */
28315
28316/* Override any GCC internal prototype to avoid an error.
28317   Use char because int might match the return type of a GCC
28318   builtin and then its argument prototype would still apply.  */
28319#ifdef __cplusplus
28320extern "C"
28321#endif
28322char libclocale_initialize ();
28323int
28324main ()
28325{
28326return libclocale_initialize ();
28327  ;
28328  return 0;
28329}
28330_ACEOF
28331if ac_fn_c_try_link "$LINENO"; then :
28332  ac_cv_lib_clocale_libclocale_initialize=yes
28333else
28334  ac_cv_lib_clocale_libclocale_initialize=no
28335fi
28336rm -f core conftest.err conftest.$ac_objext \
28337    conftest$ac_exeext conftest.$ac_ext
28338LIBS=$ac_check_lib_save_LIBS
28339fi
28340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5
28341$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; }
28342if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then :
28343  ac_cv_libclocale_dummy=yes
28344else
28345  ac_cv_libclocale=no
28346fi
28347
28348
28349        ac_cv_libclocale_LIBADD="-lclocale"
28350fi
28351
28352fi
28353    if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then :
28354  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28356as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale
28357See \`config.log' for more details" "$LINENO" 5; }
28358
28359fi
28360
28361fi
28362
28363  if test "x$ac_cv_libclocale" = xyes; then :
28364
28365$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h
28366
28367
28368fi
28369
28370  if test "x$ac_cv_libclocale" = xyes; then :
28371  HAVE_LIBCLOCALE=1
28372
28373else
28374  HAVE_LIBCLOCALE=0
28375
28376
28377fi
28378
28379
28380    if test "x$ac_cv_libclocale" != xyes; then :
28381    for ac_header in langinfo.h locale.h
28382do :
28383  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28384ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28385if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
28386  cat >>confdefs.h <<_ACEOF
28387#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28388_ACEOF
28389
28390fi
28391
28392done
28393
28394
28395    for ac_func in getenv
28396do :
28397  ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
28398if test "x$ac_cv_func_getenv" = xyes; then :
28399  cat >>confdefs.h <<_ACEOF
28400#define HAVE_GETENV 1
28401_ACEOF
28402
28403fi
28404done
28405
28406
28407  if test "x$ac_cv_func_getenv" != xyes; then :
28408  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28410as_fn_error 1 "Missing function: getenv
28411See \`config.log' for more details" "$LINENO" 5; }
28412
28413fi
28414
28415    if test "x$ac_cv_enable_winapi" = xno; then :
28416  for ac_func in localeconv
28417do :
28418  ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
28419if test "x$ac_cv_func_localeconv" = xyes; then :
28420  cat >>confdefs.h <<_ACEOF
28421#define HAVE_LOCALECONV 1
28422_ACEOF
28423
28424fi
28425done
28426
28427
28428    if test "x$ac_cv_func_localeconv" != xyes; then :
28429  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28430$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28431as_fn_error 1 "Missing function: localeconv
28432See \`config.log' for more details" "$LINENO" 5; }
28433
28434fi
28435
28436fi
28437
28438  for ac_func in setlocale
28439do :
28440  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
28441if test "x$ac_cv_func_setlocale" = xyes; then :
28442  cat >>confdefs.h <<_ACEOF
28443#define HAVE_SETLOCALE 1
28444_ACEOF
28445
28446fi
28447done
28448
28449
28450  if test "x$ac_cv_func_setlocale" != xyes; then :
28451  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28453as_fn_error 1 "Missing function: setlocale
28454See \`config.log' for more details" "$LINENO" 5; }
28455
28456fi
28457
28458  for ac_func in nl_langinfo
28459do :
28460  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
28461if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28462  cat >>confdefs.h <<_ACEOF
28463#define HAVE_NL_LANGINFO 1
28464_ACEOF
28465
28466fi
28467done
28468
28469
28470  if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5
28472$as_echo_n "checking for nl_langinfo CODESET support... " >&6; }
28473if ${ac_cv_cv_langinfo_codeset+:} false; then :
28474  $as_echo_n "(cached) " >&6
28475else
28476  ac_ext=c
28477ac_cpp='$CPP $CPPFLAGS'
28478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480ac_compiler_gnu=$ac_cv_c_compiler_gnu
28481
28482      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28483/* end confdefs.h.  */
28484#include <langinfo.h>
28485int
28486main ()
28487{
28488char* charset = nl_langinfo( CODESET );
28489  ;
28490  return 0;
28491}
28492_ACEOF
28493if ac_fn_c_try_link "$LINENO"; then :
28494  ac_cv_cv_langinfo_codeset=yes
28495else
28496  ac_cv_cv_langinfo_codeset=no
28497fi
28498rm -f core conftest.err conftest.$ac_objext \
28499    conftest$ac_exeext conftest.$ac_ext
28500      ac_ext=c
28501ac_cpp='$CPP $CPPFLAGS'
28502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28504ac_compiler_gnu=$ac_cv_c_compiler_gnu
28505
28506fi
28507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5
28508$as_echo "$ac_cv_cv_langinfo_codeset" >&6; }
28509else
28510  ac_cv_cv_langinfo_codeset=no
28511fi
28512
28513  if test "x$ac_cv_cv_langinfo_codeset" = xyes; then :
28514
28515$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
28516
28517
28518fi
28519
28520
28521  ac_cv_libclocale_CPPFLAGS="-I../libclocale";
28522  ac_cv_libclocale_LIBADD="../libclocale/libclocale.la";
28523
28524  ac_cv_libclocale=local
28525
28526
28527
28528$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h
28529
28530    HAVE_LOCAL_LIBCLOCALE=1
28531
28532
28533fi
28534
28535   if test "x$ac_cv_libclocale" = xlocal; then
28536  HAVE_LOCAL_LIBCLOCALE_TRUE=
28537  HAVE_LOCAL_LIBCLOCALE_FALSE='#'
28538else
28539  HAVE_LOCAL_LIBCLOCALE_TRUE='#'
28540  HAVE_LOCAL_LIBCLOCALE_FALSE=
28541fi
28542
28543  if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then :
28544  LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS
28545
28546
28547fi
28548  if test "x$ac_cv_libclocale_LIBADD" != "x"; then :
28549  LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD
28550
28551
28552fi
28553
28554  if test "x$ac_cv_libclocale" = xyes; then :
28555  ax_libclocale_pc_libs_private=-lclocale
28556
28557
28558fi
28559
28560  if test "x$ac_cv_libclocale" = xyes; then :
28561  ax_libclocale_spec_requires=libclocale
28562
28563    ax_libclocale_spec_build_requires=libclocale-devel
28564
28565
28566fi
28567
28568
28569
28570
28571# Check whether --with-libcnotify was given.
28572if test "${with_libcnotify+set}" = set; then :
28573  withval=$with_libcnotify; ac_cv_with_libcnotify=$withval
28574else
28575  ac_cv_with_libcnotify=auto-detect
28576fi
28577
28578    { $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
28579$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; }
28580if ${ac_cv_with_libcnotify+:} false; then :
28581  $as_echo_n "(cached) " >&6
28582else
28583  ac_cv_with_libcnotify=auto-detect
28584fi
28585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5
28586$as_echo "$ac_cv_with_libcnotify" >&6; }
28587
28588    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then :
28589  ac_cv_libcnotify=no
28590else
28591  ac_cv_libcnotify=check
28592        if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then :
28593  if test -d "$ac_cv_with_libcnotify"; then :
28594  CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include"
28595        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib"
28596else
28597  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28598$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28599as_fn_error 1 "no such directory: $ac_cv_with_libcnotify
28600See \`config.log' for more details" "$LINENO" 5; }
28601
28602fi
28603
28604else
28605        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
28606
28607pkg_failed=no
28608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5
28609$as_echo_n "checking for libcnotify... " >&6; }
28610
28611if test -n "$libcnotify_CFLAGS"; then
28612    pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS"
28613 elif test -n "$PKG_CONFIG"; then
28614    if test -n "$PKG_CONFIG" && \
28615    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28616  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28617  ac_status=$?
28618  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28619  test $ac_status = 0; }; then
28620  pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null`
28621		      test "x$?" != "x0" && pkg_failed=yes
28622else
28623  pkg_failed=yes
28624fi
28625 else
28626    pkg_failed=untried
28627fi
28628if test -n "$libcnotify_LIBS"; then
28629    pkg_cv_libcnotify_LIBS="$libcnotify_LIBS"
28630 elif test -n "$PKG_CONFIG"; then
28631    if test -n "$PKG_CONFIG" && \
28632    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28633  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28634  ac_status=$?
28635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28636  test $ac_status = 0; }; then
28637  pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null`
28638		      test "x$?" != "x0" && pkg_failed=yes
28639else
28640  pkg_failed=yes
28641fi
28642 else
28643    pkg_failed=untried
28644fi
28645
28646
28647
28648if test $pkg_failed = yes; then
28649   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28650$as_echo "no" >&6; }
28651
28652if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28653        _pkg_short_errors_supported=yes
28654else
28655        _pkg_short_errors_supported=no
28656fi
28657        if test $_pkg_short_errors_supported = yes; then
28658	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28659        else
28660	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28661        fi
28662	# Put the nasty error message in config.log where it belongs
28663	echo "$libcnotify_PKG_ERRORS" >&5
28664
28665	ac_cv_libcnotify=check
28666elif test $pkg_failed = untried; then
28667     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28668$as_echo "no" >&6; }
28669	ac_cv_libcnotify=check
28670else
28671	libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS
28672	libcnotify_LIBS=$pkg_cv_libcnotify_LIBS
28673        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28674$as_echo "yes" >&6; }
28675	ac_cv_libcnotify=yes
28676fi
28677
28678fi
28679      if test "x$ac_cv_libcnotify" = xyes; then :
28680  ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS"
28681        ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS"
28682fi
28683
28684fi
28685
28686    if test "x$ac_cv_libcnotify" = xcheck; then :
28687        for ac_header in libcnotify.h
28688do :
28689  ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default"
28690if test "x$ac_cv_header_libcnotify_h" = xyes; then :
28691  cat >>confdefs.h <<_ACEOF
28692#define HAVE_LIBCNOTIFY_H 1
28693_ACEOF
28694
28695fi
28696
28697done
28698
28699
28700      if test "x$ac_cv_header_libcnotify_h" = xno; then :
28701  ac_cv_libcnotify=no
28702else
28703          ac_cv_libcnotify=yes
28704
28705        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5
28706$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; }
28707if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then :
28708  $as_echo_n "(cached) " >&6
28709else
28710  ac_check_lib_save_LIBS=$LIBS
28711LIBS="-lcnotify  $LIBS"
28712cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28713/* end confdefs.h.  */
28714
28715/* Override any GCC internal prototype to avoid an error.
28716   Use char because int might match the return type of a GCC
28717   builtin and then its argument prototype would still apply.  */
28718#ifdef __cplusplus
28719extern "C"
28720#endif
28721char libcnotify_get_version ();
28722int
28723main ()
28724{
28725return libcnotify_get_version ();
28726  ;
28727  return 0;
28728}
28729_ACEOF
28730if ac_fn_c_try_link "$LINENO"; then :
28731  ac_cv_lib_cnotify_libcnotify_get_version=yes
28732else
28733  ac_cv_lib_cnotify_libcnotify_get_version=no
28734fi
28735rm -f core conftest.err conftest.$ac_objext \
28736    conftest$ac_exeext conftest.$ac_ext
28737LIBS=$ac_check_lib_save_LIBS
28738fi
28739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5
28740$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; }
28741if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then :
28742  ac_cv_libcnotify_dummy=yes
28743else
28744  ac_cv_libcnotify=no
28745fi
28746
28747
28748                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5
28749$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; }
28750if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then :
28751  $as_echo_n "(cached) " >&6
28752else
28753  ac_check_lib_save_LIBS=$LIBS
28754LIBS="-lcnotify  $LIBS"
28755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28756/* end confdefs.h.  */
28757
28758/* Override any GCC internal prototype to avoid an error.
28759   Use char because int might match the return type of a GCC
28760   builtin and then its argument prototype would still apply.  */
28761#ifdef __cplusplus
28762extern "C"
28763#endif
28764char libcnotify_printf ();
28765int
28766main ()
28767{
28768return libcnotify_printf ();
28769  ;
28770  return 0;
28771}
28772_ACEOF
28773if ac_fn_c_try_link "$LINENO"; then :
28774  ac_cv_lib_cnotify_libcnotify_printf=yes
28775else
28776  ac_cv_lib_cnotify_libcnotify_printf=no
28777fi
28778rm -f core conftest.err conftest.$ac_objext \
28779    conftest$ac_exeext conftest.$ac_ext
28780LIBS=$ac_check_lib_save_LIBS
28781fi
28782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5
28783$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; }
28784if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then :
28785  ac_cv_libcnotify_dummy=yes
28786else
28787  ac_cv_libcnotify=no
28788fi
28789
28790        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5
28791$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; }
28792if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then :
28793  $as_echo_n "(cached) " >&6
28794else
28795  ac_check_lib_save_LIBS=$LIBS
28796LIBS="-lcnotify  $LIBS"
28797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28798/* end confdefs.h.  */
28799
28800/* Override any GCC internal prototype to avoid an error.
28801   Use char because int might match the return type of a GCC
28802   builtin and then its argument prototype would still apply.  */
28803#ifdef __cplusplus
28804extern "C"
28805#endif
28806char libcnotify_print_data ();
28807int
28808main ()
28809{
28810return libcnotify_print_data ();
28811  ;
28812  return 0;
28813}
28814_ACEOF
28815if ac_fn_c_try_link "$LINENO"; then :
28816  ac_cv_lib_cnotify_libcnotify_print_data=yes
28817else
28818  ac_cv_lib_cnotify_libcnotify_print_data=no
28819fi
28820rm -f core conftest.err conftest.$ac_objext \
28821    conftest$ac_exeext conftest.$ac_ext
28822LIBS=$ac_check_lib_save_LIBS
28823fi
28824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5
28825$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; }
28826if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then :
28827  ac_cv_libcnotify_dummy=yes
28828else
28829  ac_cv_libcnotify=no
28830fi
28831
28832        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5
28833$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; }
28834if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then :
28835  $as_echo_n "(cached) " >&6
28836else
28837  ac_check_lib_save_LIBS=$LIBS
28838LIBS="-lcnotify  $LIBS"
28839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840/* end confdefs.h.  */
28841
28842/* Override any GCC internal prototype to avoid an error.
28843   Use char because int might match the return type of a GCC
28844   builtin and then its argument prototype would still apply.  */
28845#ifdef __cplusplus
28846extern "C"
28847#endif
28848char libcnotify_print_error_backtrace ();
28849int
28850main ()
28851{
28852return libcnotify_print_error_backtrace ();
28853  ;
28854  return 0;
28855}
28856_ACEOF
28857if ac_fn_c_try_link "$LINENO"; then :
28858  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes
28859else
28860  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no
28861fi
28862rm -f core conftest.err conftest.$ac_objext \
28863    conftest$ac_exeext conftest.$ac_ext
28864LIBS=$ac_check_lib_save_LIBS
28865fi
28866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5
28867$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; }
28868if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then :
28869  ac_cv_libcnotify_dummy=yes
28870else
28871  ac_cv_libcnotify=no
28872fi
28873
28874
28875                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5
28876$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; }
28877if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then :
28878  $as_echo_n "(cached) " >&6
28879else
28880  ac_check_lib_save_LIBS=$LIBS
28881LIBS="-lcnotify  $LIBS"
28882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28883/* end confdefs.h.  */
28884
28885/* Override any GCC internal prototype to avoid an error.
28886   Use char because int might match the return type of a GCC
28887   builtin and then its argument prototype would still apply.  */
28888#ifdef __cplusplus
28889extern "C"
28890#endif
28891char libcnotify_stream_set ();
28892int
28893main ()
28894{
28895return libcnotify_stream_set ();
28896  ;
28897  return 0;
28898}
28899_ACEOF
28900if ac_fn_c_try_link "$LINENO"; then :
28901  ac_cv_lib_cnotify_libcnotify_stream_set=yes
28902else
28903  ac_cv_lib_cnotify_libcnotify_stream_set=no
28904fi
28905rm -f core conftest.err conftest.$ac_objext \
28906    conftest$ac_exeext conftest.$ac_ext
28907LIBS=$ac_check_lib_save_LIBS
28908fi
28909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5
28910$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; }
28911if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then :
28912  ac_cv_libcnotify_dummy=yes
28913else
28914  ac_cv_libcnotify=no
28915fi
28916
28917        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5
28918$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; }
28919if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then :
28920  $as_echo_n "(cached) " >&6
28921else
28922  ac_check_lib_save_LIBS=$LIBS
28923LIBS="-lcnotify  $LIBS"
28924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28925/* end confdefs.h.  */
28926
28927/* Override any GCC internal prototype to avoid an error.
28928   Use char because int might match the return type of a GCC
28929   builtin and then its argument prototype would still apply.  */
28930#ifdef __cplusplus
28931extern "C"
28932#endif
28933char libcnotify_stream_open ();
28934int
28935main ()
28936{
28937return libcnotify_stream_open ();
28938  ;
28939  return 0;
28940}
28941_ACEOF
28942if ac_fn_c_try_link "$LINENO"; then :
28943  ac_cv_lib_cnotify_libcnotify_stream_open=yes
28944else
28945  ac_cv_lib_cnotify_libcnotify_stream_open=no
28946fi
28947rm -f core conftest.err conftest.$ac_objext \
28948    conftest$ac_exeext conftest.$ac_ext
28949LIBS=$ac_check_lib_save_LIBS
28950fi
28951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5
28952$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; }
28953if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then :
28954  ac_cv_libcnotify_dummy=yes
28955else
28956  ac_cv_libcnotify=no
28957fi
28958
28959        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5
28960$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; }
28961if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then :
28962  $as_echo_n "(cached) " >&6
28963else
28964  ac_check_lib_save_LIBS=$LIBS
28965LIBS="-lcnotify  $LIBS"
28966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28967/* end confdefs.h.  */
28968
28969/* Override any GCC internal prototype to avoid an error.
28970   Use char because int might match the return type of a GCC
28971   builtin and then its argument prototype would still apply.  */
28972#ifdef __cplusplus
28973extern "C"
28974#endif
28975char libcnotify_stream_close ();
28976int
28977main ()
28978{
28979return libcnotify_stream_close ();
28980  ;
28981  return 0;
28982}
28983_ACEOF
28984if ac_fn_c_try_link "$LINENO"; then :
28985  ac_cv_lib_cnotify_libcnotify_stream_close=yes
28986else
28987  ac_cv_lib_cnotify_libcnotify_stream_close=no
28988fi
28989rm -f core conftest.err conftest.$ac_objext \
28990    conftest$ac_exeext conftest.$ac_ext
28991LIBS=$ac_check_lib_save_LIBS
28992fi
28993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5
28994$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; }
28995if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then :
28996  ac_cv_libcnotify_dummy=yes
28997else
28998  ac_cv_libcnotify=no
28999fi
29000
29001
29002                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5
29003$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; }
29004if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then :
29005  $as_echo_n "(cached) " >&6
29006else
29007  ac_check_lib_save_LIBS=$LIBS
29008LIBS="-lcnotify  $LIBS"
29009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010/* end confdefs.h.  */
29011
29012/* Override any GCC internal prototype to avoid an error.
29013   Use char because int might match the return type of a GCC
29014   builtin and then its argument prototype would still apply.  */
29015#ifdef __cplusplus
29016extern "C"
29017#endif
29018char libcnotify_verbose_set ();
29019int
29020main ()
29021{
29022return libcnotify_verbose_set ();
29023  ;
29024  return 0;
29025}
29026_ACEOF
29027if ac_fn_c_try_link "$LINENO"; then :
29028  ac_cv_lib_cnotify_libcnotify_verbose_set=yes
29029else
29030  ac_cv_lib_cnotify_libcnotify_verbose_set=no
29031fi
29032rm -f core conftest.err conftest.$ac_objext \
29033    conftest$ac_exeext conftest.$ac_ext
29034LIBS=$ac_check_lib_save_LIBS
29035fi
29036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5
29037$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; }
29038if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then :
29039  ac_cv_libcnotify_dummy=yes
29040else
29041  ac_cv_libcnotify=no
29042fi
29043
29044
29045        ac_cv_libcnotify_LIBADD="-lcnotify"
29046fi
29047
29048fi
29049    if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then :
29050  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29052as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify
29053See \`config.log' for more details" "$LINENO" 5; }
29054
29055fi
29056
29057fi
29058
29059  if test "x$ac_cv_libcnotify" = xyes; then :
29060
29061$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h
29062
29063
29064fi
29065
29066  if test "x$ac_cv_libcnotify" = xyes; then :
29067  HAVE_LIBCNOTIFY=1
29068
29069else
29070  HAVE_LIBCNOTIFY=0
29071
29072
29073fi
29074
29075
29076    if test "x$ac_cv_libcnotify" != xyes; then :
29077    for ac_header in stdarg.h varargs.h
29078do :
29079  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29080ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
29081if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
29082  cat >>confdefs.h <<_ACEOF
29083#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29084_ACEOF
29085
29086fi
29087
29088done
29089
29090
29091  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
29092  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29094as_fn_error 1 "Missing headers: stdarg.h and varargs.h
29095See \`config.log' for more details" "$LINENO" 5; }
29096
29097fi
29098
29099    for ac_header in errno.h
29100do :
29101  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
29102if test "x$ac_cv_header_errno_h" = xyes; then :
29103  cat >>confdefs.h <<_ACEOF
29104#define HAVE_ERRNO_H 1
29105_ACEOF
29106
29107fi
29108
29109done
29110
29111
29112  ac_cv_libcnotify_CPPFLAGS="-I../libcnotify";
29113  ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la";
29114
29115  ac_cv_libcnotify=local
29116
29117
29118
29119$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h
29120
29121    HAVE_LOCAL_LIBCNOTIFY=1
29122
29123
29124fi
29125
29126   if test "x$ac_cv_libcnotify" = xlocal; then
29127  HAVE_LOCAL_LIBCNOTIFY_TRUE=
29128  HAVE_LOCAL_LIBCNOTIFY_FALSE='#'
29129else
29130  HAVE_LOCAL_LIBCNOTIFY_TRUE='#'
29131  HAVE_LOCAL_LIBCNOTIFY_FALSE=
29132fi
29133
29134  if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then :
29135  LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS
29136
29137
29138fi
29139  if test "x$ac_cv_libcnotify_LIBADD" != "x"; then :
29140  LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD
29141
29142
29143fi
29144
29145  if test "x$ac_cv_libcnotify" = xyes; then :
29146  ax_libcnotify_pc_libs_private=-lcnotify
29147
29148
29149fi
29150
29151  if test "x$ac_cv_libcnotify" = xyes; then :
29152  ax_libcnotify_spec_requires=libcnotify
29153
29154    ax_libcnotify_spec_build_requires=libcnotify-devel
29155
29156
29157fi
29158
29159
29160
29161
29162# Check whether --with-libcsplit was given.
29163if test "${with_libcsplit+set}" = set; then :
29164  withval=$with_libcsplit; ac_cv_with_libcsplit=$withval
29165else
29166  ac_cv_with_libcsplit=auto-detect
29167fi
29168
29169    { $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
29170$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; }
29171if ${ac_cv_with_libcsplit+:} false; then :
29172  $as_echo_n "(cached) " >&6
29173else
29174  ac_cv_with_libcsplit=auto-detect
29175fi
29176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5
29177$as_echo "$ac_cv_with_libcsplit" >&6; }
29178
29179    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then :
29180  ac_cv_libcsplit=no
29181else
29182  ac_cv_libcsplit=check
29183        if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then :
29184  if test -d "$ac_cv_with_libcsplit"; then :
29185  CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include"
29186        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib"
29187else
29188  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29190as_fn_error 1 "no such directory: $ac_cv_with_libcsplit
29191See \`config.log' for more details" "$LINENO" 5; }
29192
29193fi
29194
29195else
29196        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
29197
29198pkg_failed=no
29199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5
29200$as_echo_n "checking for libcsplit... " >&6; }
29201
29202if test -n "$libcsplit_CFLAGS"; then
29203    pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS"
29204 elif test -n "$PKG_CONFIG"; then
29205    if test -n "$PKG_CONFIG" && \
29206    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29207  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29208  ac_status=$?
29209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29210  test $ac_status = 0; }; then
29211  pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null`
29212		      test "x$?" != "x0" && pkg_failed=yes
29213else
29214  pkg_failed=yes
29215fi
29216 else
29217    pkg_failed=untried
29218fi
29219if test -n "$libcsplit_LIBS"; then
29220    pkg_cv_libcsplit_LIBS="$libcsplit_LIBS"
29221 elif test -n "$PKG_CONFIG"; then
29222    if test -n "$PKG_CONFIG" && \
29223    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29224  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29225  ac_status=$?
29226  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29227  test $ac_status = 0; }; then
29228  pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null`
29229		      test "x$?" != "x0" && pkg_failed=yes
29230else
29231  pkg_failed=yes
29232fi
29233 else
29234    pkg_failed=untried
29235fi
29236
29237
29238
29239if test $pkg_failed = yes; then
29240   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29241$as_echo "no" >&6; }
29242
29243if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29244        _pkg_short_errors_supported=yes
29245else
29246        _pkg_short_errors_supported=no
29247fi
29248        if test $_pkg_short_errors_supported = yes; then
29249	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29250        else
29251	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29252        fi
29253	# Put the nasty error message in config.log where it belongs
29254	echo "$libcsplit_PKG_ERRORS" >&5
29255
29256	ac_cv_libcsplit=check
29257elif test $pkg_failed = untried; then
29258     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29259$as_echo "no" >&6; }
29260	ac_cv_libcsplit=check
29261else
29262	libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS
29263	libcsplit_LIBS=$pkg_cv_libcsplit_LIBS
29264        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29265$as_echo "yes" >&6; }
29266	ac_cv_libcsplit=yes
29267fi
29268
29269fi
29270      if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
29271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
29272$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
29273if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then :
29274  $as_echo_n "(cached) " >&6
29275else
29276  ac_ext=c
29277ac_cpp='$CPP $CPPFLAGS'
29278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29280ac_compiler_gnu=$ac_cv_c_compiler_gnu
29281
29282          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29283/* end confdefs.h.  */
29284#include <libcsplit/features.h>
29285int
29286main ()
29287{
29288#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 )
29289#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined
29290#endif
29291  ;
29292  return 0;
29293}
29294_ACEOF
29295if ac_fn_c_try_compile "$LINENO"; then :
29296  ac_cv_header_libcsplit_features_h_have_wide_character_type=yes
29297else
29298  ac_cv_header_libcsplit_features_h_have_wide_character_type=no
29299fi
29300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29301          ac_ext=c
29302ac_cpp='$CPP $CPPFLAGS'
29303ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305ac_compiler_gnu=$ac_cv_c_compiler_gnu
29306
29307fi
29308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5
29309$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; }
29310
29311         if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then :
29312  ac_cv_libcsplit=no
29313fi
29314
29315fi
29316      if test "x$ac_cv_libcsplit" = xyes; then :
29317  ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS"
29318        ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS"
29319fi
29320
29321fi
29322
29323    if test "x$ac_cv_libcsplit" = xcheck; then :
29324        for ac_header in libcsplit.h
29325do :
29326  ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default"
29327if test "x$ac_cv_header_libcsplit_h" = xyes; then :
29328  cat >>confdefs.h <<_ACEOF
29329#define HAVE_LIBCSPLIT_H 1
29330_ACEOF
29331
29332fi
29333
29334done
29335
29336
29337      if test "x$ac_cv_header_libcsplit_h" = xno; then :
29338  ac_cv_libcsplit=no
29339else
29340          ac_cv_libcsplit=yes
29341
29342        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5
29343$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; }
29344if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then :
29345  $as_echo_n "(cached) " >&6
29346else
29347  ac_check_lib_save_LIBS=$LIBS
29348LIBS="-lcsplit  $LIBS"
29349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29350/* end confdefs.h.  */
29351
29352/* Override any GCC internal prototype to avoid an error.
29353   Use char because int might match the return type of a GCC
29354   builtin and then its argument prototype would still apply.  */
29355#ifdef __cplusplus
29356extern "C"
29357#endif
29358char libcsplit_get_version ();
29359int
29360main ()
29361{
29362return libcsplit_get_version ();
29363  ;
29364  return 0;
29365}
29366_ACEOF
29367if ac_fn_c_try_link "$LINENO"; then :
29368  ac_cv_lib_csplit_libcsplit_get_version=yes
29369else
29370  ac_cv_lib_csplit_libcsplit_get_version=no
29371fi
29372rm -f core conftest.err conftest.$ac_objext \
29373    conftest$ac_exeext conftest.$ac_ext
29374LIBS=$ac_check_lib_save_LIBS
29375fi
29376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5
29377$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; }
29378if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then :
29379  ac_cv_libcsplit_dummy=yes
29380else
29381  ac_cv_libcsplit=no
29382fi
29383
29384
29385                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5
29386$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; }
29387if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then :
29388  $as_echo_n "(cached) " >&6
29389else
29390  ac_check_lib_save_LIBS=$LIBS
29391LIBS="-lcsplit  $LIBS"
29392cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29393/* end confdefs.h.  */
29394
29395/* Override any GCC internal prototype to avoid an error.
29396   Use char because int might match the return type of a GCC
29397   builtin and then its argument prototype would still apply.  */
29398#ifdef __cplusplus
29399extern "C"
29400#endif
29401char libcsplit_narrow_string_split ();
29402int
29403main ()
29404{
29405return libcsplit_narrow_string_split ();
29406  ;
29407  return 0;
29408}
29409_ACEOF
29410if ac_fn_c_try_link "$LINENO"; then :
29411  ac_cv_lib_csplit_libcsplit_narrow_string_split=yes
29412else
29413  ac_cv_lib_csplit_libcsplit_narrow_string_split=no
29414fi
29415rm -f core conftest.err conftest.$ac_objext \
29416    conftest$ac_exeext conftest.$ac_ext
29417LIBS=$ac_check_lib_save_LIBS
29418fi
29419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5
29420$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; }
29421if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then :
29422  ac_cv_libcsplit_dummy=yes
29423else
29424  ac_cv_libcsplit=no
29425fi
29426
29427
29428                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5
29429$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; }
29430if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then :
29431  $as_echo_n "(cached) " >&6
29432else
29433  ac_check_lib_save_LIBS=$LIBS
29434LIBS="-lcsplit  $LIBS"
29435cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29436/* end confdefs.h.  */
29437
29438/* Override any GCC internal prototype to avoid an error.
29439   Use char because int might match the return type of a GCC
29440   builtin and then its argument prototype would still apply.  */
29441#ifdef __cplusplus
29442extern "C"
29443#endif
29444char libcsplit_narrow_split_string_free ();
29445int
29446main ()
29447{
29448return libcsplit_narrow_split_string_free ();
29449  ;
29450  return 0;
29451}
29452_ACEOF
29453if ac_fn_c_try_link "$LINENO"; then :
29454  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes
29455else
29456  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no
29457fi
29458rm -f core conftest.err conftest.$ac_objext \
29459    conftest$ac_exeext conftest.$ac_ext
29460LIBS=$ac_check_lib_save_LIBS
29461fi
29462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5
29463$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; }
29464if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then :
29465  ac_cv_libcsplit_dummy=yes
29466else
29467  ac_cv_libcsplit=no
29468fi
29469
29470        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5
29471$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; }
29472if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then :
29473  $as_echo_n "(cached) " >&6
29474else
29475  ac_check_lib_save_LIBS=$LIBS
29476LIBS="-lcsplit  $LIBS"
29477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29478/* end confdefs.h.  */
29479
29480/* Override any GCC internal prototype to avoid an error.
29481   Use char because int might match the return type of a GCC
29482   builtin and then its argument prototype would still apply.  */
29483#ifdef __cplusplus
29484extern "C"
29485#endif
29486char libcsplit_narrow_split_string_get_string ();
29487int
29488main ()
29489{
29490return libcsplit_narrow_split_string_get_string ();
29491  ;
29492  return 0;
29493}
29494_ACEOF
29495if ac_fn_c_try_link "$LINENO"; then :
29496  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes
29497else
29498  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no
29499fi
29500rm -f core conftest.err conftest.$ac_objext \
29501    conftest$ac_exeext conftest.$ac_ext
29502LIBS=$ac_check_lib_save_LIBS
29503fi
29504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5
29505$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; }
29506if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then :
29507  ac_cv_libcsplit_dummy=yes
29508else
29509  ac_cv_libcsplit=no
29510fi
29511
29512        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5
29513$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; }
29514if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then :
29515  $as_echo_n "(cached) " >&6
29516else
29517  ac_check_lib_save_LIBS=$LIBS
29518LIBS="-lcsplit  $LIBS"
29519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29520/* end confdefs.h.  */
29521
29522/* Override any GCC internal prototype to avoid an error.
29523   Use char because int might match the return type of a GCC
29524   builtin and then its argument prototype would still apply.  */
29525#ifdef __cplusplus
29526extern "C"
29527#endif
29528char libcsplit_narrow_split_string_get_number_of_segments ();
29529int
29530main ()
29531{
29532return libcsplit_narrow_split_string_get_number_of_segments ();
29533  ;
29534  return 0;
29535}
29536_ACEOF
29537if ac_fn_c_try_link "$LINENO"; then :
29538  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes
29539else
29540  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no
29541fi
29542rm -f core conftest.err conftest.$ac_objext \
29543    conftest$ac_exeext conftest.$ac_ext
29544LIBS=$ac_check_lib_save_LIBS
29545fi
29546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5
29547$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; }
29548if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then :
29549  ac_cv_libcsplit_dummy=yes
29550else
29551  ac_cv_libcsplit=no
29552fi
29553
29554        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5
29555$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; }
29556if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then :
29557  $as_echo_n "(cached) " >&6
29558else
29559  ac_check_lib_save_LIBS=$LIBS
29560LIBS="-lcsplit  $LIBS"
29561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562/* end confdefs.h.  */
29563
29564/* Override any GCC internal prototype to avoid an error.
29565   Use char because int might match the return type of a GCC
29566   builtin and then its argument prototype would still apply.  */
29567#ifdef __cplusplus
29568extern "C"
29569#endif
29570char libcsplit_narrow_split_string_get_segment_by_index ();
29571int
29572main ()
29573{
29574return libcsplit_narrow_split_string_get_segment_by_index ();
29575  ;
29576  return 0;
29577}
29578_ACEOF
29579if ac_fn_c_try_link "$LINENO"; then :
29580  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes
29581else
29582  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no
29583fi
29584rm -f core conftest.err conftest.$ac_objext \
29585    conftest$ac_exeext conftest.$ac_ext
29586LIBS=$ac_check_lib_save_LIBS
29587fi
29588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5
29589$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; }
29590if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then :
29591  ac_cv_libcsplit_dummy=yes
29592else
29593  ac_cv_libcsplit=no
29594fi
29595
29596        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5
29597$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; }
29598if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then :
29599  $as_echo_n "(cached) " >&6
29600else
29601  ac_check_lib_save_LIBS=$LIBS
29602LIBS="-lcsplit  $LIBS"
29603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29604/* end confdefs.h.  */
29605
29606/* Override any GCC internal prototype to avoid an error.
29607   Use char because int might match the return type of a GCC
29608   builtin and then its argument prototype would still apply.  */
29609#ifdef __cplusplus
29610extern "C"
29611#endif
29612char libcsplit_narrow_split_string_set_segment_by_index ();
29613int
29614main ()
29615{
29616return libcsplit_narrow_split_string_set_segment_by_index ();
29617  ;
29618  return 0;
29619}
29620_ACEOF
29621if ac_fn_c_try_link "$LINENO"; then :
29622  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes
29623else
29624  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no
29625fi
29626rm -f core conftest.err conftest.$ac_objext \
29627    conftest$ac_exeext conftest.$ac_ext
29628LIBS=$ac_check_lib_save_LIBS
29629fi
29630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5
29631$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; }
29632if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then :
29633  ac_cv_libcsplit_dummy=yes
29634else
29635  ac_cv_libcsplit=no
29636fi
29637
29638
29639                if test "x$ac_cv_enable_wide_character_type" != xno; then :
29640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5
29641$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; }
29642if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then :
29643  $as_echo_n "(cached) " >&6
29644else
29645  ac_check_lib_save_LIBS=$LIBS
29646LIBS="-lcsplit  $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 libcsplit_wide_string_split ();
29657int
29658main ()
29659{
29660return libcsplit_wide_string_split ();
29661  ;
29662  return 0;
29663}
29664_ACEOF
29665if ac_fn_c_try_link "$LINENO"; then :
29666  ac_cv_lib_csplit_libcsplit_wide_string_split=yes
29667else
29668  ac_cv_lib_csplit_libcsplit_wide_string_split=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_csplit_libcsplit_wide_string_split" >&5
29675$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; }
29676if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then :
29677  ac_cv_libcsplit_dummy=yes
29678else
29679  ac_cv_libcsplit=no
29680fi
29681
29682
29683                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5
29684$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; }
29685if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then :
29686  $as_echo_n "(cached) " >&6
29687else
29688  ac_check_lib_save_LIBS=$LIBS
29689LIBS="-lcsplit  $LIBS"
29690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691/* end confdefs.h.  */
29692
29693/* Override any GCC internal prototype to avoid an error.
29694   Use char because int might match the return type of a GCC
29695   builtin and then its argument prototype would still apply.  */
29696#ifdef __cplusplus
29697extern "C"
29698#endif
29699char libcsplit_wide_split_string_free ();
29700int
29701main ()
29702{
29703return libcsplit_wide_split_string_free ();
29704  ;
29705  return 0;
29706}
29707_ACEOF
29708if ac_fn_c_try_link "$LINENO"; then :
29709  ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes
29710else
29711  ac_cv_lib_csplit_libcsplit_wide_split_string_free=no
29712fi
29713rm -f core conftest.err conftest.$ac_objext \
29714    conftest$ac_exeext conftest.$ac_ext
29715LIBS=$ac_check_lib_save_LIBS
29716fi
29717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5
29718$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; }
29719if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then :
29720  ac_cv_libcsplit_dummy=yes
29721else
29722  ac_cv_libcsplit=no
29723fi
29724
29725          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5
29726$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; }
29727if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then :
29728  $as_echo_n "(cached) " >&6
29729else
29730  ac_check_lib_save_LIBS=$LIBS
29731LIBS="-lcsplit  $LIBS"
29732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29733/* end confdefs.h.  */
29734
29735/* Override any GCC internal prototype to avoid an error.
29736   Use char because int might match the return type of a GCC
29737   builtin and then its argument prototype would still apply.  */
29738#ifdef __cplusplus
29739extern "C"
29740#endif
29741char libcsplit_wide_split_string_get_string ();
29742int
29743main ()
29744{
29745return libcsplit_wide_split_string_get_string ();
29746  ;
29747  return 0;
29748}
29749_ACEOF
29750if ac_fn_c_try_link "$LINENO"; then :
29751  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes
29752else
29753  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no
29754fi
29755rm -f core conftest.err conftest.$ac_objext \
29756    conftest$ac_exeext conftest.$ac_ext
29757LIBS=$ac_check_lib_save_LIBS
29758fi
29759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5
29760$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; }
29761if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then :
29762  ac_cv_libcsplit_dummy=yes
29763else
29764  ac_cv_libcsplit=no
29765fi
29766
29767          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5
29768$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; }
29769if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then :
29770  $as_echo_n "(cached) " >&6
29771else
29772  ac_check_lib_save_LIBS=$LIBS
29773LIBS="-lcsplit  $LIBS"
29774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29775/* end confdefs.h.  */
29776
29777/* Override any GCC internal prototype to avoid an error.
29778   Use char because int might match the return type of a GCC
29779   builtin and then its argument prototype would still apply.  */
29780#ifdef __cplusplus
29781extern "C"
29782#endif
29783char libcsplit_wide_split_string_get_number_of_segments ();
29784int
29785main ()
29786{
29787return libcsplit_wide_split_string_get_number_of_segments ();
29788  ;
29789  return 0;
29790}
29791_ACEOF
29792if ac_fn_c_try_link "$LINENO"; then :
29793  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes
29794else
29795  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no
29796fi
29797rm -f core conftest.err conftest.$ac_objext \
29798    conftest$ac_exeext conftest.$ac_ext
29799LIBS=$ac_check_lib_save_LIBS
29800fi
29801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5
29802$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; }
29803if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then :
29804  ac_cv_libcsplit_dummy=yes
29805else
29806  ac_cv_libcsplit=no
29807fi
29808
29809          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5
29810$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; }
29811if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then :
29812  $as_echo_n "(cached) " >&6
29813else
29814  ac_check_lib_save_LIBS=$LIBS
29815LIBS="-lcsplit  $LIBS"
29816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817/* end confdefs.h.  */
29818
29819/* Override any GCC internal prototype to avoid an error.
29820   Use char because int might match the return type of a GCC
29821   builtin and then its argument prototype would still apply.  */
29822#ifdef __cplusplus
29823extern "C"
29824#endif
29825char libcsplit_wide_split_string_get_segment_by_index ();
29826int
29827main ()
29828{
29829return libcsplit_wide_split_string_get_segment_by_index ();
29830  ;
29831  return 0;
29832}
29833_ACEOF
29834if ac_fn_c_try_link "$LINENO"; then :
29835  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes
29836else
29837  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no
29838fi
29839rm -f core conftest.err conftest.$ac_objext \
29840    conftest$ac_exeext conftest.$ac_ext
29841LIBS=$ac_check_lib_save_LIBS
29842fi
29843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5
29844$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; }
29845if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then :
29846  ac_cv_libcsplit_dummy=yes
29847else
29848  ac_cv_libcsplit=no
29849fi
29850
29851          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5
29852$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; }
29853if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then :
29854  $as_echo_n "(cached) " >&6
29855else
29856  ac_check_lib_save_LIBS=$LIBS
29857LIBS="-lcsplit  $LIBS"
29858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859/* end confdefs.h.  */
29860
29861/* Override any GCC internal prototype to avoid an error.
29862   Use char because int might match the return type of a GCC
29863   builtin and then its argument prototype would still apply.  */
29864#ifdef __cplusplus
29865extern "C"
29866#endif
29867char libcsplit_wide_split_string_set_segment_by_index ();
29868int
29869main ()
29870{
29871return libcsplit_wide_split_string_set_segment_by_index ();
29872  ;
29873  return 0;
29874}
29875_ACEOF
29876if ac_fn_c_try_link "$LINENO"; then :
29877  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes
29878else
29879  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no
29880fi
29881rm -f core conftest.err conftest.$ac_objext \
29882    conftest$ac_exeext conftest.$ac_ext
29883LIBS=$ac_check_lib_save_LIBS
29884fi
29885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5
29886$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; }
29887if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then :
29888  ac_cv_libcsplit_dummy=yes
29889else
29890  ac_cv_libcsplit=no
29891fi
29892
29893
29894fi
29895
29896        ac_cv_libcsplit_LIBADD="-lcsplit"
29897fi
29898
29899fi
29900    if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then :
29901  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29903as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit
29904See \`config.log' for more details" "$LINENO" 5; }
29905
29906fi
29907
29908fi
29909
29910  if test "x$ac_cv_libcsplit" = xyes; then :
29911
29912$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h
29913
29914
29915fi
29916
29917  if test "x$ac_cv_libcsplit" = xyes; then :
29918  HAVE_LIBCSPLIT=1
29919
29920else
29921  HAVE_LIBCSPLIT=0
29922
29923
29924fi
29925
29926
29927    if test "x$ac_cv_libcsplit" != xyes; then :
29928
29929  ac_cv_libcsplit_CPPFLAGS="-I../libcsplit";
29930  ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la";
29931
29932  ac_cv_libcsplit=local
29933
29934
29935
29936$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h
29937
29938    HAVE_LOCAL_LIBCSPLIT=1
29939
29940
29941fi
29942
29943   if test "x$ac_cv_libcsplit" = xlocal; then
29944  HAVE_LOCAL_LIBCSPLIT_TRUE=
29945  HAVE_LOCAL_LIBCSPLIT_FALSE='#'
29946else
29947  HAVE_LOCAL_LIBCSPLIT_TRUE='#'
29948  HAVE_LOCAL_LIBCSPLIT_FALSE=
29949fi
29950
29951  if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then :
29952  LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS
29953
29954
29955fi
29956  if test "x$ac_cv_libcsplit_LIBADD" != "x"; then :
29957  LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD
29958
29959
29960fi
29961
29962  if test "x$ac_cv_libcsplit" = xyes; then :
29963  ax_libcsplit_pc_libs_private=-lcsplit
29964
29965
29966fi
29967
29968  if test "x$ac_cv_libcsplit" = xyes; then :
29969  ax_libcsplit_spec_requires=libcsplit
29970
29971    ax_libcsplit_spec_build_requires=libcsplit-devel
29972
29973
29974fi
29975
29976
29977
29978
29979# Check whether --with-libuna was given.
29980if test "${with_libuna+set}" = set; then :
29981  withval=$with_libuna; ac_cv_with_libuna=$withval
29982else
29983  ac_cv_with_libuna=auto-detect
29984fi
29985
29986    { $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
29987$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; }
29988if ${ac_cv_with_libuna+:} false; then :
29989  $as_echo_n "(cached) " >&6
29990else
29991  ac_cv_with_libuna=auto-detect
29992fi
29993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5
29994$as_echo "$ac_cv_with_libuna" >&6; }
29995
29996    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then :
29997  ac_cv_libuna=no
29998else
29999  ac_cv_libuna=check
30000        if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then :
30001  if test -d "$ac_cv_with_libuna"; then :
30002  CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include"
30003        LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib"
30004else
30005  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30007as_fn_error 1 "no such directory: $ac_cv_with_libuna
30008See \`config.log' for more details" "$LINENO" 5; }
30009
30010fi
30011
30012else
30013        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
30014
30015pkg_failed=no
30016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5
30017$as_echo_n "checking for libuna... " >&6; }
30018
30019if test -n "$libuna_CFLAGS"; then
30020    pkg_cv_libuna_CFLAGS="$libuna_CFLAGS"
30021 elif test -n "$PKG_CONFIG"; then
30022    if test -n "$PKG_CONFIG" && \
30023    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30024  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30025  ac_status=$?
30026  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30027  test $ac_status = 0; }; then
30028  pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null`
30029		      test "x$?" != "x0" && pkg_failed=yes
30030else
30031  pkg_failed=yes
30032fi
30033 else
30034    pkg_failed=untried
30035fi
30036if test -n "$libuna_LIBS"; then
30037    pkg_cv_libuna_LIBS="$libuna_LIBS"
30038 elif test -n "$PKG_CONFIG"; then
30039    if test -n "$PKG_CONFIG" && \
30040    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30041  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30042  ac_status=$?
30043  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30044  test $ac_status = 0; }; then
30045  pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null`
30046		      test "x$?" != "x0" && pkg_failed=yes
30047else
30048  pkg_failed=yes
30049fi
30050 else
30051    pkg_failed=untried
30052fi
30053
30054
30055
30056if test $pkg_failed = yes; then
30057   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30058$as_echo "no" >&6; }
30059
30060if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30061        _pkg_short_errors_supported=yes
30062else
30063        _pkg_short_errors_supported=no
30064fi
30065        if test $_pkg_short_errors_supported = yes; then
30066	        libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30067        else
30068	        libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30069        fi
30070	# Put the nasty error message in config.log where it belongs
30071	echo "$libuna_PKG_ERRORS" >&5
30072
30073	ac_cv_libuna=check
30074elif test $pkg_failed = untried; then
30075     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30076$as_echo "no" >&6; }
30077	ac_cv_libuna=check
30078else
30079	libuna_CFLAGS=$pkg_cv_libuna_CFLAGS
30080	libuna_LIBS=$pkg_cv_libuna_LIBS
30081        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30082$as_echo "yes" >&6; }
30083	ac_cv_libuna=yes
30084fi
30085
30086fi
30087      if test "x$ac_cv_libuna" = xyes; then :
30088  ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS"
30089        ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS"
30090fi
30091
30092fi
30093
30094    if test "x$ac_cv_libuna" = xcheck; then :
30095        for ac_header in libuna.h
30096do :
30097  ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default"
30098if test "x$ac_cv_header_libuna_h" = xyes; then :
30099  cat >>confdefs.h <<_ACEOF
30100#define HAVE_LIBUNA_H 1
30101_ACEOF
30102
30103fi
30104
30105done
30106
30107
30108      if test "x$ac_cv_header_libuna_h" = xno; then :
30109  ac_cv_libuna=no
30110else
30111          ac_cv_libuna=yes
30112
30113        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5
30114$as_echo_n "checking for libuna_get_version in -luna... " >&6; }
30115if ${ac_cv_lib_una_libuna_get_version+:} false; then :
30116  $as_echo_n "(cached) " >&6
30117else
30118  ac_check_lib_save_LIBS=$LIBS
30119LIBS="-luna  $LIBS"
30120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121/* end confdefs.h.  */
30122
30123/* Override any GCC internal prototype to avoid an error.
30124   Use char because int might match the return type of a GCC
30125   builtin and then its argument prototype would still apply.  */
30126#ifdef __cplusplus
30127extern "C"
30128#endif
30129char libuna_get_version ();
30130int
30131main ()
30132{
30133return libuna_get_version ();
30134  ;
30135  return 0;
30136}
30137_ACEOF
30138if ac_fn_c_try_link "$LINENO"; then :
30139  ac_cv_lib_una_libuna_get_version=yes
30140else
30141  ac_cv_lib_una_libuna_get_version=no
30142fi
30143rm -f core conftest.err conftest.$ac_objext \
30144    conftest$ac_exeext conftest.$ac_ext
30145LIBS=$ac_check_lib_save_LIBS
30146fi
30147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5
30148$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; }
30149if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then :
30150  ac_cv_libuna_dummy=yes
30151else
30152  ac_cv_libuna=no
30153fi
30154
30155
30156                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5
30157$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; }
30158if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then :
30159  $as_echo_n "(cached) " >&6
30160else
30161  ac_check_lib_save_LIBS=$LIBS
30162LIBS="-luna  $LIBS"
30163cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30164/* end confdefs.h.  */
30165
30166/* Override any GCC internal prototype to avoid an error.
30167   Use char because int might match the return type of a GCC
30168   builtin and then its argument prototype would still apply.  */
30169#ifdef __cplusplus
30170extern "C"
30171#endif
30172char libuna_base16_stream_size_to_byte_stream ();
30173int
30174main ()
30175{
30176return libuna_base16_stream_size_to_byte_stream ();
30177  ;
30178  return 0;
30179}
30180_ACEOF
30181if ac_fn_c_try_link "$LINENO"; then :
30182  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes
30183else
30184  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no
30185fi
30186rm -f core conftest.err conftest.$ac_objext \
30187    conftest$ac_exeext conftest.$ac_ext
30188LIBS=$ac_check_lib_save_LIBS
30189fi
30190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5
30191$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; }
30192if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then :
30193  ac_cv_libuna_dummy=yes
30194else
30195  ac_cv_libuna=no
30196fi
30197
30198        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5
30199$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; }
30200if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then :
30201  $as_echo_n "(cached) " >&6
30202else
30203  ac_check_lib_save_LIBS=$LIBS
30204LIBS="-luna  $LIBS"
30205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30206/* end confdefs.h.  */
30207
30208/* Override any GCC internal prototype to avoid an error.
30209   Use char because int might match the return type of a GCC
30210   builtin and then its argument prototype would still apply.  */
30211#ifdef __cplusplus
30212extern "C"
30213#endif
30214char libuna_base16_stream_copy_to_byte_stream ();
30215int
30216main ()
30217{
30218return libuna_base16_stream_copy_to_byte_stream ();
30219  ;
30220  return 0;
30221}
30222_ACEOF
30223if ac_fn_c_try_link "$LINENO"; then :
30224  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes
30225else
30226  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no
30227fi
30228rm -f core conftest.err conftest.$ac_objext \
30229    conftest$ac_exeext conftest.$ac_ext
30230LIBS=$ac_check_lib_save_LIBS
30231fi
30232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5
30233$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; }
30234if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then :
30235  ac_cv_libuna_dummy=yes
30236else
30237  ac_cv_libuna=no
30238fi
30239
30240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5
30241$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; }
30242if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then :
30243  $as_echo_n "(cached) " >&6
30244else
30245  ac_check_lib_save_LIBS=$LIBS
30246LIBS="-luna  $LIBS"
30247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30248/* end confdefs.h.  */
30249
30250/* Override any GCC internal prototype to avoid an error.
30251   Use char because int might match the return type of a GCC
30252   builtin and then its argument prototype would still apply.  */
30253#ifdef __cplusplus
30254extern "C"
30255#endif
30256char libuna_base16_stream_size_from_byte_stream ();
30257int
30258main ()
30259{
30260return libuna_base16_stream_size_from_byte_stream ();
30261  ;
30262  return 0;
30263}
30264_ACEOF
30265if ac_fn_c_try_link "$LINENO"; then :
30266  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes
30267else
30268  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no
30269fi
30270rm -f core conftest.err conftest.$ac_objext \
30271    conftest$ac_exeext conftest.$ac_ext
30272LIBS=$ac_check_lib_save_LIBS
30273fi
30274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5
30275$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; }
30276if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then :
30277  ac_cv_libuna_dummy=yes
30278else
30279  ac_cv_libuna=no
30280fi
30281
30282        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5
30283$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; }
30284if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then :
30285  $as_echo_n "(cached) " >&6
30286else
30287  ac_check_lib_save_LIBS=$LIBS
30288LIBS="-luna  $LIBS"
30289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30290/* end confdefs.h.  */
30291
30292/* Override any GCC internal prototype to avoid an error.
30293   Use char because int might match the return type of a GCC
30294   builtin and then its argument prototype would still apply.  */
30295#ifdef __cplusplus
30296extern "C"
30297#endif
30298char libuna_base16_stream_copy_from_byte_stream ();
30299int
30300main ()
30301{
30302return libuna_base16_stream_copy_from_byte_stream ();
30303  ;
30304  return 0;
30305}
30306_ACEOF
30307if ac_fn_c_try_link "$LINENO"; then :
30308  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes
30309else
30310  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no
30311fi
30312rm -f core conftest.err conftest.$ac_objext \
30313    conftest$ac_exeext conftest.$ac_ext
30314LIBS=$ac_check_lib_save_LIBS
30315fi
30316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5
30317$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; }
30318if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then :
30319  ac_cv_libuna_dummy=yes
30320else
30321  ac_cv_libuna=no
30322fi
30323
30324        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5
30325$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30326if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then :
30327  $as_echo_n "(cached) " >&6
30328else
30329  ac_check_lib_save_LIBS=$LIBS
30330LIBS="-luna  $LIBS"
30331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30332/* end confdefs.h.  */
30333
30334/* Override any GCC internal prototype to avoid an error.
30335   Use char because int might match the return type of a GCC
30336   builtin and then its argument prototype would still apply.  */
30337#ifdef __cplusplus
30338extern "C"
30339#endif
30340char libuna_base16_stream_with_index_copy_from_byte_stream ();
30341int
30342main ()
30343{
30344return libuna_base16_stream_with_index_copy_from_byte_stream ();
30345  ;
30346  return 0;
30347}
30348_ACEOF
30349if ac_fn_c_try_link "$LINENO"; then :
30350  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes
30351else
30352  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no
30353fi
30354rm -f core conftest.err conftest.$ac_objext \
30355    conftest$ac_exeext conftest.$ac_ext
30356LIBS=$ac_check_lib_save_LIBS
30357fi
30358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5
30359$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; }
30360if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then :
30361  ac_cv_libuna_dummy=yes
30362else
30363  ac_cv_libuna=no
30364fi
30365
30366
30367                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5
30368$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; }
30369if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then :
30370  $as_echo_n "(cached) " >&6
30371else
30372  ac_check_lib_save_LIBS=$LIBS
30373LIBS="-luna  $LIBS"
30374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30375/* end confdefs.h.  */
30376
30377/* Override any GCC internal prototype to avoid an error.
30378   Use char because int might match the return type of a GCC
30379   builtin and then its argument prototype would still apply.  */
30380#ifdef __cplusplus
30381extern "C"
30382#endif
30383char libuna_base32_quintuplet_copy_from_base32_stream ();
30384int
30385main ()
30386{
30387return libuna_base32_quintuplet_copy_from_base32_stream ();
30388  ;
30389  return 0;
30390}
30391_ACEOF
30392if ac_fn_c_try_link "$LINENO"; then :
30393  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes
30394else
30395  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no
30396fi
30397rm -f core conftest.err conftest.$ac_objext \
30398    conftest$ac_exeext conftest.$ac_ext
30399LIBS=$ac_check_lib_save_LIBS
30400fi
30401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5
30402$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; }
30403if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then :
30404  ac_cv_libuna_dummy=yes
30405else
30406  ac_cv_libuna=no
30407fi
30408
30409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5
30410$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; }
30411if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then :
30412  $as_echo_n "(cached) " >&6
30413else
30414  ac_check_lib_save_LIBS=$LIBS
30415LIBS="-luna  $LIBS"
30416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417/* end confdefs.h.  */
30418
30419/* Override any GCC internal prototype to avoid an error.
30420   Use char because int might match the return type of a GCC
30421   builtin and then its argument prototype would still apply.  */
30422#ifdef __cplusplus
30423extern "C"
30424#endif
30425char libuna_base32_quintuplet_copy_to_base32_stream ();
30426int
30427main ()
30428{
30429return libuna_base32_quintuplet_copy_to_base32_stream ();
30430  ;
30431  return 0;
30432}
30433_ACEOF
30434if ac_fn_c_try_link "$LINENO"; then :
30435  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes
30436else
30437  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no
30438fi
30439rm -f core conftest.err conftest.$ac_objext \
30440    conftest$ac_exeext conftest.$ac_ext
30441LIBS=$ac_check_lib_save_LIBS
30442fi
30443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5
30444$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; }
30445if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then :
30446  ac_cv_libuna_dummy=yes
30447else
30448  ac_cv_libuna=no
30449fi
30450
30451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5
30452$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; }
30453if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then :
30454  $as_echo_n "(cached) " >&6
30455else
30456  ac_check_lib_save_LIBS=$LIBS
30457LIBS="-luna  $LIBS"
30458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30459/* end confdefs.h.  */
30460
30461/* Override any GCC internal prototype to avoid an error.
30462   Use char because int might match the return type of a GCC
30463   builtin and then its argument prototype would still apply.  */
30464#ifdef __cplusplus
30465extern "C"
30466#endif
30467char libuna_base32_quintuplet_copy_from_byte_stream ();
30468int
30469main ()
30470{
30471return libuna_base32_quintuplet_copy_from_byte_stream ();
30472  ;
30473  return 0;
30474}
30475_ACEOF
30476if ac_fn_c_try_link "$LINENO"; then :
30477  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes
30478else
30479  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no
30480fi
30481rm -f core conftest.err conftest.$ac_objext \
30482    conftest$ac_exeext conftest.$ac_ext
30483LIBS=$ac_check_lib_save_LIBS
30484fi
30485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5
30486$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; }
30487if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then :
30488  ac_cv_libuna_dummy=yes
30489else
30490  ac_cv_libuna=no
30491fi
30492
30493        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5
30494$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; }
30495if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then :
30496  $as_echo_n "(cached) " >&6
30497else
30498  ac_check_lib_save_LIBS=$LIBS
30499LIBS="-luna  $LIBS"
30500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30501/* end confdefs.h.  */
30502
30503/* Override any GCC internal prototype to avoid an error.
30504   Use char because int might match the return type of a GCC
30505   builtin and then its argument prototype would still apply.  */
30506#ifdef __cplusplus
30507extern "C"
30508#endif
30509char libuna_base32_quintuplet_copy_to_byte_stream ();
30510int
30511main ()
30512{
30513return libuna_base32_quintuplet_copy_to_byte_stream ();
30514  ;
30515  return 0;
30516}
30517_ACEOF
30518if ac_fn_c_try_link "$LINENO"; then :
30519  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes
30520else
30521  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no
30522fi
30523rm -f core conftest.err conftest.$ac_objext \
30524    conftest$ac_exeext conftest.$ac_ext
30525LIBS=$ac_check_lib_save_LIBS
30526fi
30527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5
30528$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; }
30529if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then :
30530  ac_cv_libuna_dummy=yes
30531else
30532  ac_cv_libuna=no
30533fi
30534
30535
30536        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5
30537$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; }
30538if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then :
30539  $as_echo_n "(cached) " >&6
30540else
30541  ac_check_lib_save_LIBS=$LIBS
30542LIBS="-luna  $LIBS"
30543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30544/* end confdefs.h.  */
30545
30546/* Override any GCC internal prototype to avoid an error.
30547   Use char because int might match the return type of a GCC
30548   builtin and then its argument prototype would still apply.  */
30549#ifdef __cplusplus
30550extern "C"
30551#endif
30552char libuna_base32_stream_size_to_byte_stream ();
30553int
30554main ()
30555{
30556return libuna_base32_stream_size_to_byte_stream ();
30557  ;
30558  return 0;
30559}
30560_ACEOF
30561if ac_fn_c_try_link "$LINENO"; then :
30562  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes
30563else
30564  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no
30565fi
30566rm -f core conftest.err conftest.$ac_objext \
30567    conftest$ac_exeext conftest.$ac_ext
30568LIBS=$ac_check_lib_save_LIBS
30569fi
30570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5
30571$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; }
30572if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then :
30573  ac_cv_libuna_dummy=yes
30574else
30575  ac_cv_libuna=no
30576fi
30577
30578        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5
30579$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; }
30580if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then :
30581  $as_echo_n "(cached) " >&6
30582else
30583  ac_check_lib_save_LIBS=$LIBS
30584LIBS="-luna  $LIBS"
30585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30586/* end confdefs.h.  */
30587
30588/* Override any GCC internal prototype to avoid an error.
30589   Use char because int might match the return type of a GCC
30590   builtin and then its argument prototype would still apply.  */
30591#ifdef __cplusplus
30592extern "C"
30593#endif
30594char libuna_base32_stream_copy_to_byte_stream ();
30595int
30596main ()
30597{
30598return libuna_base32_stream_copy_to_byte_stream ();
30599  ;
30600  return 0;
30601}
30602_ACEOF
30603if ac_fn_c_try_link "$LINENO"; then :
30604  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes
30605else
30606  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no
30607fi
30608rm -f core conftest.err conftest.$ac_objext \
30609    conftest$ac_exeext conftest.$ac_ext
30610LIBS=$ac_check_lib_save_LIBS
30611fi
30612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5
30613$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; }
30614if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then :
30615  ac_cv_libuna_dummy=yes
30616else
30617  ac_cv_libuna=no
30618fi
30619
30620        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5
30621$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; }
30622if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then :
30623  $as_echo_n "(cached) " >&6
30624else
30625  ac_check_lib_save_LIBS=$LIBS
30626LIBS="-luna  $LIBS"
30627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628/* end confdefs.h.  */
30629
30630/* Override any GCC internal prototype to avoid an error.
30631   Use char because int might match the return type of a GCC
30632   builtin and then its argument prototype would still apply.  */
30633#ifdef __cplusplus
30634extern "C"
30635#endif
30636char libuna_base32_stream_size_from_byte_stream ();
30637int
30638main ()
30639{
30640return libuna_base32_stream_size_from_byte_stream ();
30641  ;
30642  return 0;
30643}
30644_ACEOF
30645if ac_fn_c_try_link "$LINENO"; then :
30646  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes
30647else
30648  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no
30649fi
30650rm -f core conftest.err conftest.$ac_objext \
30651    conftest$ac_exeext conftest.$ac_ext
30652LIBS=$ac_check_lib_save_LIBS
30653fi
30654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5
30655$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; }
30656if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then :
30657  ac_cv_libuna_dummy=yes
30658else
30659  ac_cv_libuna=no
30660fi
30661
30662        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5
30663$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; }
30664if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then :
30665  $as_echo_n "(cached) " >&6
30666else
30667  ac_check_lib_save_LIBS=$LIBS
30668LIBS="-luna  $LIBS"
30669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30670/* end confdefs.h.  */
30671
30672/* Override any GCC internal prototype to avoid an error.
30673   Use char because int might match the return type of a GCC
30674   builtin and then its argument prototype would still apply.  */
30675#ifdef __cplusplus
30676extern "C"
30677#endif
30678char libuna_base32_stream_copy_from_byte_stream ();
30679int
30680main ()
30681{
30682return libuna_base32_stream_copy_from_byte_stream ();
30683  ;
30684  return 0;
30685}
30686_ACEOF
30687if ac_fn_c_try_link "$LINENO"; then :
30688  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes
30689else
30690  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no
30691fi
30692rm -f core conftest.err conftest.$ac_objext \
30693    conftest$ac_exeext conftest.$ac_ext
30694LIBS=$ac_check_lib_save_LIBS
30695fi
30696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5
30697$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; }
30698if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then :
30699  ac_cv_libuna_dummy=yes
30700else
30701  ac_cv_libuna=no
30702fi
30703
30704        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5
30705$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30706if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then :
30707  $as_echo_n "(cached) " >&6
30708else
30709  ac_check_lib_save_LIBS=$LIBS
30710LIBS="-luna  $LIBS"
30711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712/* end confdefs.h.  */
30713
30714/* Override any GCC internal prototype to avoid an error.
30715   Use char because int might match the return type of a GCC
30716   builtin and then its argument prototype would still apply.  */
30717#ifdef __cplusplus
30718extern "C"
30719#endif
30720char libuna_base32_stream_with_index_copy_from_byte_stream ();
30721int
30722main ()
30723{
30724return libuna_base32_stream_with_index_copy_from_byte_stream ();
30725  ;
30726  return 0;
30727}
30728_ACEOF
30729if ac_fn_c_try_link "$LINENO"; then :
30730  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes
30731else
30732  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no
30733fi
30734rm -f core conftest.err conftest.$ac_objext \
30735    conftest$ac_exeext conftest.$ac_ext
30736LIBS=$ac_check_lib_save_LIBS
30737fi
30738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5
30739$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; }
30740if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then :
30741  ac_cv_libuna_dummy=yes
30742else
30743  ac_cv_libuna=no
30744fi
30745
30746
30747                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5
30748$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; }
30749if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then :
30750  $as_echo_n "(cached) " >&6
30751else
30752  ac_check_lib_save_LIBS=$LIBS
30753LIBS="-luna  $LIBS"
30754cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30755/* end confdefs.h.  */
30756
30757/* Override any GCC internal prototype to avoid an error.
30758   Use char because int might match the return type of a GCC
30759   builtin and then its argument prototype would still apply.  */
30760#ifdef __cplusplus
30761extern "C"
30762#endif
30763char libuna_base64_triplet_copy_from_base64_stream ();
30764int
30765main ()
30766{
30767return libuna_base64_triplet_copy_from_base64_stream ();
30768  ;
30769  return 0;
30770}
30771_ACEOF
30772if ac_fn_c_try_link "$LINENO"; then :
30773  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes
30774else
30775  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no
30776fi
30777rm -f core conftest.err conftest.$ac_objext \
30778    conftest$ac_exeext conftest.$ac_ext
30779LIBS=$ac_check_lib_save_LIBS
30780fi
30781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5
30782$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; }
30783if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then :
30784  ac_cv_libuna_dummy=yes
30785else
30786  ac_cv_libuna=no
30787fi
30788
30789        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5
30790$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; }
30791if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then :
30792  $as_echo_n "(cached) " >&6
30793else
30794  ac_check_lib_save_LIBS=$LIBS
30795LIBS="-luna  $LIBS"
30796cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30797/* end confdefs.h.  */
30798
30799/* Override any GCC internal prototype to avoid an error.
30800   Use char because int might match the return type of a GCC
30801   builtin and then its argument prototype would still apply.  */
30802#ifdef __cplusplus
30803extern "C"
30804#endif
30805char libuna_base64_triplet_copy_to_base64_stream ();
30806int
30807main ()
30808{
30809return libuna_base64_triplet_copy_to_base64_stream ();
30810  ;
30811  return 0;
30812}
30813_ACEOF
30814if ac_fn_c_try_link "$LINENO"; then :
30815  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes
30816else
30817  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no
30818fi
30819rm -f core conftest.err conftest.$ac_objext \
30820    conftest$ac_exeext conftest.$ac_ext
30821LIBS=$ac_check_lib_save_LIBS
30822fi
30823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5
30824$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; }
30825if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then :
30826  ac_cv_libuna_dummy=yes
30827else
30828  ac_cv_libuna=no
30829fi
30830
30831        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5
30832$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; }
30833if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then :
30834  $as_echo_n "(cached) " >&6
30835else
30836  ac_check_lib_save_LIBS=$LIBS
30837LIBS="-luna  $LIBS"
30838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30839/* end confdefs.h.  */
30840
30841/* Override any GCC internal prototype to avoid an error.
30842   Use char because int might match the return type of a GCC
30843   builtin and then its argument prototype would still apply.  */
30844#ifdef __cplusplus
30845extern "C"
30846#endif
30847char libuna_base64_triplet_copy_from_byte_stream ();
30848int
30849main ()
30850{
30851return libuna_base64_triplet_copy_from_byte_stream ();
30852  ;
30853  return 0;
30854}
30855_ACEOF
30856if ac_fn_c_try_link "$LINENO"; then :
30857  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes
30858else
30859  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no
30860fi
30861rm -f core conftest.err conftest.$ac_objext \
30862    conftest$ac_exeext conftest.$ac_ext
30863LIBS=$ac_check_lib_save_LIBS
30864fi
30865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5
30866$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; }
30867if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then :
30868  ac_cv_libuna_dummy=yes
30869else
30870  ac_cv_libuna=no
30871fi
30872
30873        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5
30874$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; }
30875if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then :
30876  $as_echo_n "(cached) " >&6
30877else
30878  ac_check_lib_save_LIBS=$LIBS
30879LIBS="-luna  $LIBS"
30880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30881/* end confdefs.h.  */
30882
30883/* Override any GCC internal prototype to avoid an error.
30884   Use char because int might match the return type of a GCC
30885   builtin and then its argument prototype would still apply.  */
30886#ifdef __cplusplus
30887extern "C"
30888#endif
30889char libuna_base64_triplet_copy_to_byte_stream ();
30890int
30891main ()
30892{
30893return libuna_base64_triplet_copy_to_byte_stream ();
30894  ;
30895  return 0;
30896}
30897_ACEOF
30898if ac_fn_c_try_link "$LINENO"; then :
30899  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes
30900else
30901  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no
30902fi
30903rm -f core conftest.err conftest.$ac_objext \
30904    conftest$ac_exeext conftest.$ac_ext
30905LIBS=$ac_check_lib_save_LIBS
30906fi
30907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5
30908$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; }
30909if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then :
30910  ac_cv_libuna_dummy=yes
30911else
30912  ac_cv_libuna=no
30913fi
30914
30915
30916        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5
30917$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; }
30918if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then :
30919  $as_echo_n "(cached) " >&6
30920else
30921  ac_check_lib_save_LIBS=$LIBS
30922LIBS="-luna  $LIBS"
30923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924/* end confdefs.h.  */
30925
30926/* Override any GCC internal prototype to avoid an error.
30927   Use char because int might match the return type of a GCC
30928   builtin and then its argument prototype would still apply.  */
30929#ifdef __cplusplus
30930extern "C"
30931#endif
30932char libuna_base64_stream_size_to_byte_stream ();
30933int
30934main ()
30935{
30936return libuna_base64_stream_size_to_byte_stream ();
30937  ;
30938  return 0;
30939}
30940_ACEOF
30941if ac_fn_c_try_link "$LINENO"; then :
30942  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes
30943else
30944  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no
30945fi
30946rm -f core conftest.err conftest.$ac_objext \
30947    conftest$ac_exeext conftest.$ac_ext
30948LIBS=$ac_check_lib_save_LIBS
30949fi
30950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5
30951$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; }
30952if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then :
30953  ac_cv_libuna_dummy=yes
30954else
30955  ac_cv_libuna=no
30956fi
30957
30958        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5
30959$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; }
30960if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then :
30961  $as_echo_n "(cached) " >&6
30962else
30963  ac_check_lib_save_LIBS=$LIBS
30964LIBS="-luna  $LIBS"
30965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30966/* end confdefs.h.  */
30967
30968/* Override any GCC internal prototype to avoid an error.
30969   Use char because int might match the return type of a GCC
30970   builtin and then its argument prototype would still apply.  */
30971#ifdef __cplusplus
30972extern "C"
30973#endif
30974char libuna_base64_stream_copy_to_byte_stream ();
30975int
30976main ()
30977{
30978return libuna_base64_stream_copy_to_byte_stream ();
30979  ;
30980  return 0;
30981}
30982_ACEOF
30983if ac_fn_c_try_link "$LINENO"; then :
30984  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes
30985else
30986  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no
30987fi
30988rm -f core conftest.err conftest.$ac_objext \
30989    conftest$ac_exeext conftest.$ac_ext
30990LIBS=$ac_check_lib_save_LIBS
30991fi
30992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5
30993$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; }
30994if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then :
30995  ac_cv_libuna_dummy=yes
30996else
30997  ac_cv_libuna=no
30998fi
30999
31000        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5
31001$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; }
31002if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then :
31003  $as_echo_n "(cached) " >&6
31004else
31005  ac_check_lib_save_LIBS=$LIBS
31006LIBS="-luna  $LIBS"
31007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31008/* end confdefs.h.  */
31009
31010/* Override any GCC internal prototype to avoid an error.
31011   Use char because int might match the return type of a GCC
31012   builtin and then its argument prototype would still apply.  */
31013#ifdef __cplusplus
31014extern "C"
31015#endif
31016char libuna_base64_stream_size_from_byte_stream ();
31017int
31018main ()
31019{
31020return libuna_base64_stream_size_from_byte_stream ();
31021  ;
31022  return 0;
31023}
31024_ACEOF
31025if ac_fn_c_try_link "$LINENO"; then :
31026  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes
31027else
31028  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no
31029fi
31030rm -f core conftest.err conftest.$ac_objext \
31031    conftest$ac_exeext conftest.$ac_ext
31032LIBS=$ac_check_lib_save_LIBS
31033fi
31034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5
31035$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; }
31036if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then :
31037  ac_cv_libuna_dummy=yes
31038else
31039  ac_cv_libuna=no
31040fi
31041
31042        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5
31043$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; }
31044if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then :
31045  $as_echo_n "(cached) " >&6
31046else
31047  ac_check_lib_save_LIBS=$LIBS
31048LIBS="-luna  $LIBS"
31049cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31050/* end confdefs.h.  */
31051
31052/* Override any GCC internal prototype to avoid an error.
31053   Use char because int might match the return type of a GCC
31054   builtin and then its argument prototype would still apply.  */
31055#ifdef __cplusplus
31056extern "C"
31057#endif
31058char libuna_base64_stream_copy_from_byte_stream ();
31059int
31060main ()
31061{
31062return libuna_base64_stream_copy_from_byte_stream ();
31063  ;
31064  return 0;
31065}
31066_ACEOF
31067if ac_fn_c_try_link "$LINENO"; then :
31068  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes
31069else
31070  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no
31071fi
31072rm -f core conftest.err conftest.$ac_objext \
31073    conftest$ac_exeext conftest.$ac_ext
31074LIBS=$ac_check_lib_save_LIBS
31075fi
31076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5
31077$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; }
31078if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then :
31079  ac_cv_libuna_dummy=yes
31080else
31081  ac_cv_libuna=no
31082fi
31083
31084        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5
31085$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
31086if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then :
31087  $as_echo_n "(cached) " >&6
31088else
31089  ac_check_lib_save_LIBS=$LIBS
31090LIBS="-luna  $LIBS"
31091cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31092/* end confdefs.h.  */
31093
31094/* Override any GCC internal prototype to avoid an error.
31095   Use char because int might match the return type of a GCC
31096   builtin and then its argument prototype would still apply.  */
31097#ifdef __cplusplus
31098extern "C"
31099#endif
31100char libuna_base64_stream_with_index_copy_from_byte_stream ();
31101int
31102main ()
31103{
31104return libuna_base64_stream_with_index_copy_from_byte_stream ();
31105  ;
31106  return 0;
31107}
31108_ACEOF
31109if ac_fn_c_try_link "$LINENO"; then :
31110  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes
31111else
31112  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no
31113fi
31114rm -f core conftest.err conftest.$ac_objext \
31115    conftest$ac_exeext conftest.$ac_ext
31116LIBS=$ac_check_lib_save_LIBS
31117fi
31118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5
31119$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; }
31120if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then :
31121  ac_cv_libuna_dummy=yes
31122else
31123  ac_cv_libuna=no
31124fi
31125
31126
31127                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5
31128$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; }
31129if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then :
31130  $as_echo_n "(cached) " >&6
31131else
31132  ac_check_lib_save_LIBS=$LIBS
31133LIBS="-luna  $LIBS"
31134cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31135/* end confdefs.h.  */
31136
31137/* Override any GCC internal prototype to avoid an error.
31138   Use char because int might match the return type of a GCC
31139   builtin and then its argument prototype would still apply.  */
31140#ifdef __cplusplus
31141extern "C"
31142#endif
31143char libuna_byte_stream_size_from_utf8 ();
31144int
31145main ()
31146{
31147return libuna_byte_stream_size_from_utf8 ();
31148  ;
31149  return 0;
31150}
31151_ACEOF
31152if ac_fn_c_try_link "$LINENO"; then :
31153  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes
31154else
31155  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no
31156fi
31157rm -f core conftest.err conftest.$ac_objext \
31158    conftest$ac_exeext conftest.$ac_ext
31159LIBS=$ac_check_lib_save_LIBS
31160fi
31161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5
31162$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; }
31163if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then :
31164  ac_cv_libuna_dummy=yes
31165else
31166  ac_cv_libuna=no
31167fi
31168
31169        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5
31170$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; }
31171if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then :
31172  $as_echo_n "(cached) " >&6
31173else
31174  ac_check_lib_save_LIBS=$LIBS
31175LIBS="-luna  $LIBS"
31176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31177/* end confdefs.h.  */
31178
31179/* Override any GCC internal prototype to avoid an error.
31180   Use char because int might match the return type of a GCC
31181   builtin and then its argument prototype would still apply.  */
31182#ifdef __cplusplus
31183extern "C"
31184#endif
31185char libuna_byte_stream_copy_from_utf8 ();
31186int
31187main ()
31188{
31189return libuna_byte_stream_copy_from_utf8 ();
31190  ;
31191  return 0;
31192}
31193_ACEOF
31194if ac_fn_c_try_link "$LINENO"; then :
31195  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes
31196else
31197  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no
31198fi
31199rm -f core conftest.err conftest.$ac_objext \
31200    conftest$ac_exeext conftest.$ac_ext
31201LIBS=$ac_check_lib_save_LIBS
31202fi
31203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5
31204$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; }
31205if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then :
31206  ac_cv_libuna_dummy=yes
31207else
31208  ac_cv_libuna=no
31209fi
31210
31211        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5
31212$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; }
31213if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then :
31214  $as_echo_n "(cached) " >&6
31215else
31216  ac_check_lib_save_LIBS=$LIBS
31217LIBS="-luna  $LIBS"
31218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31219/* end confdefs.h.  */
31220
31221/* Override any GCC internal prototype to avoid an error.
31222   Use char because int might match the return type of a GCC
31223   builtin and then its argument prototype would still apply.  */
31224#ifdef __cplusplus
31225extern "C"
31226#endif
31227char libuna_byte_stream_size_from_utf16 ();
31228int
31229main ()
31230{
31231return libuna_byte_stream_size_from_utf16 ();
31232  ;
31233  return 0;
31234}
31235_ACEOF
31236if ac_fn_c_try_link "$LINENO"; then :
31237  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes
31238else
31239  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no
31240fi
31241rm -f core conftest.err conftest.$ac_objext \
31242    conftest$ac_exeext conftest.$ac_ext
31243LIBS=$ac_check_lib_save_LIBS
31244fi
31245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5
31246$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; }
31247if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then :
31248  ac_cv_libuna_dummy=yes
31249else
31250  ac_cv_libuna=no
31251fi
31252
31253        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5
31254$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; }
31255if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then :
31256  $as_echo_n "(cached) " >&6
31257else
31258  ac_check_lib_save_LIBS=$LIBS
31259LIBS="-luna  $LIBS"
31260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31261/* end confdefs.h.  */
31262
31263/* Override any GCC internal prototype to avoid an error.
31264   Use char because int might match the return type of a GCC
31265   builtin and then its argument prototype would still apply.  */
31266#ifdef __cplusplus
31267extern "C"
31268#endif
31269char libuna_byte_stream_copy_from_utf16 ();
31270int
31271main ()
31272{
31273return libuna_byte_stream_copy_from_utf16 ();
31274  ;
31275  return 0;
31276}
31277_ACEOF
31278if ac_fn_c_try_link "$LINENO"; then :
31279  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes
31280else
31281  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no
31282fi
31283rm -f core conftest.err conftest.$ac_objext \
31284    conftest$ac_exeext conftest.$ac_ext
31285LIBS=$ac_check_lib_save_LIBS
31286fi
31287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5
31288$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; }
31289if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then :
31290  ac_cv_libuna_dummy=yes
31291else
31292  ac_cv_libuna=no
31293fi
31294
31295        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5
31296$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; }
31297if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then :
31298  $as_echo_n "(cached) " >&6
31299else
31300  ac_check_lib_save_LIBS=$LIBS
31301LIBS="-luna  $LIBS"
31302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31303/* end confdefs.h.  */
31304
31305/* Override any GCC internal prototype to avoid an error.
31306   Use char because int might match the return type of a GCC
31307   builtin and then its argument prototype would still apply.  */
31308#ifdef __cplusplus
31309extern "C"
31310#endif
31311char libuna_byte_stream_size_from_utf32 ();
31312int
31313main ()
31314{
31315return libuna_byte_stream_size_from_utf32 ();
31316  ;
31317  return 0;
31318}
31319_ACEOF
31320if ac_fn_c_try_link "$LINENO"; then :
31321  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes
31322else
31323  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no
31324fi
31325rm -f core conftest.err conftest.$ac_objext \
31326    conftest$ac_exeext conftest.$ac_ext
31327LIBS=$ac_check_lib_save_LIBS
31328fi
31329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5
31330$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; }
31331if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then :
31332  ac_cv_libuna_dummy=yes
31333else
31334  ac_cv_libuna=no
31335fi
31336
31337        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5
31338$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; }
31339if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then :
31340  $as_echo_n "(cached) " >&6
31341else
31342  ac_check_lib_save_LIBS=$LIBS
31343LIBS="-luna  $LIBS"
31344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31345/* end confdefs.h.  */
31346
31347/* Override any GCC internal prototype to avoid an error.
31348   Use char because int might match the return type of a GCC
31349   builtin and then its argument prototype would still apply.  */
31350#ifdef __cplusplus
31351extern "C"
31352#endif
31353char libuna_byte_stream_copy_from_utf32 ();
31354int
31355main ()
31356{
31357return libuna_byte_stream_copy_from_utf32 ();
31358  ;
31359  return 0;
31360}
31361_ACEOF
31362if ac_fn_c_try_link "$LINENO"; then :
31363  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes
31364else
31365  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no
31366fi
31367rm -f core conftest.err conftest.$ac_objext \
31368    conftest$ac_exeext conftest.$ac_ext
31369LIBS=$ac_check_lib_save_LIBS
31370fi
31371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5
31372$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; }
31373if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then :
31374  ac_cv_libuna_dummy=yes
31375else
31376  ac_cv_libuna=no
31377fi
31378
31379
31380                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5
31381$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; }
31382if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then :
31383  $as_echo_n "(cached) " >&6
31384else
31385  ac_check_lib_save_LIBS=$LIBS
31386LIBS="-luna  $LIBS"
31387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31388/* end confdefs.h.  */
31389
31390/* Override any GCC internal prototype to avoid an error.
31391   Use char because int might match the return type of a GCC
31392   builtin and then its argument prototype would still apply.  */
31393#ifdef __cplusplus
31394extern "C"
31395#endif
31396char libuna_utf8_stream_size_from_utf8 ();
31397int
31398main ()
31399{
31400return libuna_utf8_stream_size_from_utf8 ();
31401  ;
31402  return 0;
31403}
31404_ACEOF
31405if ac_fn_c_try_link "$LINENO"; then :
31406  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes
31407else
31408  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no
31409fi
31410rm -f core conftest.err conftest.$ac_objext \
31411    conftest$ac_exeext conftest.$ac_ext
31412LIBS=$ac_check_lib_save_LIBS
31413fi
31414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5
31415$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; }
31416if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then :
31417  ac_cv_libuna_dummy=yes
31418else
31419  ac_cv_libuna=no
31420fi
31421
31422        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5
31423$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; }
31424if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then :
31425  $as_echo_n "(cached) " >&6
31426else
31427  ac_check_lib_save_LIBS=$LIBS
31428LIBS="-luna  $LIBS"
31429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31430/* end confdefs.h.  */
31431
31432/* Override any GCC internal prototype to avoid an error.
31433   Use char because int might match the return type of a GCC
31434   builtin and then its argument prototype would still apply.  */
31435#ifdef __cplusplus
31436extern "C"
31437#endif
31438char libuna_utf8_stream_copy_from_utf8 ();
31439int
31440main ()
31441{
31442return libuna_utf8_stream_copy_from_utf8 ();
31443  ;
31444  return 0;
31445}
31446_ACEOF
31447if ac_fn_c_try_link "$LINENO"; then :
31448  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes
31449else
31450  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no
31451fi
31452rm -f core conftest.err conftest.$ac_objext \
31453    conftest$ac_exeext conftest.$ac_ext
31454LIBS=$ac_check_lib_save_LIBS
31455fi
31456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5
31457$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; }
31458if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then :
31459  ac_cv_libuna_dummy=yes
31460else
31461  ac_cv_libuna=no
31462fi
31463
31464        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5
31465$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; }
31466if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then :
31467  $as_echo_n "(cached) " >&6
31468else
31469  ac_check_lib_save_LIBS=$LIBS
31470LIBS="-luna  $LIBS"
31471cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31472/* end confdefs.h.  */
31473
31474/* Override any GCC internal prototype to avoid an error.
31475   Use char because int might match the return type of a GCC
31476   builtin and then its argument prototype would still apply.  */
31477#ifdef __cplusplus
31478extern "C"
31479#endif
31480char libuna_utf8_stream_size_from_utf16 ();
31481int
31482main ()
31483{
31484return libuna_utf8_stream_size_from_utf16 ();
31485  ;
31486  return 0;
31487}
31488_ACEOF
31489if ac_fn_c_try_link "$LINENO"; then :
31490  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes
31491else
31492  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no
31493fi
31494rm -f core conftest.err conftest.$ac_objext \
31495    conftest$ac_exeext conftest.$ac_ext
31496LIBS=$ac_check_lib_save_LIBS
31497fi
31498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5
31499$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; }
31500if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then :
31501  ac_cv_libuna_dummy=yes
31502else
31503  ac_cv_libuna=no
31504fi
31505
31506        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5
31507$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; }
31508if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then :
31509  $as_echo_n "(cached) " >&6
31510else
31511  ac_check_lib_save_LIBS=$LIBS
31512LIBS="-luna  $LIBS"
31513cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514/* end confdefs.h.  */
31515
31516/* Override any GCC internal prototype to avoid an error.
31517   Use char because int might match the return type of a GCC
31518   builtin and then its argument prototype would still apply.  */
31519#ifdef __cplusplus
31520extern "C"
31521#endif
31522char libuna_utf8_stream_copy_from_utf16 ();
31523int
31524main ()
31525{
31526return libuna_utf8_stream_copy_from_utf16 ();
31527  ;
31528  return 0;
31529}
31530_ACEOF
31531if ac_fn_c_try_link "$LINENO"; then :
31532  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes
31533else
31534  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no
31535fi
31536rm -f core conftest.err conftest.$ac_objext \
31537    conftest$ac_exeext conftest.$ac_ext
31538LIBS=$ac_check_lib_save_LIBS
31539fi
31540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5
31541$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; }
31542if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then :
31543  ac_cv_libuna_dummy=yes
31544else
31545  ac_cv_libuna=no
31546fi
31547
31548        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5
31549$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; }
31550if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then :
31551  $as_echo_n "(cached) " >&6
31552else
31553  ac_check_lib_save_LIBS=$LIBS
31554LIBS="-luna  $LIBS"
31555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31556/* end confdefs.h.  */
31557
31558/* Override any GCC internal prototype to avoid an error.
31559   Use char because int might match the return type of a GCC
31560   builtin and then its argument prototype would still apply.  */
31561#ifdef __cplusplus
31562extern "C"
31563#endif
31564char libuna_utf8_stream_size_from_utf32 ();
31565int
31566main ()
31567{
31568return libuna_utf8_stream_size_from_utf32 ();
31569  ;
31570  return 0;
31571}
31572_ACEOF
31573if ac_fn_c_try_link "$LINENO"; then :
31574  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes
31575else
31576  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no
31577fi
31578rm -f core conftest.err conftest.$ac_objext \
31579    conftest$ac_exeext conftest.$ac_ext
31580LIBS=$ac_check_lib_save_LIBS
31581fi
31582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5
31583$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; }
31584if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then :
31585  ac_cv_libuna_dummy=yes
31586else
31587  ac_cv_libuna=no
31588fi
31589
31590        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5
31591$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; }
31592if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then :
31593  $as_echo_n "(cached) " >&6
31594else
31595  ac_check_lib_save_LIBS=$LIBS
31596LIBS="-luna  $LIBS"
31597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31598/* end confdefs.h.  */
31599
31600/* Override any GCC internal prototype to avoid an error.
31601   Use char because int might match the return type of a GCC
31602   builtin and then its argument prototype would still apply.  */
31603#ifdef __cplusplus
31604extern "C"
31605#endif
31606char libuna_utf8_stream_copy_from_utf32 ();
31607int
31608main ()
31609{
31610return libuna_utf8_stream_copy_from_utf32 ();
31611  ;
31612  return 0;
31613}
31614_ACEOF
31615if ac_fn_c_try_link "$LINENO"; then :
31616  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes
31617else
31618  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no
31619fi
31620rm -f core conftest.err conftest.$ac_objext \
31621    conftest$ac_exeext conftest.$ac_ext
31622LIBS=$ac_check_lib_save_LIBS
31623fi
31624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5
31625$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; }
31626if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then :
31627  ac_cv_libuna_dummy=yes
31628else
31629  ac_cv_libuna=no
31630fi
31631
31632
31633                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5
31634$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; }
31635if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then :
31636  $as_echo_n "(cached) " >&6
31637else
31638  ac_check_lib_save_LIBS=$LIBS
31639LIBS="-luna  $LIBS"
31640cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31641/* end confdefs.h.  */
31642
31643/* Override any GCC internal prototype to avoid an error.
31644   Use char because int might match the return type of a GCC
31645   builtin and then its argument prototype would still apply.  */
31646#ifdef __cplusplus
31647extern "C"
31648#endif
31649char libuna_utf16_stream_size_from_utf8 ();
31650int
31651main ()
31652{
31653return libuna_utf16_stream_size_from_utf8 ();
31654  ;
31655  return 0;
31656}
31657_ACEOF
31658if ac_fn_c_try_link "$LINENO"; then :
31659  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes
31660else
31661  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no
31662fi
31663rm -f core conftest.err conftest.$ac_objext \
31664    conftest$ac_exeext conftest.$ac_ext
31665LIBS=$ac_check_lib_save_LIBS
31666fi
31667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5
31668$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; }
31669if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then :
31670  ac_cv_libuna_dummy=yes
31671else
31672  ac_cv_libuna=no
31673fi
31674
31675        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5
31676$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; }
31677if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then :
31678  $as_echo_n "(cached) " >&6
31679else
31680  ac_check_lib_save_LIBS=$LIBS
31681LIBS="-luna  $LIBS"
31682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683/* end confdefs.h.  */
31684
31685/* Override any GCC internal prototype to avoid an error.
31686   Use char because int might match the return type of a GCC
31687   builtin and then its argument prototype would still apply.  */
31688#ifdef __cplusplus
31689extern "C"
31690#endif
31691char libuna_utf16_stream_copy_from_utf8 ();
31692int
31693main ()
31694{
31695return libuna_utf16_stream_copy_from_utf8 ();
31696  ;
31697  return 0;
31698}
31699_ACEOF
31700if ac_fn_c_try_link "$LINENO"; then :
31701  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes
31702else
31703  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no
31704fi
31705rm -f core conftest.err conftest.$ac_objext \
31706    conftest$ac_exeext conftest.$ac_ext
31707LIBS=$ac_check_lib_save_LIBS
31708fi
31709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5
31710$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; }
31711if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then :
31712  ac_cv_libuna_dummy=yes
31713else
31714  ac_cv_libuna=no
31715fi
31716
31717        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5
31718$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; }
31719if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then :
31720  $as_echo_n "(cached) " >&6
31721else
31722  ac_check_lib_save_LIBS=$LIBS
31723LIBS="-luna  $LIBS"
31724cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31725/* end confdefs.h.  */
31726
31727/* Override any GCC internal prototype to avoid an error.
31728   Use char because int might match the return type of a GCC
31729   builtin and then its argument prototype would still apply.  */
31730#ifdef __cplusplus
31731extern "C"
31732#endif
31733char libuna_utf16_stream_size_from_utf16 ();
31734int
31735main ()
31736{
31737return libuna_utf16_stream_size_from_utf16 ();
31738  ;
31739  return 0;
31740}
31741_ACEOF
31742if ac_fn_c_try_link "$LINENO"; then :
31743  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes
31744else
31745  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no
31746fi
31747rm -f core conftest.err conftest.$ac_objext \
31748    conftest$ac_exeext conftest.$ac_ext
31749LIBS=$ac_check_lib_save_LIBS
31750fi
31751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5
31752$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; }
31753if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then :
31754  ac_cv_libuna_dummy=yes
31755else
31756  ac_cv_libuna=no
31757fi
31758
31759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5
31760$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; }
31761if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then :
31762  $as_echo_n "(cached) " >&6
31763else
31764  ac_check_lib_save_LIBS=$LIBS
31765LIBS="-luna  $LIBS"
31766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31767/* end confdefs.h.  */
31768
31769/* Override any GCC internal prototype to avoid an error.
31770   Use char because int might match the return type of a GCC
31771   builtin and then its argument prototype would still apply.  */
31772#ifdef __cplusplus
31773extern "C"
31774#endif
31775char libuna_utf16_stream_copy_from_utf16 ();
31776int
31777main ()
31778{
31779return libuna_utf16_stream_copy_from_utf16 ();
31780  ;
31781  return 0;
31782}
31783_ACEOF
31784if ac_fn_c_try_link "$LINENO"; then :
31785  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes
31786else
31787  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no
31788fi
31789rm -f core conftest.err conftest.$ac_objext \
31790    conftest$ac_exeext conftest.$ac_ext
31791LIBS=$ac_check_lib_save_LIBS
31792fi
31793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5
31794$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; }
31795if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then :
31796  ac_cv_libuna_dummy=yes
31797else
31798  ac_cv_libuna=no
31799fi
31800
31801        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5
31802$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; }
31803if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then :
31804  $as_echo_n "(cached) " >&6
31805else
31806  ac_check_lib_save_LIBS=$LIBS
31807LIBS="-luna  $LIBS"
31808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31809/* end confdefs.h.  */
31810
31811/* Override any GCC internal prototype to avoid an error.
31812   Use char because int might match the return type of a GCC
31813   builtin and then its argument prototype would still apply.  */
31814#ifdef __cplusplus
31815extern "C"
31816#endif
31817char libuna_utf16_stream_size_from_utf32 ();
31818int
31819main ()
31820{
31821return libuna_utf16_stream_size_from_utf32 ();
31822  ;
31823  return 0;
31824}
31825_ACEOF
31826if ac_fn_c_try_link "$LINENO"; then :
31827  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes
31828else
31829  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no
31830fi
31831rm -f core conftest.err conftest.$ac_objext \
31832    conftest$ac_exeext conftest.$ac_ext
31833LIBS=$ac_check_lib_save_LIBS
31834fi
31835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5
31836$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; }
31837if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then :
31838  ac_cv_libuna_dummy=yes
31839else
31840  ac_cv_libuna=no
31841fi
31842
31843        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5
31844$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; }
31845if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then :
31846  $as_echo_n "(cached) " >&6
31847else
31848  ac_check_lib_save_LIBS=$LIBS
31849LIBS="-luna  $LIBS"
31850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31851/* end confdefs.h.  */
31852
31853/* Override any GCC internal prototype to avoid an error.
31854   Use char because int might match the return type of a GCC
31855   builtin and then its argument prototype would still apply.  */
31856#ifdef __cplusplus
31857extern "C"
31858#endif
31859char libuna_utf16_stream_copy_from_utf32 ();
31860int
31861main ()
31862{
31863return libuna_utf16_stream_copy_from_utf32 ();
31864  ;
31865  return 0;
31866}
31867_ACEOF
31868if ac_fn_c_try_link "$LINENO"; then :
31869  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes
31870else
31871  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no
31872fi
31873rm -f core conftest.err conftest.$ac_objext \
31874    conftest$ac_exeext conftest.$ac_ext
31875LIBS=$ac_check_lib_save_LIBS
31876fi
31877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5
31878$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; }
31879if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then :
31880  ac_cv_libuna_dummy=yes
31881else
31882  ac_cv_libuna=no
31883fi
31884
31885
31886                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5
31887$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; }
31888if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then :
31889  $as_echo_n "(cached) " >&6
31890else
31891  ac_check_lib_save_LIBS=$LIBS
31892LIBS="-luna  $LIBS"
31893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31894/* end confdefs.h.  */
31895
31896/* Override any GCC internal prototype to avoid an error.
31897   Use char because int might match the return type of a GCC
31898   builtin and then its argument prototype would still apply.  */
31899#ifdef __cplusplus
31900extern "C"
31901#endif
31902char libuna_utf32_stream_size_from_utf8 ();
31903int
31904main ()
31905{
31906return libuna_utf32_stream_size_from_utf8 ();
31907  ;
31908  return 0;
31909}
31910_ACEOF
31911if ac_fn_c_try_link "$LINENO"; then :
31912  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes
31913else
31914  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no
31915fi
31916rm -f core conftest.err conftest.$ac_objext \
31917    conftest$ac_exeext conftest.$ac_ext
31918LIBS=$ac_check_lib_save_LIBS
31919fi
31920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5
31921$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; }
31922if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then :
31923  ac_cv_libuna_dummy=yes
31924else
31925  ac_cv_libuna=no
31926fi
31927
31928        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5
31929$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; }
31930if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then :
31931  $as_echo_n "(cached) " >&6
31932else
31933  ac_check_lib_save_LIBS=$LIBS
31934LIBS="-luna  $LIBS"
31935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31936/* end confdefs.h.  */
31937
31938/* Override any GCC internal prototype to avoid an error.
31939   Use char because int might match the return type of a GCC
31940   builtin and then its argument prototype would still apply.  */
31941#ifdef __cplusplus
31942extern "C"
31943#endif
31944char libuna_utf32_stream_copy_from_utf8 ();
31945int
31946main ()
31947{
31948return libuna_utf32_stream_copy_from_utf8 ();
31949  ;
31950  return 0;
31951}
31952_ACEOF
31953if ac_fn_c_try_link "$LINENO"; then :
31954  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes
31955else
31956  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no
31957fi
31958rm -f core conftest.err conftest.$ac_objext \
31959    conftest$ac_exeext conftest.$ac_ext
31960LIBS=$ac_check_lib_save_LIBS
31961fi
31962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5
31963$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; }
31964if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then :
31965  ac_cv_libuna_dummy=yes
31966else
31967  ac_cv_libuna=no
31968fi
31969
31970        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5
31971$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; }
31972if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then :
31973  $as_echo_n "(cached) " >&6
31974else
31975  ac_check_lib_save_LIBS=$LIBS
31976LIBS="-luna  $LIBS"
31977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978/* end confdefs.h.  */
31979
31980/* Override any GCC internal prototype to avoid an error.
31981   Use char because int might match the return type of a GCC
31982   builtin and then its argument prototype would still apply.  */
31983#ifdef __cplusplus
31984extern "C"
31985#endif
31986char libuna_utf32_stream_size_from_utf16 ();
31987int
31988main ()
31989{
31990return libuna_utf32_stream_size_from_utf16 ();
31991  ;
31992  return 0;
31993}
31994_ACEOF
31995if ac_fn_c_try_link "$LINENO"; then :
31996  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes
31997else
31998  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no
31999fi
32000rm -f core conftest.err conftest.$ac_objext \
32001    conftest$ac_exeext conftest.$ac_ext
32002LIBS=$ac_check_lib_save_LIBS
32003fi
32004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5
32005$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; }
32006if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then :
32007  ac_cv_libuna_dummy=yes
32008else
32009  ac_cv_libuna=no
32010fi
32011
32012        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5
32013$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; }
32014if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then :
32015  $as_echo_n "(cached) " >&6
32016else
32017  ac_check_lib_save_LIBS=$LIBS
32018LIBS="-luna  $LIBS"
32019cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32020/* end confdefs.h.  */
32021
32022/* Override any GCC internal prototype to avoid an error.
32023   Use char because int might match the return type of a GCC
32024   builtin and then its argument prototype would still apply.  */
32025#ifdef __cplusplus
32026extern "C"
32027#endif
32028char libuna_utf32_stream_copy_from_utf16 ();
32029int
32030main ()
32031{
32032return libuna_utf32_stream_copy_from_utf16 ();
32033  ;
32034  return 0;
32035}
32036_ACEOF
32037if ac_fn_c_try_link "$LINENO"; then :
32038  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes
32039else
32040  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no
32041fi
32042rm -f core conftest.err conftest.$ac_objext \
32043    conftest$ac_exeext conftest.$ac_ext
32044LIBS=$ac_check_lib_save_LIBS
32045fi
32046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5
32047$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; }
32048if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then :
32049  ac_cv_libuna_dummy=yes
32050else
32051  ac_cv_libuna=no
32052fi
32053
32054        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5
32055$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; }
32056if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then :
32057  $as_echo_n "(cached) " >&6
32058else
32059  ac_check_lib_save_LIBS=$LIBS
32060LIBS="-luna  $LIBS"
32061cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32062/* end confdefs.h.  */
32063
32064/* Override any GCC internal prototype to avoid an error.
32065   Use char because int might match the return type of a GCC
32066   builtin and then its argument prototype would still apply.  */
32067#ifdef __cplusplus
32068extern "C"
32069#endif
32070char libuna_utf32_stream_size_from_utf32 ();
32071int
32072main ()
32073{
32074return libuna_utf32_stream_size_from_utf32 ();
32075  ;
32076  return 0;
32077}
32078_ACEOF
32079if ac_fn_c_try_link "$LINENO"; then :
32080  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes
32081else
32082  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no
32083fi
32084rm -f core conftest.err conftest.$ac_objext \
32085    conftest$ac_exeext conftest.$ac_ext
32086LIBS=$ac_check_lib_save_LIBS
32087fi
32088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5
32089$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; }
32090if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then :
32091  ac_cv_libuna_dummy=yes
32092else
32093  ac_cv_libuna=no
32094fi
32095
32096        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5
32097$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; }
32098if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then :
32099  $as_echo_n "(cached) " >&6
32100else
32101  ac_check_lib_save_LIBS=$LIBS
32102LIBS="-luna  $LIBS"
32103cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32104/* end confdefs.h.  */
32105
32106/* Override any GCC internal prototype to avoid an error.
32107   Use char because int might match the return type of a GCC
32108   builtin and then its argument prototype would still apply.  */
32109#ifdef __cplusplus
32110extern "C"
32111#endif
32112char libuna_utf32_stream_copy_from_utf32 ();
32113int
32114main ()
32115{
32116return libuna_utf32_stream_copy_from_utf32 ();
32117  ;
32118  return 0;
32119}
32120_ACEOF
32121if ac_fn_c_try_link "$LINENO"; then :
32122  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes
32123else
32124  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no
32125fi
32126rm -f core conftest.err conftest.$ac_objext \
32127    conftest$ac_exeext conftest.$ac_ext
32128LIBS=$ac_check_lib_save_LIBS
32129fi
32130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5
32131$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; }
32132if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then :
32133  ac_cv_libuna_dummy=yes
32134else
32135  ac_cv_libuna=no
32136fi
32137
32138
32139                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5
32140$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; }
32141if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then :
32142  $as_echo_n "(cached) " >&6
32143else
32144  ac_check_lib_save_LIBS=$LIBS
32145LIBS="-luna  $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 libuna_utf8_string_size_from_byte_stream ();
32156int
32157main ()
32158{
32159return libuna_utf8_string_size_from_byte_stream ();
32160  ;
32161  return 0;
32162}
32163_ACEOF
32164if ac_fn_c_try_link "$LINENO"; then :
32165  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes
32166else
32167  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=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_una_libuna_utf8_string_size_from_byte_stream" >&5
32174$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; }
32175if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then :
32176  ac_cv_libuna_dummy=yes
32177else
32178  ac_cv_libuna=no
32179fi
32180
32181        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5
32182$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; }
32183if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then :
32184  $as_echo_n "(cached) " >&6
32185else
32186  ac_check_lib_save_LIBS=$LIBS
32187LIBS="-luna  $LIBS"
32188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32189/* end confdefs.h.  */
32190
32191/* Override any GCC internal prototype to avoid an error.
32192   Use char because int might match the return type of a GCC
32193   builtin and then its argument prototype would still apply.  */
32194#ifdef __cplusplus
32195extern "C"
32196#endif
32197char libuna_utf8_string_copy_from_byte_stream ();
32198int
32199main ()
32200{
32201return libuna_utf8_string_copy_from_byte_stream ();
32202  ;
32203  return 0;
32204}
32205_ACEOF
32206if ac_fn_c_try_link "$LINENO"; then :
32207  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes
32208else
32209  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no
32210fi
32211rm -f core conftest.err conftest.$ac_objext \
32212    conftest$ac_exeext conftest.$ac_ext
32213LIBS=$ac_check_lib_save_LIBS
32214fi
32215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5
32216$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; }
32217if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then :
32218  ac_cv_libuna_dummy=yes
32219else
32220  ac_cv_libuna=no
32221fi
32222
32223        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5
32224$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; }
32225if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then :
32226  $as_echo_n "(cached) " >&6
32227else
32228  ac_check_lib_save_LIBS=$LIBS
32229LIBS="-luna  $LIBS"
32230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32231/* end confdefs.h.  */
32232
32233/* Override any GCC internal prototype to avoid an error.
32234   Use char because int might match the return type of a GCC
32235   builtin and then its argument prototype would still apply.  */
32236#ifdef __cplusplus
32237extern "C"
32238#endif
32239char libuna_utf8_string_with_index_copy_from_byte_stream ();
32240int
32241main ()
32242{
32243return libuna_utf8_string_with_index_copy_from_byte_stream ();
32244  ;
32245  return 0;
32246}
32247_ACEOF
32248if ac_fn_c_try_link "$LINENO"; then :
32249  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes
32250else
32251  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no
32252fi
32253rm -f core conftest.err conftest.$ac_objext \
32254    conftest$ac_exeext conftest.$ac_ext
32255LIBS=$ac_check_lib_save_LIBS
32256fi
32257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5
32258$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; }
32259if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then :
32260  ac_cv_libuna_dummy=yes
32261else
32262  ac_cv_libuna=no
32263fi
32264
32265        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5
32266$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; }
32267if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then :
32268  $as_echo_n "(cached) " >&6
32269else
32270  ac_check_lib_save_LIBS=$LIBS
32271LIBS="-luna  $LIBS"
32272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32273/* end confdefs.h.  */
32274
32275/* Override any GCC internal prototype to avoid an error.
32276   Use char because int might match the return type of a GCC
32277   builtin and then its argument prototype would still apply.  */
32278#ifdef __cplusplus
32279extern "C"
32280#endif
32281char libuna_utf8_string_size_from_utf7_stream ();
32282int
32283main ()
32284{
32285return libuna_utf8_string_size_from_utf7_stream ();
32286  ;
32287  return 0;
32288}
32289_ACEOF
32290if ac_fn_c_try_link "$LINENO"; then :
32291  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes
32292else
32293  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no
32294fi
32295rm -f core conftest.err conftest.$ac_objext \
32296    conftest$ac_exeext conftest.$ac_ext
32297LIBS=$ac_check_lib_save_LIBS
32298fi
32299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5
32300$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; }
32301if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then :
32302  ac_cv_libuna_dummy=yes
32303else
32304  ac_cv_libuna=no
32305fi
32306
32307        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5
32308$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; }
32309if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then :
32310  $as_echo_n "(cached) " >&6
32311else
32312  ac_check_lib_save_LIBS=$LIBS
32313LIBS="-luna  $LIBS"
32314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32315/* end confdefs.h.  */
32316
32317/* Override any GCC internal prototype to avoid an error.
32318   Use char because int might match the return type of a GCC
32319   builtin and then its argument prototype would still apply.  */
32320#ifdef __cplusplus
32321extern "C"
32322#endif
32323char libuna_utf8_string_copy_from_utf7_stream ();
32324int
32325main ()
32326{
32327return libuna_utf8_string_copy_from_utf7_stream ();
32328  ;
32329  return 0;
32330}
32331_ACEOF
32332if ac_fn_c_try_link "$LINENO"; then :
32333  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes
32334else
32335  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no
32336fi
32337rm -f core conftest.err conftest.$ac_objext \
32338    conftest$ac_exeext conftest.$ac_ext
32339LIBS=$ac_check_lib_save_LIBS
32340fi
32341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5
32342$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; }
32343if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then :
32344  ac_cv_libuna_dummy=yes
32345else
32346  ac_cv_libuna=no
32347fi
32348
32349        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5
32350$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
32351if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then :
32352  $as_echo_n "(cached) " >&6
32353else
32354  ac_check_lib_save_LIBS=$LIBS
32355LIBS="-luna  $LIBS"
32356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357/* end confdefs.h.  */
32358
32359/* Override any GCC internal prototype to avoid an error.
32360   Use char because int might match the return type of a GCC
32361   builtin and then its argument prototype would still apply.  */
32362#ifdef __cplusplus
32363extern "C"
32364#endif
32365char libuna_utf8_string_with_index_copy_from_utf7_stream ();
32366int
32367main ()
32368{
32369return libuna_utf8_string_with_index_copy_from_utf7_stream ();
32370  ;
32371  return 0;
32372}
32373_ACEOF
32374if ac_fn_c_try_link "$LINENO"; then :
32375  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes
32376else
32377  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no
32378fi
32379rm -f core conftest.err conftest.$ac_objext \
32380    conftest$ac_exeext conftest.$ac_ext
32381LIBS=$ac_check_lib_save_LIBS
32382fi
32383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5
32384$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; }
32385if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then :
32386  ac_cv_libuna_dummy=yes
32387else
32388  ac_cv_libuna=no
32389fi
32390
32391        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5
32392$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; }
32393if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then :
32394  $as_echo_n "(cached) " >&6
32395else
32396  ac_check_lib_save_LIBS=$LIBS
32397LIBS="-luna  $LIBS"
32398cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32399/* end confdefs.h.  */
32400
32401/* Override any GCC internal prototype to avoid an error.
32402   Use char because int might match the return type of a GCC
32403   builtin and then its argument prototype would still apply.  */
32404#ifdef __cplusplus
32405extern "C"
32406#endif
32407char libuna_utf8_string_size_from_utf8_stream ();
32408int
32409main ()
32410{
32411return libuna_utf8_string_size_from_utf8_stream ();
32412  ;
32413  return 0;
32414}
32415_ACEOF
32416if ac_fn_c_try_link "$LINENO"; then :
32417  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes
32418else
32419  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no
32420fi
32421rm -f core conftest.err conftest.$ac_objext \
32422    conftest$ac_exeext conftest.$ac_ext
32423LIBS=$ac_check_lib_save_LIBS
32424fi
32425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5
32426$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; }
32427if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then :
32428  ac_cv_libuna_dummy=yes
32429else
32430  ac_cv_libuna=no
32431fi
32432
32433        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5
32434$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; }
32435if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then :
32436  $as_echo_n "(cached) " >&6
32437else
32438  ac_check_lib_save_LIBS=$LIBS
32439LIBS="-luna  $LIBS"
32440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441/* end confdefs.h.  */
32442
32443/* Override any GCC internal prototype to avoid an error.
32444   Use char because int might match the return type of a GCC
32445   builtin and then its argument prototype would still apply.  */
32446#ifdef __cplusplus
32447extern "C"
32448#endif
32449char libuna_utf8_string_copy_from_utf8_stream ();
32450int
32451main ()
32452{
32453return libuna_utf8_string_copy_from_utf8_stream ();
32454  ;
32455  return 0;
32456}
32457_ACEOF
32458if ac_fn_c_try_link "$LINENO"; then :
32459  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes
32460else
32461  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no
32462fi
32463rm -f core conftest.err conftest.$ac_objext \
32464    conftest$ac_exeext conftest.$ac_ext
32465LIBS=$ac_check_lib_save_LIBS
32466fi
32467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5
32468$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; }
32469if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then :
32470  ac_cv_libuna_dummy=yes
32471else
32472  ac_cv_libuna=no
32473fi
32474
32475        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5
32476$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
32477if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then :
32478  $as_echo_n "(cached) " >&6
32479else
32480  ac_check_lib_save_LIBS=$LIBS
32481LIBS="-luna  $LIBS"
32482cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483/* end confdefs.h.  */
32484
32485/* Override any GCC internal prototype to avoid an error.
32486   Use char because int might match the return type of a GCC
32487   builtin and then its argument prototype would still apply.  */
32488#ifdef __cplusplus
32489extern "C"
32490#endif
32491char libuna_utf8_string_with_index_copy_from_utf8_stream ();
32492int
32493main ()
32494{
32495return libuna_utf8_string_with_index_copy_from_utf8_stream ();
32496  ;
32497  return 0;
32498}
32499_ACEOF
32500if ac_fn_c_try_link "$LINENO"; then :
32501  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes
32502else
32503  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no
32504fi
32505rm -f core conftest.err conftest.$ac_objext \
32506    conftest$ac_exeext conftest.$ac_ext
32507LIBS=$ac_check_lib_save_LIBS
32508fi
32509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5
32510$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; }
32511if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then :
32512  ac_cv_libuna_dummy=yes
32513else
32514  ac_cv_libuna=no
32515fi
32516
32517        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5
32518$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; }
32519if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then :
32520  $as_echo_n "(cached) " >&6
32521else
32522  ac_check_lib_save_LIBS=$LIBS
32523LIBS="-luna  $LIBS"
32524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32525/* end confdefs.h.  */
32526
32527/* Override any GCC internal prototype to avoid an error.
32528   Use char because int might match the return type of a GCC
32529   builtin and then its argument prototype would still apply.  */
32530#ifdef __cplusplus
32531extern "C"
32532#endif
32533char libuna_utf8_string_size_from_utf16_stream ();
32534int
32535main ()
32536{
32537return libuna_utf8_string_size_from_utf16_stream ();
32538  ;
32539  return 0;
32540}
32541_ACEOF
32542if ac_fn_c_try_link "$LINENO"; then :
32543  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes
32544else
32545  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no
32546fi
32547rm -f core conftest.err conftest.$ac_objext \
32548    conftest$ac_exeext conftest.$ac_ext
32549LIBS=$ac_check_lib_save_LIBS
32550fi
32551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5
32552$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; }
32553if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then :
32554  ac_cv_libuna_dummy=yes
32555else
32556  ac_cv_libuna=no
32557fi
32558
32559        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5
32560$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; }
32561if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then :
32562  $as_echo_n "(cached) " >&6
32563else
32564  ac_check_lib_save_LIBS=$LIBS
32565LIBS="-luna  $LIBS"
32566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32567/* end confdefs.h.  */
32568
32569/* Override any GCC internal prototype to avoid an error.
32570   Use char because int might match the return type of a GCC
32571   builtin and then its argument prototype would still apply.  */
32572#ifdef __cplusplus
32573extern "C"
32574#endif
32575char libuna_utf8_string_copy_from_utf16_stream ();
32576int
32577main ()
32578{
32579return libuna_utf8_string_copy_from_utf16_stream ();
32580  ;
32581  return 0;
32582}
32583_ACEOF
32584if ac_fn_c_try_link "$LINENO"; then :
32585  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes
32586else
32587  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no
32588fi
32589rm -f core conftest.err conftest.$ac_objext \
32590    conftest$ac_exeext conftest.$ac_ext
32591LIBS=$ac_check_lib_save_LIBS
32592fi
32593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5
32594$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; }
32595if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then :
32596  ac_cv_libuna_dummy=yes
32597else
32598  ac_cv_libuna=no
32599fi
32600
32601        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5
32602$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
32603if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then :
32604  $as_echo_n "(cached) " >&6
32605else
32606  ac_check_lib_save_LIBS=$LIBS
32607LIBS="-luna  $LIBS"
32608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32609/* end confdefs.h.  */
32610
32611/* Override any GCC internal prototype to avoid an error.
32612   Use char because int might match the return type of a GCC
32613   builtin and then its argument prototype would still apply.  */
32614#ifdef __cplusplus
32615extern "C"
32616#endif
32617char libuna_utf8_string_with_index_copy_from_utf16_stream ();
32618int
32619main ()
32620{
32621return libuna_utf8_string_with_index_copy_from_utf16_stream ();
32622  ;
32623  return 0;
32624}
32625_ACEOF
32626if ac_fn_c_try_link "$LINENO"; then :
32627  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes
32628else
32629  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no
32630fi
32631rm -f core conftest.err conftest.$ac_objext \
32632    conftest$ac_exeext conftest.$ac_ext
32633LIBS=$ac_check_lib_save_LIBS
32634fi
32635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5
32636$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; }
32637if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then :
32638  ac_cv_libuna_dummy=yes
32639else
32640  ac_cv_libuna=no
32641fi
32642
32643        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5
32644$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; }
32645if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then :
32646  $as_echo_n "(cached) " >&6
32647else
32648  ac_check_lib_save_LIBS=$LIBS
32649LIBS="-luna  $LIBS"
32650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32651/* end confdefs.h.  */
32652
32653/* Override any GCC internal prototype to avoid an error.
32654   Use char because int might match the return type of a GCC
32655   builtin and then its argument prototype would still apply.  */
32656#ifdef __cplusplus
32657extern "C"
32658#endif
32659char libuna_utf8_string_size_from_utf32_stream ();
32660int
32661main ()
32662{
32663return libuna_utf8_string_size_from_utf32_stream ();
32664  ;
32665  return 0;
32666}
32667_ACEOF
32668if ac_fn_c_try_link "$LINENO"; then :
32669  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes
32670else
32671  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no
32672fi
32673rm -f core conftest.err conftest.$ac_objext \
32674    conftest$ac_exeext conftest.$ac_ext
32675LIBS=$ac_check_lib_save_LIBS
32676fi
32677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5
32678$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; }
32679if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then :
32680  ac_cv_libuna_dummy=yes
32681else
32682  ac_cv_libuna=no
32683fi
32684
32685        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5
32686$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; }
32687if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then :
32688  $as_echo_n "(cached) " >&6
32689else
32690  ac_check_lib_save_LIBS=$LIBS
32691LIBS="-luna  $LIBS"
32692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32693/* end confdefs.h.  */
32694
32695/* Override any GCC internal prototype to avoid an error.
32696   Use char because int might match the return type of a GCC
32697   builtin and then its argument prototype would still apply.  */
32698#ifdef __cplusplus
32699extern "C"
32700#endif
32701char libuna_utf8_string_copy_from_utf32_stream ();
32702int
32703main ()
32704{
32705return libuna_utf8_string_copy_from_utf32_stream ();
32706  ;
32707  return 0;
32708}
32709_ACEOF
32710if ac_fn_c_try_link "$LINENO"; then :
32711  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes
32712else
32713  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no
32714fi
32715rm -f core conftest.err conftest.$ac_objext \
32716    conftest$ac_exeext conftest.$ac_ext
32717LIBS=$ac_check_lib_save_LIBS
32718fi
32719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5
32720$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; }
32721if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then :
32722  ac_cv_libuna_dummy=yes
32723else
32724  ac_cv_libuna=no
32725fi
32726
32727        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5
32728$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
32729if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then :
32730  $as_echo_n "(cached) " >&6
32731else
32732  ac_check_lib_save_LIBS=$LIBS
32733LIBS="-luna  $LIBS"
32734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32735/* end confdefs.h.  */
32736
32737/* Override any GCC internal prototype to avoid an error.
32738   Use char because int might match the return type of a GCC
32739   builtin and then its argument prototype would still apply.  */
32740#ifdef __cplusplus
32741extern "C"
32742#endif
32743char libuna_utf8_string_with_index_copy_from_utf32_stream ();
32744int
32745main ()
32746{
32747return libuna_utf8_string_with_index_copy_from_utf32_stream ();
32748  ;
32749  return 0;
32750}
32751_ACEOF
32752if ac_fn_c_try_link "$LINENO"; then :
32753  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes
32754else
32755  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no
32756fi
32757rm -f core conftest.err conftest.$ac_objext \
32758    conftest$ac_exeext conftest.$ac_ext
32759LIBS=$ac_check_lib_save_LIBS
32760fi
32761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5
32762$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; }
32763if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then :
32764  ac_cv_libuna_dummy=yes
32765else
32766  ac_cv_libuna=no
32767fi
32768
32769        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5
32770$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; }
32771if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then :
32772  $as_echo_n "(cached) " >&6
32773else
32774  ac_check_lib_save_LIBS=$LIBS
32775LIBS="-luna  $LIBS"
32776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32777/* end confdefs.h.  */
32778
32779/* Override any GCC internal prototype to avoid an error.
32780   Use char because int might match the return type of a GCC
32781   builtin and then its argument prototype would still apply.  */
32782#ifdef __cplusplus
32783extern "C"
32784#endif
32785char libuna_utf8_string_size_from_utf16 ();
32786int
32787main ()
32788{
32789return libuna_utf8_string_size_from_utf16 ();
32790  ;
32791  return 0;
32792}
32793_ACEOF
32794if ac_fn_c_try_link "$LINENO"; then :
32795  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes
32796else
32797  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no
32798fi
32799rm -f core conftest.err conftest.$ac_objext \
32800    conftest$ac_exeext conftest.$ac_ext
32801LIBS=$ac_check_lib_save_LIBS
32802fi
32803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5
32804$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; }
32805if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then :
32806  ac_cv_libuna_dummy=yes
32807else
32808  ac_cv_libuna=no
32809fi
32810
32811        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5
32812$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; }
32813if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then :
32814  $as_echo_n "(cached) " >&6
32815else
32816  ac_check_lib_save_LIBS=$LIBS
32817LIBS="-luna  $LIBS"
32818cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32819/* end confdefs.h.  */
32820
32821/* Override any GCC internal prototype to avoid an error.
32822   Use char because int might match the return type of a GCC
32823   builtin and then its argument prototype would still apply.  */
32824#ifdef __cplusplus
32825extern "C"
32826#endif
32827char libuna_utf8_string_copy_from_utf16 ();
32828int
32829main ()
32830{
32831return libuna_utf8_string_copy_from_utf16 ();
32832  ;
32833  return 0;
32834}
32835_ACEOF
32836if ac_fn_c_try_link "$LINENO"; then :
32837  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes
32838else
32839  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no
32840fi
32841rm -f core conftest.err conftest.$ac_objext \
32842    conftest$ac_exeext conftest.$ac_ext
32843LIBS=$ac_check_lib_save_LIBS
32844fi
32845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5
32846$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; }
32847if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then :
32848  ac_cv_libuna_dummy=yes
32849else
32850  ac_cv_libuna=no
32851fi
32852
32853        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5
32854$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; }
32855if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then :
32856  $as_echo_n "(cached) " >&6
32857else
32858  ac_check_lib_save_LIBS=$LIBS
32859LIBS="-luna  $LIBS"
32860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861/* end confdefs.h.  */
32862
32863/* Override any GCC internal prototype to avoid an error.
32864   Use char because int might match the return type of a GCC
32865   builtin and then its argument prototype would still apply.  */
32866#ifdef __cplusplus
32867extern "C"
32868#endif
32869char libuna_utf8_string_with_index_copy_from_utf16 ();
32870int
32871main ()
32872{
32873return libuna_utf8_string_with_index_copy_from_utf16 ();
32874  ;
32875  return 0;
32876}
32877_ACEOF
32878if ac_fn_c_try_link "$LINENO"; then :
32879  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes
32880else
32881  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no
32882fi
32883rm -f core conftest.err conftest.$ac_objext \
32884    conftest$ac_exeext conftest.$ac_ext
32885LIBS=$ac_check_lib_save_LIBS
32886fi
32887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5
32888$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; }
32889if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then :
32890  ac_cv_libuna_dummy=yes
32891else
32892  ac_cv_libuna=no
32893fi
32894
32895        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5
32896$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; }
32897if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then :
32898  $as_echo_n "(cached) " >&6
32899else
32900  ac_check_lib_save_LIBS=$LIBS
32901LIBS="-luna  $LIBS"
32902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903/* end confdefs.h.  */
32904
32905/* Override any GCC internal prototype to avoid an error.
32906   Use char because int might match the return type of a GCC
32907   builtin and then its argument prototype would still apply.  */
32908#ifdef __cplusplus
32909extern "C"
32910#endif
32911char libuna_utf8_string_size_from_utf32 ();
32912int
32913main ()
32914{
32915return libuna_utf8_string_size_from_utf32 ();
32916  ;
32917  return 0;
32918}
32919_ACEOF
32920if ac_fn_c_try_link "$LINENO"; then :
32921  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes
32922else
32923  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no
32924fi
32925rm -f core conftest.err conftest.$ac_objext \
32926    conftest$ac_exeext conftest.$ac_ext
32927LIBS=$ac_check_lib_save_LIBS
32928fi
32929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5
32930$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; }
32931if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then :
32932  ac_cv_libuna_dummy=yes
32933else
32934  ac_cv_libuna=no
32935fi
32936
32937        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5
32938$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; }
32939if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then :
32940  $as_echo_n "(cached) " >&6
32941else
32942  ac_check_lib_save_LIBS=$LIBS
32943LIBS="-luna  $LIBS"
32944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945/* end confdefs.h.  */
32946
32947/* Override any GCC internal prototype to avoid an error.
32948   Use char because int might match the return type of a GCC
32949   builtin and then its argument prototype would still apply.  */
32950#ifdef __cplusplus
32951extern "C"
32952#endif
32953char libuna_utf8_string_copy_from_utf32 ();
32954int
32955main ()
32956{
32957return libuna_utf8_string_copy_from_utf32 ();
32958  ;
32959  return 0;
32960}
32961_ACEOF
32962if ac_fn_c_try_link "$LINENO"; then :
32963  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes
32964else
32965  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no
32966fi
32967rm -f core conftest.err conftest.$ac_objext \
32968    conftest$ac_exeext conftest.$ac_ext
32969LIBS=$ac_check_lib_save_LIBS
32970fi
32971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5
32972$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; }
32973if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then :
32974  ac_cv_libuna_dummy=yes
32975else
32976  ac_cv_libuna=no
32977fi
32978
32979        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5
32980$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; }
32981if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then :
32982  $as_echo_n "(cached) " >&6
32983else
32984  ac_check_lib_save_LIBS=$LIBS
32985LIBS="-luna  $LIBS"
32986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32987/* end confdefs.h.  */
32988
32989/* Override any GCC internal prototype to avoid an error.
32990   Use char because int might match the return type of a GCC
32991   builtin and then its argument prototype would still apply.  */
32992#ifdef __cplusplus
32993extern "C"
32994#endif
32995char libuna_utf8_string_with_index_copy_from_utf32 ();
32996int
32997main ()
32998{
32999return libuna_utf8_string_with_index_copy_from_utf32 ();
33000  ;
33001  return 0;
33002}
33003_ACEOF
33004if ac_fn_c_try_link "$LINENO"; then :
33005  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes
33006else
33007  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no
33008fi
33009rm -f core conftest.err conftest.$ac_objext \
33010    conftest$ac_exeext conftest.$ac_ext
33011LIBS=$ac_check_lib_save_LIBS
33012fi
33013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5
33014$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; }
33015if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then :
33016  ac_cv_libuna_dummy=yes
33017else
33018  ac_cv_libuna=no
33019fi
33020
33021        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5
33022$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; }
33023if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then :
33024  $as_echo_n "(cached) " >&6
33025else
33026  ac_check_lib_save_LIBS=$LIBS
33027LIBS="-luna  $LIBS"
33028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029/* end confdefs.h.  */
33030
33031/* Override any GCC internal prototype to avoid an error.
33032   Use char because int might match the return type of a GCC
33033   builtin and then its argument prototype would still apply.  */
33034#ifdef __cplusplus
33035extern "C"
33036#endif
33037char libuna_utf8_string_size_from_scsu_stream ();
33038int
33039main ()
33040{
33041return libuna_utf8_string_size_from_scsu_stream ();
33042  ;
33043  return 0;
33044}
33045_ACEOF
33046if ac_fn_c_try_link "$LINENO"; then :
33047  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes
33048else
33049  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no
33050fi
33051rm -f core conftest.err conftest.$ac_objext \
33052    conftest$ac_exeext conftest.$ac_ext
33053LIBS=$ac_check_lib_save_LIBS
33054fi
33055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5
33056$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; }
33057if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then :
33058  ac_cv_libuna_dummy=yes
33059else
33060  ac_cv_libuna=no
33061fi
33062
33063        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5
33064$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; }
33065if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then :
33066  $as_echo_n "(cached) " >&6
33067else
33068  ac_check_lib_save_LIBS=$LIBS
33069LIBS="-luna  $LIBS"
33070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33071/* end confdefs.h.  */
33072
33073/* Override any GCC internal prototype to avoid an error.
33074   Use char because int might match the return type of a GCC
33075   builtin and then its argument prototype would still apply.  */
33076#ifdef __cplusplus
33077extern "C"
33078#endif
33079char libuna_utf8_string_copy_from_scsu_stream ();
33080int
33081main ()
33082{
33083return libuna_utf8_string_copy_from_scsu_stream ();
33084  ;
33085  return 0;
33086}
33087_ACEOF
33088if ac_fn_c_try_link "$LINENO"; then :
33089  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes
33090else
33091  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no
33092fi
33093rm -f core conftest.err conftest.$ac_objext \
33094    conftest$ac_exeext conftest.$ac_ext
33095LIBS=$ac_check_lib_save_LIBS
33096fi
33097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5
33098$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; }
33099if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then :
33100  ac_cv_libuna_dummy=yes
33101else
33102  ac_cv_libuna=no
33103fi
33104
33105        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5
33106$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
33107if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then :
33108  $as_echo_n "(cached) " >&6
33109else
33110  ac_check_lib_save_LIBS=$LIBS
33111LIBS="-luna  $LIBS"
33112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113/* end confdefs.h.  */
33114
33115/* Override any GCC internal prototype to avoid an error.
33116   Use char because int might match the return type of a GCC
33117   builtin and then its argument prototype would still apply.  */
33118#ifdef __cplusplus
33119extern "C"
33120#endif
33121char libuna_utf8_string_with_index_copy_from_scsu_stream ();
33122int
33123main ()
33124{
33125return libuna_utf8_string_with_index_copy_from_scsu_stream ();
33126  ;
33127  return 0;
33128}
33129_ACEOF
33130if ac_fn_c_try_link "$LINENO"; then :
33131  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes
33132else
33133  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no
33134fi
33135rm -f core conftest.err conftest.$ac_objext \
33136    conftest$ac_exeext conftest.$ac_ext
33137LIBS=$ac_check_lib_save_LIBS
33138fi
33139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5
33140$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; }
33141if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then :
33142  ac_cv_libuna_dummy=yes
33143else
33144  ac_cv_libuna=no
33145fi
33146
33147
33148                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5
33149$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; }
33150if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then :
33151  $as_echo_n "(cached) " >&6
33152else
33153  ac_check_lib_save_LIBS=$LIBS
33154LIBS="-luna  $LIBS"
33155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33156/* end confdefs.h.  */
33157
33158/* Override any GCC internal prototype to avoid an error.
33159   Use char because int might match the return type of a GCC
33160   builtin and then its argument prototype would still apply.  */
33161#ifdef __cplusplus
33162extern "C"
33163#endif
33164char libuna_utf16_string_size_from_byte_stream ();
33165int
33166main ()
33167{
33168return libuna_utf16_string_size_from_byte_stream ();
33169  ;
33170  return 0;
33171}
33172_ACEOF
33173if ac_fn_c_try_link "$LINENO"; then :
33174  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes
33175else
33176  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no
33177fi
33178rm -f core conftest.err conftest.$ac_objext \
33179    conftest$ac_exeext conftest.$ac_ext
33180LIBS=$ac_check_lib_save_LIBS
33181fi
33182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5
33183$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; }
33184if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then :
33185  ac_cv_libuna_dummy=yes
33186else
33187  ac_cv_libuna=no
33188fi
33189
33190        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5
33191$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; }
33192if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then :
33193  $as_echo_n "(cached) " >&6
33194else
33195  ac_check_lib_save_LIBS=$LIBS
33196LIBS="-luna  $LIBS"
33197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33198/* end confdefs.h.  */
33199
33200/* Override any GCC internal prototype to avoid an error.
33201   Use char because int might match the return type of a GCC
33202   builtin and then its argument prototype would still apply.  */
33203#ifdef __cplusplus
33204extern "C"
33205#endif
33206char libuna_utf16_string_copy_from_byte_stream ();
33207int
33208main ()
33209{
33210return libuna_utf16_string_copy_from_byte_stream ();
33211  ;
33212  return 0;
33213}
33214_ACEOF
33215if ac_fn_c_try_link "$LINENO"; then :
33216  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes
33217else
33218  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no
33219fi
33220rm -f core conftest.err conftest.$ac_objext \
33221    conftest$ac_exeext conftest.$ac_ext
33222LIBS=$ac_check_lib_save_LIBS
33223fi
33224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5
33225$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; }
33226if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then :
33227  ac_cv_libuna_dummy=yes
33228else
33229  ac_cv_libuna=no
33230fi
33231
33232        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5
33233$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; }
33234if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then :
33235  $as_echo_n "(cached) " >&6
33236else
33237  ac_check_lib_save_LIBS=$LIBS
33238LIBS="-luna  $LIBS"
33239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33240/* end confdefs.h.  */
33241
33242/* Override any GCC internal prototype to avoid an error.
33243   Use char because int might match the return type of a GCC
33244   builtin and then its argument prototype would still apply.  */
33245#ifdef __cplusplus
33246extern "C"
33247#endif
33248char libuna_utf16_string_with_index_copy_from_byte_stream ();
33249int
33250main ()
33251{
33252return libuna_utf16_string_with_index_copy_from_byte_stream ();
33253  ;
33254  return 0;
33255}
33256_ACEOF
33257if ac_fn_c_try_link "$LINENO"; then :
33258  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes
33259else
33260  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no
33261fi
33262rm -f core conftest.err conftest.$ac_objext \
33263    conftest$ac_exeext conftest.$ac_ext
33264LIBS=$ac_check_lib_save_LIBS
33265fi
33266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5
33267$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; }
33268if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then :
33269  ac_cv_libuna_dummy=yes
33270else
33271  ac_cv_libuna=no
33272fi
33273
33274        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5
33275$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; }
33276if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then :
33277  $as_echo_n "(cached) " >&6
33278else
33279  ac_check_lib_save_LIBS=$LIBS
33280LIBS="-luna  $LIBS"
33281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282/* end confdefs.h.  */
33283
33284/* Override any GCC internal prototype to avoid an error.
33285   Use char because int might match the return type of a GCC
33286   builtin and then its argument prototype would still apply.  */
33287#ifdef __cplusplus
33288extern "C"
33289#endif
33290char libuna_utf16_string_size_from_utf7_stream ();
33291int
33292main ()
33293{
33294return libuna_utf16_string_size_from_utf7_stream ();
33295  ;
33296  return 0;
33297}
33298_ACEOF
33299if ac_fn_c_try_link "$LINENO"; then :
33300  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes
33301else
33302  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no
33303fi
33304rm -f core conftest.err conftest.$ac_objext \
33305    conftest$ac_exeext conftest.$ac_ext
33306LIBS=$ac_check_lib_save_LIBS
33307fi
33308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5
33309$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; }
33310if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then :
33311  ac_cv_libuna_dummy=yes
33312else
33313  ac_cv_libuna=no
33314fi
33315
33316        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5
33317$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; }
33318if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then :
33319  $as_echo_n "(cached) " >&6
33320else
33321  ac_check_lib_save_LIBS=$LIBS
33322LIBS="-luna  $LIBS"
33323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33324/* end confdefs.h.  */
33325
33326/* Override any GCC internal prototype to avoid an error.
33327   Use char because int might match the return type of a GCC
33328   builtin and then its argument prototype would still apply.  */
33329#ifdef __cplusplus
33330extern "C"
33331#endif
33332char libuna_utf16_string_copy_from_utf7_stream ();
33333int
33334main ()
33335{
33336return libuna_utf16_string_copy_from_utf7_stream ();
33337  ;
33338  return 0;
33339}
33340_ACEOF
33341if ac_fn_c_try_link "$LINENO"; then :
33342  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes
33343else
33344  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no
33345fi
33346rm -f core conftest.err conftest.$ac_objext \
33347    conftest$ac_exeext conftest.$ac_ext
33348LIBS=$ac_check_lib_save_LIBS
33349fi
33350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5
33351$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; }
33352if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then :
33353  ac_cv_libuna_dummy=yes
33354else
33355  ac_cv_libuna=no
33356fi
33357
33358        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5
33359$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
33360if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then :
33361  $as_echo_n "(cached) " >&6
33362else
33363  ac_check_lib_save_LIBS=$LIBS
33364LIBS="-luna  $LIBS"
33365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33366/* end confdefs.h.  */
33367
33368/* Override any GCC internal prototype to avoid an error.
33369   Use char because int might match the return type of a GCC
33370   builtin and then its argument prototype would still apply.  */
33371#ifdef __cplusplus
33372extern "C"
33373#endif
33374char libuna_utf16_string_with_index_copy_from_utf7_stream ();
33375int
33376main ()
33377{
33378return libuna_utf16_string_with_index_copy_from_utf7_stream ();
33379  ;
33380  return 0;
33381}
33382_ACEOF
33383if ac_fn_c_try_link "$LINENO"; then :
33384  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes
33385else
33386  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no
33387fi
33388rm -f core conftest.err conftest.$ac_objext \
33389    conftest$ac_exeext conftest.$ac_ext
33390LIBS=$ac_check_lib_save_LIBS
33391fi
33392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5
33393$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; }
33394if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then :
33395  ac_cv_libuna_dummy=yes
33396else
33397  ac_cv_libuna=no
33398fi
33399
33400        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5
33401$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; }
33402if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then :
33403  $as_echo_n "(cached) " >&6
33404else
33405  ac_check_lib_save_LIBS=$LIBS
33406LIBS="-luna  $LIBS"
33407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408/* end confdefs.h.  */
33409
33410/* Override any GCC internal prototype to avoid an error.
33411   Use char because int might match the return type of a GCC
33412   builtin and then its argument prototype would still apply.  */
33413#ifdef __cplusplus
33414extern "C"
33415#endif
33416char libuna_utf16_string_size_from_utf8_stream ();
33417int
33418main ()
33419{
33420return libuna_utf16_string_size_from_utf8_stream ();
33421  ;
33422  return 0;
33423}
33424_ACEOF
33425if ac_fn_c_try_link "$LINENO"; then :
33426  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes
33427else
33428  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no
33429fi
33430rm -f core conftest.err conftest.$ac_objext \
33431    conftest$ac_exeext conftest.$ac_ext
33432LIBS=$ac_check_lib_save_LIBS
33433fi
33434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5
33435$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; }
33436if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then :
33437  ac_cv_libuna_dummy=yes
33438else
33439  ac_cv_libuna=no
33440fi
33441
33442        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5
33443$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; }
33444if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then :
33445  $as_echo_n "(cached) " >&6
33446else
33447  ac_check_lib_save_LIBS=$LIBS
33448LIBS="-luna  $LIBS"
33449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33450/* end confdefs.h.  */
33451
33452/* Override any GCC internal prototype to avoid an error.
33453   Use char because int might match the return type of a GCC
33454   builtin and then its argument prototype would still apply.  */
33455#ifdef __cplusplus
33456extern "C"
33457#endif
33458char libuna_utf16_string_copy_from_utf8_stream ();
33459int
33460main ()
33461{
33462return libuna_utf16_string_copy_from_utf8_stream ();
33463  ;
33464  return 0;
33465}
33466_ACEOF
33467if ac_fn_c_try_link "$LINENO"; then :
33468  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes
33469else
33470  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no
33471fi
33472rm -f core conftest.err conftest.$ac_objext \
33473    conftest$ac_exeext conftest.$ac_ext
33474LIBS=$ac_check_lib_save_LIBS
33475fi
33476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5
33477$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; }
33478if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then :
33479  ac_cv_libuna_dummy=yes
33480else
33481  ac_cv_libuna=no
33482fi
33483
33484        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5
33485$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
33486if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then :
33487  $as_echo_n "(cached) " >&6
33488else
33489  ac_check_lib_save_LIBS=$LIBS
33490LIBS="-luna  $LIBS"
33491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33492/* end confdefs.h.  */
33493
33494/* Override any GCC internal prototype to avoid an error.
33495   Use char because int might match the return type of a GCC
33496   builtin and then its argument prototype would still apply.  */
33497#ifdef __cplusplus
33498extern "C"
33499#endif
33500char libuna_utf16_string_with_index_copy_from_utf8_stream ();
33501int
33502main ()
33503{
33504return libuna_utf16_string_with_index_copy_from_utf8_stream ();
33505  ;
33506  return 0;
33507}
33508_ACEOF
33509if ac_fn_c_try_link "$LINENO"; then :
33510  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes
33511else
33512  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no
33513fi
33514rm -f core conftest.err conftest.$ac_objext \
33515    conftest$ac_exeext conftest.$ac_ext
33516LIBS=$ac_check_lib_save_LIBS
33517fi
33518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5
33519$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; }
33520if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then :
33521  ac_cv_libuna_dummy=yes
33522else
33523  ac_cv_libuna=no
33524fi
33525
33526        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5
33527$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; }
33528if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then :
33529  $as_echo_n "(cached) " >&6
33530else
33531  ac_check_lib_save_LIBS=$LIBS
33532LIBS="-luna  $LIBS"
33533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33534/* end confdefs.h.  */
33535
33536/* Override any GCC internal prototype to avoid an error.
33537   Use char because int might match the return type of a GCC
33538   builtin and then its argument prototype would still apply.  */
33539#ifdef __cplusplus
33540extern "C"
33541#endif
33542char libuna_utf16_string_size_from_utf16_stream ();
33543int
33544main ()
33545{
33546return libuna_utf16_string_size_from_utf16_stream ();
33547  ;
33548  return 0;
33549}
33550_ACEOF
33551if ac_fn_c_try_link "$LINENO"; then :
33552  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes
33553else
33554  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no
33555fi
33556rm -f core conftest.err conftest.$ac_objext \
33557    conftest$ac_exeext conftest.$ac_ext
33558LIBS=$ac_check_lib_save_LIBS
33559fi
33560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5
33561$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; }
33562if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then :
33563  ac_cv_libuna_dummy=yes
33564else
33565  ac_cv_libuna=no
33566fi
33567
33568        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5
33569$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; }
33570if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then :
33571  $as_echo_n "(cached) " >&6
33572else
33573  ac_check_lib_save_LIBS=$LIBS
33574LIBS="-luna  $LIBS"
33575cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576/* end confdefs.h.  */
33577
33578/* Override any GCC internal prototype to avoid an error.
33579   Use char because int might match the return type of a GCC
33580   builtin and then its argument prototype would still apply.  */
33581#ifdef __cplusplus
33582extern "C"
33583#endif
33584char libuna_utf16_string_copy_from_utf16_stream ();
33585int
33586main ()
33587{
33588return libuna_utf16_string_copy_from_utf16_stream ();
33589  ;
33590  return 0;
33591}
33592_ACEOF
33593if ac_fn_c_try_link "$LINENO"; then :
33594  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes
33595else
33596  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no
33597fi
33598rm -f core conftest.err conftest.$ac_objext \
33599    conftest$ac_exeext conftest.$ac_ext
33600LIBS=$ac_check_lib_save_LIBS
33601fi
33602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5
33603$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; }
33604if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then :
33605  ac_cv_libuna_dummy=yes
33606else
33607  ac_cv_libuna=no
33608fi
33609
33610        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5
33611$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
33612if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then :
33613  $as_echo_n "(cached) " >&6
33614else
33615  ac_check_lib_save_LIBS=$LIBS
33616LIBS="-luna  $LIBS"
33617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33618/* end confdefs.h.  */
33619
33620/* Override any GCC internal prototype to avoid an error.
33621   Use char because int might match the return type of a GCC
33622   builtin and then its argument prototype would still apply.  */
33623#ifdef __cplusplus
33624extern "C"
33625#endif
33626char libuna_utf16_string_with_index_copy_from_utf16_stream ();
33627int
33628main ()
33629{
33630return libuna_utf16_string_with_index_copy_from_utf16_stream ();
33631  ;
33632  return 0;
33633}
33634_ACEOF
33635if ac_fn_c_try_link "$LINENO"; then :
33636  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes
33637else
33638  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no
33639fi
33640rm -f core conftest.err conftest.$ac_objext \
33641    conftest$ac_exeext conftest.$ac_ext
33642LIBS=$ac_check_lib_save_LIBS
33643fi
33644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5
33645$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; }
33646if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then :
33647  ac_cv_libuna_dummy=yes
33648else
33649  ac_cv_libuna=no
33650fi
33651
33652        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5
33653$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; }
33654if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then :
33655  $as_echo_n "(cached) " >&6
33656else
33657  ac_check_lib_save_LIBS=$LIBS
33658LIBS="-luna  $LIBS"
33659cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33660/* end confdefs.h.  */
33661
33662/* Override any GCC internal prototype to avoid an error.
33663   Use char because int might match the return type of a GCC
33664   builtin and then its argument prototype would still apply.  */
33665#ifdef __cplusplus
33666extern "C"
33667#endif
33668char libuna_utf16_string_size_from_utf32_stream ();
33669int
33670main ()
33671{
33672return libuna_utf16_string_size_from_utf32_stream ();
33673  ;
33674  return 0;
33675}
33676_ACEOF
33677if ac_fn_c_try_link "$LINENO"; then :
33678  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes
33679else
33680  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no
33681fi
33682rm -f core conftest.err conftest.$ac_objext \
33683    conftest$ac_exeext conftest.$ac_ext
33684LIBS=$ac_check_lib_save_LIBS
33685fi
33686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5
33687$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; }
33688if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then :
33689  ac_cv_libuna_dummy=yes
33690else
33691  ac_cv_libuna=no
33692fi
33693
33694        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5
33695$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; }
33696if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then :
33697  $as_echo_n "(cached) " >&6
33698else
33699  ac_check_lib_save_LIBS=$LIBS
33700LIBS="-luna  $LIBS"
33701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33702/* end confdefs.h.  */
33703
33704/* Override any GCC internal prototype to avoid an error.
33705   Use char because int might match the return type of a GCC
33706   builtin and then its argument prototype would still apply.  */
33707#ifdef __cplusplus
33708extern "C"
33709#endif
33710char libuna_utf16_string_copy_from_utf32_stream ();
33711int
33712main ()
33713{
33714return libuna_utf16_string_copy_from_utf32_stream ();
33715  ;
33716  return 0;
33717}
33718_ACEOF
33719if ac_fn_c_try_link "$LINENO"; then :
33720  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes
33721else
33722  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no
33723fi
33724rm -f core conftest.err conftest.$ac_objext \
33725    conftest$ac_exeext conftest.$ac_ext
33726LIBS=$ac_check_lib_save_LIBS
33727fi
33728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5
33729$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; }
33730if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then :
33731  ac_cv_libuna_dummy=yes
33732else
33733  ac_cv_libuna=no
33734fi
33735
33736        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5
33737$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
33738if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then :
33739  $as_echo_n "(cached) " >&6
33740else
33741  ac_check_lib_save_LIBS=$LIBS
33742LIBS="-luna  $LIBS"
33743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33744/* end confdefs.h.  */
33745
33746/* Override any GCC internal prototype to avoid an error.
33747   Use char because int might match the return type of a GCC
33748   builtin and then its argument prototype would still apply.  */
33749#ifdef __cplusplus
33750extern "C"
33751#endif
33752char libuna_utf16_string_with_index_copy_from_utf32_stream ();
33753int
33754main ()
33755{
33756return libuna_utf16_string_with_index_copy_from_utf32_stream ();
33757  ;
33758  return 0;
33759}
33760_ACEOF
33761if ac_fn_c_try_link "$LINENO"; then :
33762  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes
33763else
33764  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no
33765fi
33766rm -f core conftest.err conftest.$ac_objext \
33767    conftest$ac_exeext conftest.$ac_ext
33768LIBS=$ac_check_lib_save_LIBS
33769fi
33770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5
33771$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; }
33772if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then :
33773  ac_cv_libuna_dummy=yes
33774else
33775  ac_cv_libuna=no
33776fi
33777
33778        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5
33779$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; }
33780if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then :
33781  $as_echo_n "(cached) " >&6
33782else
33783  ac_check_lib_save_LIBS=$LIBS
33784LIBS="-luna  $LIBS"
33785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33786/* end confdefs.h.  */
33787
33788/* Override any GCC internal prototype to avoid an error.
33789   Use char because int might match the return type of a GCC
33790   builtin and then its argument prototype would still apply.  */
33791#ifdef __cplusplus
33792extern "C"
33793#endif
33794char libuna_utf16_string_size_from_utf8 ();
33795int
33796main ()
33797{
33798return libuna_utf16_string_size_from_utf8 ();
33799  ;
33800  return 0;
33801}
33802_ACEOF
33803if ac_fn_c_try_link "$LINENO"; then :
33804  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes
33805else
33806  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no
33807fi
33808rm -f core conftest.err conftest.$ac_objext \
33809    conftest$ac_exeext conftest.$ac_ext
33810LIBS=$ac_check_lib_save_LIBS
33811fi
33812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5
33813$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; }
33814if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then :
33815  ac_cv_libuna_dummy=yes
33816else
33817  ac_cv_libuna=no
33818fi
33819
33820        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5
33821$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; }
33822if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then :
33823  $as_echo_n "(cached) " >&6
33824else
33825  ac_check_lib_save_LIBS=$LIBS
33826LIBS="-luna  $LIBS"
33827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33828/* end confdefs.h.  */
33829
33830/* Override any GCC internal prototype to avoid an error.
33831   Use char because int might match the return type of a GCC
33832   builtin and then its argument prototype would still apply.  */
33833#ifdef __cplusplus
33834extern "C"
33835#endif
33836char libuna_utf16_string_copy_from_utf8 ();
33837int
33838main ()
33839{
33840return libuna_utf16_string_copy_from_utf8 ();
33841  ;
33842  return 0;
33843}
33844_ACEOF
33845if ac_fn_c_try_link "$LINENO"; then :
33846  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes
33847else
33848  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no
33849fi
33850rm -f core conftest.err conftest.$ac_objext \
33851    conftest$ac_exeext conftest.$ac_ext
33852LIBS=$ac_check_lib_save_LIBS
33853fi
33854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5
33855$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; }
33856if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then :
33857  ac_cv_libuna_dummy=yes
33858else
33859  ac_cv_libuna=no
33860fi
33861
33862        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5
33863$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; }
33864if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then :
33865  $as_echo_n "(cached) " >&6
33866else
33867  ac_check_lib_save_LIBS=$LIBS
33868LIBS="-luna  $LIBS"
33869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870/* end confdefs.h.  */
33871
33872/* Override any GCC internal prototype to avoid an error.
33873   Use char because int might match the return type of a GCC
33874   builtin and then its argument prototype would still apply.  */
33875#ifdef __cplusplus
33876extern "C"
33877#endif
33878char libuna_utf16_string_with_index_copy_from_utf8 ();
33879int
33880main ()
33881{
33882return libuna_utf16_string_with_index_copy_from_utf8 ();
33883  ;
33884  return 0;
33885}
33886_ACEOF
33887if ac_fn_c_try_link "$LINENO"; then :
33888  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes
33889else
33890  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no
33891fi
33892rm -f core conftest.err conftest.$ac_objext \
33893    conftest$ac_exeext conftest.$ac_ext
33894LIBS=$ac_check_lib_save_LIBS
33895fi
33896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5
33897$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; }
33898if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then :
33899  ac_cv_libuna_dummy=yes
33900else
33901  ac_cv_libuna=no
33902fi
33903
33904        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5
33905$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; }
33906if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then :
33907  $as_echo_n "(cached) " >&6
33908else
33909  ac_check_lib_save_LIBS=$LIBS
33910LIBS="-luna  $LIBS"
33911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33912/* end confdefs.h.  */
33913
33914/* Override any GCC internal prototype to avoid an error.
33915   Use char because int might match the return type of a GCC
33916   builtin and then its argument prototype would still apply.  */
33917#ifdef __cplusplus
33918extern "C"
33919#endif
33920char libuna_utf16_string_size_from_utf32 ();
33921int
33922main ()
33923{
33924return libuna_utf16_string_size_from_utf32 ();
33925  ;
33926  return 0;
33927}
33928_ACEOF
33929if ac_fn_c_try_link "$LINENO"; then :
33930  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes
33931else
33932  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no
33933fi
33934rm -f core conftest.err conftest.$ac_objext \
33935    conftest$ac_exeext conftest.$ac_ext
33936LIBS=$ac_check_lib_save_LIBS
33937fi
33938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5
33939$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; }
33940if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then :
33941  ac_cv_libuna_dummy=yes
33942else
33943  ac_cv_libuna=no
33944fi
33945
33946        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5
33947$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; }
33948if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then :
33949  $as_echo_n "(cached) " >&6
33950else
33951  ac_check_lib_save_LIBS=$LIBS
33952LIBS="-luna  $LIBS"
33953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954/* end confdefs.h.  */
33955
33956/* Override any GCC internal prototype to avoid an error.
33957   Use char because int might match the return type of a GCC
33958   builtin and then its argument prototype would still apply.  */
33959#ifdef __cplusplus
33960extern "C"
33961#endif
33962char libuna_utf16_string_copy_from_utf32 ();
33963int
33964main ()
33965{
33966return libuna_utf16_string_copy_from_utf32 ();
33967  ;
33968  return 0;
33969}
33970_ACEOF
33971if ac_fn_c_try_link "$LINENO"; then :
33972  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes
33973else
33974  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no
33975fi
33976rm -f core conftest.err conftest.$ac_objext \
33977    conftest$ac_exeext conftest.$ac_ext
33978LIBS=$ac_check_lib_save_LIBS
33979fi
33980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5
33981$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; }
33982if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then :
33983  ac_cv_libuna_dummy=yes
33984else
33985  ac_cv_libuna=no
33986fi
33987
33988        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5
33989$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; }
33990if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then :
33991  $as_echo_n "(cached) " >&6
33992else
33993  ac_check_lib_save_LIBS=$LIBS
33994LIBS="-luna  $LIBS"
33995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33996/* end confdefs.h.  */
33997
33998/* Override any GCC internal prototype to avoid an error.
33999   Use char because int might match the return type of a GCC
34000   builtin and then its argument prototype would still apply.  */
34001#ifdef __cplusplus
34002extern "C"
34003#endif
34004char libuna_utf16_string_with_index_copy_from_utf32 ();
34005int
34006main ()
34007{
34008return libuna_utf16_string_with_index_copy_from_utf32 ();
34009  ;
34010  return 0;
34011}
34012_ACEOF
34013if ac_fn_c_try_link "$LINENO"; then :
34014  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes
34015else
34016  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no
34017fi
34018rm -f core conftest.err conftest.$ac_objext \
34019    conftest$ac_exeext conftest.$ac_ext
34020LIBS=$ac_check_lib_save_LIBS
34021fi
34022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5
34023$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; }
34024if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then :
34025  ac_cv_libuna_dummy=yes
34026else
34027  ac_cv_libuna=no
34028fi
34029
34030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5
34031$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; }
34032if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then :
34033  $as_echo_n "(cached) " >&6
34034else
34035  ac_check_lib_save_LIBS=$LIBS
34036LIBS="-luna  $LIBS"
34037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34038/* end confdefs.h.  */
34039
34040/* Override any GCC internal prototype to avoid an error.
34041   Use char because int might match the return type of a GCC
34042   builtin and then its argument prototype would still apply.  */
34043#ifdef __cplusplus
34044extern "C"
34045#endif
34046char libuna_utf16_string_size_from_scsu_stream ();
34047int
34048main ()
34049{
34050return libuna_utf16_string_size_from_scsu_stream ();
34051  ;
34052  return 0;
34053}
34054_ACEOF
34055if ac_fn_c_try_link "$LINENO"; then :
34056  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes
34057else
34058  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no
34059fi
34060rm -f core conftest.err conftest.$ac_objext \
34061    conftest$ac_exeext conftest.$ac_ext
34062LIBS=$ac_check_lib_save_LIBS
34063fi
34064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5
34065$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; }
34066if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then :
34067  ac_cv_libuna_dummy=yes
34068else
34069  ac_cv_libuna=no
34070fi
34071
34072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5
34073$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; }
34074if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then :
34075  $as_echo_n "(cached) " >&6
34076else
34077  ac_check_lib_save_LIBS=$LIBS
34078LIBS="-luna  $LIBS"
34079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34080/* end confdefs.h.  */
34081
34082/* Override any GCC internal prototype to avoid an error.
34083   Use char because int might match the return type of a GCC
34084   builtin and then its argument prototype would still apply.  */
34085#ifdef __cplusplus
34086extern "C"
34087#endif
34088char libuna_utf16_string_copy_from_scsu_stream ();
34089int
34090main ()
34091{
34092return libuna_utf16_string_copy_from_scsu_stream ();
34093  ;
34094  return 0;
34095}
34096_ACEOF
34097if ac_fn_c_try_link "$LINENO"; then :
34098  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes
34099else
34100  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no
34101fi
34102rm -f core conftest.err conftest.$ac_objext \
34103    conftest$ac_exeext conftest.$ac_ext
34104LIBS=$ac_check_lib_save_LIBS
34105fi
34106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5
34107$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; }
34108if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then :
34109  ac_cv_libuna_dummy=yes
34110else
34111  ac_cv_libuna=no
34112fi
34113
34114        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5
34115$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
34116if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then :
34117  $as_echo_n "(cached) " >&6
34118else
34119  ac_check_lib_save_LIBS=$LIBS
34120LIBS="-luna  $LIBS"
34121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34122/* end confdefs.h.  */
34123
34124/* Override any GCC internal prototype to avoid an error.
34125   Use char because int might match the return type of a GCC
34126   builtin and then its argument prototype would still apply.  */
34127#ifdef __cplusplus
34128extern "C"
34129#endif
34130char libuna_utf16_string_with_index_copy_from_scsu_stream ();
34131int
34132main ()
34133{
34134return libuna_utf16_string_with_index_copy_from_scsu_stream ();
34135  ;
34136  return 0;
34137}
34138_ACEOF
34139if ac_fn_c_try_link "$LINENO"; then :
34140  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes
34141else
34142  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no
34143fi
34144rm -f core conftest.err conftest.$ac_objext \
34145    conftest$ac_exeext conftest.$ac_ext
34146LIBS=$ac_check_lib_save_LIBS
34147fi
34148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5
34149$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; }
34150if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then :
34151  ac_cv_libuna_dummy=yes
34152else
34153  ac_cv_libuna=no
34154fi
34155
34156
34157                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5
34158$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; }
34159if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then :
34160  $as_echo_n "(cached) " >&6
34161else
34162  ac_check_lib_save_LIBS=$LIBS
34163LIBS="-luna  $LIBS"
34164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34165/* end confdefs.h.  */
34166
34167/* Override any GCC internal prototype to avoid an error.
34168   Use char because int might match the return type of a GCC
34169   builtin and then its argument prototype would still apply.  */
34170#ifdef __cplusplus
34171extern "C"
34172#endif
34173char libuna_utf32_string_size_from_byte_stream ();
34174int
34175main ()
34176{
34177return libuna_utf32_string_size_from_byte_stream ();
34178  ;
34179  return 0;
34180}
34181_ACEOF
34182if ac_fn_c_try_link "$LINENO"; then :
34183  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes
34184else
34185  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no
34186fi
34187rm -f core conftest.err conftest.$ac_objext \
34188    conftest$ac_exeext conftest.$ac_ext
34189LIBS=$ac_check_lib_save_LIBS
34190fi
34191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5
34192$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; }
34193if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then :
34194  ac_cv_libuna_dummy=yes
34195else
34196  ac_cv_libuna=no
34197fi
34198
34199        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5
34200$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; }
34201if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then :
34202  $as_echo_n "(cached) " >&6
34203else
34204  ac_check_lib_save_LIBS=$LIBS
34205LIBS="-luna  $LIBS"
34206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34207/* end confdefs.h.  */
34208
34209/* Override any GCC internal prototype to avoid an error.
34210   Use char because int might match the return type of a GCC
34211   builtin and then its argument prototype would still apply.  */
34212#ifdef __cplusplus
34213extern "C"
34214#endif
34215char libuna_utf32_string_copy_from_byte_stream ();
34216int
34217main ()
34218{
34219return libuna_utf32_string_copy_from_byte_stream ();
34220  ;
34221  return 0;
34222}
34223_ACEOF
34224if ac_fn_c_try_link "$LINENO"; then :
34225  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes
34226else
34227  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no
34228fi
34229rm -f core conftest.err conftest.$ac_objext \
34230    conftest$ac_exeext conftest.$ac_ext
34231LIBS=$ac_check_lib_save_LIBS
34232fi
34233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5
34234$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; }
34235if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then :
34236  ac_cv_libuna_dummy=yes
34237else
34238  ac_cv_libuna=no
34239fi
34240
34241        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5
34242$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; }
34243if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then :
34244  $as_echo_n "(cached) " >&6
34245else
34246  ac_check_lib_save_LIBS=$LIBS
34247LIBS="-luna  $LIBS"
34248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249/* end confdefs.h.  */
34250
34251/* Override any GCC internal prototype to avoid an error.
34252   Use char because int might match the return type of a GCC
34253   builtin and then its argument prototype would still apply.  */
34254#ifdef __cplusplus
34255extern "C"
34256#endif
34257char libuna_utf32_string_with_index_copy_from_byte_stream ();
34258int
34259main ()
34260{
34261return libuna_utf32_string_with_index_copy_from_byte_stream ();
34262  ;
34263  return 0;
34264}
34265_ACEOF
34266if ac_fn_c_try_link "$LINENO"; then :
34267  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes
34268else
34269  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no
34270fi
34271rm -f core conftest.err conftest.$ac_objext \
34272    conftest$ac_exeext conftest.$ac_ext
34273LIBS=$ac_check_lib_save_LIBS
34274fi
34275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5
34276$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; }
34277if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then :
34278  ac_cv_libuna_dummy=yes
34279else
34280  ac_cv_libuna=no
34281fi
34282
34283        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5
34284$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; }
34285if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then :
34286  $as_echo_n "(cached) " >&6
34287else
34288  ac_check_lib_save_LIBS=$LIBS
34289LIBS="-luna  $LIBS"
34290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291/* end confdefs.h.  */
34292
34293/* Override any GCC internal prototype to avoid an error.
34294   Use char because int might match the return type of a GCC
34295   builtin and then its argument prototype would still apply.  */
34296#ifdef __cplusplus
34297extern "C"
34298#endif
34299char libuna_utf32_string_size_from_utf7_stream ();
34300int
34301main ()
34302{
34303return libuna_utf32_string_size_from_utf7_stream ();
34304  ;
34305  return 0;
34306}
34307_ACEOF
34308if ac_fn_c_try_link "$LINENO"; then :
34309  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes
34310else
34311  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no
34312fi
34313rm -f core conftest.err conftest.$ac_objext \
34314    conftest$ac_exeext conftest.$ac_ext
34315LIBS=$ac_check_lib_save_LIBS
34316fi
34317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5
34318$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; }
34319if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then :
34320  ac_cv_libuna_dummy=yes
34321else
34322  ac_cv_libuna=no
34323fi
34324
34325        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5
34326$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; }
34327if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then :
34328  $as_echo_n "(cached) " >&6
34329else
34330  ac_check_lib_save_LIBS=$LIBS
34331LIBS="-luna  $LIBS"
34332cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34333/* end confdefs.h.  */
34334
34335/* Override any GCC internal prototype to avoid an error.
34336   Use char because int might match the return type of a GCC
34337   builtin and then its argument prototype would still apply.  */
34338#ifdef __cplusplus
34339extern "C"
34340#endif
34341char libuna_utf32_string_copy_from_utf7_stream ();
34342int
34343main ()
34344{
34345return libuna_utf32_string_copy_from_utf7_stream ();
34346  ;
34347  return 0;
34348}
34349_ACEOF
34350if ac_fn_c_try_link "$LINENO"; then :
34351  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes
34352else
34353  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no
34354fi
34355rm -f core conftest.err conftest.$ac_objext \
34356    conftest$ac_exeext conftest.$ac_ext
34357LIBS=$ac_check_lib_save_LIBS
34358fi
34359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5
34360$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; }
34361if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then :
34362  ac_cv_libuna_dummy=yes
34363else
34364  ac_cv_libuna=no
34365fi
34366
34367        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5
34368$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
34369if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then :
34370  $as_echo_n "(cached) " >&6
34371else
34372  ac_check_lib_save_LIBS=$LIBS
34373LIBS="-luna  $LIBS"
34374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34375/* end confdefs.h.  */
34376
34377/* Override any GCC internal prototype to avoid an error.
34378   Use char because int might match the return type of a GCC
34379   builtin and then its argument prototype would still apply.  */
34380#ifdef __cplusplus
34381extern "C"
34382#endif
34383char libuna_utf32_string_with_index_copy_from_utf7_stream ();
34384int
34385main ()
34386{
34387return libuna_utf32_string_with_index_copy_from_utf7_stream ();
34388  ;
34389  return 0;
34390}
34391_ACEOF
34392if ac_fn_c_try_link "$LINENO"; then :
34393  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes
34394else
34395  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no
34396fi
34397rm -f core conftest.err conftest.$ac_objext \
34398    conftest$ac_exeext conftest.$ac_ext
34399LIBS=$ac_check_lib_save_LIBS
34400fi
34401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5
34402$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; }
34403if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then :
34404  ac_cv_libuna_dummy=yes
34405else
34406  ac_cv_libuna=no
34407fi
34408
34409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5
34410$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; }
34411if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then :
34412  $as_echo_n "(cached) " >&6
34413else
34414  ac_check_lib_save_LIBS=$LIBS
34415LIBS="-luna  $LIBS"
34416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417/* end confdefs.h.  */
34418
34419/* Override any GCC internal prototype to avoid an error.
34420   Use char because int might match the return type of a GCC
34421   builtin and then its argument prototype would still apply.  */
34422#ifdef __cplusplus
34423extern "C"
34424#endif
34425char libuna_utf32_string_size_from_utf8_stream ();
34426int
34427main ()
34428{
34429return libuna_utf32_string_size_from_utf8_stream ();
34430  ;
34431  return 0;
34432}
34433_ACEOF
34434if ac_fn_c_try_link "$LINENO"; then :
34435  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes
34436else
34437  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no
34438fi
34439rm -f core conftest.err conftest.$ac_objext \
34440    conftest$ac_exeext conftest.$ac_ext
34441LIBS=$ac_check_lib_save_LIBS
34442fi
34443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5
34444$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; }
34445if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then :
34446  ac_cv_libuna_dummy=yes
34447else
34448  ac_cv_libuna=no
34449fi
34450
34451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5
34452$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; }
34453if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then :
34454  $as_echo_n "(cached) " >&6
34455else
34456  ac_check_lib_save_LIBS=$LIBS
34457LIBS="-luna  $LIBS"
34458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34459/* end confdefs.h.  */
34460
34461/* Override any GCC internal prototype to avoid an error.
34462   Use char because int might match the return type of a GCC
34463   builtin and then its argument prototype would still apply.  */
34464#ifdef __cplusplus
34465extern "C"
34466#endif
34467char libuna_utf32_string_copy_from_utf8_stream ();
34468int
34469main ()
34470{
34471return libuna_utf32_string_copy_from_utf8_stream ();
34472  ;
34473  return 0;
34474}
34475_ACEOF
34476if ac_fn_c_try_link "$LINENO"; then :
34477  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes
34478else
34479  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no
34480fi
34481rm -f core conftest.err conftest.$ac_objext \
34482    conftest$ac_exeext conftest.$ac_ext
34483LIBS=$ac_check_lib_save_LIBS
34484fi
34485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5
34486$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; }
34487if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then :
34488  ac_cv_libuna_dummy=yes
34489else
34490  ac_cv_libuna=no
34491fi
34492
34493        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5
34494$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
34495if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then :
34496  $as_echo_n "(cached) " >&6
34497else
34498  ac_check_lib_save_LIBS=$LIBS
34499LIBS="-luna  $LIBS"
34500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34501/* end confdefs.h.  */
34502
34503/* Override any GCC internal prototype to avoid an error.
34504   Use char because int might match the return type of a GCC
34505   builtin and then its argument prototype would still apply.  */
34506#ifdef __cplusplus
34507extern "C"
34508#endif
34509char libuna_utf32_string_with_index_copy_from_utf8_stream ();
34510int
34511main ()
34512{
34513return libuna_utf32_string_with_index_copy_from_utf8_stream ();
34514  ;
34515  return 0;
34516}
34517_ACEOF
34518if ac_fn_c_try_link "$LINENO"; then :
34519  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes
34520else
34521  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no
34522fi
34523rm -f core conftest.err conftest.$ac_objext \
34524    conftest$ac_exeext conftest.$ac_ext
34525LIBS=$ac_check_lib_save_LIBS
34526fi
34527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5
34528$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; }
34529if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then :
34530  ac_cv_libuna_dummy=yes
34531else
34532  ac_cv_libuna=no
34533fi
34534
34535        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5
34536$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; }
34537if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then :
34538  $as_echo_n "(cached) " >&6
34539else
34540  ac_check_lib_save_LIBS=$LIBS
34541LIBS="-luna  $LIBS"
34542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34543/* end confdefs.h.  */
34544
34545/* Override any GCC internal prototype to avoid an error.
34546   Use char because int might match the return type of a GCC
34547   builtin and then its argument prototype would still apply.  */
34548#ifdef __cplusplus
34549extern "C"
34550#endif
34551char libuna_utf32_string_size_from_utf16_stream ();
34552int
34553main ()
34554{
34555return libuna_utf32_string_size_from_utf16_stream ();
34556  ;
34557  return 0;
34558}
34559_ACEOF
34560if ac_fn_c_try_link "$LINENO"; then :
34561  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes
34562else
34563  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no
34564fi
34565rm -f core conftest.err conftest.$ac_objext \
34566    conftest$ac_exeext conftest.$ac_ext
34567LIBS=$ac_check_lib_save_LIBS
34568fi
34569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5
34570$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; }
34571if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then :
34572  ac_cv_libuna_dummy=yes
34573else
34574  ac_cv_libuna=no
34575fi
34576
34577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5
34578$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; }
34579if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then :
34580  $as_echo_n "(cached) " >&6
34581else
34582  ac_check_lib_save_LIBS=$LIBS
34583LIBS="-luna  $LIBS"
34584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34585/* end confdefs.h.  */
34586
34587/* Override any GCC internal prototype to avoid an error.
34588   Use char because int might match the return type of a GCC
34589   builtin and then its argument prototype would still apply.  */
34590#ifdef __cplusplus
34591extern "C"
34592#endif
34593char libuna_utf32_string_copy_from_utf16_stream ();
34594int
34595main ()
34596{
34597return libuna_utf32_string_copy_from_utf16_stream ();
34598  ;
34599  return 0;
34600}
34601_ACEOF
34602if ac_fn_c_try_link "$LINENO"; then :
34603  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes
34604else
34605  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no
34606fi
34607rm -f core conftest.err conftest.$ac_objext \
34608    conftest$ac_exeext conftest.$ac_ext
34609LIBS=$ac_check_lib_save_LIBS
34610fi
34611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5
34612$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; }
34613if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then :
34614  ac_cv_libuna_dummy=yes
34615else
34616  ac_cv_libuna=no
34617fi
34618
34619        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5
34620$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
34621if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then :
34622  $as_echo_n "(cached) " >&6
34623else
34624  ac_check_lib_save_LIBS=$LIBS
34625LIBS="-luna  $LIBS"
34626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34627/* end confdefs.h.  */
34628
34629/* Override any GCC internal prototype to avoid an error.
34630   Use char because int might match the return type of a GCC
34631   builtin and then its argument prototype would still apply.  */
34632#ifdef __cplusplus
34633extern "C"
34634#endif
34635char libuna_utf32_string_with_index_copy_from_utf16_stream ();
34636int
34637main ()
34638{
34639return libuna_utf32_string_with_index_copy_from_utf16_stream ();
34640  ;
34641  return 0;
34642}
34643_ACEOF
34644if ac_fn_c_try_link "$LINENO"; then :
34645  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes
34646else
34647  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no
34648fi
34649rm -f core conftest.err conftest.$ac_objext \
34650    conftest$ac_exeext conftest.$ac_ext
34651LIBS=$ac_check_lib_save_LIBS
34652fi
34653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5
34654$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; }
34655if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then :
34656  ac_cv_libuna_dummy=yes
34657else
34658  ac_cv_libuna=no
34659fi
34660
34661        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5
34662$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; }
34663if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then :
34664  $as_echo_n "(cached) " >&6
34665else
34666  ac_check_lib_save_LIBS=$LIBS
34667LIBS="-luna  $LIBS"
34668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34669/* end confdefs.h.  */
34670
34671/* Override any GCC internal prototype to avoid an error.
34672   Use char because int might match the return type of a GCC
34673   builtin and then its argument prototype would still apply.  */
34674#ifdef __cplusplus
34675extern "C"
34676#endif
34677char libuna_utf32_string_size_from_utf32_stream ();
34678int
34679main ()
34680{
34681return libuna_utf32_string_size_from_utf32_stream ();
34682  ;
34683  return 0;
34684}
34685_ACEOF
34686if ac_fn_c_try_link "$LINENO"; then :
34687  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes
34688else
34689  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no
34690fi
34691rm -f core conftest.err conftest.$ac_objext \
34692    conftest$ac_exeext conftest.$ac_ext
34693LIBS=$ac_check_lib_save_LIBS
34694fi
34695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5
34696$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; }
34697if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then :
34698  ac_cv_libuna_dummy=yes
34699else
34700  ac_cv_libuna=no
34701fi
34702
34703        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5
34704$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; }
34705if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then :
34706  $as_echo_n "(cached) " >&6
34707else
34708  ac_check_lib_save_LIBS=$LIBS
34709LIBS="-luna  $LIBS"
34710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34711/* end confdefs.h.  */
34712
34713/* Override any GCC internal prototype to avoid an error.
34714   Use char because int might match the return type of a GCC
34715   builtin and then its argument prototype would still apply.  */
34716#ifdef __cplusplus
34717extern "C"
34718#endif
34719char libuna_utf32_string_copy_from_utf32_stream ();
34720int
34721main ()
34722{
34723return libuna_utf32_string_copy_from_utf32_stream ();
34724  ;
34725  return 0;
34726}
34727_ACEOF
34728if ac_fn_c_try_link "$LINENO"; then :
34729  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes
34730else
34731  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no
34732fi
34733rm -f core conftest.err conftest.$ac_objext \
34734    conftest$ac_exeext conftest.$ac_ext
34735LIBS=$ac_check_lib_save_LIBS
34736fi
34737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5
34738$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; }
34739if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then :
34740  ac_cv_libuna_dummy=yes
34741else
34742  ac_cv_libuna=no
34743fi
34744
34745        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5
34746$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
34747if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then :
34748  $as_echo_n "(cached) " >&6
34749else
34750  ac_check_lib_save_LIBS=$LIBS
34751LIBS="-luna  $LIBS"
34752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34753/* end confdefs.h.  */
34754
34755/* Override any GCC internal prototype to avoid an error.
34756   Use char because int might match the return type of a GCC
34757   builtin and then its argument prototype would still apply.  */
34758#ifdef __cplusplus
34759extern "C"
34760#endif
34761char libuna_utf32_string_with_index_copy_from_utf32_stream ();
34762int
34763main ()
34764{
34765return libuna_utf32_string_with_index_copy_from_utf32_stream ();
34766  ;
34767  return 0;
34768}
34769_ACEOF
34770if ac_fn_c_try_link "$LINENO"; then :
34771  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes
34772else
34773  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no
34774fi
34775rm -f core conftest.err conftest.$ac_objext \
34776    conftest$ac_exeext conftest.$ac_ext
34777LIBS=$ac_check_lib_save_LIBS
34778fi
34779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5
34780$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; }
34781if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then :
34782  ac_cv_libuna_dummy=yes
34783else
34784  ac_cv_libuna=no
34785fi
34786
34787        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5
34788$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; }
34789if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then :
34790  $as_echo_n "(cached) " >&6
34791else
34792  ac_check_lib_save_LIBS=$LIBS
34793LIBS="-luna  $LIBS"
34794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795/* end confdefs.h.  */
34796
34797/* Override any GCC internal prototype to avoid an error.
34798   Use char because int might match the return type of a GCC
34799   builtin and then its argument prototype would still apply.  */
34800#ifdef __cplusplus
34801extern "C"
34802#endif
34803char libuna_utf32_string_size_from_utf8 ();
34804int
34805main ()
34806{
34807return libuna_utf32_string_size_from_utf8 ();
34808  ;
34809  return 0;
34810}
34811_ACEOF
34812if ac_fn_c_try_link "$LINENO"; then :
34813  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes
34814else
34815  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no
34816fi
34817rm -f core conftest.err conftest.$ac_objext \
34818    conftest$ac_exeext conftest.$ac_ext
34819LIBS=$ac_check_lib_save_LIBS
34820fi
34821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5
34822$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; }
34823if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then :
34824  ac_cv_libuna_dummy=yes
34825else
34826  ac_cv_libuna=no
34827fi
34828
34829        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5
34830$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; }
34831if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then :
34832  $as_echo_n "(cached) " >&6
34833else
34834  ac_check_lib_save_LIBS=$LIBS
34835LIBS="-luna  $LIBS"
34836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34837/* end confdefs.h.  */
34838
34839/* Override any GCC internal prototype to avoid an error.
34840   Use char because int might match the return type of a GCC
34841   builtin and then its argument prototype would still apply.  */
34842#ifdef __cplusplus
34843extern "C"
34844#endif
34845char libuna_utf32_string_copy_from_utf8 ();
34846int
34847main ()
34848{
34849return libuna_utf32_string_copy_from_utf8 ();
34850  ;
34851  return 0;
34852}
34853_ACEOF
34854if ac_fn_c_try_link "$LINENO"; then :
34855  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes
34856else
34857  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no
34858fi
34859rm -f core conftest.err conftest.$ac_objext \
34860    conftest$ac_exeext conftest.$ac_ext
34861LIBS=$ac_check_lib_save_LIBS
34862fi
34863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5
34864$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; }
34865if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then :
34866  ac_cv_libuna_dummy=yes
34867else
34868  ac_cv_libuna=no
34869fi
34870
34871        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5
34872$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; }
34873if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then :
34874  $as_echo_n "(cached) " >&6
34875else
34876  ac_check_lib_save_LIBS=$LIBS
34877LIBS="-llibuna_utf32_string_with_index_copy_from_utf8  $LIBS"
34878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34879/* end confdefs.h.  */
34880
34881/* Override any GCC internal prototype to avoid an error.
34882   Use char because int might match the return type of a GCC
34883   builtin and then its argument prototype would still apply.  */
34884#ifdef __cplusplus
34885extern "C"
34886#endif
34887char ac_cv_libuna_dummy=yes ();
34888int
34889main ()
34890{
34891return ac_cv_libuna_dummy=yes ();
34892  ;
34893  return 0;
34894}
34895_ACEOF
34896if ac_fn_c_try_link "$LINENO"; then :
34897  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes
34898else
34899  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no
34900fi
34901rm -f core conftest.err conftest.$ac_objext \
34902    conftest$ac_exeext conftest.$ac_ext
34903LIBS=$ac_check_lib_save_LIBS
34904fi
34905{ $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
34906$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; }
34907if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then :
34908  ac_cv_libuna=no
34909fi
34910
34911        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5
34912$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; }
34913if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then :
34914  $as_echo_n "(cached) " >&6
34915else
34916  ac_check_lib_save_LIBS=$LIBS
34917LIBS="-luna  $LIBS"
34918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919/* end confdefs.h.  */
34920
34921/* Override any GCC internal prototype to avoid an error.
34922   Use char because int might match the return type of a GCC
34923   builtin and then its argument prototype would still apply.  */
34924#ifdef __cplusplus
34925extern "C"
34926#endif
34927char libuna_utf32_string_size_from_utf16 ();
34928int
34929main ()
34930{
34931return libuna_utf32_string_size_from_utf16 ();
34932  ;
34933  return 0;
34934}
34935_ACEOF
34936if ac_fn_c_try_link "$LINENO"; then :
34937  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes
34938else
34939  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no
34940fi
34941rm -f core conftest.err conftest.$ac_objext \
34942    conftest$ac_exeext conftest.$ac_ext
34943LIBS=$ac_check_lib_save_LIBS
34944fi
34945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5
34946$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; }
34947if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then :
34948  ac_cv_libuna_dummy=yes
34949else
34950  ac_cv_libuna=no
34951fi
34952
34953        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5
34954$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; }
34955if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then :
34956  $as_echo_n "(cached) " >&6
34957else
34958  ac_check_lib_save_LIBS=$LIBS
34959LIBS="-luna  $LIBS"
34960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34961/* end confdefs.h.  */
34962
34963/* Override any GCC internal prototype to avoid an error.
34964   Use char because int might match the return type of a GCC
34965   builtin and then its argument prototype would still apply.  */
34966#ifdef __cplusplus
34967extern "C"
34968#endif
34969char libuna_utf32_string_copy_from_utf16 ();
34970int
34971main ()
34972{
34973return libuna_utf32_string_copy_from_utf16 ();
34974  ;
34975  return 0;
34976}
34977_ACEOF
34978if ac_fn_c_try_link "$LINENO"; then :
34979  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes
34980else
34981  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no
34982fi
34983rm -f core conftest.err conftest.$ac_objext \
34984    conftest$ac_exeext conftest.$ac_ext
34985LIBS=$ac_check_lib_save_LIBS
34986fi
34987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5
34988$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; }
34989if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then :
34990  ac_cv_libuna_dummy=yes
34991else
34992  ac_cv_libuna=no
34993fi
34994
34995        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5
34996$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; }
34997if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then :
34998  $as_echo_n "(cached) " >&6
34999else
35000  ac_check_lib_save_LIBS=$LIBS
35001LIBS="-luna  $LIBS"
35002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35003/* end confdefs.h.  */
35004
35005/* Override any GCC internal prototype to avoid an error.
35006   Use char because int might match the return type of a GCC
35007   builtin and then its argument prototype would still apply.  */
35008#ifdef __cplusplus
35009extern "C"
35010#endif
35011char libuna_utf32_string_with_index_copy_from_utf16 ();
35012int
35013main ()
35014{
35015return libuna_utf32_string_with_index_copy_from_utf16 ();
35016  ;
35017  return 0;
35018}
35019_ACEOF
35020if ac_fn_c_try_link "$LINENO"; then :
35021  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes
35022else
35023  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no
35024fi
35025rm -f core conftest.err conftest.$ac_objext \
35026    conftest$ac_exeext conftest.$ac_ext
35027LIBS=$ac_check_lib_save_LIBS
35028fi
35029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5
35030$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; }
35031if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then :
35032  ac_cv_libuna_dummy=yes
35033else
35034  ac_cv_libuna=no
35035fi
35036
35037        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5
35038$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; }
35039if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then :
35040  $as_echo_n "(cached) " >&6
35041else
35042  ac_check_lib_save_LIBS=$LIBS
35043LIBS="-luna  $LIBS"
35044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35045/* end confdefs.h.  */
35046
35047/* Override any GCC internal prototype to avoid an error.
35048   Use char because int might match the return type of a GCC
35049   builtin and then its argument prototype would still apply.  */
35050#ifdef __cplusplus
35051extern "C"
35052#endif
35053char libuna_utf32_string_size_from_scsu_stream ();
35054int
35055main ()
35056{
35057return libuna_utf32_string_size_from_scsu_stream ();
35058  ;
35059  return 0;
35060}
35061_ACEOF
35062if ac_fn_c_try_link "$LINENO"; then :
35063  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes
35064else
35065  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no
35066fi
35067rm -f core conftest.err conftest.$ac_objext \
35068    conftest$ac_exeext conftest.$ac_ext
35069LIBS=$ac_check_lib_save_LIBS
35070fi
35071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5
35072$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; }
35073if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then :
35074  ac_cv_libuna_dummy=yes
35075else
35076  ac_cv_libuna=no
35077fi
35078
35079        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5
35080$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; }
35081if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then :
35082  $as_echo_n "(cached) " >&6
35083else
35084  ac_check_lib_save_LIBS=$LIBS
35085LIBS="-luna  $LIBS"
35086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35087/* end confdefs.h.  */
35088
35089/* Override any GCC internal prototype to avoid an error.
35090   Use char because int might match the return type of a GCC
35091   builtin and then its argument prototype would still apply.  */
35092#ifdef __cplusplus
35093extern "C"
35094#endif
35095char libuna_utf32_string_copy_from_scsu_stream ();
35096int
35097main ()
35098{
35099return libuna_utf32_string_copy_from_scsu_stream ();
35100  ;
35101  return 0;
35102}
35103_ACEOF
35104if ac_fn_c_try_link "$LINENO"; then :
35105  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes
35106else
35107  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no
35108fi
35109rm -f core conftest.err conftest.$ac_objext \
35110    conftest$ac_exeext conftest.$ac_ext
35111LIBS=$ac_check_lib_save_LIBS
35112fi
35113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5
35114$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; }
35115if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then :
35116  ac_cv_libuna_dummy=yes
35117else
35118  ac_cv_libuna=no
35119fi
35120
35121        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5
35122$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
35123if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then :
35124  $as_echo_n "(cached) " >&6
35125else
35126  ac_check_lib_save_LIBS=$LIBS
35127LIBS="-luna  $LIBS"
35128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35129/* end confdefs.h.  */
35130
35131/* Override any GCC internal prototype to avoid an error.
35132   Use char because int might match the return type of a GCC
35133   builtin and then its argument prototype would still apply.  */
35134#ifdef __cplusplus
35135extern "C"
35136#endif
35137char libuna_utf32_string_with_index_copy_from_scsu_stream ();
35138int
35139main ()
35140{
35141return libuna_utf32_string_with_index_copy_from_scsu_stream ();
35142  ;
35143  return 0;
35144}
35145_ACEOF
35146if ac_fn_c_try_link "$LINENO"; then :
35147  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes
35148else
35149  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no
35150fi
35151rm -f core conftest.err conftest.$ac_objext \
35152    conftest$ac_exeext conftest.$ac_ext
35153LIBS=$ac_check_lib_save_LIBS
35154fi
35155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5
35156$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; }
35157if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then :
35158  ac_cv_libuna_dummy=yes
35159else
35160  ac_cv_libuna=no
35161fi
35162
35163
35164                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5
35165$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; }
35166if ${ac_cv_libuna_defines_compare_less+:} false; then :
35167  $as_echo_n "(cached) " >&6
35168else
35169  ac_ext=c
35170ac_cpp='$CPP $CPPFLAGS'
35171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173ac_compiler_gnu=$ac_cv_c_compiler_gnu
35174
35175    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35176/* end confdefs.h.  */
35177#include <libuna.h>
35178int
35179main ()
35180{
35181int test = LIBUNA_COMPARE_LESS;
35182
35183return( 0 );
35184  ;
35185  return 0;
35186}
35187_ACEOF
35188if ac_fn_c_try_link "$LINENO"; then :
35189  ac_cv_libuna_defines_compare_less=yes
35190else
35191  ac_cv_libuna_defines_compare_less=no
35192fi
35193rm -f core conftest.err conftest.$ac_objext \
35194    conftest$ac_exeext conftest.$ac_ext
35195    ac_ext=c
35196ac_cpp='$CPP $CPPFLAGS'
35197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35199ac_compiler_gnu=$ac_cv_c_compiler_gnu
35200
35201fi
35202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5
35203$as_echo "$ac_cv_libuna_defines_compare_less" >&6; }
35204
35205        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35206  ac_cv_libuna=no
35207fi
35208
35209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5
35210$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; }
35211if ${ac_cv_libuna_defines_compare_equal+:} false; then :
35212  $as_echo_n "(cached) " >&6
35213else
35214  ac_ext=c
35215ac_cpp='$CPP $CPPFLAGS'
35216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35218ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219
35220    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35221/* end confdefs.h.  */
35222#include <libuna.h>
35223int
35224main ()
35225{
35226int test = LIBUNA_COMPARE_EQUAL;
35227
35228return( 0 );
35229  ;
35230  return 0;
35231}
35232_ACEOF
35233if ac_fn_c_try_link "$LINENO"; then :
35234  ac_cv_libuna_defines_compare_equal=yes
35235else
35236  ac_cv_libuna_defines_compare_equal=no
35237fi
35238rm -f core conftest.err conftest.$ac_objext \
35239    conftest$ac_exeext conftest.$ac_ext
35240    ac_ext=c
35241ac_cpp='$CPP $CPPFLAGS'
35242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244ac_compiler_gnu=$ac_cv_c_compiler_gnu
35245
35246fi
35247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5
35248$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; }
35249
35250        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35251  ac_cv_libuna=no
35252fi
35253
35254        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5
35255$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; }
35256if ${ac_cv_libuna_defines_compare_greater+:} false; then :
35257  $as_echo_n "(cached) " >&6
35258else
35259  ac_ext=c
35260ac_cpp='$CPP $CPPFLAGS'
35261ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35262ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35263ac_compiler_gnu=$ac_cv_c_compiler_gnu
35264
35265    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35266/* end confdefs.h.  */
35267#include <libuna.h>
35268int
35269main ()
35270{
35271int test = LIBUNA_COMPARE_GREATER;
35272
35273return( 0 );
35274  ;
35275  return 0;
35276}
35277_ACEOF
35278if ac_fn_c_try_link "$LINENO"; then :
35279  ac_cv_libuna_defines_compare_greater=yes
35280else
35281  ac_cv_libuna_defines_compare_greater=no
35282fi
35283rm -f core conftest.err conftest.$ac_objext \
35284    conftest$ac_exeext conftest.$ac_ext
35285    ac_ext=c
35286ac_cpp='$CPP $CPPFLAGS'
35287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289ac_compiler_gnu=$ac_cv_c_compiler_gnu
35290
35291fi
35292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5
35293$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; }
35294
35295        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35296  ac_cv_libuna=no
35297fi
35298
35299        ac_cv_libuna_LIBADD="-luna"
35300fi
35301
35302fi
35303    if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then :
35304  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35306as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna
35307See \`config.log' for more details" "$LINENO" 5; }
35308
35309fi
35310
35311fi
35312
35313  if test "x$ac_cv_libuna" = xyes; then :
35314
35315$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h
35316
35317
35318fi
35319
35320  if test "x$ac_cv_libuna" = xyes; then :
35321  HAVE_LIBUNA=1
35322
35323else
35324  HAVE_LIBUNA=0
35325
35326
35327fi
35328
35329
35330    if test "x$ac_cv_libuna" != xyes; then :
35331
35332  ac_cv_libuna_CPPFLAGS="-I../libuna";
35333  ac_cv_libuna_LIBADD="../libuna/libuna.la";
35334
35335  ac_cv_libuna=local
35336
35337
35338
35339$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h
35340
35341    HAVE_LOCAL_LIBUNA=1
35342
35343
35344fi
35345
35346   if test "x$ac_cv_libuna" = xlocal; then
35347  HAVE_LOCAL_LIBUNA_TRUE=
35348  HAVE_LOCAL_LIBUNA_FALSE='#'
35349else
35350  HAVE_LOCAL_LIBUNA_TRUE='#'
35351  HAVE_LOCAL_LIBUNA_FALSE=
35352fi
35353
35354  if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then :
35355  LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS
35356
35357
35358fi
35359  if test "x$ac_cv_libuna_LIBADD" != "x"; then :
35360  LIBUNA_LIBADD=$ac_cv_libuna_LIBADD
35361
35362
35363fi
35364
35365  if test "x$ac_cv_libuna" = xyes; then :
35366  ax_libuna_pc_libs_private=-luna
35367
35368
35369fi
35370
35371  if test "x$ac_cv_libuna" = xyes; then :
35372  ax_libuna_spec_requires=libuna
35373
35374    ax_libuna_spec_build_requires=libuna-devel
35375
35376
35377fi
35378
35379
35380
35381
35382# Check whether --with-libcfile was given.
35383if test "${with_libcfile+set}" = set; then :
35384  withval=$with_libcfile; ac_cv_with_libcfile=$withval
35385else
35386  ac_cv_with_libcfile=auto-detect
35387fi
35388
35389    { $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
35390$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; }
35391if ${ac_cv_with_libcfile+:} false; then :
35392  $as_echo_n "(cached) " >&6
35393else
35394  ac_cv_with_libcfile=auto-detect
35395fi
35396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5
35397$as_echo "$ac_cv_with_libcfile" >&6; }
35398
35399    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then :
35400  ac_cv_libcfile=no
35401else
35402  ac_cv_libcfile=check
35403        if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then :
35404  if test -d "$ac_cv_with_libcfile"; then :
35405  CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include"
35406        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib"
35407else
35408  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35410as_fn_error 1 "no such directory: $ac_cv_with_libcfile
35411See \`config.log' for more details" "$LINENO" 5; }
35412
35413fi
35414
35415else
35416        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
35417
35418pkg_failed=no
35419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5
35420$as_echo_n "checking for libcfile... " >&6; }
35421
35422if test -n "$libcfile_CFLAGS"; then
35423    pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS"
35424 elif test -n "$PKG_CONFIG"; then
35425    if test -n "$PKG_CONFIG" && \
35426    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35427  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35428  ac_status=$?
35429  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35430  test $ac_status = 0; }; then
35431  pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null`
35432		      test "x$?" != "x0" && pkg_failed=yes
35433else
35434  pkg_failed=yes
35435fi
35436 else
35437    pkg_failed=untried
35438fi
35439if test -n "$libcfile_LIBS"; then
35440    pkg_cv_libcfile_LIBS="$libcfile_LIBS"
35441 elif test -n "$PKG_CONFIG"; then
35442    if test -n "$PKG_CONFIG" && \
35443    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35444  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35445  ac_status=$?
35446  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35447  test $ac_status = 0; }; then
35448  pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null`
35449		      test "x$?" != "x0" && pkg_failed=yes
35450else
35451  pkg_failed=yes
35452fi
35453 else
35454    pkg_failed=untried
35455fi
35456
35457
35458
35459if test $pkg_failed = yes; then
35460   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35461$as_echo "no" >&6; }
35462
35463if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35464        _pkg_short_errors_supported=yes
35465else
35466        _pkg_short_errors_supported=no
35467fi
35468        if test $_pkg_short_errors_supported = yes; then
35469	        libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35470        else
35471	        libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35472        fi
35473	# Put the nasty error message in config.log where it belongs
35474	echo "$libcfile_PKG_ERRORS" >&5
35475
35476	ac_cv_libcfile=check
35477elif test $pkg_failed = untried; then
35478     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35479$as_echo "no" >&6; }
35480	ac_cv_libcfile=check
35481else
35482	libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS
35483	libcfile_LIBS=$pkg_cv_libcfile_LIBS
35484        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35485$as_echo "yes" >&6; }
35486	ac_cv_libcfile=yes
35487fi
35488
35489fi
35490      if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
35491  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
35492$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
35493if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then :
35494  $as_echo_n "(cached) " >&6
35495else
35496  ac_ext=c
35497ac_cpp='$CPP $CPPFLAGS'
35498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500ac_compiler_gnu=$ac_cv_c_compiler_gnu
35501
35502         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35503/* end confdefs.h.  */
35504#include <libcfile/features.h>
35505int
35506main ()
35507{
35508#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 )
35509#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined
35510#endif
35511  ;
35512  return 0;
35513}
35514_ACEOF
35515if ac_fn_c_try_compile "$LINENO"; then :
35516  ac_cv_header_libcfile_features_h_have_wide_character_type=yes
35517else
35518  ac_cv_header_libcfile_features_h_have_wide_character_type=no
35519fi
35520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521         ac_ext=c
35522ac_cpp='$CPP $CPPFLAGS'
35523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526
35527fi
35528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5
35529$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; }
35530
35531        if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then :
35532  ac_cv_libcfile=no
35533fi
35534
35535fi
35536      if test "x$ac_cv_libcfile" = xyes; then :
35537  ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS"
35538        ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS"
35539fi
35540
35541fi
35542
35543    if test "x$ac_cv_libcfile" = xcheck; then :
35544        for ac_header in libcfile.h
35545do :
35546  ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default"
35547if test "x$ac_cv_header_libcfile_h" = xyes; then :
35548  cat >>confdefs.h <<_ACEOF
35549#define HAVE_LIBCFILE_H 1
35550_ACEOF
35551
35552fi
35553
35554done
35555
35556
35557      if test "x$ac_cv_header_libcfile_h" = xno; then :
35558  ac_cv_libcfile=no
35559else
35560          ac_cv_libcfile=yes
35561
35562        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5
35563$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; }
35564if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then :
35565  $as_echo_n "(cached) " >&6
35566else
35567  ac_check_lib_save_LIBS=$LIBS
35568LIBS="-lcfile  $LIBS"
35569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35570/* end confdefs.h.  */
35571
35572/* Override any GCC internal prototype to avoid an error.
35573   Use char because int might match the return type of a GCC
35574   builtin and then its argument prototype would still apply.  */
35575#ifdef __cplusplus
35576extern "C"
35577#endif
35578char libcfile_get_version ();
35579int
35580main ()
35581{
35582return libcfile_get_version ();
35583  ;
35584  return 0;
35585}
35586_ACEOF
35587if ac_fn_c_try_link "$LINENO"; then :
35588  ac_cv_lib_cfile_libcfile_get_version=yes
35589else
35590  ac_cv_lib_cfile_libcfile_get_version=no
35591fi
35592rm -f core conftest.err conftest.$ac_objext \
35593    conftest$ac_exeext conftest.$ac_ext
35594LIBS=$ac_check_lib_save_LIBS
35595fi
35596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5
35597$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; }
35598if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then :
35599  ac_cv_libcfile_dummy=yes
35600else
35601  ac_cv_libcfile=no
35602fi
35603
35604
35605                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5
35606$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; }
35607if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then :
35608  $as_echo_n "(cached) " >&6
35609else
35610  ac_check_lib_save_LIBS=$LIBS
35611LIBS="-lcfile  $LIBS"
35612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35613/* end confdefs.h.  */
35614
35615/* Override any GCC internal prototype to avoid an error.
35616   Use char because int might match the return type of a GCC
35617   builtin and then its argument prototype would still apply.  */
35618#ifdef __cplusplus
35619extern "C"
35620#endif
35621char libcfile_file_initialize ();
35622int
35623main ()
35624{
35625return libcfile_file_initialize ();
35626  ;
35627  return 0;
35628}
35629_ACEOF
35630if ac_fn_c_try_link "$LINENO"; then :
35631  ac_cv_lib_cfile_libcfile_file_initialize=yes
35632else
35633  ac_cv_lib_cfile_libcfile_file_initialize=no
35634fi
35635rm -f core conftest.err conftest.$ac_objext \
35636    conftest$ac_exeext conftest.$ac_ext
35637LIBS=$ac_check_lib_save_LIBS
35638fi
35639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5
35640$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; }
35641if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then :
35642  ac_cv_libcfile_dummy=yes
35643else
35644  ac_cv_libcfile=no
35645fi
35646
35647        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5
35648$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; }
35649if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then :
35650  $as_echo_n "(cached) " >&6
35651else
35652  ac_check_lib_save_LIBS=$LIBS
35653LIBS="-lcfile  $LIBS"
35654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35655/* end confdefs.h.  */
35656
35657/* Override any GCC internal prototype to avoid an error.
35658   Use char because int might match the return type of a GCC
35659   builtin and then its argument prototype would still apply.  */
35660#ifdef __cplusplus
35661extern "C"
35662#endif
35663char libcfile_file_free ();
35664int
35665main ()
35666{
35667return libcfile_file_free ();
35668  ;
35669  return 0;
35670}
35671_ACEOF
35672if ac_fn_c_try_link "$LINENO"; then :
35673  ac_cv_lib_cfile_libcfile_file_free=yes
35674else
35675  ac_cv_lib_cfile_libcfile_file_free=no
35676fi
35677rm -f core conftest.err conftest.$ac_objext \
35678    conftest$ac_exeext conftest.$ac_ext
35679LIBS=$ac_check_lib_save_LIBS
35680fi
35681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5
35682$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; }
35683if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then :
35684  ac_cv_libcfile_dummy=yes
35685else
35686  ac_cv_libcfile=no
35687fi
35688
35689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5
35690$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; }
35691if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then :
35692  $as_echo_n "(cached) " >&6
35693else
35694  ac_check_lib_save_LIBS=$LIBS
35695LIBS="-lcfile  $LIBS"
35696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35697/* end confdefs.h.  */
35698
35699/* Override any GCC internal prototype to avoid an error.
35700   Use char because int might match the return type of a GCC
35701   builtin and then its argument prototype would still apply.  */
35702#ifdef __cplusplus
35703extern "C"
35704#endif
35705char libcfile_file_open ();
35706int
35707main ()
35708{
35709return libcfile_file_open ();
35710  ;
35711  return 0;
35712}
35713_ACEOF
35714if ac_fn_c_try_link "$LINENO"; then :
35715  ac_cv_lib_cfile_libcfile_file_open=yes
35716else
35717  ac_cv_lib_cfile_libcfile_file_open=no
35718fi
35719rm -f core conftest.err conftest.$ac_objext \
35720    conftest$ac_exeext conftest.$ac_ext
35721LIBS=$ac_check_lib_save_LIBS
35722fi
35723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5
35724$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; }
35725if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then :
35726  ac_cv_libcfile_dummy=yes
35727else
35728  ac_cv_libcfile=no
35729fi
35730
35731        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5
35732$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; }
35733if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then :
35734  $as_echo_n "(cached) " >&6
35735else
35736  ac_check_lib_save_LIBS=$LIBS
35737LIBS="-lcfile  $LIBS"
35738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35739/* end confdefs.h.  */
35740
35741/* Override any GCC internal prototype to avoid an error.
35742   Use char because int might match the return type of a GCC
35743   builtin and then its argument prototype would still apply.  */
35744#ifdef __cplusplus
35745extern "C"
35746#endif
35747char libcfile_file_open_with_error_code ();
35748int
35749main ()
35750{
35751return libcfile_file_open_with_error_code ();
35752  ;
35753  return 0;
35754}
35755_ACEOF
35756if ac_fn_c_try_link "$LINENO"; then :
35757  ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes
35758else
35759  ac_cv_lib_cfile_libcfile_file_open_with_error_code=no
35760fi
35761rm -f core conftest.err conftest.$ac_objext \
35762    conftest$ac_exeext conftest.$ac_ext
35763LIBS=$ac_check_lib_save_LIBS
35764fi
35765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5
35766$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; }
35767if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then :
35768  ac_cv_libcfile_dummy=yes
35769else
35770  ac_cv_libcfile=no
35771fi
35772
35773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5
35774$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; }
35775if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then :
35776  $as_echo_n "(cached) " >&6
35777else
35778  ac_check_lib_save_LIBS=$LIBS
35779LIBS="-lcfile  $LIBS"
35780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35781/* end confdefs.h.  */
35782
35783/* Override any GCC internal prototype to avoid an error.
35784   Use char because int might match the return type of a GCC
35785   builtin and then its argument prototype would still apply.  */
35786#ifdef __cplusplus
35787extern "C"
35788#endif
35789char libcfile_file_close ();
35790int
35791main ()
35792{
35793return libcfile_file_close ();
35794  ;
35795  return 0;
35796}
35797_ACEOF
35798if ac_fn_c_try_link "$LINENO"; then :
35799  ac_cv_lib_cfile_libcfile_file_close=yes
35800else
35801  ac_cv_lib_cfile_libcfile_file_close=no
35802fi
35803rm -f core conftest.err conftest.$ac_objext \
35804    conftest$ac_exeext conftest.$ac_ext
35805LIBS=$ac_check_lib_save_LIBS
35806fi
35807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5
35808$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; }
35809if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then :
35810  ac_cv_libcfile_dummy=yes
35811else
35812  ac_cv_libcfile=no
35813fi
35814
35815        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5
35816$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; }
35817if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then :
35818  $as_echo_n "(cached) " >&6
35819else
35820  ac_check_lib_save_LIBS=$LIBS
35821LIBS="-lcfile  $LIBS"
35822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823/* end confdefs.h.  */
35824
35825/* Override any GCC internal prototype to avoid an error.
35826   Use char because int might match the return type of a GCC
35827   builtin and then its argument prototype would still apply.  */
35828#ifdef __cplusplus
35829extern "C"
35830#endif
35831char libcfile_file_read_buffer ();
35832int
35833main ()
35834{
35835return libcfile_file_read_buffer ();
35836  ;
35837  return 0;
35838}
35839_ACEOF
35840if ac_fn_c_try_link "$LINENO"; then :
35841  ac_cv_lib_cfile_libcfile_file_read_buffer=yes
35842else
35843  ac_cv_lib_cfile_libcfile_file_read_buffer=no
35844fi
35845rm -f core conftest.err conftest.$ac_objext \
35846    conftest$ac_exeext conftest.$ac_ext
35847LIBS=$ac_check_lib_save_LIBS
35848fi
35849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5
35850$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; }
35851if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then :
35852  ac_cv_libcfile_dummy=yes
35853else
35854  ac_cv_libcfile=no
35855fi
35856
35857        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5
35858$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; }
35859if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then :
35860  $as_echo_n "(cached) " >&6
35861else
35862  ac_check_lib_save_LIBS=$LIBS
35863LIBS="-lcfile  $LIBS"
35864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35865/* end confdefs.h.  */
35866
35867/* Override any GCC internal prototype to avoid an error.
35868   Use char because int might match the return type of a GCC
35869   builtin and then its argument prototype would still apply.  */
35870#ifdef __cplusplus
35871extern "C"
35872#endif
35873char libcfile_file_read_buffer_with_error_code ();
35874int
35875main ()
35876{
35877return libcfile_file_read_buffer_with_error_code ();
35878  ;
35879  return 0;
35880}
35881_ACEOF
35882if ac_fn_c_try_link "$LINENO"; then :
35883  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes
35884else
35885  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no
35886fi
35887rm -f core conftest.err conftest.$ac_objext \
35888    conftest$ac_exeext conftest.$ac_ext
35889LIBS=$ac_check_lib_save_LIBS
35890fi
35891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5
35892$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; }
35893if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then :
35894  ac_cv_libcfile_dummy=yes
35895else
35896  ac_cv_libcfile=no
35897fi
35898
35899        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5
35900$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; }
35901if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then :
35902  $as_echo_n "(cached) " >&6
35903else
35904  ac_check_lib_save_LIBS=$LIBS
35905LIBS="-lcfile  $LIBS"
35906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35907/* end confdefs.h.  */
35908
35909/* Override any GCC internal prototype to avoid an error.
35910   Use char because int might match the return type of a GCC
35911   builtin and then its argument prototype would still apply.  */
35912#ifdef __cplusplus
35913extern "C"
35914#endif
35915char libcfile_file_write_buffer ();
35916int
35917main ()
35918{
35919return libcfile_file_write_buffer ();
35920  ;
35921  return 0;
35922}
35923_ACEOF
35924if ac_fn_c_try_link "$LINENO"; then :
35925  ac_cv_lib_cfile_libcfile_file_write_buffer=yes
35926else
35927  ac_cv_lib_cfile_libcfile_file_write_buffer=no
35928fi
35929rm -f core conftest.err conftest.$ac_objext \
35930    conftest$ac_exeext conftest.$ac_ext
35931LIBS=$ac_check_lib_save_LIBS
35932fi
35933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5
35934$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; }
35935if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then :
35936  ac_cv_libcfile_dummy=yes
35937else
35938  ac_cv_libcfile=no
35939fi
35940
35941        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5
35942$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; }
35943if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then :
35944  $as_echo_n "(cached) " >&6
35945else
35946  ac_check_lib_save_LIBS=$LIBS
35947LIBS="-lcfile  $LIBS"
35948cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35949/* end confdefs.h.  */
35950
35951/* Override any GCC internal prototype to avoid an error.
35952   Use char because int might match the return type of a GCC
35953   builtin and then its argument prototype would still apply.  */
35954#ifdef __cplusplus
35955extern "C"
35956#endif
35957char libcfile_file_write_buffer_with_error_code ();
35958int
35959main ()
35960{
35961return libcfile_file_write_buffer_with_error_code ();
35962  ;
35963  return 0;
35964}
35965_ACEOF
35966if ac_fn_c_try_link "$LINENO"; then :
35967  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes
35968else
35969  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no
35970fi
35971rm -f core conftest.err conftest.$ac_objext \
35972    conftest$ac_exeext conftest.$ac_ext
35973LIBS=$ac_check_lib_save_LIBS
35974fi
35975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5
35976$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; }
35977if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then :
35978  ac_cv_libcfile_dummy=yes
35979else
35980  ac_cv_libcfile=no
35981fi
35982
35983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5
35984$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; }
35985if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then :
35986  $as_echo_n "(cached) " >&6
35987else
35988  ac_check_lib_save_LIBS=$LIBS
35989LIBS="-lcfile  $LIBS"
35990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35991/* end confdefs.h.  */
35992
35993/* Override any GCC internal prototype to avoid an error.
35994   Use char because int might match the return type of a GCC
35995   builtin and then its argument prototype would still apply.  */
35996#ifdef __cplusplus
35997extern "C"
35998#endif
35999char libcfile_file_seek_offset ();
36000int
36001main ()
36002{
36003return libcfile_file_seek_offset ();
36004  ;
36005  return 0;
36006}
36007_ACEOF
36008if ac_fn_c_try_link "$LINENO"; then :
36009  ac_cv_lib_cfile_libcfile_file_seek_offset=yes
36010else
36011  ac_cv_lib_cfile_libcfile_file_seek_offset=no
36012fi
36013rm -f core conftest.err conftest.$ac_objext \
36014    conftest$ac_exeext conftest.$ac_ext
36015LIBS=$ac_check_lib_save_LIBS
36016fi
36017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5
36018$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; }
36019if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then :
36020  ac_cv_libcfile_dummy=yes
36021else
36022  ac_cv_libcfile=no
36023fi
36024
36025        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5
36026$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; }
36027if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then :
36028  $as_echo_n "(cached) " >&6
36029else
36030  ac_check_lib_save_LIBS=$LIBS
36031LIBS="-lcfile  $LIBS"
36032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033/* end confdefs.h.  */
36034
36035/* Override any GCC internal prototype to avoid an error.
36036   Use char because int might match the return type of a GCC
36037   builtin and then its argument prototype would still apply.  */
36038#ifdef __cplusplus
36039extern "C"
36040#endif
36041char libcfile_file_resize ();
36042int
36043main ()
36044{
36045return libcfile_file_resize ();
36046  ;
36047  return 0;
36048}
36049_ACEOF
36050if ac_fn_c_try_link "$LINENO"; then :
36051  ac_cv_lib_cfile_libcfile_file_resize=yes
36052else
36053  ac_cv_lib_cfile_libcfile_file_resize=no
36054fi
36055rm -f core conftest.err conftest.$ac_objext \
36056    conftest$ac_exeext conftest.$ac_ext
36057LIBS=$ac_check_lib_save_LIBS
36058fi
36059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5
36060$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; }
36061if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then :
36062  ac_cv_libcfile_dummy=yes
36063else
36064  ac_cv_libcfile=no
36065fi
36066
36067        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5
36068$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; }
36069if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then :
36070  $as_echo_n "(cached) " >&6
36071else
36072  ac_check_lib_save_LIBS=$LIBS
36073LIBS="-lcfile  $LIBS"
36074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36075/* end confdefs.h.  */
36076
36077/* Override any GCC internal prototype to avoid an error.
36078   Use char because int might match the return type of a GCC
36079   builtin and then its argument prototype would still apply.  */
36080#ifdef __cplusplus
36081extern "C"
36082#endif
36083char libcfile_file_is_open ();
36084int
36085main ()
36086{
36087return libcfile_file_is_open ();
36088  ;
36089  return 0;
36090}
36091_ACEOF
36092if ac_fn_c_try_link "$LINENO"; then :
36093  ac_cv_lib_cfile_libcfile_file_is_open=yes
36094else
36095  ac_cv_lib_cfile_libcfile_file_is_open=no
36096fi
36097rm -f core conftest.err conftest.$ac_objext \
36098    conftest$ac_exeext conftest.$ac_ext
36099LIBS=$ac_check_lib_save_LIBS
36100fi
36101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5
36102$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; }
36103if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then :
36104  ac_cv_libcfile_dummy=yes
36105else
36106  ac_cv_libcfile=no
36107fi
36108
36109        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5
36110$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; }
36111if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then :
36112  $as_echo_n "(cached) " >&6
36113else
36114  ac_check_lib_save_LIBS=$LIBS
36115LIBS="-lcfile  $LIBS"
36116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36117/* end confdefs.h.  */
36118
36119/* Override any GCC internal prototype to avoid an error.
36120   Use char because int might match the return type of a GCC
36121   builtin and then its argument prototype would still apply.  */
36122#ifdef __cplusplus
36123extern "C"
36124#endif
36125char libcfile_file_get_offset ();
36126int
36127main ()
36128{
36129return libcfile_file_get_offset ();
36130  ;
36131  return 0;
36132}
36133_ACEOF
36134if ac_fn_c_try_link "$LINENO"; then :
36135  ac_cv_lib_cfile_libcfile_file_get_offset=yes
36136else
36137  ac_cv_lib_cfile_libcfile_file_get_offset=no
36138fi
36139rm -f core conftest.err conftest.$ac_objext \
36140    conftest$ac_exeext conftest.$ac_ext
36141LIBS=$ac_check_lib_save_LIBS
36142fi
36143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5
36144$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; }
36145if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then :
36146  ac_cv_libcfile_dummy=yes
36147else
36148  ac_cv_libcfile=no
36149fi
36150
36151        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5
36152$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; }
36153if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then :
36154  $as_echo_n "(cached) " >&6
36155else
36156  ac_check_lib_save_LIBS=$LIBS
36157LIBS="-lcfile  $LIBS"
36158cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36159/* end confdefs.h.  */
36160
36161/* Override any GCC internal prototype to avoid an error.
36162   Use char because int might match the return type of a GCC
36163   builtin and then its argument prototype would still apply.  */
36164#ifdef __cplusplus
36165extern "C"
36166#endif
36167char libcfile_file_get_size ();
36168int
36169main ()
36170{
36171return libcfile_file_get_size ();
36172  ;
36173  return 0;
36174}
36175_ACEOF
36176if ac_fn_c_try_link "$LINENO"; then :
36177  ac_cv_lib_cfile_libcfile_file_get_size=yes
36178else
36179  ac_cv_lib_cfile_libcfile_file_get_size=no
36180fi
36181rm -f core conftest.err conftest.$ac_objext \
36182    conftest$ac_exeext conftest.$ac_ext
36183LIBS=$ac_check_lib_save_LIBS
36184fi
36185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5
36186$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; }
36187if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then :
36188  ac_cv_libcfile_dummy=yes
36189else
36190  ac_cv_libcfile=no
36191fi
36192
36193        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5
36194$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; }
36195if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then :
36196  $as_echo_n "(cached) " >&6
36197else
36198  ac_check_lib_save_LIBS=$LIBS
36199LIBS="-lcfile  $LIBS"
36200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36201/* end confdefs.h.  */
36202
36203/* Override any GCC internal prototype to avoid an error.
36204   Use char because int might match the return type of a GCC
36205   builtin and then its argument prototype would still apply.  */
36206#ifdef __cplusplus
36207extern "C"
36208#endif
36209char libcfile_file_is_device ();
36210int
36211main ()
36212{
36213return libcfile_file_is_device ();
36214  ;
36215  return 0;
36216}
36217_ACEOF
36218if ac_fn_c_try_link "$LINENO"; then :
36219  ac_cv_lib_cfile_libcfile_file_is_device=yes
36220else
36221  ac_cv_lib_cfile_libcfile_file_is_device=no
36222fi
36223rm -f core conftest.err conftest.$ac_objext \
36224    conftest$ac_exeext conftest.$ac_ext
36225LIBS=$ac_check_lib_save_LIBS
36226fi
36227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5
36228$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; }
36229if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then :
36230  ac_cv_libcfile_dummy=yes
36231else
36232  ac_cv_libcfile=no
36233fi
36234
36235        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5
36236$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; }
36237if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then :
36238  $as_echo_n "(cached) " >&6
36239else
36240  ac_check_lib_save_LIBS=$LIBS
36241LIBS="-lcfile  $LIBS"
36242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36243/* end confdefs.h.  */
36244
36245/* Override any GCC internal prototype to avoid an error.
36246   Use char because int might match the return type of a GCC
36247   builtin and then its argument prototype would still apply.  */
36248#ifdef __cplusplus
36249extern "C"
36250#endif
36251char libcfile_file_io_control_read ();
36252int
36253main ()
36254{
36255return libcfile_file_io_control_read ();
36256  ;
36257  return 0;
36258}
36259_ACEOF
36260if ac_fn_c_try_link "$LINENO"; then :
36261  ac_cv_lib_cfile_libcfile_file_io_control_read=yes
36262else
36263  ac_cv_lib_cfile_libcfile_file_io_control_read=no
36264fi
36265rm -f core conftest.err conftest.$ac_objext \
36266    conftest$ac_exeext conftest.$ac_ext
36267LIBS=$ac_check_lib_save_LIBS
36268fi
36269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5
36270$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; }
36271if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then :
36272  ac_cv_libcfile_dummy=yes
36273else
36274  ac_cv_libcfile=no
36275fi
36276
36277        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5
36278$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; }
36279if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then :
36280  $as_echo_n "(cached) " >&6
36281else
36282  ac_check_lib_save_LIBS=$LIBS
36283LIBS="-lcfile  $LIBS"
36284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36285/* end confdefs.h.  */
36286
36287/* Override any GCC internal prototype to avoid an error.
36288   Use char because int might match the return type of a GCC
36289   builtin and then its argument prototype would still apply.  */
36290#ifdef __cplusplus
36291extern "C"
36292#endif
36293char libcfile_file_io_control_read_with_error_code ();
36294int
36295main ()
36296{
36297return libcfile_file_io_control_read_with_error_code ();
36298  ;
36299  return 0;
36300}
36301_ACEOF
36302if ac_fn_c_try_link "$LINENO"; then :
36303  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes
36304else
36305  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no
36306fi
36307rm -f core conftest.err conftest.$ac_objext \
36308    conftest$ac_exeext conftest.$ac_ext
36309LIBS=$ac_check_lib_save_LIBS
36310fi
36311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5
36312$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; }
36313if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then :
36314  ac_cv_libcfile_dummy=yes
36315else
36316  ac_cv_libcfile=no
36317fi
36318
36319
36320        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5
36322$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; }
36323if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then :
36324  $as_echo_n "(cached) " >&6
36325else
36326  ac_check_lib_save_LIBS=$LIBS
36327LIBS="-lcfile  $LIBS"
36328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36329/* end confdefs.h.  */
36330
36331/* Override any GCC internal prototype to avoid an error.
36332   Use char because int might match the return type of a GCC
36333   builtin and then its argument prototype would still apply.  */
36334#ifdef __cplusplus
36335extern "C"
36336#endif
36337char libcfile_file_open_wide ();
36338int
36339main ()
36340{
36341return libcfile_file_open_wide ();
36342  ;
36343  return 0;
36344}
36345_ACEOF
36346if ac_fn_c_try_link "$LINENO"; then :
36347  ac_cv_lib_cfile_libcfile_file_open_wide=yes
36348else
36349  ac_cv_lib_cfile_libcfile_file_open_wide=no
36350fi
36351rm -f core conftest.err conftest.$ac_objext \
36352    conftest$ac_exeext conftest.$ac_ext
36353LIBS=$ac_check_lib_save_LIBS
36354fi
36355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5
36356$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; }
36357if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then :
36358  ac_cv_libcfile_dummy=yes
36359else
36360  ac_cv_libcfile=no
36361fi
36362
36363          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5
36364$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; }
36365if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then :
36366  $as_echo_n "(cached) " >&6
36367else
36368  ac_check_lib_save_LIBS=$LIBS
36369LIBS="-lcfile  $LIBS"
36370cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371/* end confdefs.h.  */
36372
36373/* Override any GCC internal prototype to avoid an error.
36374   Use char because int might match the return type of a GCC
36375   builtin and then its argument prototype would still apply.  */
36376#ifdef __cplusplus
36377extern "C"
36378#endif
36379char libcfile_file_open_wide_with_error_code ();
36380int
36381main ()
36382{
36383return libcfile_file_open_wide_with_error_code ();
36384  ;
36385  return 0;
36386}
36387_ACEOF
36388if ac_fn_c_try_link "$LINENO"; then :
36389  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes
36390else
36391  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no
36392fi
36393rm -f core conftest.err conftest.$ac_objext \
36394    conftest$ac_exeext conftest.$ac_ext
36395LIBS=$ac_check_lib_save_LIBS
36396fi
36397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5
36398$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; }
36399if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then :
36400  ac_cv_libcfile_dummy=yes
36401else
36402  ac_cv_libcfile=no
36403fi
36404
36405
36406fi
36407
36408                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5
36409$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; }
36410if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then :
36411  $as_echo_n "(cached) " >&6
36412else
36413  ac_check_lib_save_LIBS=$LIBS
36414LIBS="-lcfile  $LIBS"
36415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416/* end confdefs.h.  */
36417
36418/* Override any GCC internal prototype to avoid an error.
36419   Use char because int might match the return type of a GCC
36420   builtin and then its argument prototype would still apply.  */
36421#ifdef __cplusplus
36422extern "C"
36423#endif
36424char libcfile_file_exists ();
36425int
36426main ()
36427{
36428return libcfile_file_exists ();
36429  ;
36430  return 0;
36431}
36432_ACEOF
36433if ac_fn_c_try_link "$LINENO"; then :
36434  ac_cv_lib_cfile_libcfile_file_exists=yes
36435else
36436  ac_cv_lib_cfile_libcfile_file_exists=no
36437fi
36438rm -f core conftest.err conftest.$ac_objext \
36439    conftest$ac_exeext conftest.$ac_ext
36440LIBS=$ac_check_lib_save_LIBS
36441fi
36442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5
36443$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; }
36444if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then :
36445  ac_cv_libcfile_dummy=yes
36446else
36447  ac_cv_libcfile=no
36448fi
36449
36450        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5
36451$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; }
36452if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then :
36453  $as_echo_n "(cached) " >&6
36454else
36455  ac_check_lib_save_LIBS=$LIBS
36456LIBS="-lcfile  $LIBS"
36457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36458/* end confdefs.h.  */
36459
36460/* Override any GCC internal prototype to avoid an error.
36461   Use char because int might match the return type of a GCC
36462   builtin and then its argument prototype would still apply.  */
36463#ifdef __cplusplus
36464extern "C"
36465#endif
36466char libcfile_file_remove ();
36467int
36468main ()
36469{
36470return libcfile_file_remove ();
36471  ;
36472  return 0;
36473}
36474_ACEOF
36475if ac_fn_c_try_link "$LINENO"; then :
36476  ac_cv_lib_cfile_libcfile_file_remove=yes
36477else
36478  ac_cv_lib_cfile_libcfile_file_remove=no
36479fi
36480rm -f core conftest.err conftest.$ac_objext \
36481    conftest$ac_exeext conftest.$ac_ext
36482LIBS=$ac_check_lib_save_LIBS
36483fi
36484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5
36485$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; }
36486if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then :
36487  ac_cv_libcfile_dummy=yes
36488else
36489  ac_cv_libcfile=no
36490fi
36491
36492
36493        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5
36495$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; }
36496if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then :
36497  $as_echo_n "(cached) " >&6
36498else
36499  ac_check_lib_save_LIBS=$LIBS
36500LIBS="-lcfile  $LIBS"
36501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36502/* end confdefs.h.  */
36503
36504/* Override any GCC internal prototype to avoid an error.
36505   Use char because int might match the return type of a GCC
36506   builtin and then its argument prototype would still apply.  */
36507#ifdef __cplusplus
36508extern "C"
36509#endif
36510char libcfile_file_exists_wide ();
36511int
36512main ()
36513{
36514return libcfile_file_exists_wide ();
36515  ;
36516  return 0;
36517}
36518_ACEOF
36519if ac_fn_c_try_link "$LINENO"; then :
36520  ac_cv_lib_cfile_libcfile_file_exists_wide=yes
36521else
36522  ac_cv_lib_cfile_libcfile_file_exists_wide=no
36523fi
36524rm -f core conftest.err conftest.$ac_objext \
36525    conftest$ac_exeext conftest.$ac_ext
36526LIBS=$ac_check_lib_save_LIBS
36527fi
36528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5
36529$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; }
36530if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then :
36531  ac_cv_libcfile_dummy=yes
36532else
36533  ac_cv_libcfile=no
36534fi
36535
36536          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5
36537$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; }
36538if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then :
36539  $as_echo_n "(cached) " >&6
36540else
36541  ac_check_lib_save_LIBS=$LIBS
36542LIBS="-lcfile  $LIBS"
36543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36544/* end confdefs.h.  */
36545
36546/* Override any GCC internal prototype to avoid an error.
36547   Use char because int might match the return type of a GCC
36548   builtin and then its argument prototype would still apply.  */
36549#ifdef __cplusplus
36550extern "C"
36551#endif
36552char libcfile_file_remove_wide ();
36553int
36554main ()
36555{
36556return libcfile_file_remove_wide ();
36557  ;
36558  return 0;
36559}
36560_ACEOF
36561if ac_fn_c_try_link "$LINENO"; then :
36562  ac_cv_lib_cfile_libcfile_file_remove_wide=yes
36563else
36564  ac_cv_lib_cfile_libcfile_file_remove_wide=no
36565fi
36566rm -f core conftest.err conftest.$ac_objext \
36567    conftest$ac_exeext conftest.$ac_ext
36568LIBS=$ac_check_lib_save_LIBS
36569fi
36570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5
36571$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; }
36572if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then :
36573  ac_cv_libcfile_dummy=yes
36574else
36575  ac_cv_libcfile=no
36576fi
36577
36578
36579fi
36580
36581        ac_cv_libcfile_LIBADD="-lcfile"
36582fi
36583
36584fi
36585    if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then :
36586  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36587$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36588as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile
36589See \`config.log' for more details" "$LINENO" 5; }
36590
36591fi
36592
36593fi
36594
36595  if test "x$ac_cv_libcfile" = xyes; then :
36596
36597$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h
36598
36599
36600fi
36601
36602  if test "x$ac_cv_libcfile" = xyes; then :
36603  HAVE_LIBCFILE=1
36604
36605else
36606  HAVE_LIBCFILE=0
36607
36608
36609fi
36610
36611
36612    if test "x$ac_cv_libcfile" != xyes; then :
36613    for ac_header in errno.h stdio.h sys/stat.h
36614do :
36615  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36616ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36617if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36618  cat >>confdefs.h <<_ACEOF
36619#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36620_ACEOF
36621
36622fi
36623
36624done
36625
36626
36627    for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h
36628do :
36629  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36630ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36631if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36632  cat >>confdefs.h <<_ACEOF
36633#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36634_ACEOF
36635
36636fi
36637
36638done
36639
36640
36641    for ac_func in close fstat ftruncate ioctl lseek open read write
36642do :
36643  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36645if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36646  cat >>confdefs.h <<_ACEOF
36647#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36648_ACEOF
36649
36650fi
36651done
36652
36653
36654  if test "x$ac_cv_func_close" != xyes; then :
36655  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36657as_fn_error 1 "Missing function: close
36658See \`config.log' for more details" "$LINENO" 5; }
36659
36660fi
36661
36662  for ac_func in posix_fadvise
36663do :
36664  ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
36665if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36666  cat >>confdefs.h <<_ACEOF
36667#define HAVE_POSIX_FADVISE 1
36668_ACEOF
36669
36670fi
36671done
36672
36673
36674  if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5
36676$as_echo_n "checking whether posix_fadvise can be linked... " >&6; }
36677
36678      SAVE_CFLAGS="$CFLAGS"
36679      CFLAGS="$CFLAGS -Wall -Werror"
36680      ac_ext=c
36681ac_cpp='$CPP $CPPFLAGS'
36682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684ac_compiler_gnu=$ac_cv_c_compiler_gnu
36685
36686
36687      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688/* end confdefs.h.  */
36689#include <fcntl.h>
36690int
36691main ()
36692{
36693#if !defined( POSIX_FADV_SEQUENTIAL )
36694#define POSIX_FADV_SEQUENTIAL 2
36695#endif
36696posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL )
36697  ;
36698  return 0;
36699}
36700_ACEOF
36701if ac_fn_c_try_link "$LINENO"; then :
36702  ac_cv_func_posix_fadvise=yes
36703else
36704  ac_cv_func_posix_fadvise=no
36705fi
36706rm -f core conftest.err conftest.$ac_objext \
36707    conftest$ac_exeext conftest.$ac_ext
36708
36709      ac_ext=c
36710ac_cpp='$CPP $CPPFLAGS'
36711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713ac_compiler_gnu=$ac_cv_c_compiler_gnu
36714
36715      CFLAGS="$SAVE_CFLAGS"
36716
36717      if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36719$as_echo "yes" >&6; }
36720
36721$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
36722
36723else
36724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36725$as_echo "no" >&6; }
36726fi
36727
36728fi
36729
36730
36731  if test "x$ac_cv_func_fstat" != xyes; then :
36732  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36734as_fn_error 1 "Missing function: fstat
36735See \`config.log' for more details" "$LINENO" 5; }
36736
36737fi
36738
36739  if test "x$ac_cv_func_ftruncate" != xyes; then :
36740  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36742as_fn_error 1 "Missing function: ftruncate
36743See \`config.log' for more details" "$LINENO" 5; }
36744
36745fi
36746
36747  if test x"$ac_cv_enable_winapi" = xno; then :
36748  if test "x$ac_cv_func_ioctl" != xyes; then :
36749  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36751as_fn_error 1 "Missing function: ioctl
36752See \`config.log' for more details" "$LINENO" 5; }
36753
36754fi
36755
36756fi
36757
36758  if test "x$ac_cv_func_lseek" != xyes; then :
36759  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36760$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36761as_fn_error 1 "Missing function: lseek
36762See \`config.log' for more details" "$LINENO" 5; }
36763
36764fi
36765
36766  if test "x$ac_cv_func_open" != xyes; then :
36767  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36768$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36769as_fn_error 1 "Missing function: open
36770See \`config.log' for more details" "$LINENO" 5; }
36771
36772fi
36773
36774  if test "x$ac_cv_func_read" != xyes; then :
36775  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36777as_fn_error 1 "Missing function: read
36778See \`config.log' for more details" "$LINENO" 5; }
36779
36780fi
36781
36782  if test "x$ac_cv_func_write" != xyes; then :
36783  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36785as_fn_error 1 "Missing function: write
36786See \`config.log' for more details" "$LINENO" 5; }
36787
36788fi
36789
36790    for ac_func in stat unlink
36791do :
36792  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36793ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36794if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36795  cat >>confdefs.h <<_ACEOF
36796#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36797_ACEOF
36798
36799fi
36800done
36801
36802
36803  if test "x$ac_cv_func_stat" != xyes; then :
36804  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36806as_fn_error 1 "Missing function: stat
36807See \`config.log' for more details" "$LINENO" 5; }
36808
36809fi
36810
36811  if test "x$ac_cv_func_unlink" != xyes; then :
36812  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36814as_fn_error 1 "Missing function: unlink
36815See \`config.log' for more details" "$LINENO" 5; }
36816
36817fi
36818
36819  ac_cv_libcfile_CPPFLAGS="-I../libcfile";
36820  ac_cv_libcfile_LIBADD="../libcfile/libcfile.la";
36821
36822  ac_cv_libcfile=local
36823
36824
36825
36826$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h
36827
36828    HAVE_LOCAL_LIBCFILE=1
36829
36830
36831fi
36832
36833   if test "x$ac_cv_libcfile" = xlocal; then
36834  HAVE_LOCAL_LIBCFILE_TRUE=
36835  HAVE_LOCAL_LIBCFILE_FALSE='#'
36836else
36837  HAVE_LOCAL_LIBCFILE_TRUE='#'
36838  HAVE_LOCAL_LIBCFILE_FALSE=
36839fi
36840
36841  if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then :
36842  LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS
36843
36844
36845fi
36846  if test "x$ac_cv_libcfile_LIBADD" != "x"; then :
36847  LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD
36848
36849
36850fi
36851
36852  if test "x$ac_cv_libcfile" = xyes; then :
36853  ax_libcfile_pc_libs_private=-lcfile
36854
36855
36856fi
36857
36858  if test "x$ac_cv_libcfile" = xyes; then :
36859  ax_libcfile_spec_requires=libcfile
36860
36861    ax_libcfile_spec_build_requires=libcfile-devel
36862
36863
36864fi
36865
36866
36867
36868
36869# Check whether --with-libcpath was given.
36870if test "${with_libcpath+set}" = set; then :
36871  withval=$with_libcpath; ac_cv_with_libcpath=$withval
36872else
36873  ac_cv_with_libcpath=auto-detect
36874fi
36875
36876    { $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
36877$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; }
36878if ${ac_cv_with_libcpath+:} false; then :
36879  $as_echo_n "(cached) " >&6
36880else
36881  ac_cv_with_libcpath=auto-detect
36882fi
36883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5
36884$as_echo "$ac_cv_with_libcpath" >&6; }
36885
36886    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then :
36887  ac_cv_libcpath=no
36888else
36889  ac_cv_libcpath=check
36890        if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then :
36891  if test -d "$ac_cv_with_libcpath"; then :
36892  CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include"
36893        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib"
36894else
36895  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36896$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36897as_fn_error 1 "no such directory: $ac_cv_with_libcpath
36898See \`config.log' for more details" "$LINENO" 5; }
36899
36900fi
36901
36902else
36903        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
36904
36905pkg_failed=no
36906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5
36907$as_echo_n "checking for libcpath... " >&6; }
36908
36909if test -n "$libcpath_CFLAGS"; then
36910    pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS"
36911 elif test -n "$PKG_CONFIG"; then
36912    if test -n "$PKG_CONFIG" && \
36913    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
36914  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
36915  ac_status=$?
36916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36917  test $ac_status = 0; }; then
36918  pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null`
36919		      test "x$?" != "x0" && pkg_failed=yes
36920else
36921  pkg_failed=yes
36922fi
36923 else
36924    pkg_failed=untried
36925fi
36926if test -n "$libcpath_LIBS"; then
36927    pkg_cv_libcpath_LIBS="$libcpath_LIBS"
36928 elif test -n "$PKG_CONFIG"; then
36929    if test -n "$PKG_CONFIG" && \
36930    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
36931  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
36932  ac_status=$?
36933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36934  test $ac_status = 0; }; then
36935  pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null`
36936		      test "x$?" != "x0" && pkg_failed=yes
36937else
36938  pkg_failed=yes
36939fi
36940 else
36941    pkg_failed=untried
36942fi
36943
36944
36945
36946if test $pkg_failed = yes; then
36947   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36948$as_echo "no" >&6; }
36949
36950if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36951        _pkg_short_errors_supported=yes
36952else
36953        _pkg_short_errors_supported=no
36954fi
36955        if test $_pkg_short_errors_supported = yes; then
36956	        libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
36957        else
36958	        libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
36959        fi
36960	# Put the nasty error message in config.log where it belongs
36961	echo "$libcpath_PKG_ERRORS" >&5
36962
36963	ac_cv_libcpath=check
36964elif test $pkg_failed = untried; then
36965     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36966$as_echo "no" >&6; }
36967	ac_cv_libcpath=check
36968else
36969	libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS
36970	libcpath_LIBS=$pkg_cv_libcpath_LIBS
36971        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36972$as_echo "yes" >&6; }
36973	ac_cv_libcpath=yes
36974fi
36975
36976fi
36977      if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
36978  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
36979$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
36980if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then :
36981  $as_echo_n "(cached) " >&6
36982else
36983  ac_ext=c
36984ac_cpp='$CPP $CPPFLAGS'
36985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36987ac_compiler_gnu=$ac_cv_c_compiler_gnu
36988
36989         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36990/* end confdefs.h.  */
36991#include <libcpath/features.h>
36992int
36993main ()
36994{
36995#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 )
36996#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined
36997#endif
36998  ;
36999  return 0;
37000}
37001_ACEOF
37002if ac_fn_c_try_compile "$LINENO"; then :
37003  ac_cv_header_libcpath_features_h_have_wide_character_type=yes
37004else
37005  ac_cv_header_libcpath_features_h_have_wide_character_type=no
37006fi
37007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008         ac_ext=c
37009ac_cpp='$CPP $CPPFLAGS'
37010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014fi
37015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5
37016$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; }
37017
37018        if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then :
37019  ac_cv_libcpath=no
37020fi
37021
37022fi
37023      if test "x$ac_cv_libcpath" = xyes; then :
37024  ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS"
37025        ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS"
37026fi
37027
37028fi
37029
37030    if test "x$ac_cv_libcpath" = xcheck; then :
37031        for ac_header in libcpath.h
37032do :
37033  ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default"
37034if test "x$ac_cv_header_libcpath_h" = xyes; then :
37035  cat >>confdefs.h <<_ACEOF
37036#define HAVE_LIBCPATH_H 1
37037_ACEOF
37038
37039fi
37040
37041done
37042
37043
37044      if test "x$ac_cv_header_libcpath_h" = xno; then :
37045  ac_cv_libcpath=no
37046else
37047          ac_cv_libcpath=yes
37048
37049        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5
37050$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; }
37051if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then :
37052  $as_echo_n "(cached) " >&6
37053else
37054  ac_check_lib_save_LIBS=$LIBS
37055LIBS="-lcpath  $LIBS"
37056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057/* end confdefs.h.  */
37058
37059/* Override any GCC internal prototype to avoid an error.
37060   Use char because int might match the return type of a GCC
37061   builtin and then its argument prototype would still apply.  */
37062#ifdef __cplusplus
37063extern "C"
37064#endif
37065char libcpath_get_version ();
37066int
37067main ()
37068{
37069return libcpath_get_version ();
37070  ;
37071  return 0;
37072}
37073_ACEOF
37074if ac_fn_c_try_link "$LINENO"; then :
37075  ac_cv_lib_cpath_libcpath_get_version=yes
37076else
37077  ac_cv_lib_cpath_libcpath_get_version=no
37078fi
37079rm -f core conftest.err conftest.$ac_objext \
37080    conftest$ac_exeext conftest.$ac_ext
37081LIBS=$ac_check_lib_save_LIBS
37082fi
37083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5
37084$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; }
37085if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then :
37086  ac_cv_libcpath_dummy=yes
37087else
37088  ac_cv_libcpath=no
37089fi
37090
37091
37092                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5
37093$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; }
37094if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then :
37095  $as_echo_n "(cached) " >&6
37096else
37097  ac_check_lib_save_LIBS=$LIBS
37098LIBS="-lcpath  $LIBS"
37099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37100/* end confdefs.h.  */
37101
37102/* Override any GCC internal prototype to avoid an error.
37103   Use char because int might match the return type of a GCC
37104   builtin and then its argument prototype would still apply.  */
37105#ifdef __cplusplus
37106extern "C"
37107#endif
37108char libcpath_path_change_directory ();
37109int
37110main ()
37111{
37112return libcpath_path_change_directory ();
37113  ;
37114  return 0;
37115}
37116_ACEOF
37117if ac_fn_c_try_link "$LINENO"; then :
37118  ac_cv_lib_cpath_libcpath_path_change_directory=yes
37119else
37120  ac_cv_lib_cpath_libcpath_path_change_directory=no
37121fi
37122rm -f core conftest.err conftest.$ac_objext \
37123    conftest$ac_exeext conftest.$ac_ext
37124LIBS=$ac_check_lib_save_LIBS
37125fi
37126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5
37127$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; }
37128if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then :
37129  ac_cv_libcpath_dummy=yes
37130else
37131  ac_cv_libcpath=no
37132fi
37133
37134        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5
37135$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; }
37136if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then :
37137  $as_echo_n "(cached) " >&6
37138else
37139  ac_check_lib_save_LIBS=$LIBS
37140LIBS="-lcpath  $LIBS"
37141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37142/* end confdefs.h.  */
37143
37144/* Override any GCC internal prototype to avoid an error.
37145   Use char because int might match the return type of a GCC
37146   builtin and then its argument prototype would still apply.  */
37147#ifdef __cplusplus
37148extern "C"
37149#endif
37150char libcpath_path_get_current_working_directory ();
37151int
37152main ()
37153{
37154return libcpath_path_get_current_working_directory ();
37155  ;
37156  return 0;
37157}
37158_ACEOF
37159if ac_fn_c_try_link "$LINENO"; then :
37160  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes
37161else
37162  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no
37163fi
37164rm -f core conftest.err conftest.$ac_objext \
37165    conftest$ac_exeext conftest.$ac_ext
37166LIBS=$ac_check_lib_save_LIBS
37167fi
37168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5
37169$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; }
37170if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then :
37171  ac_cv_libcpath_dummy=yes
37172else
37173  ac_cv_libcpath=no
37174fi
37175
37176        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5
37177$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; }
37178if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then :
37179  $as_echo_n "(cached) " >&6
37180else
37181  ac_check_lib_save_LIBS=$LIBS
37182LIBS="-lcpath  $LIBS"
37183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184/* end confdefs.h.  */
37185
37186/* Override any GCC internal prototype to avoid an error.
37187   Use char because int might match the return type of a GCC
37188   builtin and then its argument prototype would still apply.  */
37189#ifdef __cplusplus
37190extern "C"
37191#endif
37192char libcpath_path_get_full_path ();
37193int
37194main ()
37195{
37196return libcpath_path_get_full_path ();
37197  ;
37198  return 0;
37199}
37200_ACEOF
37201if ac_fn_c_try_link "$LINENO"; then :
37202  ac_cv_lib_cpath_libcpath_path_get_full_path=yes
37203else
37204  ac_cv_lib_cpath_libcpath_path_get_full_path=no
37205fi
37206rm -f core conftest.err conftest.$ac_objext \
37207    conftest$ac_exeext conftest.$ac_ext
37208LIBS=$ac_check_lib_save_LIBS
37209fi
37210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5
37211$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; }
37212if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then :
37213  ac_cv_libcpath_dummy=yes
37214else
37215  ac_cv_libcpath=no
37216fi
37217
37218        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5
37219$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; }
37220if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then :
37221  $as_echo_n "(cached) " >&6
37222else
37223  ac_check_lib_save_LIBS=$LIBS
37224LIBS="-lcpath  $LIBS"
37225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226/* end confdefs.h.  */
37227
37228/* Override any GCC internal prototype to avoid an error.
37229   Use char because int might match the return type of a GCC
37230   builtin and then its argument prototype would still apply.  */
37231#ifdef __cplusplus
37232extern "C"
37233#endif
37234char libcpath_path_get_sanitized_filename ();
37235int
37236main ()
37237{
37238return libcpath_path_get_sanitized_filename ();
37239  ;
37240  return 0;
37241}
37242_ACEOF
37243if ac_fn_c_try_link "$LINENO"; then :
37244  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes
37245else
37246  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no
37247fi
37248rm -f core conftest.err conftest.$ac_objext \
37249    conftest$ac_exeext conftest.$ac_ext
37250LIBS=$ac_check_lib_save_LIBS
37251fi
37252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5
37253$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; }
37254if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then :
37255  ac_cv_libcpath_dummy=yes
37256else
37257  ac_cv_libcpath=no
37258fi
37259
37260        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5
37261$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; }
37262if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then :
37263  $as_echo_n "(cached) " >&6
37264else
37265  ac_check_lib_save_LIBS=$LIBS
37266LIBS="-lcpath  $LIBS"
37267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37268/* end confdefs.h.  */
37269
37270/* Override any GCC internal prototype to avoid an error.
37271   Use char because int might match the return type of a GCC
37272   builtin and then its argument prototype would still apply.  */
37273#ifdef __cplusplus
37274extern "C"
37275#endif
37276char libcpath_path_get_sanitized_path ();
37277int
37278main ()
37279{
37280return libcpath_path_get_sanitized_path ();
37281  ;
37282  return 0;
37283}
37284_ACEOF
37285if ac_fn_c_try_link "$LINENO"; then :
37286  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes
37287else
37288  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no
37289fi
37290rm -f core conftest.err conftest.$ac_objext \
37291    conftest$ac_exeext conftest.$ac_ext
37292LIBS=$ac_check_lib_save_LIBS
37293fi
37294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5
37295$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; }
37296if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then :
37297  ac_cv_libcpath_dummy=yes
37298else
37299  ac_cv_libcpath=no
37300fi
37301
37302        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5
37303$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; }
37304if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then :
37305  $as_echo_n "(cached) " >&6
37306else
37307  ac_check_lib_save_LIBS=$LIBS
37308LIBS="-lcpath  $LIBS"
37309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37310/* end confdefs.h.  */
37311
37312/* Override any GCC internal prototype to avoid an error.
37313   Use char because int might match the return type of a GCC
37314   builtin and then its argument prototype would still apply.  */
37315#ifdef __cplusplus
37316extern "C"
37317#endif
37318char libcpath_path_join ();
37319int
37320main ()
37321{
37322return libcpath_path_join ();
37323  ;
37324  return 0;
37325}
37326_ACEOF
37327if ac_fn_c_try_link "$LINENO"; then :
37328  ac_cv_lib_cpath_libcpath_path_join=yes
37329else
37330  ac_cv_lib_cpath_libcpath_path_join=no
37331fi
37332rm -f core conftest.err conftest.$ac_objext \
37333    conftest$ac_exeext conftest.$ac_ext
37334LIBS=$ac_check_lib_save_LIBS
37335fi
37336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5
37337$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; }
37338if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then :
37339  ac_cv_libcpath_dummy=yes
37340else
37341  ac_cv_libcpath=no
37342fi
37343
37344        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5
37345$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; }
37346if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then :
37347  $as_echo_n "(cached) " >&6
37348else
37349  ac_check_lib_save_LIBS=$LIBS
37350LIBS="-lcpath  $LIBS"
37351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37352/* end confdefs.h.  */
37353
37354/* Override any GCC internal prototype to avoid an error.
37355   Use char because int might match the return type of a GCC
37356   builtin and then its argument prototype would still apply.  */
37357#ifdef __cplusplus
37358extern "C"
37359#endif
37360char libcpath_path_make_directory ();
37361int
37362main ()
37363{
37364return libcpath_path_make_directory ();
37365  ;
37366  return 0;
37367}
37368_ACEOF
37369if ac_fn_c_try_link "$LINENO"; then :
37370  ac_cv_lib_cpath_libcpath_path_make_directory=yes
37371else
37372  ac_cv_lib_cpath_libcpath_path_make_directory=no
37373fi
37374rm -f core conftest.err conftest.$ac_objext \
37375    conftest$ac_exeext conftest.$ac_ext
37376LIBS=$ac_check_lib_save_LIBS
37377fi
37378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5
37379$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; }
37380if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then :
37381  ac_cv_libcpath_dummy=yes
37382else
37383  ac_cv_libcpath=no
37384fi
37385
37386
37387        if test "x$ac_cv_enable_wide_character_type" != xno; then :
37388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5
37389$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; }
37390if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then :
37391  $as_echo_n "(cached) " >&6
37392else
37393  ac_check_lib_save_LIBS=$LIBS
37394LIBS="-lcpath  $LIBS"
37395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37396/* end confdefs.h.  */
37397
37398/* Override any GCC internal prototype to avoid an error.
37399   Use char because int might match the return type of a GCC
37400   builtin and then its argument prototype would still apply.  */
37401#ifdef __cplusplus
37402extern "C"
37403#endif
37404char libcpath_path_change_directory_wide ();
37405int
37406main ()
37407{
37408return libcpath_path_change_directory_wide ();
37409  ;
37410  return 0;
37411}
37412_ACEOF
37413if ac_fn_c_try_link "$LINENO"; then :
37414  ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes
37415else
37416  ac_cv_lib_cpath_libcpath_path_change_directory_wide=no
37417fi
37418rm -f core conftest.err conftest.$ac_objext \
37419    conftest$ac_exeext conftest.$ac_ext
37420LIBS=$ac_check_lib_save_LIBS
37421fi
37422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5
37423$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; }
37424if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then :
37425  ac_cv_libcpath_dummy=yes
37426else
37427  ac_cv_libcpath=no
37428fi
37429
37430          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5
37431$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; }
37432if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then :
37433  $as_echo_n "(cached) " >&6
37434else
37435  ac_check_lib_save_LIBS=$LIBS
37436LIBS="-lcpath  $LIBS"
37437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37438/* end confdefs.h.  */
37439
37440/* Override any GCC internal prototype to avoid an error.
37441   Use char because int might match the return type of a GCC
37442   builtin and then its argument prototype would still apply.  */
37443#ifdef __cplusplus
37444extern "C"
37445#endif
37446char libcpath_path_get_current_working_directory_wide ();
37447int
37448main ()
37449{
37450return libcpath_path_get_current_working_directory_wide ();
37451  ;
37452  return 0;
37453}
37454_ACEOF
37455if ac_fn_c_try_link "$LINENO"; then :
37456  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes
37457else
37458  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no
37459fi
37460rm -f core conftest.err conftest.$ac_objext \
37461    conftest$ac_exeext conftest.$ac_ext
37462LIBS=$ac_check_lib_save_LIBS
37463fi
37464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5
37465$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; }
37466if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then :
37467  ac_cv_libcpath_dummy=yes
37468else
37469  ac_cv_libcpath=no
37470fi
37471
37472          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5
37473$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; }
37474if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then :
37475  $as_echo_n "(cached) " >&6
37476else
37477  ac_check_lib_save_LIBS=$LIBS
37478LIBS="-lcpath  $LIBS"
37479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37480/* end confdefs.h.  */
37481
37482/* Override any GCC internal prototype to avoid an error.
37483   Use char because int might match the return type of a GCC
37484   builtin and then its argument prototype would still apply.  */
37485#ifdef __cplusplus
37486extern "C"
37487#endif
37488char libcpath_path_get_full_path_wide ();
37489int
37490main ()
37491{
37492return libcpath_path_get_full_path_wide ();
37493  ;
37494  return 0;
37495}
37496_ACEOF
37497if ac_fn_c_try_link "$LINENO"; then :
37498  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes
37499else
37500  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no
37501fi
37502rm -f core conftest.err conftest.$ac_objext \
37503    conftest$ac_exeext conftest.$ac_ext
37504LIBS=$ac_check_lib_save_LIBS
37505fi
37506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5
37507$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; }
37508if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then :
37509  ac_cv_libcpath_dummy=yes
37510else
37511  ac_cv_libcpath=no
37512fi
37513
37514          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5
37515$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; }
37516if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then :
37517  $as_echo_n "(cached) " >&6
37518else
37519  ac_check_lib_save_LIBS=$LIBS
37520LIBS="-lcpath  $LIBS"
37521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37522/* end confdefs.h.  */
37523
37524/* Override any GCC internal prototype to avoid an error.
37525   Use char because int might match the return type of a GCC
37526   builtin and then its argument prototype would still apply.  */
37527#ifdef __cplusplus
37528extern "C"
37529#endif
37530char libcpath_path_get_sanitized_filename_wide ();
37531int
37532main ()
37533{
37534return libcpath_path_get_sanitized_filename_wide ();
37535  ;
37536  return 0;
37537}
37538_ACEOF
37539if ac_fn_c_try_link "$LINENO"; then :
37540  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes
37541else
37542  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no
37543fi
37544rm -f core conftest.err conftest.$ac_objext \
37545    conftest$ac_exeext conftest.$ac_ext
37546LIBS=$ac_check_lib_save_LIBS
37547fi
37548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5
37549$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; }
37550if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then :
37551  ac_cv_libcpath_dummy=yes
37552else
37553  ac_cv_libcpath=no
37554fi
37555
37556          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5
37557$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; }
37558if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then :
37559  $as_echo_n "(cached) " >&6
37560else
37561  ac_check_lib_save_LIBS=$LIBS
37562LIBS="-lcpath  $LIBS"
37563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37564/* end confdefs.h.  */
37565
37566/* Override any GCC internal prototype to avoid an error.
37567   Use char because int might match the return type of a GCC
37568   builtin and then its argument prototype would still apply.  */
37569#ifdef __cplusplus
37570extern "C"
37571#endif
37572char libcpath_path_get_sanitized_path_wide ();
37573int
37574main ()
37575{
37576return libcpath_path_get_sanitized_path_wide ();
37577  ;
37578  return 0;
37579}
37580_ACEOF
37581if ac_fn_c_try_link "$LINENO"; then :
37582  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes
37583else
37584  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no
37585fi
37586rm -f core conftest.err conftest.$ac_objext \
37587    conftest$ac_exeext conftest.$ac_ext
37588LIBS=$ac_check_lib_save_LIBS
37589fi
37590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5
37591$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; }
37592if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then :
37593  ac_cv_libcpath_dummy=yes
37594else
37595  ac_cv_libcpath=no
37596fi
37597
37598          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5
37599$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; }
37600if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then :
37601  $as_echo_n "(cached) " >&6
37602else
37603  ac_check_lib_save_LIBS=$LIBS
37604LIBS="-lcpath  $LIBS"
37605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606/* end confdefs.h.  */
37607
37608/* Override any GCC internal prototype to avoid an error.
37609   Use char because int might match the return type of a GCC
37610   builtin and then its argument prototype would still apply.  */
37611#ifdef __cplusplus
37612extern "C"
37613#endif
37614char libcpath_path_join_wide ();
37615int
37616main ()
37617{
37618return libcpath_path_join_wide ();
37619  ;
37620  return 0;
37621}
37622_ACEOF
37623if ac_fn_c_try_link "$LINENO"; then :
37624  ac_cv_lib_cpath_libcpath_path_join_wide=yes
37625else
37626  ac_cv_lib_cpath_libcpath_path_join_wide=no
37627fi
37628rm -f core conftest.err conftest.$ac_objext \
37629    conftest$ac_exeext conftest.$ac_ext
37630LIBS=$ac_check_lib_save_LIBS
37631fi
37632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5
37633$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; }
37634if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then :
37635  ac_cv_libcpath_dummy=yes
37636else
37637  ac_cv_libcpath=no
37638fi
37639
37640          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5
37641$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; }
37642if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then :
37643  $as_echo_n "(cached) " >&6
37644else
37645  ac_check_lib_save_LIBS=$LIBS
37646LIBS="-lcpath  $LIBS"
37647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37648/* end confdefs.h.  */
37649
37650/* Override any GCC internal prototype to avoid an error.
37651   Use char because int might match the return type of a GCC
37652   builtin and then its argument prototype would still apply.  */
37653#ifdef __cplusplus
37654extern "C"
37655#endif
37656char libcpath_path_make_directory_wide ();
37657int
37658main ()
37659{
37660return libcpath_path_make_directory_wide ();
37661  ;
37662  return 0;
37663}
37664_ACEOF
37665if ac_fn_c_try_link "$LINENO"; then :
37666  ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes
37667else
37668  ac_cv_lib_cpath_libcpath_path_make_directory_wide=no
37669fi
37670rm -f core conftest.err conftest.$ac_objext \
37671    conftest$ac_exeext conftest.$ac_ext
37672LIBS=$ac_check_lib_save_LIBS
37673fi
37674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5
37675$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; }
37676if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then :
37677  ac_cv_libcpath_dummy=yes
37678else
37679  ac_cv_libcpath=no
37680fi
37681
37682
37683fi
37684
37685        ac_cv_libcpath_LIBADD="-lcpath"
37686fi
37687
37688fi
37689    if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then :
37690  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37691$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37692as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath
37693See \`config.log' for more details" "$LINENO" 5; }
37694
37695fi
37696
37697fi
37698
37699  if test "x$ac_cv_libcpath" = xyes; then :
37700
37701$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h
37702
37703
37704fi
37705
37706  if test "x$ac_cv_libcpath" = xyes; then :
37707  HAVE_LIBCPATH=1
37708
37709else
37710  HAVE_LIBCPATH=0
37711
37712
37713fi
37714
37715
37716    if test "x$ac_cv_libcpath" != xyes; then :
37717    for ac_header in errno.h sys/stat.h sys/syslimits.h
37718do :
37719  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37720ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
37721if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
37722  cat >>confdefs.h <<_ACEOF
37723#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37724_ACEOF
37725
37726fi
37727
37728done
37729
37730
37731    for ac_func in chdir getcwd
37732do :
37733  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37735if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37736  cat >>confdefs.h <<_ACEOF
37737#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37738_ACEOF
37739
37740fi
37741done
37742
37743
37744  if test "x$ac_cv_func_chdir" != xyes; then :
37745  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37747as_fn_error 1 "Missing functions: chdir
37748See \`config.log' for more details" "$LINENO" 5; }
37749
37750fi
37751
37752  if test "x$ac_cv_func_getcwd" != xyes; then :
37753  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37755as_fn_error 1 "Missing functions: getcwd
37756See \`config.log' for more details" "$LINENO" 5; }
37757
37758fi
37759
37760  for ac_func in mkdir
37761do :
37762  ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
37763if test "x$ac_cv_func_mkdir" = xyes; then :
37764  cat >>confdefs.h <<_ACEOF
37765#define HAVE_MKDIR 1
37766_ACEOF
37767
37768fi
37769done
37770
37771
37772  if test "x$ac_cv_func_mkdir" = xyes; then :
37773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5
37774$as_echo_n "checking how to use mkdir... " >&6; }
37775
37776    SAVE_CFLAGS="$CFLAGS"
37777    CFLAGS="$CFLAGS -Wall -Werror"
37778    ac_ext=c
37779ac_cpp='$CPP $CPPFLAGS'
37780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782ac_compiler_gnu=$ac_cv_c_compiler_gnu
37783
37784
37785    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37786/* end confdefs.h.  */
37787#include <sys/stat.h>
37788#include <sys/types.h>
37789int
37790main ()
37791{
37792mkdir( "", 0 )
37793  ;
37794  return 0;
37795}
37796_ACEOF
37797if ac_fn_c_try_link "$LINENO"; then :
37798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5
37799$as_echo "with additional mode argument" >&6; }
37800        ac_cv_cv_mkdir_mode=yes
37801else
37802  ac_cv_cv_mkdir_mode=no
37803fi
37804rm -f core conftest.err conftest.$ac_objext \
37805    conftest$ac_exeext conftest.$ac_ext
37806
37807    if test "x$ac_cv_cv_mkdir_mode" = xno; then :
37808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809/* end confdefs.h.  */
37810#include <io.h>
37811int
37812main ()
37813{
37814mkdir( "" )
37815  ;
37816  return 0;
37817}
37818_ACEOF
37819if ac_fn_c_try_link "$LINENO"; then :
37820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5
37821$as_echo "with single argument" >&6; }
37822        ac_cv_cv_mkdir=yes
37823else
37824  ac_cv_cv_mkdir=no
37825fi
37826rm -f core conftest.err conftest.$ac_objext \
37827    conftest$ac_exeext conftest.$ac_ext
37828
37829fi
37830
37831    ac_ext=c
37832ac_cpp='$CPP $CPPFLAGS'
37833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835ac_compiler_gnu=$ac_cv_c_compiler_gnu
37836
37837    CFLAGS="$SAVE_CFLAGS"
37838
37839    if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then :
37840  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5
37841$as_echo "$as_me: WARNING: unknown" >&2;}
37842      ac_cv_func_mkdir=no
37843fi
37844
37845    if test "x$ac_cv_func_mkdir" = xyes; then :
37846
37847$as_echo "#define HAVE_MKDIR 1" >>confdefs.h
37848
37849
37850fi
37851
37852    if test "x$ac_cv_cv_mkdir_mode" = xyes; then :
37853
37854$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h
37855
37856
37857fi
37858
37859fi
37860
37861  if test "x$ac_cv_func_mkdir" = xno; then :
37862  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37864as_fn_error 1 "Missing function: mkdir
37865See \`config.log' for more details" "$LINENO" 5; }
37866
37867fi
37868
37869
37870  ac_cv_libcpath_CPPFLAGS="-I../libcpath";
37871  ac_cv_libcpath_LIBADD="../libcpath/libcpath.la";
37872
37873  ac_cv_libcpath=local
37874
37875
37876
37877$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h
37878
37879    HAVE_LOCAL_LIBCPATH=1
37880
37881
37882fi
37883
37884   if test "x$ac_cv_libcpath" = xlocal; then
37885  HAVE_LOCAL_LIBCPATH_TRUE=
37886  HAVE_LOCAL_LIBCPATH_FALSE='#'
37887else
37888  HAVE_LOCAL_LIBCPATH_TRUE='#'
37889  HAVE_LOCAL_LIBCPATH_FALSE=
37890fi
37891
37892  if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then :
37893  LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS
37894
37895
37896fi
37897  if test "x$ac_cv_libcpath_LIBADD" != "x"; then :
37898  LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD
37899
37900
37901fi
37902
37903  if test "x$ac_cv_libcpath" = xyes; then :
37904  ax_libcpath_pc_libs_private=-lcpath
37905
37906
37907fi
37908
37909  if test "x$ac_cv_libcpath" = xyes; then :
37910  ax_libcpath_spec_requires=libcpath
37911
37912    ax_libcpath_spec_build_requires=libcpath-devel
37913
37914
37915fi
37916
37917
37918
37919
37920# Check whether --with-libbfio was given.
37921if test "${with_libbfio+set}" = set; then :
37922  withval=$with_libbfio; ac_cv_with_libbfio=$withval
37923else
37924  ac_cv_with_libbfio=auto-detect
37925fi
37926
37927    { $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
37928$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; }
37929if ${ac_cv_with_libbfio+:} false; then :
37930  $as_echo_n "(cached) " >&6
37931else
37932  ac_cv_with_libbfio=auto-detect
37933fi
37934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5
37935$as_echo "$ac_cv_with_libbfio" >&6; }
37936
37937    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then :
37938  ac_cv_libbfio=no
37939else
37940  ac_cv_libbfio=check
37941        if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then :
37942  if test -d "$ac_cv_with_libbfio"; then :
37943  CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include"
37944        LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib"
37945else
37946  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37947$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37948as_fn_error 1 "no such directory: $ac_cv_with_libbfio
37949See \`config.log' for more details" "$LINENO" 5; }
37950
37951fi
37952
37953else
37954        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
37955
37956pkg_failed=no
37957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5
37958$as_echo_n "checking for libbfio... " >&6; }
37959
37960if test -n "$libbfio_CFLAGS"; then
37961    pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS"
37962 elif test -n "$PKG_CONFIG"; then
37963    if test -n "$PKG_CONFIG" && \
37964    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
37965  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
37966  ac_status=$?
37967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37968  test $ac_status = 0; }; then
37969  pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null`
37970		      test "x$?" != "x0" && pkg_failed=yes
37971else
37972  pkg_failed=yes
37973fi
37974 else
37975    pkg_failed=untried
37976fi
37977if test -n "$libbfio_LIBS"; then
37978    pkg_cv_libbfio_LIBS="$libbfio_LIBS"
37979 elif test -n "$PKG_CONFIG"; then
37980    if test -n "$PKG_CONFIG" && \
37981    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
37982  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
37983  ac_status=$?
37984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37985  test $ac_status = 0; }; then
37986  pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null`
37987		      test "x$?" != "x0" && pkg_failed=yes
37988else
37989  pkg_failed=yes
37990fi
37991 else
37992    pkg_failed=untried
37993fi
37994
37995
37996
37997if test $pkg_failed = yes; then
37998   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37999$as_echo "no" >&6; }
38000
38001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38002        _pkg_short_errors_supported=yes
38003else
38004        _pkg_short_errors_supported=no
38005fi
38006        if test $_pkg_short_errors_supported = yes; then
38007	        libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38008        else
38009	        libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38010        fi
38011	# Put the nasty error message in config.log where it belongs
38012	echo "$libbfio_PKG_ERRORS" >&5
38013
38014	ac_cv_libbfio=check
38015elif test $pkg_failed = untried; then
38016     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38017$as_echo "no" >&6; }
38018	ac_cv_libbfio=check
38019else
38020	libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS
38021	libbfio_LIBS=$pkg_cv_libbfio_LIBS
38022        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38023$as_echo "yes" >&6; }
38024	ac_cv_libbfio=yes
38025fi
38026
38027fi
38028      if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
38029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
38030$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
38031if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then :
38032  $as_echo_n "(cached) " >&6
38033else
38034  ac_ext=c
38035ac_cpp='$CPP $CPPFLAGS'
38036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038ac_compiler_gnu=$ac_cv_c_compiler_gnu
38039
38040         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38041/* end confdefs.h.  */
38042#include <libbfio/features.h>
38043int
38044main ()
38045{
38046#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 )
38047#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined
38048#endif
38049  ;
38050  return 0;
38051}
38052_ACEOF
38053if ac_fn_c_try_compile "$LINENO"; then :
38054  ac_cv_header_libbfio_features_h_have_wide_character_type=yes
38055else
38056  ac_cv_header_libbfio_features_h_have_wide_character_type=no
38057fi
38058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38059         ac_ext=c
38060ac_cpp='$CPP $CPPFLAGS'
38061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064
38065fi
38066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5
38067$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; }
38068
38069        if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then :
38070  ac_cv_libbfio=no
38071fi
38072
38073fi
38074      if test "x$ac_cv_libbfio" = xyes; then :
38075  ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS"
38076        ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS"
38077fi
38078
38079fi
38080
38081    if test "x$ac_cv_libbfio" = xcheck; then :
38082        for ac_header in libbfio.h
38083do :
38084  ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default"
38085if test "x$ac_cv_header_libbfio_h" = xyes; then :
38086  cat >>confdefs.h <<_ACEOF
38087#define HAVE_LIBBFIO_H 1
38088_ACEOF
38089
38090fi
38091
38092done
38093
38094
38095      if test "x$ac_cv_header_libbfio_h" = xno; then :
38096  ac_cv_libbfio=no
38097else
38098          ac_cv_libbfio=yes
38099
38100        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5
38101$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; }
38102if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then :
38103  $as_echo_n "(cached) " >&6
38104else
38105  ac_check_lib_save_LIBS=$LIBS
38106LIBS="-lbfio  $LIBS"
38107cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38108/* end confdefs.h.  */
38109
38110/* Override any GCC internal prototype to avoid an error.
38111   Use char because int might match the return type of a GCC
38112   builtin and then its argument prototype would still apply.  */
38113#ifdef __cplusplus
38114extern "C"
38115#endif
38116char libbfio_get_version ();
38117int
38118main ()
38119{
38120return libbfio_get_version ();
38121  ;
38122  return 0;
38123}
38124_ACEOF
38125if ac_fn_c_try_link "$LINENO"; then :
38126  ac_cv_lib_bfio_libbfio_get_version=yes
38127else
38128  ac_cv_lib_bfio_libbfio_get_version=no
38129fi
38130rm -f core conftest.err conftest.$ac_objext \
38131    conftest$ac_exeext conftest.$ac_ext
38132LIBS=$ac_check_lib_save_LIBS
38133fi
38134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5
38135$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; }
38136if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then :
38137  ac_cv_libbfio_dummy=yes
38138else
38139  ac_cv_libbfio=no
38140fi
38141
38142
38143                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5
38144$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; }
38145if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then :
38146  $as_echo_n "(cached) " >&6
38147else
38148  ac_check_lib_save_LIBS=$LIBS
38149LIBS="-lbfio  $LIBS"
38150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38151/* end confdefs.h.  */
38152
38153/* Override any GCC internal prototype to avoid an error.
38154   Use char because int might match the return type of a GCC
38155   builtin and then its argument prototype would still apply.  */
38156#ifdef __cplusplus
38157extern "C"
38158#endif
38159char libbfio_handle_free ();
38160int
38161main ()
38162{
38163return libbfio_handle_free ();
38164  ;
38165  return 0;
38166}
38167_ACEOF
38168if ac_fn_c_try_link "$LINENO"; then :
38169  ac_cv_lib_bfio_libbfio_handle_free=yes
38170else
38171  ac_cv_lib_bfio_libbfio_handle_free=no
38172fi
38173rm -f core conftest.err conftest.$ac_objext \
38174    conftest$ac_exeext conftest.$ac_ext
38175LIBS=$ac_check_lib_save_LIBS
38176fi
38177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5
38178$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; }
38179if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then :
38180  ac_cv_libbfio_dummy=yes
38181else
38182  ac_cv_libbfio=no
38183fi
38184
38185        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5
38186$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; }
38187if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then :
38188  $as_echo_n "(cached) " >&6
38189else
38190  ac_check_lib_save_LIBS=$LIBS
38191LIBS="-lbfio  $LIBS"
38192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38193/* end confdefs.h.  */
38194
38195/* Override any GCC internal prototype to avoid an error.
38196   Use char because int might match the return type of a GCC
38197   builtin and then its argument prototype would still apply.  */
38198#ifdef __cplusplus
38199extern "C"
38200#endif
38201char libbfio_handle_open ();
38202int
38203main ()
38204{
38205return libbfio_handle_open ();
38206  ;
38207  return 0;
38208}
38209_ACEOF
38210if ac_fn_c_try_link "$LINENO"; then :
38211  ac_cv_lib_bfio_libbfio_handle_open=yes
38212else
38213  ac_cv_lib_bfio_libbfio_handle_open=no
38214fi
38215rm -f core conftest.err conftest.$ac_objext \
38216    conftest$ac_exeext conftest.$ac_ext
38217LIBS=$ac_check_lib_save_LIBS
38218fi
38219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5
38220$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; }
38221if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then :
38222  ac_cv_libbfio_dummy=yes
38223else
38224  ac_cv_libbfio=no
38225fi
38226
38227        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5
38228$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; }
38229if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then :
38230  $as_echo_n "(cached) " >&6
38231else
38232  ac_check_lib_save_LIBS=$LIBS
38233LIBS="-lbfio  $LIBS"
38234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235/* end confdefs.h.  */
38236
38237/* Override any GCC internal prototype to avoid an error.
38238   Use char because int might match the return type of a GCC
38239   builtin and then its argument prototype would still apply.  */
38240#ifdef __cplusplus
38241extern "C"
38242#endif
38243char libbfio_handle_close ();
38244int
38245main ()
38246{
38247return libbfio_handle_close ();
38248  ;
38249  return 0;
38250}
38251_ACEOF
38252if ac_fn_c_try_link "$LINENO"; then :
38253  ac_cv_lib_bfio_libbfio_handle_close=yes
38254else
38255  ac_cv_lib_bfio_libbfio_handle_close=no
38256fi
38257rm -f core conftest.err conftest.$ac_objext \
38258    conftest$ac_exeext conftest.$ac_ext
38259LIBS=$ac_check_lib_save_LIBS
38260fi
38261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5
38262$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; }
38263if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then :
38264  ac_cv_libbfio_dummy=yes
38265else
38266  ac_cv_libbfio=no
38267fi
38268
38269        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5
38270$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; }
38271if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then :
38272  $as_echo_n "(cached) " >&6
38273else
38274  ac_check_lib_save_LIBS=$LIBS
38275LIBS="-lbfio  $LIBS"
38276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38277/* end confdefs.h.  */
38278
38279/* Override any GCC internal prototype to avoid an error.
38280   Use char because int might match the return type of a GCC
38281   builtin and then its argument prototype would still apply.  */
38282#ifdef __cplusplus
38283extern "C"
38284#endif
38285char libbfio_handle_exists ();
38286int
38287main ()
38288{
38289return libbfio_handle_exists ();
38290  ;
38291  return 0;
38292}
38293_ACEOF
38294if ac_fn_c_try_link "$LINENO"; then :
38295  ac_cv_lib_bfio_libbfio_handle_exists=yes
38296else
38297  ac_cv_lib_bfio_libbfio_handle_exists=no
38298fi
38299rm -f core conftest.err conftest.$ac_objext \
38300    conftest$ac_exeext conftest.$ac_ext
38301LIBS=$ac_check_lib_save_LIBS
38302fi
38303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5
38304$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; }
38305if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then :
38306  ac_cv_libbfio_dummy=yes
38307else
38308  ac_cv_libbfio=no
38309fi
38310
38311        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5
38312$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; }
38313if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then :
38314  $as_echo_n "(cached) " >&6
38315else
38316  ac_check_lib_save_LIBS=$LIBS
38317LIBS="-lbfio  $LIBS"
38318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38319/* end confdefs.h.  */
38320
38321/* Override any GCC internal prototype to avoid an error.
38322   Use char because int might match the return type of a GCC
38323   builtin and then its argument prototype would still apply.  */
38324#ifdef __cplusplus
38325extern "C"
38326#endif
38327char libbfio_handle_read_buffer ();
38328int
38329main ()
38330{
38331return libbfio_handle_read_buffer ();
38332  ;
38333  return 0;
38334}
38335_ACEOF
38336if ac_fn_c_try_link "$LINENO"; then :
38337  ac_cv_lib_bfio_libbfio_handle_read_buffer=yes
38338else
38339  ac_cv_lib_bfio_libbfio_handle_read_buffer=no
38340fi
38341rm -f core conftest.err conftest.$ac_objext \
38342    conftest$ac_exeext conftest.$ac_ext
38343LIBS=$ac_check_lib_save_LIBS
38344fi
38345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5
38346$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; }
38347if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then :
38348  ac_cv_libbfio_dummy=yes
38349else
38350  ac_cv_libbfio=no
38351fi
38352
38353        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5
38354$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; }
38355if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then :
38356  $as_echo_n "(cached) " >&6
38357else
38358  ac_check_lib_save_LIBS=$LIBS
38359LIBS="-lbfio  $LIBS"
38360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38361/* end confdefs.h.  */
38362
38363/* Override any GCC internal prototype to avoid an error.
38364   Use char because int might match the return type of a GCC
38365   builtin and then its argument prototype would still apply.  */
38366#ifdef __cplusplus
38367extern "C"
38368#endif
38369char libbfio_handle_read_buffer_at_offset ();
38370int
38371main ()
38372{
38373return libbfio_handle_read_buffer_at_offset ();
38374  ;
38375  return 0;
38376}
38377_ACEOF
38378if ac_fn_c_try_link "$LINENO"; then :
38379  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes
38380else
38381  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no
38382fi
38383rm -f core conftest.err conftest.$ac_objext \
38384    conftest$ac_exeext conftest.$ac_ext
38385LIBS=$ac_check_lib_save_LIBS
38386fi
38387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5
38388$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; }
38389if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then :
38390  ac_cv_libbfio_dummy=yes
38391else
38392  ac_cv_libbfio=no
38393fi
38394
38395        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5
38396$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; }
38397if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then :
38398  $as_echo_n "(cached) " >&6
38399else
38400  ac_check_lib_save_LIBS=$LIBS
38401LIBS="-lbfio  $LIBS"
38402cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38403/* end confdefs.h.  */
38404
38405/* Override any GCC internal prototype to avoid an error.
38406   Use char because int might match the return type of a GCC
38407   builtin and then its argument prototype would still apply.  */
38408#ifdef __cplusplus
38409extern "C"
38410#endif
38411char libbfio_handle_write_buffer ();
38412int
38413main ()
38414{
38415return libbfio_handle_write_buffer ();
38416  ;
38417  return 0;
38418}
38419_ACEOF
38420if ac_fn_c_try_link "$LINENO"; then :
38421  ac_cv_lib_bfio_libbfio_handle_write_buffer=yes
38422else
38423  ac_cv_lib_bfio_libbfio_handle_write_buffer=no
38424fi
38425rm -f core conftest.err conftest.$ac_objext \
38426    conftest$ac_exeext conftest.$ac_ext
38427LIBS=$ac_check_lib_save_LIBS
38428fi
38429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5
38430$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; }
38431if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then :
38432  ac_cv_libbfio_dummy=yes
38433else
38434  ac_cv_libbfio=no
38435fi
38436
38437        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5
38438$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; }
38439if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then :
38440  $as_echo_n "(cached) " >&6
38441else
38442  ac_check_lib_save_LIBS=$LIBS
38443LIBS="-lbfio  $LIBS"
38444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38445/* end confdefs.h.  */
38446
38447/* Override any GCC internal prototype to avoid an error.
38448   Use char because int might match the return type of a GCC
38449   builtin and then its argument prototype would still apply.  */
38450#ifdef __cplusplus
38451extern "C"
38452#endif
38453char libbfio_handle_write_buffer_at_offset ();
38454int
38455main ()
38456{
38457return libbfio_handle_write_buffer_at_offset ();
38458  ;
38459  return 0;
38460}
38461_ACEOF
38462if ac_fn_c_try_link "$LINENO"; then :
38463  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes
38464else
38465  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no
38466fi
38467rm -f core conftest.err conftest.$ac_objext \
38468    conftest$ac_exeext conftest.$ac_ext
38469LIBS=$ac_check_lib_save_LIBS
38470fi
38471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5
38472$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; }
38473if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then :
38474  ac_cv_libbfio_dummy=yes
38475else
38476  ac_cv_libbfio=no
38477fi
38478
38479        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5
38480$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; }
38481if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then :
38482  $as_echo_n "(cached) " >&6
38483else
38484  ac_check_lib_save_LIBS=$LIBS
38485LIBS="-lbfio  $LIBS"
38486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38487/* end confdefs.h.  */
38488
38489/* Override any GCC internal prototype to avoid an error.
38490   Use char because int might match the return type of a GCC
38491   builtin and then its argument prototype would still apply.  */
38492#ifdef __cplusplus
38493extern "C"
38494#endif
38495char libbfio_handle_seek_offset ();
38496int
38497main ()
38498{
38499return libbfio_handle_seek_offset ();
38500  ;
38501  return 0;
38502}
38503_ACEOF
38504if ac_fn_c_try_link "$LINENO"; then :
38505  ac_cv_lib_bfio_libbfio_handle_seek_offset=yes
38506else
38507  ac_cv_lib_bfio_libbfio_handle_seek_offset=no
38508fi
38509rm -f core conftest.err conftest.$ac_objext \
38510    conftest$ac_exeext conftest.$ac_ext
38511LIBS=$ac_check_lib_save_LIBS
38512fi
38513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5
38514$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; }
38515if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then :
38516  ac_cv_libbfio_dummy=yes
38517else
38518  ac_cv_libbfio=no
38519fi
38520
38521
38522        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5
38523$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; }
38524if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then :
38525  $as_echo_n "(cached) " >&6
38526else
38527  ac_check_lib_save_LIBS=$LIBS
38528LIBS="-lbfio  $LIBS"
38529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38530/* end confdefs.h.  */
38531
38532/* Override any GCC internal prototype to avoid an error.
38533   Use char because int might match the return type of a GCC
38534   builtin and then its argument prototype would still apply.  */
38535#ifdef __cplusplus
38536extern "C"
38537#endif
38538char libbfio_handle_is_open ();
38539int
38540main ()
38541{
38542return libbfio_handle_is_open ();
38543  ;
38544  return 0;
38545}
38546_ACEOF
38547if ac_fn_c_try_link "$LINENO"; then :
38548  ac_cv_lib_bfio_libbfio_handle_is_open=yes
38549else
38550  ac_cv_lib_bfio_libbfio_handle_is_open=no
38551fi
38552rm -f core conftest.err conftest.$ac_objext \
38553    conftest$ac_exeext conftest.$ac_ext
38554LIBS=$ac_check_lib_save_LIBS
38555fi
38556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5
38557$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; }
38558if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then :
38559  ac_cv_libbfio_dummy=yes
38560else
38561  ac_cv_libbfio=no
38562fi
38563
38564        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5
38565$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; }
38566if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then :
38567  $as_echo_n "(cached) " >&6
38568else
38569  ac_check_lib_save_LIBS=$LIBS
38570LIBS="-lbfio  $LIBS"
38571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572/* end confdefs.h.  */
38573
38574/* Override any GCC internal prototype to avoid an error.
38575   Use char because int might match the return type of a GCC
38576   builtin and then its argument prototype would still apply.  */
38577#ifdef __cplusplus
38578extern "C"
38579#endif
38580char libbfio_handle_get_offset ();
38581int
38582main ()
38583{
38584return libbfio_handle_get_offset ();
38585  ;
38586  return 0;
38587}
38588_ACEOF
38589if ac_fn_c_try_link "$LINENO"; then :
38590  ac_cv_lib_bfio_libbfio_handle_get_offset=yes
38591else
38592  ac_cv_lib_bfio_libbfio_handle_get_offset=no
38593fi
38594rm -f core conftest.err conftest.$ac_objext \
38595    conftest$ac_exeext conftest.$ac_ext
38596LIBS=$ac_check_lib_save_LIBS
38597fi
38598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5
38599$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; }
38600if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then :
38601  ac_cv_libbfio_dummy=yes
38602else
38603  ac_cv_libbfio=no
38604fi
38605
38606        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5
38607$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; }
38608if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then :
38609  $as_echo_n "(cached) " >&6
38610else
38611  ac_check_lib_save_LIBS=$LIBS
38612LIBS="-lbfio  $LIBS"
38613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38614/* end confdefs.h.  */
38615
38616/* Override any GCC internal prototype to avoid an error.
38617   Use char because int might match the return type of a GCC
38618   builtin and then its argument prototype would still apply.  */
38619#ifdef __cplusplus
38620extern "C"
38621#endif
38622char libbfio_handle_get_size ();
38623int
38624main ()
38625{
38626return libbfio_handle_get_size ();
38627  ;
38628  return 0;
38629}
38630_ACEOF
38631if ac_fn_c_try_link "$LINENO"; then :
38632  ac_cv_lib_bfio_libbfio_handle_get_size=yes
38633else
38634  ac_cv_lib_bfio_libbfio_handle_get_size=no
38635fi
38636rm -f core conftest.err conftest.$ac_objext \
38637    conftest$ac_exeext conftest.$ac_ext
38638LIBS=$ac_check_lib_save_LIBS
38639fi
38640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5
38641$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; }
38642if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then :
38643  ac_cv_libbfio_dummy=yes
38644else
38645  ac_cv_libbfio=no
38646fi
38647
38648        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5
38649$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; }
38650if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then :
38651  $as_echo_n "(cached) " >&6
38652else
38653  ac_check_lib_save_LIBS=$LIBS
38654LIBS="-lbfio  $LIBS"
38655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656/* end confdefs.h.  */
38657
38658/* Override any GCC internal prototype to avoid an error.
38659   Use char because int might match the return type of a GCC
38660   builtin and then its argument prototype would still apply.  */
38661#ifdef __cplusplus
38662extern "C"
38663#endif
38664char libbfio_handle_set_track_offsets_read ();
38665int
38666main ()
38667{
38668return libbfio_handle_set_track_offsets_read ();
38669  ;
38670  return 0;
38671}
38672_ACEOF
38673if ac_fn_c_try_link "$LINENO"; then :
38674  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes
38675else
38676  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no
38677fi
38678rm -f core conftest.err conftest.$ac_objext \
38679    conftest$ac_exeext conftest.$ac_ext
38680LIBS=$ac_check_lib_save_LIBS
38681fi
38682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5
38683$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; }
38684if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then :
38685  ac_cv_libbfio_dummy=yes
38686else
38687  ac_cv_libbfio=no
38688fi
38689
38690        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5
38691$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; }
38692if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then :
38693  $as_echo_n "(cached) " >&6
38694else
38695  ac_check_lib_save_LIBS=$LIBS
38696LIBS="-lbfio  $LIBS"
38697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38698/* end confdefs.h.  */
38699
38700/* Override any GCC internal prototype to avoid an error.
38701   Use char because int might match the return type of a GCC
38702   builtin and then its argument prototype would still apply.  */
38703#ifdef __cplusplus
38704extern "C"
38705#endif
38706char libbfio_handle_get_number_of_offsets_read ();
38707int
38708main ()
38709{
38710return libbfio_handle_get_number_of_offsets_read ();
38711  ;
38712  return 0;
38713}
38714_ACEOF
38715if ac_fn_c_try_link "$LINENO"; then :
38716  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes
38717else
38718  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no
38719fi
38720rm -f core conftest.err conftest.$ac_objext \
38721    conftest$ac_exeext conftest.$ac_ext
38722LIBS=$ac_check_lib_save_LIBS
38723fi
38724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5
38725$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; }
38726if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then :
38727  ac_cv_libbfio_dummy=yes
38728else
38729  ac_cv_libbfio=no
38730fi
38731
38732        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5
38733$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; }
38734if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then :
38735  $as_echo_n "(cached) " >&6
38736else
38737  ac_check_lib_save_LIBS=$LIBS
38738LIBS="-lbfio  $LIBS"
38739cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38740/* end confdefs.h.  */
38741
38742/* Override any GCC internal prototype to avoid an error.
38743   Use char because int might match the return type of a GCC
38744   builtin and then its argument prototype would still apply.  */
38745#ifdef __cplusplus
38746extern "C"
38747#endif
38748char libbfio_handle_get_offset_read ();
38749int
38750main ()
38751{
38752return libbfio_handle_get_offset_read ();
38753  ;
38754  return 0;
38755}
38756_ACEOF
38757if ac_fn_c_try_link "$LINENO"; then :
38758  ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes
38759else
38760  ac_cv_lib_bfio_libbfio_handle_get_offset_read=no
38761fi
38762rm -f core conftest.err conftest.$ac_objext \
38763    conftest$ac_exeext conftest.$ac_ext
38764LIBS=$ac_check_lib_save_LIBS
38765fi
38766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5
38767$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; }
38768if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then :
38769  ac_cv_libbfio_dummy=yes
38770else
38771  ac_cv_libbfio=no
38772fi
38773
38774
38775                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5
38776$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; }
38777if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then :
38778  $as_echo_n "(cached) " >&6
38779else
38780  ac_check_lib_save_LIBS=$LIBS
38781LIBS="-lbfio  $LIBS"
38782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783/* end confdefs.h.  */
38784
38785/* Override any GCC internal prototype to avoid an error.
38786   Use char because int might match the return type of a GCC
38787   builtin and then its argument prototype would still apply.  */
38788#ifdef __cplusplus
38789extern "C"
38790#endif
38791char libbfio_file_initialize ();
38792int
38793main ()
38794{
38795return libbfio_file_initialize ();
38796  ;
38797  return 0;
38798}
38799_ACEOF
38800if ac_fn_c_try_link "$LINENO"; then :
38801  ac_cv_lib_bfio_libbfio_file_initialize=yes
38802else
38803  ac_cv_lib_bfio_libbfio_file_initialize=no
38804fi
38805rm -f core conftest.err conftest.$ac_objext \
38806    conftest$ac_exeext conftest.$ac_ext
38807LIBS=$ac_check_lib_save_LIBS
38808fi
38809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5
38810$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; }
38811if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then :
38812  ac_cv_libbfio_dummy=yes
38813else
38814  ac_cv_libbfio=no
38815fi
38816
38817        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5
38818$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; }
38819if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then :
38820  $as_echo_n "(cached) " >&6
38821else
38822  ac_check_lib_save_LIBS=$LIBS
38823LIBS="-lbfio  $LIBS"
38824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38825/* end confdefs.h.  */
38826
38827/* Override any GCC internal prototype to avoid an error.
38828   Use char because int might match the return type of a GCC
38829   builtin and then its argument prototype would still apply.  */
38830#ifdef __cplusplus
38831extern "C"
38832#endif
38833char libbfio_file_get_name_size ();
38834int
38835main ()
38836{
38837return libbfio_file_get_name_size ();
38838  ;
38839  return 0;
38840}
38841_ACEOF
38842if ac_fn_c_try_link "$LINENO"; then :
38843  ac_cv_lib_bfio_libbfio_file_get_name_size=yes
38844else
38845  ac_cv_lib_bfio_libbfio_file_get_name_size=no
38846fi
38847rm -f core conftest.err conftest.$ac_objext \
38848    conftest$ac_exeext conftest.$ac_ext
38849LIBS=$ac_check_lib_save_LIBS
38850fi
38851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5
38852$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; }
38853if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then :
38854  ac_cv_libbfio_dummy=yes
38855else
38856  ac_cv_libbfio=no
38857fi
38858
38859        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5
38860$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; }
38861if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then :
38862  $as_echo_n "(cached) " >&6
38863else
38864  ac_check_lib_save_LIBS=$LIBS
38865LIBS="-lbfio  $LIBS"
38866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38867/* end confdefs.h.  */
38868
38869/* Override any GCC internal prototype to avoid an error.
38870   Use char because int might match the return type of a GCC
38871   builtin and then its argument prototype would still apply.  */
38872#ifdef __cplusplus
38873extern "C"
38874#endif
38875char libbfio_file_get_name ();
38876int
38877main ()
38878{
38879return libbfio_file_get_name ();
38880  ;
38881  return 0;
38882}
38883_ACEOF
38884if ac_fn_c_try_link "$LINENO"; then :
38885  ac_cv_lib_bfio_libbfio_file_get_name=yes
38886else
38887  ac_cv_lib_bfio_libbfio_file_get_name=no
38888fi
38889rm -f core conftest.err conftest.$ac_objext \
38890    conftest$ac_exeext conftest.$ac_ext
38891LIBS=$ac_check_lib_save_LIBS
38892fi
38893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5
38894$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; }
38895if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then :
38896  ac_cv_libbfio_dummy=yes
38897else
38898  ac_cv_libbfio=no
38899fi
38900
38901        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5
38902$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; }
38903if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then :
38904  $as_echo_n "(cached) " >&6
38905else
38906  ac_check_lib_save_LIBS=$LIBS
38907LIBS="-lbfio  $LIBS"
38908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38909/* end confdefs.h.  */
38910
38911/* Override any GCC internal prototype to avoid an error.
38912   Use char because int might match the return type of a GCC
38913   builtin and then its argument prototype would still apply.  */
38914#ifdef __cplusplus
38915extern "C"
38916#endif
38917char libbfio_file_set_name ();
38918int
38919main ()
38920{
38921return libbfio_file_set_name ();
38922  ;
38923  return 0;
38924}
38925_ACEOF
38926if ac_fn_c_try_link "$LINENO"; then :
38927  ac_cv_lib_bfio_libbfio_file_set_name=yes
38928else
38929  ac_cv_lib_bfio_libbfio_file_set_name=no
38930fi
38931rm -f core conftest.err conftest.$ac_objext \
38932    conftest$ac_exeext conftest.$ac_ext
38933LIBS=$ac_check_lib_save_LIBS
38934fi
38935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5
38936$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; }
38937if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then :
38938  ac_cv_libbfio_dummy=yes
38939else
38940  ac_cv_libbfio=no
38941fi
38942
38943
38944        if test "x$ac_cv_enable_wide_character_type" != xno; then :
38945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5
38946$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; }
38947if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then :
38948  $as_echo_n "(cached) " >&6
38949else
38950  ac_check_lib_save_LIBS=$LIBS
38951LIBS="-lbfio  $LIBS"
38952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38953/* end confdefs.h.  */
38954
38955/* Override any GCC internal prototype to avoid an error.
38956   Use char because int might match the return type of a GCC
38957   builtin and then its argument prototype would still apply.  */
38958#ifdef __cplusplus
38959extern "C"
38960#endif
38961char libbfio_file_get_name_size_wide ();
38962int
38963main ()
38964{
38965return libbfio_file_get_name_size_wide ();
38966  ;
38967  return 0;
38968}
38969_ACEOF
38970if ac_fn_c_try_link "$LINENO"; then :
38971  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes
38972else
38973  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no
38974fi
38975rm -f core conftest.err conftest.$ac_objext \
38976    conftest$ac_exeext conftest.$ac_ext
38977LIBS=$ac_check_lib_save_LIBS
38978fi
38979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5
38980$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; }
38981if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then :
38982  ac_cv_libbfio_dummy=yes
38983else
38984  ac_cv_libbfio=no
38985fi
38986
38987          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5
38988$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; }
38989if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then :
38990  $as_echo_n "(cached) " >&6
38991else
38992  ac_check_lib_save_LIBS=$LIBS
38993LIBS="-lbfio  $LIBS"
38994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38995/* end confdefs.h.  */
38996
38997/* Override any GCC internal prototype to avoid an error.
38998   Use char because int might match the return type of a GCC
38999   builtin and then its argument prototype would still apply.  */
39000#ifdef __cplusplus
39001extern "C"
39002#endif
39003char libbfio_file_get_name_wide ();
39004int
39005main ()
39006{
39007return libbfio_file_get_name_wide ();
39008  ;
39009  return 0;
39010}
39011_ACEOF
39012if ac_fn_c_try_link "$LINENO"; then :
39013  ac_cv_lib_bfio_libbfio_file_get_name_wide=yes
39014else
39015  ac_cv_lib_bfio_libbfio_file_get_name_wide=no
39016fi
39017rm -f core conftest.err conftest.$ac_objext \
39018    conftest$ac_exeext conftest.$ac_ext
39019LIBS=$ac_check_lib_save_LIBS
39020fi
39021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5
39022$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; }
39023if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then :
39024  ac_cv_libbfio_dummy=yes
39025else
39026  ac_cv_libbfio=no
39027fi
39028
39029          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5
39030$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; }
39031if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then :
39032  $as_echo_n "(cached) " >&6
39033else
39034  ac_check_lib_save_LIBS=$LIBS
39035LIBS="-lbfio  $LIBS"
39036cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39037/* end confdefs.h.  */
39038
39039/* Override any GCC internal prototype to avoid an error.
39040   Use char because int might match the return type of a GCC
39041   builtin and then its argument prototype would still apply.  */
39042#ifdef __cplusplus
39043extern "C"
39044#endif
39045char libbfio_file_set_name_wide ();
39046int
39047main ()
39048{
39049return libbfio_file_set_name_wide ();
39050  ;
39051  return 0;
39052}
39053_ACEOF
39054if ac_fn_c_try_link "$LINENO"; then :
39055  ac_cv_lib_bfio_libbfio_file_set_name_wide=yes
39056else
39057  ac_cv_lib_bfio_libbfio_file_set_name_wide=no
39058fi
39059rm -f core conftest.err conftest.$ac_objext \
39060    conftest$ac_exeext conftest.$ac_ext
39061LIBS=$ac_check_lib_save_LIBS
39062fi
39063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5
39064$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; }
39065if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then :
39066  ac_cv_libbfio_dummy=yes
39067else
39068  ac_cv_libbfio=no
39069fi
39070
39071
39072fi
39073
39074                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5
39075$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; }
39076if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then :
39077  $as_echo_n "(cached) " >&6
39078else
39079  ac_check_lib_save_LIBS=$LIBS
39080LIBS="-lbfio  $LIBS"
39081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082/* end confdefs.h.  */
39083
39084/* Override any GCC internal prototype to avoid an error.
39085   Use char because int might match the return type of a GCC
39086   builtin and then its argument prototype would still apply.  */
39087#ifdef __cplusplus
39088extern "C"
39089#endif
39090char libbfio_pool_initialize ();
39091int
39092main ()
39093{
39094return libbfio_pool_initialize ();
39095  ;
39096  return 0;
39097}
39098_ACEOF
39099if ac_fn_c_try_link "$LINENO"; then :
39100  ac_cv_lib_bfio_libbfio_pool_initialize=yes
39101else
39102  ac_cv_lib_bfio_libbfio_pool_initialize=no
39103fi
39104rm -f core conftest.err conftest.$ac_objext \
39105    conftest$ac_exeext conftest.$ac_ext
39106LIBS=$ac_check_lib_save_LIBS
39107fi
39108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5
39109$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; }
39110if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then :
39111  ac_cv_libbfio_dummy=yes
39112else
39113  ac_cv_libbfio=no
39114fi
39115
39116        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5
39117$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; }
39118if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then :
39119  $as_echo_n "(cached) " >&6
39120else
39121  ac_check_lib_save_LIBS=$LIBS
39122LIBS="-lbfio  $LIBS"
39123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39124/* end confdefs.h.  */
39125
39126/* Override any GCC internal prototype to avoid an error.
39127   Use char because int might match the return type of a GCC
39128   builtin and then its argument prototype would still apply.  */
39129#ifdef __cplusplus
39130extern "C"
39131#endif
39132char libbfio_pool_free ();
39133int
39134main ()
39135{
39136return libbfio_pool_free ();
39137  ;
39138  return 0;
39139}
39140_ACEOF
39141if ac_fn_c_try_link "$LINENO"; then :
39142  ac_cv_lib_bfio_libbfio_pool_free=yes
39143else
39144  ac_cv_lib_bfio_libbfio_pool_free=no
39145fi
39146rm -f core conftest.err conftest.$ac_objext \
39147    conftest$ac_exeext conftest.$ac_ext
39148LIBS=$ac_check_lib_save_LIBS
39149fi
39150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5
39151$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; }
39152if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then :
39153  ac_cv_libbfio_dummy=yes
39154else
39155  ac_cv_libbfio=no
39156fi
39157
39158        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5
39159$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; }
39160if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then :
39161  $as_echo_n "(cached) " >&6
39162else
39163  ac_check_lib_save_LIBS=$LIBS
39164LIBS="-lbfio  $LIBS"
39165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39166/* end confdefs.h.  */
39167
39168/* Override any GCC internal prototype to avoid an error.
39169   Use char because int might match the return type of a GCC
39170   builtin and then its argument prototype would still apply.  */
39171#ifdef __cplusplus
39172extern "C"
39173#endif
39174char libbfio_pool_clone ();
39175int
39176main ()
39177{
39178return libbfio_pool_clone ();
39179  ;
39180  return 0;
39181}
39182_ACEOF
39183if ac_fn_c_try_link "$LINENO"; then :
39184  ac_cv_lib_bfio_libbfio_pool_clone=yes
39185else
39186  ac_cv_lib_bfio_libbfio_pool_clone=no
39187fi
39188rm -f core conftest.err conftest.$ac_objext \
39189    conftest$ac_exeext conftest.$ac_ext
39190LIBS=$ac_check_lib_save_LIBS
39191fi
39192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5
39193$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; }
39194if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then :
39195  ac_cv_libbfio_dummy=yes
39196else
39197  ac_cv_libbfio=no
39198fi
39199
39200
39201        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5
39202$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; }
39203if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then :
39204  $as_echo_n "(cached) " >&6
39205else
39206  ac_check_lib_save_LIBS=$LIBS
39207LIBS="-lbfio  $LIBS"
39208cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39209/* end confdefs.h.  */
39210
39211/* Override any GCC internal prototype to avoid an error.
39212   Use char because int might match the return type of a GCC
39213   builtin and then its argument prototype would still apply.  */
39214#ifdef __cplusplus
39215extern "C"
39216#endif
39217char libbfio_pool_get_number_of_handles ();
39218int
39219main ()
39220{
39221return libbfio_pool_get_number_of_handles ();
39222  ;
39223  return 0;
39224}
39225_ACEOF
39226if ac_fn_c_try_link "$LINENO"; then :
39227  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes
39228else
39229  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no
39230fi
39231rm -f core conftest.err conftest.$ac_objext \
39232    conftest$ac_exeext conftest.$ac_ext
39233LIBS=$ac_check_lib_save_LIBS
39234fi
39235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5
39236$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; }
39237if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then :
39238  ac_cv_libbfio_dummy=yes
39239else
39240  ac_cv_libbfio=no
39241fi
39242
39243        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5
39244$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; }
39245if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then :
39246  $as_echo_n "(cached) " >&6
39247else
39248  ac_check_lib_save_LIBS=$LIBS
39249LIBS="-lbfio  $LIBS"
39250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39251/* end confdefs.h.  */
39252
39253/* Override any GCC internal prototype to avoid an error.
39254   Use char because int might match the return type of a GCC
39255   builtin and then its argument prototype would still apply.  */
39256#ifdef __cplusplus
39257extern "C"
39258#endif
39259char libbfio_pool_get_handle ();
39260int
39261main ()
39262{
39263return libbfio_pool_get_handle ();
39264  ;
39265  return 0;
39266}
39267_ACEOF
39268if ac_fn_c_try_link "$LINENO"; then :
39269  ac_cv_lib_bfio_libbfio_pool_get_handle=yes
39270else
39271  ac_cv_lib_bfio_libbfio_pool_get_handle=no
39272fi
39273rm -f core conftest.err conftest.$ac_objext \
39274    conftest$ac_exeext conftest.$ac_ext
39275LIBS=$ac_check_lib_save_LIBS
39276fi
39277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5
39278$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; }
39279if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then :
39280  ac_cv_libbfio_dummy=yes
39281else
39282  ac_cv_libbfio=no
39283fi
39284
39285        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5
39286$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; }
39287if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then :
39288  $as_echo_n "(cached) " >&6
39289else
39290  ac_check_lib_save_LIBS=$LIBS
39291LIBS="-lbfio  $LIBS"
39292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39293/* end confdefs.h.  */
39294
39295/* Override any GCC internal prototype to avoid an error.
39296   Use char because int might match the return type of a GCC
39297   builtin and then its argument prototype would still apply.  */
39298#ifdef __cplusplus
39299extern "C"
39300#endif
39301char libbfio_pool_set_handle ();
39302int
39303main ()
39304{
39305return libbfio_pool_set_handle ();
39306  ;
39307  return 0;
39308}
39309_ACEOF
39310if ac_fn_c_try_link "$LINENO"; then :
39311  ac_cv_lib_bfio_libbfio_pool_set_handle=yes
39312else
39313  ac_cv_lib_bfio_libbfio_pool_set_handle=no
39314fi
39315rm -f core conftest.err conftest.$ac_objext \
39316    conftest$ac_exeext conftest.$ac_ext
39317LIBS=$ac_check_lib_save_LIBS
39318fi
39319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5
39320$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; }
39321if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then :
39322  ac_cv_libbfio_dummy=yes
39323else
39324  ac_cv_libbfio=no
39325fi
39326
39327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5
39328$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; }
39329if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then :
39330  $as_echo_n "(cached) " >&6
39331else
39332  ac_check_lib_save_LIBS=$LIBS
39333LIBS="-lbfio  $LIBS"
39334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39335/* end confdefs.h.  */
39336
39337/* Override any GCC internal prototype to avoid an error.
39338   Use char because int might match the return type of a GCC
39339   builtin and then its argument prototype would still apply.  */
39340#ifdef __cplusplus
39341extern "C"
39342#endif
39343char libbfio_pool_append_handle ();
39344int
39345main ()
39346{
39347return libbfio_pool_append_handle ();
39348  ;
39349  return 0;
39350}
39351_ACEOF
39352if ac_fn_c_try_link "$LINENO"; then :
39353  ac_cv_lib_bfio_libbfio_pool_append_handle=yes
39354else
39355  ac_cv_lib_bfio_libbfio_pool_append_handle=no
39356fi
39357rm -f core conftest.err conftest.$ac_objext \
39358    conftest$ac_exeext conftest.$ac_ext
39359LIBS=$ac_check_lib_save_LIBS
39360fi
39361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5
39362$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; }
39363if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then :
39364  ac_cv_libbfio_dummy=yes
39365else
39366  ac_cv_libbfio=no
39367fi
39368
39369        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5
39370$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; }
39371if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then :
39372  $as_echo_n "(cached) " >&6
39373else
39374  ac_check_lib_save_LIBS=$LIBS
39375LIBS="-lbfio  $LIBS"
39376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39377/* end confdefs.h.  */
39378
39379/* Override any GCC internal prototype to avoid an error.
39380   Use char because int might match the return type of a GCC
39381   builtin and then its argument prototype would still apply.  */
39382#ifdef __cplusplus
39383extern "C"
39384#endif
39385char libbfio_pool_remove_handle ();
39386int
39387main ()
39388{
39389return libbfio_pool_remove_handle ();
39390  ;
39391  return 0;
39392}
39393_ACEOF
39394if ac_fn_c_try_link "$LINENO"; then :
39395  ac_cv_lib_bfio_libbfio_pool_remove_handle=yes
39396else
39397  ac_cv_lib_bfio_libbfio_pool_remove_handle=no
39398fi
39399rm -f core conftest.err conftest.$ac_objext \
39400    conftest$ac_exeext conftest.$ac_ext
39401LIBS=$ac_check_lib_save_LIBS
39402fi
39403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5
39404$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; }
39405if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then :
39406  ac_cv_libbfio_dummy=yes
39407else
39408  ac_cv_libbfio=no
39409fi
39410
39411        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5
39412$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; }
39413if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then :
39414  $as_echo_n "(cached) " >&6
39415else
39416  ac_check_lib_save_LIBS=$LIBS
39417LIBS="-lbfio  $LIBS"
39418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419/* end confdefs.h.  */
39420
39421/* Override any GCC internal prototype to avoid an error.
39422   Use char because int might match the return type of a GCC
39423   builtin and then its argument prototype would still apply.  */
39424#ifdef __cplusplus
39425extern "C"
39426#endif
39427char libbfio_pool_get_maximum_number_of_open_handles ();
39428int
39429main ()
39430{
39431return libbfio_pool_get_maximum_number_of_open_handles ();
39432  ;
39433  return 0;
39434}
39435_ACEOF
39436if ac_fn_c_try_link "$LINENO"; then :
39437  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes
39438else
39439  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no
39440fi
39441rm -f core conftest.err conftest.$ac_objext \
39442    conftest$ac_exeext conftest.$ac_ext
39443LIBS=$ac_check_lib_save_LIBS
39444fi
39445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5
39446$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; }
39447if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then :
39448  ac_cv_libbfio_dummy=yes
39449else
39450  ac_cv_libbfio=no
39451fi
39452
39453        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5
39454$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; }
39455if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then :
39456  $as_echo_n "(cached) " >&6
39457else
39458  ac_check_lib_save_LIBS=$LIBS
39459LIBS="-lbfio  $LIBS"
39460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39461/* end confdefs.h.  */
39462
39463/* Override any GCC internal prototype to avoid an error.
39464   Use char because int might match the return type of a GCC
39465   builtin and then its argument prototype would still apply.  */
39466#ifdef __cplusplus
39467extern "C"
39468#endif
39469char libbfio_pool_set_maximum_number_of_open_handles ();
39470int
39471main ()
39472{
39473return libbfio_pool_set_maximum_number_of_open_handles ();
39474  ;
39475  return 0;
39476}
39477_ACEOF
39478if ac_fn_c_try_link "$LINENO"; then :
39479  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes
39480else
39481  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no
39482fi
39483rm -f core conftest.err conftest.$ac_objext \
39484    conftest$ac_exeext conftest.$ac_ext
39485LIBS=$ac_check_lib_save_LIBS
39486fi
39487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5
39488$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; }
39489if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then :
39490  ac_cv_libbfio_dummy=yes
39491else
39492  ac_cv_libbfio=no
39493fi
39494
39495
39496        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5
39497$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; }
39498if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then :
39499  $as_echo_n "(cached) " >&6
39500else
39501  ac_check_lib_save_LIBS=$LIBS
39502LIBS="-lbfio  $LIBS"
39503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39504/* end confdefs.h.  */
39505
39506/* Override any GCC internal prototype to avoid an error.
39507   Use char because int might match the return type of a GCC
39508   builtin and then its argument prototype would still apply.  */
39509#ifdef __cplusplus
39510extern "C"
39511#endif
39512char libbfio_pool_open ();
39513int
39514main ()
39515{
39516return libbfio_pool_open ();
39517  ;
39518  return 0;
39519}
39520_ACEOF
39521if ac_fn_c_try_link "$LINENO"; then :
39522  ac_cv_lib_bfio_libbfio_pool_open=yes
39523else
39524  ac_cv_lib_bfio_libbfio_pool_open=no
39525fi
39526rm -f core conftest.err conftest.$ac_objext \
39527    conftest$ac_exeext conftest.$ac_ext
39528LIBS=$ac_check_lib_save_LIBS
39529fi
39530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5
39531$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; }
39532if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then :
39533  ac_cv_libbfio_dummy=yes
39534else
39535  ac_cv_libbfio=no
39536fi
39537
39538        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5
39539$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; }
39540if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then :
39541  $as_echo_n "(cached) " >&6
39542else
39543  ac_check_lib_save_LIBS=$LIBS
39544LIBS="-lbfio  $LIBS"
39545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39546/* end confdefs.h.  */
39547
39548/* Override any GCC internal prototype to avoid an error.
39549   Use char because int might match the return type of a GCC
39550   builtin and then its argument prototype would still apply.  */
39551#ifdef __cplusplus
39552extern "C"
39553#endif
39554char libbfio_pool_reopen ();
39555int
39556main ()
39557{
39558return libbfio_pool_reopen ();
39559  ;
39560  return 0;
39561}
39562_ACEOF
39563if ac_fn_c_try_link "$LINENO"; then :
39564  ac_cv_lib_bfio_libbfio_pool_reopen=yes
39565else
39566  ac_cv_lib_bfio_libbfio_pool_reopen=no
39567fi
39568rm -f core conftest.err conftest.$ac_objext \
39569    conftest$ac_exeext conftest.$ac_ext
39570LIBS=$ac_check_lib_save_LIBS
39571fi
39572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5
39573$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; }
39574if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then :
39575  ac_cv_libbfio_dummy=yes
39576else
39577  ac_cv_libbfio=no
39578fi
39579
39580        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5
39581$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; }
39582if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then :
39583  $as_echo_n "(cached) " >&6
39584else
39585  ac_check_lib_save_LIBS=$LIBS
39586LIBS="-lbfio  $LIBS"
39587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588/* end confdefs.h.  */
39589
39590/* Override any GCC internal prototype to avoid an error.
39591   Use char because int might match the return type of a GCC
39592   builtin and then its argument prototype would still apply.  */
39593#ifdef __cplusplus
39594extern "C"
39595#endif
39596char libbfio_pool_close ();
39597int
39598main ()
39599{
39600return libbfio_pool_close ();
39601  ;
39602  return 0;
39603}
39604_ACEOF
39605if ac_fn_c_try_link "$LINENO"; then :
39606  ac_cv_lib_bfio_libbfio_pool_close=yes
39607else
39608  ac_cv_lib_bfio_libbfio_pool_close=no
39609fi
39610rm -f core conftest.err conftest.$ac_objext \
39611    conftest$ac_exeext conftest.$ac_ext
39612LIBS=$ac_check_lib_save_LIBS
39613fi
39614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5
39615$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; }
39616if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then :
39617  ac_cv_libbfio_dummy=yes
39618else
39619  ac_cv_libbfio=no
39620fi
39621
39622        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5
39623$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; }
39624if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then :
39625  $as_echo_n "(cached) " >&6
39626else
39627  ac_check_lib_save_LIBS=$LIBS
39628LIBS="-lbfio  $LIBS"
39629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39630/* end confdefs.h.  */
39631
39632/* Override any GCC internal prototype to avoid an error.
39633   Use char because int might match the return type of a GCC
39634   builtin and then its argument prototype would still apply.  */
39635#ifdef __cplusplus
39636extern "C"
39637#endif
39638char libbfio_pool_close_all ();
39639int
39640main ()
39641{
39642return libbfio_pool_close_all ();
39643  ;
39644  return 0;
39645}
39646_ACEOF
39647if ac_fn_c_try_link "$LINENO"; then :
39648  ac_cv_lib_bfio_libbfio_pool_close_all=yes
39649else
39650  ac_cv_lib_bfio_libbfio_pool_close_all=no
39651fi
39652rm -f core conftest.err conftest.$ac_objext \
39653    conftest$ac_exeext conftest.$ac_ext
39654LIBS=$ac_check_lib_save_LIBS
39655fi
39656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5
39657$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; }
39658if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then :
39659  ac_cv_libbfio_dummy=yes
39660else
39661  ac_cv_libbfio=no
39662fi
39663
39664        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5
39665$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; }
39666if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then :
39667  $as_echo_n "(cached) " >&6
39668else
39669  ac_check_lib_save_LIBS=$LIBS
39670LIBS="-lbfio  $LIBS"
39671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39672/* end confdefs.h.  */
39673
39674/* Override any GCC internal prototype to avoid an error.
39675   Use char because int might match the return type of a GCC
39676   builtin and then its argument prototype would still apply.  */
39677#ifdef __cplusplus
39678extern "C"
39679#endif
39680char libbfio_pool_read_buffer ();
39681int
39682main ()
39683{
39684return libbfio_pool_read_buffer ();
39685  ;
39686  return 0;
39687}
39688_ACEOF
39689if ac_fn_c_try_link "$LINENO"; then :
39690  ac_cv_lib_bfio_libbfio_pool_read_buffer=yes
39691else
39692  ac_cv_lib_bfio_libbfio_pool_read_buffer=no
39693fi
39694rm -f core conftest.err conftest.$ac_objext \
39695    conftest$ac_exeext conftest.$ac_ext
39696LIBS=$ac_check_lib_save_LIBS
39697fi
39698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5
39699$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; }
39700if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then :
39701  ac_cv_libbfio_dummy=yes
39702else
39703  ac_cv_libbfio=no
39704fi
39705
39706        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5
39707$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; }
39708if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then :
39709  $as_echo_n "(cached) " >&6
39710else
39711  ac_check_lib_save_LIBS=$LIBS
39712LIBS="-lbfio  $LIBS"
39713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39714/* end confdefs.h.  */
39715
39716/* Override any GCC internal prototype to avoid an error.
39717   Use char because int might match the return type of a GCC
39718   builtin and then its argument prototype would still apply.  */
39719#ifdef __cplusplus
39720extern "C"
39721#endif
39722char libbfio_pool_read_buffer_at_offset ();
39723int
39724main ()
39725{
39726return libbfio_pool_read_buffer_at_offset ();
39727  ;
39728  return 0;
39729}
39730_ACEOF
39731if ac_fn_c_try_link "$LINENO"; then :
39732  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes
39733else
39734  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no
39735fi
39736rm -f core conftest.err conftest.$ac_objext \
39737    conftest$ac_exeext conftest.$ac_ext
39738LIBS=$ac_check_lib_save_LIBS
39739fi
39740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5
39741$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; }
39742if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then :
39743  ac_cv_libbfio_dummy=yes
39744else
39745  ac_cv_libbfio=no
39746fi
39747
39748        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5
39749$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; }
39750if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then :
39751  $as_echo_n "(cached) " >&6
39752else
39753  ac_check_lib_save_LIBS=$LIBS
39754LIBS="-lbfio  $LIBS"
39755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39756/* end confdefs.h.  */
39757
39758/* Override any GCC internal prototype to avoid an error.
39759   Use char because int might match the return type of a GCC
39760   builtin and then its argument prototype would still apply.  */
39761#ifdef __cplusplus
39762extern "C"
39763#endif
39764char libbfio_pool_write_buffer ();
39765int
39766main ()
39767{
39768return libbfio_pool_write_buffer ();
39769  ;
39770  return 0;
39771}
39772_ACEOF
39773if ac_fn_c_try_link "$LINENO"; then :
39774  ac_cv_lib_bfio_libbfio_pool_write_buffer=yes
39775else
39776  ac_cv_lib_bfio_libbfio_pool_write_buffer=no
39777fi
39778rm -f core conftest.err conftest.$ac_objext \
39779    conftest$ac_exeext conftest.$ac_ext
39780LIBS=$ac_check_lib_save_LIBS
39781fi
39782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5
39783$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; }
39784if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then :
39785  ac_cv_libbfio_dummy=yes
39786else
39787  ac_cv_libbfio=no
39788fi
39789
39790        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5
39791$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; }
39792if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then :
39793  $as_echo_n "(cached) " >&6
39794else
39795  ac_check_lib_save_LIBS=$LIBS
39796LIBS="-lbfio  $LIBS"
39797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798/* end confdefs.h.  */
39799
39800/* Override any GCC internal prototype to avoid an error.
39801   Use char because int might match the return type of a GCC
39802   builtin and then its argument prototype would still apply.  */
39803#ifdef __cplusplus
39804extern "C"
39805#endif
39806char libbfio_pool_write_buffer_at_offset ();
39807int
39808main ()
39809{
39810return libbfio_pool_write_buffer_at_offset ();
39811  ;
39812  return 0;
39813}
39814_ACEOF
39815if ac_fn_c_try_link "$LINENO"; then :
39816  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes
39817else
39818  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no
39819fi
39820rm -f core conftest.err conftest.$ac_objext \
39821    conftest$ac_exeext conftest.$ac_ext
39822LIBS=$ac_check_lib_save_LIBS
39823fi
39824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5
39825$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; }
39826if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then :
39827  ac_cv_libbfio_dummy=yes
39828else
39829  ac_cv_libbfio=no
39830fi
39831
39832        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5
39833$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; }
39834if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then :
39835  $as_echo_n "(cached) " >&6
39836else
39837  ac_check_lib_save_LIBS=$LIBS
39838LIBS="-lbfio  $LIBS"
39839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39840/* end confdefs.h.  */
39841
39842/* Override any GCC internal prototype to avoid an error.
39843   Use char because int might match the return type of a GCC
39844   builtin and then its argument prototype would still apply.  */
39845#ifdef __cplusplus
39846extern "C"
39847#endif
39848char libbfio_pool_seek_offset ();
39849int
39850main ()
39851{
39852return libbfio_pool_seek_offset ();
39853  ;
39854  return 0;
39855}
39856_ACEOF
39857if ac_fn_c_try_link "$LINENO"; then :
39858  ac_cv_lib_bfio_libbfio_pool_seek_offset=yes
39859else
39860  ac_cv_lib_bfio_libbfio_pool_seek_offset=no
39861fi
39862rm -f core conftest.err conftest.$ac_objext \
39863    conftest$ac_exeext conftest.$ac_ext
39864LIBS=$ac_check_lib_save_LIBS
39865fi
39866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5
39867$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; }
39868if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then :
39869  ac_cv_libbfio_dummy=yes
39870else
39871  ac_cv_libbfio=no
39872fi
39873
39874        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5
39875$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; }
39876if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then :
39877  $as_echo_n "(cached) " >&6
39878else
39879  ac_check_lib_save_LIBS=$LIBS
39880LIBS="-lbfio  $LIBS"
39881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39882/* end confdefs.h.  */
39883
39884/* Override any GCC internal prototype to avoid an error.
39885   Use char because int might match the return type of a GCC
39886   builtin and then its argument prototype would still apply.  */
39887#ifdef __cplusplus
39888extern "C"
39889#endif
39890char libbfio_pool_get_offset ();
39891int
39892main ()
39893{
39894return libbfio_pool_get_offset ();
39895  ;
39896  return 0;
39897}
39898_ACEOF
39899if ac_fn_c_try_link "$LINENO"; then :
39900  ac_cv_lib_bfio_libbfio_pool_get_offset=yes
39901else
39902  ac_cv_lib_bfio_libbfio_pool_get_offset=no
39903fi
39904rm -f core conftest.err conftest.$ac_objext \
39905    conftest$ac_exeext conftest.$ac_ext
39906LIBS=$ac_check_lib_save_LIBS
39907fi
39908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5
39909$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; }
39910if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then :
39911  ac_cv_libbfio_dummy=yes
39912else
39913  ac_cv_libbfio=no
39914fi
39915
39916        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5
39917$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; }
39918if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then :
39919  $as_echo_n "(cached) " >&6
39920else
39921  ac_check_lib_save_LIBS=$LIBS
39922LIBS="-lbfio  $LIBS"
39923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924/* end confdefs.h.  */
39925
39926/* Override any GCC internal prototype to avoid an error.
39927   Use char because int might match the return type of a GCC
39928   builtin and then its argument prototype would still apply.  */
39929#ifdef __cplusplus
39930extern "C"
39931#endif
39932char libbfio_pool_get_size ();
39933int
39934main ()
39935{
39936return libbfio_pool_get_size ();
39937  ;
39938  return 0;
39939}
39940_ACEOF
39941if ac_fn_c_try_link "$LINENO"; then :
39942  ac_cv_lib_bfio_libbfio_pool_get_size=yes
39943else
39944  ac_cv_lib_bfio_libbfio_pool_get_size=no
39945fi
39946rm -f core conftest.err conftest.$ac_objext \
39947    conftest$ac_exeext conftest.$ac_ext
39948LIBS=$ac_check_lib_save_LIBS
39949fi
39950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5
39951$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; }
39952if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then :
39953  ac_cv_libbfio_dummy=yes
39954else
39955  ac_cv_libbfio=no
39956fi
39957
39958
39959                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5
39960$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; }
39961if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then :
39962  $as_echo_n "(cached) " >&6
39963else
39964  ac_check_lib_save_LIBS=$LIBS
39965LIBS="-lbfio  $LIBS"
39966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39967/* end confdefs.h.  */
39968
39969/* Override any GCC internal prototype to avoid an error.
39970   Use char because int might match the return type of a GCC
39971   builtin and then its argument prototype would still apply.  */
39972#ifdef __cplusplus
39973extern "C"
39974#endif
39975char libbfio_file_pool_open ();
39976int
39977main ()
39978{
39979return libbfio_file_pool_open ();
39980  ;
39981  return 0;
39982}
39983_ACEOF
39984if ac_fn_c_try_link "$LINENO"; then :
39985  ac_cv_lib_bfio_libbfio_file_pool_open=yes
39986else
39987  ac_cv_lib_bfio_libbfio_file_pool_open=no
39988fi
39989rm -f core conftest.err conftest.$ac_objext \
39990    conftest$ac_exeext conftest.$ac_ext
39991LIBS=$ac_check_lib_save_LIBS
39992fi
39993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5
39994$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; }
39995if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then :
39996  ac_cv_libbfio_dummy=yes
39997else
39998  ac_cv_libbfio=no
39999fi
40000
40001
40002        if test "x$ac_cv_enable_wide_character_type" != xno; then :
40003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5
40004$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; }
40005if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then :
40006  $as_echo_n "(cached) " >&6
40007else
40008  ac_check_lib_save_LIBS=$LIBS
40009LIBS="-lbfio  $LIBS"
40010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40011/* end confdefs.h.  */
40012
40013/* Override any GCC internal prototype to avoid an error.
40014   Use char because int might match the return type of a GCC
40015   builtin and then its argument prototype would still apply.  */
40016#ifdef __cplusplus
40017extern "C"
40018#endif
40019char libbfio_file_pool_open_wide ();
40020int
40021main ()
40022{
40023return libbfio_file_pool_open_wide ();
40024  ;
40025  return 0;
40026}
40027_ACEOF
40028if ac_fn_c_try_link "$LINENO"; then :
40029  ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes
40030else
40031  ac_cv_lib_bfio_libbfio_file_pool_open_wide=no
40032fi
40033rm -f core conftest.err conftest.$ac_objext \
40034    conftest$ac_exeext conftest.$ac_ext
40035LIBS=$ac_check_lib_save_LIBS
40036fi
40037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5
40038$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; }
40039if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then :
40040  ac_cv_libbfio_dummy=yes
40041else
40042  ac_cv_libbfio=no
40043fi
40044
40045
40046fi
40047
40048        ac_cv_libbfio_LIBADD="-lbfio"
40049fi
40050
40051fi
40052    if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then :
40053  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40055as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio
40056See \`config.log' for more details" "$LINENO" 5; }
40057
40058fi
40059
40060fi
40061
40062  if test "x$ac_cv_libbfio" = xyes; then :
40063
40064$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h
40065
40066
40067fi
40068
40069  if test "x$ac_cv_libbfio" = xyes; then :
40070  HAVE_LIBBFIO=1
40071
40072else
40073  HAVE_LIBBFIO=0
40074
40075
40076fi
40077
40078
40079    if test "x$ac_cv_libbfio" != xyes; then :
40080
40081  ac_cv_libbfio_CPPFLAGS="-I../libbfio";
40082  ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
40083
40084  ac_cv_libbfio=local
40085
40086
40087
40088$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h
40089
40090    HAVE_LOCAL_LIBBFIO=1
40091
40092
40093fi
40094
40095   if test "x$ac_cv_libbfio" = xlocal; then
40096  HAVE_LOCAL_LIBBFIO_TRUE=
40097  HAVE_LOCAL_LIBBFIO_FALSE='#'
40098else
40099  HAVE_LOCAL_LIBBFIO_TRUE='#'
40100  HAVE_LOCAL_LIBBFIO_FALSE=
40101fi
40102
40103  if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then :
40104  LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS
40105
40106
40107fi
40108  if test "x$ac_cv_libbfio_LIBADD" != "x"; then :
40109  LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD
40110
40111
40112fi
40113
40114  if test "x$ac_cv_libbfio" = xyes; then :
40115  ax_libbfio_pc_libs_private=-lbfio
40116
40117
40118fi
40119
40120  if test "x$ac_cv_libbfio" = xyes; then :
40121  ax_libbfio_spec_requires=libbfio
40122
40123    ax_libbfio_spec_build_requires=libbfio-devel
40124
40125
40126fi
40127
40128
40129
40130
40131# Check whether --with-libfcache was given.
40132if test "${with_libfcache+set}" = set; then :
40133  withval=$with_libfcache; ac_cv_with_libfcache=$withval
40134else
40135  ac_cv_with_libfcache=auto-detect
40136fi
40137
40138    { $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
40139$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; }
40140if ${ac_cv_with_libfcache+:} false; then :
40141  $as_echo_n "(cached) " >&6
40142else
40143  ac_cv_with_libfcache=auto-detect
40144fi
40145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5
40146$as_echo "$ac_cv_with_libfcache" >&6; }
40147
40148    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then :
40149  ac_cv_libfcache=no
40150else
40151  ac_cv_libfcache=check
40152        if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then :
40153  if test -d "$ac_cv_with_libfcache"; then :
40154  CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include"
40155        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib"
40156else
40157  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40159as_fn_error 1 "no such directory: $ac_cv_with_libfcache
40160See \`config.log' for more details" "$LINENO" 5; }
40161
40162fi
40163
40164else
40165        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
40166
40167pkg_failed=no
40168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5
40169$as_echo_n "checking for libfcache... " >&6; }
40170
40171if test -n "$libfcache_CFLAGS"; then
40172    pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS"
40173 elif test -n "$PKG_CONFIG"; then
40174    if test -n "$PKG_CONFIG" && \
40175    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40176  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40177  ac_status=$?
40178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40179  test $ac_status = 0; }; then
40180  pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null`
40181		      test "x$?" != "x0" && pkg_failed=yes
40182else
40183  pkg_failed=yes
40184fi
40185 else
40186    pkg_failed=untried
40187fi
40188if test -n "$libfcache_LIBS"; then
40189    pkg_cv_libfcache_LIBS="$libfcache_LIBS"
40190 elif test -n "$PKG_CONFIG"; then
40191    if test -n "$PKG_CONFIG" && \
40192    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40193  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40194  ac_status=$?
40195  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40196  test $ac_status = 0; }; then
40197  pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null`
40198		      test "x$?" != "x0" && pkg_failed=yes
40199else
40200  pkg_failed=yes
40201fi
40202 else
40203    pkg_failed=untried
40204fi
40205
40206
40207
40208if test $pkg_failed = yes; then
40209   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40210$as_echo "no" >&6; }
40211
40212if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40213        _pkg_short_errors_supported=yes
40214else
40215        _pkg_short_errors_supported=no
40216fi
40217        if test $_pkg_short_errors_supported = yes; then
40218	        libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40219        else
40220	        libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40221        fi
40222	# Put the nasty error message in config.log where it belongs
40223	echo "$libfcache_PKG_ERRORS" >&5
40224
40225	ac_cv_libfcache=check
40226elif test $pkg_failed = untried; then
40227     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40228$as_echo "no" >&6; }
40229	ac_cv_libfcache=check
40230else
40231	libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS
40232	libfcache_LIBS=$pkg_cv_libfcache_LIBS
40233        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40234$as_echo "yes" >&6; }
40235	ac_cv_libfcache=yes
40236fi
40237
40238fi
40239      if test "x$ac_cv_libfcache" = xyes; then :
40240  ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS"
40241        ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS"
40242fi
40243
40244fi
40245
40246    if test "x$ac_cv_libfcache" = xcheck; then :
40247        for ac_header in libfcache.h
40248do :
40249  ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default"
40250if test "x$ac_cv_header_libfcache_h" = xyes; then :
40251  cat >>confdefs.h <<_ACEOF
40252#define HAVE_LIBFCACHE_H 1
40253_ACEOF
40254
40255fi
40256
40257done
40258
40259
40260      if test "x$ac_cv_header_libfcache_h" = xno; then :
40261  ac_cv_libfcache=no
40262else
40263          ac_cv_libfcache=yes
40264
40265        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5
40266$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; }
40267if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then :
40268  $as_echo_n "(cached) " >&6
40269else
40270  ac_check_lib_save_LIBS=$LIBS
40271LIBS="-lfcache  $LIBS"
40272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40273/* end confdefs.h.  */
40274
40275/* Override any GCC internal prototype to avoid an error.
40276   Use char because int might match the return type of a GCC
40277   builtin and then its argument prototype would still apply.  */
40278#ifdef __cplusplus
40279extern "C"
40280#endif
40281char libfcache_get_version ();
40282int
40283main ()
40284{
40285return libfcache_get_version ();
40286  ;
40287  return 0;
40288}
40289_ACEOF
40290if ac_fn_c_try_link "$LINENO"; then :
40291  ac_cv_lib_fcache_libfcache_get_version=yes
40292else
40293  ac_cv_lib_fcache_libfcache_get_version=no
40294fi
40295rm -f core conftest.err conftest.$ac_objext \
40296    conftest$ac_exeext conftest.$ac_ext
40297LIBS=$ac_check_lib_save_LIBS
40298fi
40299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5
40300$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; }
40301if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then :
40302  ac_cv_libfcache_dummy=yes
40303else
40304  ac_cv_libfcache=no
40305fi
40306
40307
40308                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5
40309$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; }
40310if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then :
40311  $as_echo_n "(cached) " >&6
40312else
40313  ac_check_lib_save_LIBS=$LIBS
40314LIBS="-lfcache  $LIBS"
40315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40316/* end confdefs.h.  */
40317
40318/* Override any GCC internal prototype to avoid an error.
40319   Use char because int might match the return type of a GCC
40320   builtin and then its argument prototype would still apply.  */
40321#ifdef __cplusplus
40322extern "C"
40323#endif
40324char libfcache_cache_initialize ();
40325int
40326main ()
40327{
40328return libfcache_cache_initialize ();
40329  ;
40330  return 0;
40331}
40332_ACEOF
40333if ac_fn_c_try_link "$LINENO"; then :
40334  ac_cv_lib_fcache_libfcache_cache_initialize=yes
40335else
40336  ac_cv_lib_fcache_libfcache_cache_initialize=no
40337fi
40338rm -f core conftest.err conftest.$ac_objext \
40339    conftest$ac_exeext conftest.$ac_ext
40340LIBS=$ac_check_lib_save_LIBS
40341fi
40342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5
40343$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; }
40344if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then :
40345  ac_cv_libfcache_dummy=yes
40346else
40347  ac_cv_libfcache=no
40348fi
40349
40350        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5
40351$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; }
40352if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then :
40353  $as_echo_n "(cached) " >&6
40354else
40355  ac_check_lib_save_LIBS=$LIBS
40356LIBS="-lfcache  $LIBS"
40357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40358/* end confdefs.h.  */
40359
40360/* Override any GCC internal prototype to avoid an error.
40361   Use char because int might match the return type of a GCC
40362   builtin and then its argument prototype would still apply.  */
40363#ifdef __cplusplus
40364extern "C"
40365#endif
40366char libfcache_cache_free ();
40367int
40368main ()
40369{
40370return libfcache_cache_free ();
40371  ;
40372  return 0;
40373}
40374_ACEOF
40375if ac_fn_c_try_link "$LINENO"; then :
40376  ac_cv_lib_fcache_libfcache_cache_free=yes
40377else
40378  ac_cv_lib_fcache_libfcache_cache_free=no
40379fi
40380rm -f core conftest.err conftest.$ac_objext \
40381    conftest$ac_exeext conftest.$ac_ext
40382LIBS=$ac_check_lib_save_LIBS
40383fi
40384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5
40385$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; }
40386if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then :
40387  ac_cv_libfcache_dummy=yes
40388else
40389  ac_cv_libfcache=no
40390fi
40391
40392        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5
40393$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; }
40394if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then :
40395  $as_echo_n "(cached) " >&6
40396else
40397  ac_check_lib_save_LIBS=$LIBS
40398LIBS="-lfcache  $LIBS"
40399cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40400/* end confdefs.h.  */
40401
40402/* Override any GCC internal prototype to avoid an error.
40403   Use char because int might match the return type of a GCC
40404   builtin and then its argument prototype would still apply.  */
40405#ifdef __cplusplus
40406extern "C"
40407#endif
40408char libfcache_cache_clone ();
40409int
40410main ()
40411{
40412return libfcache_cache_clone ();
40413  ;
40414  return 0;
40415}
40416_ACEOF
40417if ac_fn_c_try_link "$LINENO"; then :
40418  ac_cv_lib_fcache_libfcache_cache_clone=yes
40419else
40420  ac_cv_lib_fcache_libfcache_cache_clone=no
40421fi
40422rm -f core conftest.err conftest.$ac_objext \
40423    conftest$ac_exeext conftest.$ac_ext
40424LIBS=$ac_check_lib_save_LIBS
40425fi
40426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5
40427$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; }
40428if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then :
40429  ac_cv_libfcache_dummy=yes
40430else
40431  ac_cv_libfcache=no
40432fi
40433
40434        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5
40435$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; }
40436if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then :
40437  $as_echo_n "(cached) " >&6
40438else
40439  ac_check_lib_save_LIBS=$LIBS
40440LIBS="-lfcache  $LIBS"
40441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442/* end confdefs.h.  */
40443
40444/* Override any GCC internal prototype to avoid an error.
40445   Use char because int might match the return type of a GCC
40446   builtin and then its argument prototype would still apply.  */
40447#ifdef __cplusplus
40448extern "C"
40449#endif
40450char libfcache_cache_clear ();
40451int
40452main ()
40453{
40454return libfcache_cache_clear ();
40455  ;
40456  return 0;
40457}
40458_ACEOF
40459if ac_fn_c_try_link "$LINENO"; then :
40460  ac_cv_lib_fcache_libfcache_cache_clear=yes
40461else
40462  ac_cv_lib_fcache_libfcache_cache_clear=no
40463fi
40464rm -f core conftest.err conftest.$ac_objext \
40465    conftest$ac_exeext conftest.$ac_ext
40466LIBS=$ac_check_lib_save_LIBS
40467fi
40468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5
40469$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; }
40470if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then :
40471  ac_cv_libfcache_dummy=yes
40472else
40473  ac_cv_libfcache=no
40474fi
40475
40476        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5
40477$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; }
40478if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then :
40479  $as_echo_n "(cached) " >&6
40480else
40481  ac_check_lib_save_LIBS=$LIBS
40482LIBS="-lfcache  $LIBS"
40483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40484/* end confdefs.h.  */
40485
40486/* Override any GCC internal prototype to avoid an error.
40487   Use char because int might match the return type of a GCC
40488   builtin and then its argument prototype would still apply.  */
40489#ifdef __cplusplus
40490extern "C"
40491#endif
40492char libfcache_cache_get_number_of_entries ();
40493int
40494main ()
40495{
40496return libfcache_cache_get_number_of_entries ();
40497  ;
40498  return 0;
40499}
40500_ACEOF
40501if ac_fn_c_try_link "$LINENO"; then :
40502  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes
40503else
40504  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no
40505fi
40506rm -f core conftest.err conftest.$ac_objext \
40507    conftest$ac_exeext conftest.$ac_ext
40508LIBS=$ac_check_lib_save_LIBS
40509fi
40510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5
40511$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; }
40512if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then :
40513  ac_cv_libfcache_dummy=yes
40514else
40515  ac_cv_libfcache=no
40516fi
40517
40518        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5
40519$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; }
40520if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then :
40521  $as_echo_n "(cached) " >&6
40522else
40523  ac_check_lib_save_LIBS=$LIBS
40524LIBS="-lfcache  $LIBS"
40525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40526/* end confdefs.h.  */
40527
40528/* Override any GCC internal prototype to avoid an error.
40529   Use char because int might match the return type of a GCC
40530   builtin and then its argument prototype would still apply.  */
40531#ifdef __cplusplus
40532extern "C"
40533#endif
40534char libfcache_cache_get_number_of_cache_values ();
40535int
40536main ()
40537{
40538return libfcache_cache_get_number_of_cache_values ();
40539  ;
40540  return 0;
40541}
40542_ACEOF
40543if ac_fn_c_try_link "$LINENO"; then :
40544  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes
40545else
40546  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no
40547fi
40548rm -f core conftest.err conftest.$ac_objext \
40549    conftest$ac_exeext conftest.$ac_ext
40550LIBS=$ac_check_lib_save_LIBS
40551fi
40552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5
40553$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; }
40554if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then :
40555  ac_cv_libfcache_dummy=yes
40556else
40557  ac_cv_libfcache=no
40558fi
40559
40560        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5
40561$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; }
40562if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then :
40563  $as_echo_n "(cached) " >&6
40564else
40565  ac_check_lib_save_LIBS=$LIBS
40566LIBS="-lfcache  $LIBS"
40567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40568/* end confdefs.h.  */
40569
40570/* Override any GCC internal prototype to avoid an error.
40571   Use char because int might match the return type of a GCC
40572   builtin and then its argument prototype would still apply.  */
40573#ifdef __cplusplus
40574extern "C"
40575#endif
40576char libfcache_cache_clear_value_by_index ();
40577int
40578main ()
40579{
40580return libfcache_cache_clear_value_by_index ();
40581  ;
40582  return 0;
40583}
40584_ACEOF
40585if ac_fn_c_try_link "$LINENO"; then :
40586  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes
40587else
40588  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no
40589fi
40590rm -f core conftest.err conftest.$ac_objext \
40591    conftest$ac_exeext conftest.$ac_ext
40592LIBS=$ac_check_lib_save_LIBS
40593fi
40594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5
40595$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; }
40596if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then :
40597  ac_cv_libfcache_dummy=yes
40598else
40599  ac_cv_libfcache=no
40600fi
40601
40602        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5
40603$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; }
40604if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then :
40605  $as_echo_n "(cached) " >&6
40606else
40607  ac_check_lib_save_LIBS=$LIBS
40608LIBS="-lfcache  $LIBS"
40609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610/* end confdefs.h.  */
40611
40612/* Override any GCC internal prototype to avoid an error.
40613   Use char because int might match the return type of a GCC
40614   builtin and then its argument prototype would still apply.  */
40615#ifdef __cplusplus
40616extern "C"
40617#endif
40618char libfcache_cache_get_value_by_identifier ();
40619int
40620main ()
40621{
40622return libfcache_cache_get_value_by_identifier ();
40623  ;
40624  return 0;
40625}
40626_ACEOF
40627if ac_fn_c_try_link "$LINENO"; then :
40628  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes
40629else
40630  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no
40631fi
40632rm -f core conftest.err conftest.$ac_objext \
40633    conftest$ac_exeext conftest.$ac_ext
40634LIBS=$ac_check_lib_save_LIBS
40635fi
40636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5
40637$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; }
40638if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then :
40639  ac_cv_libfcache_dummy=yes
40640else
40641  ac_cv_libfcache=no
40642fi
40643
40644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5
40645$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; }
40646if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then :
40647  $as_echo_n "(cached) " >&6
40648else
40649  ac_check_lib_save_LIBS=$LIBS
40650LIBS="-lfcache  $LIBS"
40651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40652/* end confdefs.h.  */
40653
40654/* Override any GCC internal prototype to avoid an error.
40655   Use char because int might match the return type of a GCC
40656   builtin and then its argument prototype would still apply.  */
40657#ifdef __cplusplus
40658extern "C"
40659#endif
40660char libfcache_cache_get_value_by_index ();
40661int
40662main ()
40663{
40664return libfcache_cache_get_value_by_index ();
40665  ;
40666  return 0;
40667}
40668_ACEOF
40669if ac_fn_c_try_link "$LINENO"; then :
40670  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes
40671else
40672  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no
40673fi
40674rm -f core conftest.err conftest.$ac_objext \
40675    conftest$ac_exeext conftest.$ac_ext
40676LIBS=$ac_check_lib_save_LIBS
40677fi
40678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5
40679$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; }
40680if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then :
40681  ac_cv_libfcache_dummy=yes
40682else
40683  ac_cv_libfcache=no
40684fi
40685
40686        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5
40687$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; }
40688if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then :
40689  $as_echo_n "(cached) " >&6
40690else
40691  ac_check_lib_save_LIBS=$LIBS
40692LIBS="-lfcache  $LIBS"
40693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40694/* end confdefs.h.  */
40695
40696/* Override any GCC internal prototype to avoid an error.
40697   Use char because int might match the return type of a GCC
40698   builtin and then its argument prototype would still apply.  */
40699#ifdef __cplusplus
40700extern "C"
40701#endif
40702char libfcache_cache_set_value_by_identifier ();
40703int
40704main ()
40705{
40706return libfcache_cache_set_value_by_identifier ();
40707  ;
40708  return 0;
40709}
40710_ACEOF
40711if ac_fn_c_try_link "$LINENO"; then :
40712  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes
40713else
40714  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no
40715fi
40716rm -f core conftest.err conftest.$ac_objext \
40717    conftest$ac_exeext conftest.$ac_ext
40718LIBS=$ac_check_lib_save_LIBS
40719fi
40720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5
40721$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; }
40722if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then :
40723  ac_cv_libfcache_dummy=yes
40724else
40725  ac_cv_libfcache=no
40726fi
40727
40728        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5
40729$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; }
40730if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then :
40731  $as_echo_n "(cached) " >&6
40732else
40733  ac_check_lib_save_LIBS=$LIBS
40734LIBS="-lfcache  $LIBS"
40735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736/* end confdefs.h.  */
40737
40738/* Override any GCC internal prototype to avoid an error.
40739   Use char because int might match the return type of a GCC
40740   builtin and then its argument prototype would still apply.  */
40741#ifdef __cplusplus
40742extern "C"
40743#endif
40744char libfcache_cache_set_value_by_index ();
40745int
40746main ()
40747{
40748return libfcache_cache_set_value_by_index ();
40749  ;
40750  return 0;
40751}
40752_ACEOF
40753if ac_fn_c_try_link "$LINENO"; then :
40754  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes
40755else
40756  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no
40757fi
40758rm -f core conftest.err conftest.$ac_objext \
40759    conftest$ac_exeext conftest.$ac_ext
40760LIBS=$ac_check_lib_save_LIBS
40761fi
40762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5
40763$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; }
40764if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then :
40765  ac_cv_libfcache_dummy=yes
40766else
40767  ac_cv_libfcache=no
40768fi
40769
40770
40771                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5
40772$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; }
40773if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then :
40774  $as_echo_n "(cached) " >&6
40775else
40776  ac_check_lib_save_LIBS=$LIBS
40777LIBS="-lfcache  $LIBS"
40778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779/* end confdefs.h.  */
40780
40781/* Override any GCC internal prototype to avoid an error.
40782   Use char because int might match the return type of a GCC
40783   builtin and then its argument prototype would still apply.  */
40784#ifdef __cplusplus
40785extern "C"
40786#endif
40787char libfcache_cache_value_free ();
40788int
40789main ()
40790{
40791return libfcache_cache_value_free ();
40792  ;
40793  return 0;
40794}
40795_ACEOF
40796if ac_fn_c_try_link "$LINENO"; then :
40797  ac_cv_lib_fcache_libfcache_cache_value_free=yes
40798else
40799  ac_cv_lib_fcache_libfcache_cache_value_free=no
40800fi
40801rm -f core conftest.err conftest.$ac_objext \
40802    conftest$ac_exeext conftest.$ac_ext
40803LIBS=$ac_check_lib_save_LIBS
40804fi
40805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5
40806$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; }
40807if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then :
40808  ac_cv_libfcache_dummy=yes
40809else
40810  ac_cv_libfcache=no
40811fi
40812
40813        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5
40814$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; }
40815if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then :
40816  $as_echo_n "(cached) " >&6
40817else
40818  ac_check_lib_save_LIBS=$LIBS
40819LIBS="-lfcache  $LIBS"
40820cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821/* end confdefs.h.  */
40822
40823/* Override any GCC internal prototype to avoid an error.
40824   Use char because int might match the return type of a GCC
40825   builtin and then its argument prototype would still apply.  */
40826#ifdef __cplusplus
40827extern "C"
40828#endif
40829char libfcache_cache_value_clear ();
40830int
40831main ()
40832{
40833return libfcache_cache_value_clear ();
40834  ;
40835  return 0;
40836}
40837_ACEOF
40838if ac_fn_c_try_link "$LINENO"; then :
40839  ac_cv_lib_fcache_libfcache_cache_value_clear=yes
40840else
40841  ac_cv_lib_fcache_libfcache_cache_value_clear=no
40842fi
40843rm -f core conftest.err conftest.$ac_objext \
40844    conftest$ac_exeext conftest.$ac_ext
40845LIBS=$ac_check_lib_save_LIBS
40846fi
40847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5
40848$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; }
40849if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then :
40850  ac_cv_libfcache_dummy=yes
40851else
40852  ac_cv_libfcache=no
40853fi
40854
40855        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5
40856$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; }
40857if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then :
40858  $as_echo_n "(cached) " >&6
40859else
40860  ac_check_lib_save_LIBS=$LIBS
40861LIBS="-lfcache  $LIBS"
40862cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40863/* end confdefs.h.  */
40864
40865/* Override any GCC internal prototype to avoid an error.
40866   Use char because int might match the return type of a GCC
40867   builtin and then its argument prototype would still apply.  */
40868#ifdef __cplusplus
40869extern "C"
40870#endif
40871char libfcache_cache_value_get_identifier ();
40872int
40873main ()
40874{
40875return libfcache_cache_value_get_identifier ();
40876  ;
40877  return 0;
40878}
40879_ACEOF
40880if ac_fn_c_try_link "$LINENO"; then :
40881  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes
40882else
40883  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no
40884fi
40885rm -f core conftest.err conftest.$ac_objext \
40886    conftest$ac_exeext conftest.$ac_ext
40887LIBS=$ac_check_lib_save_LIBS
40888fi
40889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5
40890$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; }
40891if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then :
40892  ac_cv_libfcache_dummy=yes
40893else
40894  ac_cv_libfcache=no
40895fi
40896
40897        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5
40898$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; }
40899if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then :
40900  $as_echo_n "(cached) " >&6
40901else
40902  ac_check_lib_save_LIBS=$LIBS
40903LIBS="-lfcache  $LIBS"
40904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40905/* end confdefs.h.  */
40906
40907/* Override any GCC internal prototype to avoid an error.
40908   Use char because int might match the return type of a GCC
40909   builtin and then its argument prototype would still apply.  */
40910#ifdef __cplusplus
40911extern "C"
40912#endif
40913char libfcache_cache_value_set_identifier ();
40914int
40915main ()
40916{
40917return libfcache_cache_value_set_identifier ();
40918  ;
40919  return 0;
40920}
40921_ACEOF
40922if ac_fn_c_try_link "$LINENO"; then :
40923  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes
40924else
40925  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no
40926fi
40927rm -f core conftest.err conftest.$ac_objext \
40928    conftest$ac_exeext conftest.$ac_ext
40929LIBS=$ac_check_lib_save_LIBS
40930fi
40931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5
40932$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; }
40933if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then :
40934  ac_cv_libfcache_dummy=yes
40935else
40936  ac_cv_libfcache=no
40937fi
40938
40939        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5
40940$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; }
40941if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then :
40942  $as_echo_n "(cached) " >&6
40943else
40944  ac_check_lib_save_LIBS=$LIBS
40945LIBS="-lfcache  $LIBS"
40946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40947/* end confdefs.h.  */
40948
40949/* Override any GCC internal prototype to avoid an error.
40950   Use char because int might match the return type of a GCC
40951   builtin and then its argument prototype would still apply.  */
40952#ifdef __cplusplus
40953extern "C"
40954#endif
40955char libfcache_cache_value_get_value ();
40956int
40957main ()
40958{
40959return libfcache_cache_value_get_value ();
40960  ;
40961  return 0;
40962}
40963_ACEOF
40964if ac_fn_c_try_link "$LINENO"; then :
40965  ac_cv_lib_fcache_libfcache_cache_value_get_value=yes
40966else
40967  ac_cv_lib_fcache_libfcache_cache_value_get_value=no
40968fi
40969rm -f core conftest.err conftest.$ac_objext \
40970    conftest$ac_exeext conftest.$ac_ext
40971LIBS=$ac_check_lib_save_LIBS
40972fi
40973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5
40974$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; }
40975if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then :
40976  ac_cv_libfcache_dummy=yes
40977else
40978  ac_cv_libfcache=no
40979fi
40980
40981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5
40982$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; }
40983if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then :
40984  $as_echo_n "(cached) " >&6
40985else
40986  ac_check_lib_save_LIBS=$LIBS
40987LIBS="-lfcache  $LIBS"
40988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40989/* end confdefs.h.  */
40990
40991/* Override any GCC internal prototype to avoid an error.
40992   Use char because int might match the return type of a GCC
40993   builtin and then its argument prototype would still apply.  */
40994#ifdef __cplusplus
40995extern "C"
40996#endif
40997char libfcache_cache_value_set_value ();
40998int
40999main ()
41000{
41001return libfcache_cache_value_set_value ();
41002  ;
41003  return 0;
41004}
41005_ACEOF
41006if ac_fn_c_try_link "$LINENO"; then :
41007  ac_cv_lib_fcache_libfcache_cache_value_set_value=yes
41008else
41009  ac_cv_lib_fcache_libfcache_cache_value_set_value=no
41010fi
41011rm -f core conftest.err conftest.$ac_objext \
41012    conftest$ac_exeext conftest.$ac_ext
41013LIBS=$ac_check_lib_save_LIBS
41014fi
41015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5
41016$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; }
41017if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then :
41018  ac_cv_libfcache_dummy=yes
41019else
41020  ac_cv_libfcache=no
41021fi
41022
41023
41024                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5
41025$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; }
41026if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then :
41027  $as_echo_n "(cached) " >&6
41028else
41029  ac_check_lib_save_LIBS=$LIBS
41030LIBS="-lfcache  $LIBS"
41031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41032/* end confdefs.h.  */
41033
41034/* Override any GCC internal prototype to avoid an error.
41035   Use char because int might match the return type of a GCC
41036   builtin and then its argument prototype would still apply.  */
41037#ifdef __cplusplus
41038extern "C"
41039#endif
41040char libfcache_date_time_get_timestamp ();
41041int
41042main ()
41043{
41044return libfcache_date_time_get_timestamp ();
41045  ;
41046  return 0;
41047}
41048_ACEOF
41049if ac_fn_c_try_link "$LINENO"; then :
41050  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes
41051else
41052  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no
41053fi
41054rm -f core conftest.err conftest.$ac_objext \
41055    conftest$ac_exeext conftest.$ac_ext
41056LIBS=$ac_check_lib_save_LIBS
41057fi
41058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5
41059$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; }
41060if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then :
41061  ac_cv_libfcache_dummy=yes
41062else
41063  ac_cv_libfcache=no
41064fi
41065
41066
41067        ac_cv_libfcache_LIBADD="-lfcache"
41068fi
41069
41070fi
41071    if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then :
41072  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41074as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache
41075See \`config.log' for more details" "$LINENO" 5; }
41076
41077fi
41078
41079fi
41080
41081  if test "x$ac_cv_libfcache" = xyes; then :
41082
41083$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h
41084
41085
41086fi
41087
41088  if test "x$ac_cv_libfcache" = xyes; then :
41089  HAVE_LIBFCACHE=1
41090
41091else
41092  HAVE_LIBFCACHE=0
41093
41094
41095fi
41096
41097
41098    if test "x$ac_cv_libfcache" != xyes; then :
41099    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
41100$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
41101if ${ac_cv_struct_tm+:} false; then :
41102  $as_echo_n "(cached) " >&6
41103else
41104  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41105/* end confdefs.h.  */
41106#include <sys/types.h>
41107#include <time.h>
41108
41109int
41110main ()
41111{
41112struct tm tm;
41113				     int *p = &tm.tm_sec;
41114				     return !p;
41115  ;
41116  return 0;
41117}
41118_ACEOF
41119if ac_fn_c_try_compile "$LINENO"; then :
41120  ac_cv_struct_tm=time.h
41121else
41122  ac_cv_struct_tm=sys/time.h
41123fi
41124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41125fi
41126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
41127$as_echo "$ac_cv_struct_tm" >&6; }
41128if test $ac_cv_struct_tm = sys/time.h; then
41129
41130$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
41131
41132fi
41133
41134
41135    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
41136$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
41137if ${ac_cv_header_time+:} false; then :
41138  $as_echo_n "(cached) " >&6
41139else
41140  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41141/* end confdefs.h.  */
41142#include <sys/types.h>
41143#include <sys/time.h>
41144#include <time.h>
41145
41146int
41147main ()
41148{
41149if ((struct tm *) 0)
41150return 0;
41151  ;
41152  return 0;
41153}
41154_ACEOF
41155if ac_fn_c_try_compile "$LINENO"; then :
41156  ac_cv_header_time=yes
41157else
41158  ac_cv_header_time=no
41159fi
41160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41161fi
41162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
41163$as_echo "$ac_cv_header_time" >&6; }
41164if test $ac_cv_header_time = yes; then
41165
41166$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
41167
41168fi
41169
41170
41171    for ac_func in clock_gettime time
41172do :
41173  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41174ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41175if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
41176  cat >>confdefs.h <<_ACEOF
41177#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41178_ACEOF
41179
41180fi
41181done
41182
41183
41184  if test "x$ac_cv_func_time" != xyes; then :
41185  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41187as_fn_error 1 "Missing function: time
41188See \`config.log' for more details" "$LINENO" 5; }
41189
41190fi
41191
41192  ac_cv_libfcache_CPPFLAGS="-I../libfcache";
41193  ac_cv_libfcache_LIBADD="../libfcache/libfcache.la";
41194
41195  ac_cv_libfcache=local
41196
41197
41198
41199$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h
41200
41201    HAVE_LOCAL_LIBFCACHE=1
41202
41203
41204fi
41205
41206   if test "x$ac_cv_libfcache" = xlocal; then
41207  HAVE_LOCAL_LIBFCACHE_TRUE=
41208  HAVE_LOCAL_LIBFCACHE_FALSE='#'
41209else
41210  HAVE_LOCAL_LIBFCACHE_TRUE='#'
41211  HAVE_LOCAL_LIBFCACHE_FALSE=
41212fi
41213
41214  if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then :
41215  LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS
41216
41217
41218fi
41219  if test "x$ac_cv_libfcache_LIBADD" != "x"; then :
41220  LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD
41221
41222
41223fi
41224
41225  if test "x$ac_cv_libfcache" = xyes; then :
41226  ax_libfcache_pc_libs_private=-lfcache
41227
41228
41229fi
41230
41231  if test "x$ac_cv_libfcache" = xyes; then :
41232  ax_libfcache_spec_requires=libfcache
41233
41234    ax_libfcache_spec_build_requires=libfcache-devel
41235
41236
41237fi
41238
41239
41240
41241
41242# Check whether --with-libfdata was given.
41243if test "${with_libfdata+set}" = set; then :
41244  withval=$with_libfdata; ac_cv_with_libfdata=$withval
41245else
41246  ac_cv_with_libfdata=auto-detect
41247fi
41248
41249    { $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
41250$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; }
41251if ${ac_cv_with_libfdata+:} false; then :
41252  $as_echo_n "(cached) " >&6
41253else
41254  ac_cv_with_libfdata=auto-detect
41255fi
41256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5
41257$as_echo "$ac_cv_with_libfdata" >&6; }
41258
41259    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then :
41260  ac_cv_libfdata=no
41261else
41262  ac_cv_libfdata=check
41263        if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then :
41264  if test -d "$ac_cv_with_libfdata"; then :
41265  CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include"
41266        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib"
41267else
41268  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41270as_fn_error 1 "no such directory: $ac_cv_with_libfdata
41271See \`config.log' for more details" "$LINENO" 5; }
41272
41273fi
41274
41275else
41276        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
41277
41278pkg_failed=no
41279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5
41280$as_echo_n "checking for libfdata... " >&6; }
41281
41282if test -n "$libfdata_CFLAGS"; then
41283    pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS"
41284 elif test -n "$PKG_CONFIG"; then
41285    if test -n "$PKG_CONFIG" && \
41286    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41287  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41288  ac_status=$?
41289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41290  test $ac_status = 0; }; then
41291  pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null`
41292		      test "x$?" != "x0" && pkg_failed=yes
41293else
41294  pkg_failed=yes
41295fi
41296 else
41297    pkg_failed=untried
41298fi
41299if test -n "$libfdata_LIBS"; then
41300    pkg_cv_libfdata_LIBS="$libfdata_LIBS"
41301 elif test -n "$PKG_CONFIG"; then
41302    if test -n "$PKG_CONFIG" && \
41303    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41304  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41305  ac_status=$?
41306  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41307  test $ac_status = 0; }; then
41308  pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null`
41309		      test "x$?" != "x0" && pkg_failed=yes
41310else
41311  pkg_failed=yes
41312fi
41313 else
41314    pkg_failed=untried
41315fi
41316
41317
41318
41319if test $pkg_failed = yes; then
41320   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41321$as_echo "no" >&6; }
41322
41323if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41324        _pkg_short_errors_supported=yes
41325else
41326        _pkg_short_errors_supported=no
41327fi
41328        if test $_pkg_short_errors_supported = yes; then
41329	        libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41330        else
41331	        libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41332        fi
41333	# Put the nasty error message in config.log where it belongs
41334	echo "$libfdata_PKG_ERRORS" >&5
41335
41336	ac_cv_libfdata=check
41337elif test $pkg_failed = untried; then
41338     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41339$as_echo "no" >&6; }
41340	ac_cv_libfdata=check
41341else
41342	libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS
41343	libfdata_LIBS=$pkg_cv_libfdata_LIBS
41344        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41345$as_echo "yes" >&6; }
41346	ac_cv_libfdata=yes
41347fi
41348
41349fi
41350      if test "x$ac_cv_libfdata" = xyes; then :
41351  ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS"
41352        ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS"
41353fi
41354
41355fi
41356
41357    if test "x$ac_cv_libfdata" = xcheck; then :
41358        for ac_header in libfdata.h
41359do :
41360  ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default"
41361if test "x$ac_cv_header_libfdata_h" = xyes; then :
41362  cat >>confdefs.h <<_ACEOF
41363#define HAVE_LIBFDATA_H 1
41364_ACEOF
41365
41366fi
41367
41368done
41369
41370
41371      if test "x$ac_cv_header_libfdata_h" = xno; then :
41372  ac_cv_libfdata=no
41373else
41374          ac_cv_libfdata=yes
41375
41376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5
41377$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; }
41378if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then :
41379  $as_echo_n "(cached) " >&6
41380else
41381  ac_check_lib_save_LIBS=$LIBS
41382LIBS="-lfdata  $LIBS"
41383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41384/* end confdefs.h.  */
41385
41386/* Override any GCC internal prototype to avoid an error.
41387   Use char because int might match the return type of a GCC
41388   builtin and then its argument prototype would still apply.  */
41389#ifdef __cplusplus
41390extern "C"
41391#endif
41392char libfdata_get_version ();
41393int
41394main ()
41395{
41396return libfdata_get_version ();
41397  ;
41398  return 0;
41399}
41400_ACEOF
41401if ac_fn_c_try_link "$LINENO"; then :
41402  ac_cv_lib_fdata_libfdata_get_version=yes
41403else
41404  ac_cv_lib_fdata_libfdata_get_version=no
41405fi
41406rm -f core conftest.err conftest.$ac_objext \
41407    conftest$ac_exeext conftest.$ac_ext
41408LIBS=$ac_check_lib_save_LIBS
41409fi
41410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5
41411$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; }
41412if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then :
41413  ac_cv_libfdata_dummy=yes
41414else
41415  ac_cv_libfdata=no
41416fi
41417
41418
41419                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5
41420$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; }
41421if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then :
41422  $as_echo_n "(cached) " >&6
41423else
41424  ac_check_lib_save_LIBS=$LIBS
41425LIBS="-lfdata  $LIBS"
41426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41427/* end confdefs.h.  */
41428
41429/* Override any GCC internal prototype to avoid an error.
41430   Use char because int might match the return type of a GCC
41431   builtin and then its argument prototype would still apply.  */
41432#ifdef __cplusplus
41433extern "C"
41434#endif
41435char libfdata_area_initialize ();
41436int
41437main ()
41438{
41439return libfdata_area_initialize ();
41440  ;
41441  return 0;
41442}
41443_ACEOF
41444if ac_fn_c_try_link "$LINENO"; then :
41445  ac_cv_lib_fdata_libfdata_area_initialize=yes
41446else
41447  ac_cv_lib_fdata_libfdata_area_initialize=no
41448fi
41449rm -f core conftest.err conftest.$ac_objext \
41450    conftest$ac_exeext conftest.$ac_ext
41451LIBS=$ac_check_lib_save_LIBS
41452fi
41453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5
41454$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; }
41455if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then :
41456  ac_cv_libfdata_dummy=yes
41457else
41458  ac_cv_libfdata=no
41459fi
41460
41461        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5
41462$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; }
41463if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then :
41464  $as_echo_n "(cached) " >&6
41465else
41466  ac_check_lib_save_LIBS=$LIBS
41467LIBS="-lfdata  $LIBS"
41468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41469/* end confdefs.h.  */
41470
41471/* Override any GCC internal prototype to avoid an error.
41472   Use char because int might match the return type of a GCC
41473   builtin and then its argument prototype would still apply.  */
41474#ifdef __cplusplus
41475extern "C"
41476#endif
41477char libfdata_area_free ();
41478int
41479main ()
41480{
41481return libfdata_area_free ();
41482  ;
41483  return 0;
41484}
41485_ACEOF
41486if ac_fn_c_try_link "$LINENO"; then :
41487  ac_cv_lib_fdata_libfdata_area_free=yes
41488else
41489  ac_cv_lib_fdata_libfdata_area_free=no
41490fi
41491rm -f core conftest.err conftest.$ac_objext \
41492    conftest$ac_exeext conftest.$ac_ext
41493LIBS=$ac_check_lib_save_LIBS
41494fi
41495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5
41496$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; }
41497if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then :
41498  ac_cv_libfdata_dummy=yes
41499else
41500  ac_cv_libfdata=no
41501fi
41502
41503        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5
41504$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; }
41505if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then :
41506  $as_echo_n "(cached) " >&6
41507else
41508  ac_check_lib_save_LIBS=$LIBS
41509LIBS="-lfdata  $LIBS"
41510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511/* end confdefs.h.  */
41512
41513/* Override any GCC internal prototype to avoid an error.
41514   Use char because int might match the return type of a GCC
41515   builtin and then its argument prototype would still apply.  */
41516#ifdef __cplusplus
41517extern "C"
41518#endif
41519char libfdata_area_clone ();
41520int
41521main ()
41522{
41523return libfdata_area_clone ();
41524  ;
41525  return 0;
41526}
41527_ACEOF
41528if ac_fn_c_try_link "$LINENO"; then :
41529  ac_cv_lib_fdata_libfdata_area_clone=yes
41530else
41531  ac_cv_lib_fdata_libfdata_area_clone=no
41532fi
41533rm -f core conftest.err conftest.$ac_objext \
41534    conftest$ac_exeext conftest.$ac_ext
41535LIBS=$ac_check_lib_save_LIBS
41536fi
41537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5
41538$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; }
41539if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then :
41540  ac_cv_libfdata_dummy=yes
41541else
41542  ac_cv_libfdata=no
41543fi
41544
41545        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5
41546$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; }
41547if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then :
41548  $as_echo_n "(cached) " >&6
41549else
41550  ac_check_lib_save_LIBS=$LIBS
41551LIBS="-lfdata  $LIBS"
41552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41553/* end confdefs.h.  */
41554
41555/* Override any GCC internal prototype to avoid an error.
41556   Use char because int might match the return type of a GCC
41557   builtin and then its argument prototype would still apply.  */
41558#ifdef __cplusplus
41559extern "C"
41560#endif
41561char libfdata_area_empty ();
41562int
41563main ()
41564{
41565return libfdata_area_empty ();
41566  ;
41567  return 0;
41568}
41569_ACEOF
41570if ac_fn_c_try_link "$LINENO"; then :
41571  ac_cv_lib_fdata_libfdata_area_empty=yes
41572else
41573  ac_cv_lib_fdata_libfdata_area_empty=no
41574fi
41575rm -f core conftest.err conftest.$ac_objext \
41576    conftest$ac_exeext conftest.$ac_ext
41577LIBS=$ac_check_lib_save_LIBS
41578fi
41579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5
41580$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; }
41581if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then :
41582  ac_cv_libfdata_dummy=yes
41583else
41584  ac_cv_libfdata=no
41585fi
41586
41587        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5
41588$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; }
41589if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then :
41590  $as_echo_n "(cached) " >&6
41591else
41592  ac_check_lib_save_LIBS=$LIBS
41593LIBS="-lfdata  $LIBS"
41594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41595/* end confdefs.h.  */
41596
41597/* Override any GCC internal prototype to avoid an error.
41598   Use char because int might match the return type of a GCC
41599   builtin and then its argument prototype would still apply.  */
41600#ifdef __cplusplus
41601extern "C"
41602#endif
41603char libfdata_area_resize ();
41604int
41605main ()
41606{
41607return libfdata_area_resize ();
41608  ;
41609  return 0;
41610}
41611_ACEOF
41612if ac_fn_c_try_link "$LINENO"; then :
41613  ac_cv_lib_fdata_libfdata_area_resize=yes
41614else
41615  ac_cv_lib_fdata_libfdata_area_resize=no
41616fi
41617rm -f core conftest.err conftest.$ac_objext \
41618    conftest$ac_exeext conftest.$ac_ext
41619LIBS=$ac_check_lib_save_LIBS
41620fi
41621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5
41622$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; }
41623if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then :
41624  ac_cv_libfdata_dummy=yes
41625else
41626  ac_cv_libfdata=no
41627fi
41628
41629        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5
41630$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; }
41631if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then :
41632  $as_echo_n "(cached) " >&6
41633else
41634  ac_check_lib_save_LIBS=$LIBS
41635LIBS="-lfdata  $LIBS"
41636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637/* end confdefs.h.  */
41638
41639/* Override any GCC internal prototype to avoid an error.
41640   Use char because int might match the return type of a GCC
41641   builtin and then its argument prototype would still apply.  */
41642#ifdef __cplusplus
41643extern "C"
41644#endif
41645char libfdata_area_get_number_of_segments ();
41646int
41647main ()
41648{
41649return libfdata_area_get_number_of_segments ();
41650  ;
41651  return 0;
41652}
41653_ACEOF
41654if ac_fn_c_try_link "$LINENO"; then :
41655  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes
41656else
41657  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no
41658fi
41659rm -f core conftest.err conftest.$ac_objext \
41660    conftest$ac_exeext conftest.$ac_ext
41661LIBS=$ac_check_lib_save_LIBS
41662fi
41663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5
41664$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; }
41665if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then :
41666  ac_cv_libfdata_dummy=yes
41667else
41668  ac_cv_libfdata=no
41669fi
41670
41671        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5
41672$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; }
41673if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then :
41674  $as_echo_n "(cached) " >&6
41675else
41676  ac_check_lib_save_LIBS=$LIBS
41677LIBS="-lfdata  $LIBS"
41678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41679/* end confdefs.h.  */
41680
41681/* Override any GCC internal prototype to avoid an error.
41682   Use char because int might match the return type of a GCC
41683   builtin and then its argument prototype would still apply.  */
41684#ifdef __cplusplus
41685extern "C"
41686#endif
41687char libfdata_area_get_segment_by_index ();
41688int
41689main ()
41690{
41691return libfdata_area_get_segment_by_index ();
41692  ;
41693  return 0;
41694}
41695_ACEOF
41696if ac_fn_c_try_link "$LINENO"; then :
41697  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes
41698else
41699  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no
41700fi
41701rm -f core conftest.err conftest.$ac_objext \
41702    conftest$ac_exeext conftest.$ac_ext
41703LIBS=$ac_check_lib_save_LIBS
41704fi
41705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5
41706$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; }
41707if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then :
41708  ac_cv_libfdata_dummy=yes
41709else
41710  ac_cv_libfdata=no
41711fi
41712
41713        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5
41714$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; }
41715if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then :
41716  $as_echo_n "(cached) " >&6
41717else
41718  ac_check_lib_save_LIBS=$LIBS
41719LIBS="-lfdata  $LIBS"
41720cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41721/* end confdefs.h.  */
41722
41723/* Override any GCC internal prototype to avoid an error.
41724   Use char because int might match the return type of a GCC
41725   builtin and then its argument prototype would still apply.  */
41726#ifdef __cplusplus
41727extern "C"
41728#endif
41729char libfdata_area_set_segment_by_index ();
41730int
41731main ()
41732{
41733return libfdata_area_set_segment_by_index ();
41734  ;
41735  return 0;
41736}
41737_ACEOF
41738if ac_fn_c_try_link "$LINENO"; then :
41739  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes
41740else
41741  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no
41742fi
41743rm -f core conftest.err conftest.$ac_objext \
41744    conftest$ac_exeext conftest.$ac_ext
41745LIBS=$ac_check_lib_save_LIBS
41746fi
41747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5
41748$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; }
41749if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then :
41750  ac_cv_libfdata_dummy=yes
41751else
41752  ac_cv_libfdata=no
41753fi
41754
41755        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5
41756$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; }
41757if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then :
41758  $as_echo_n "(cached) " >&6
41759else
41760  ac_check_lib_save_LIBS=$LIBS
41761LIBS="-lfdata  $LIBS"
41762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41763/* end confdefs.h.  */
41764
41765/* Override any GCC internal prototype to avoid an error.
41766   Use char because int might match the return type of a GCC
41767   builtin and then its argument prototype would still apply.  */
41768#ifdef __cplusplus
41769extern "C"
41770#endif
41771char libfdata_area_prepend_segment ();
41772int
41773main ()
41774{
41775return libfdata_area_prepend_segment ();
41776  ;
41777  return 0;
41778}
41779_ACEOF
41780if ac_fn_c_try_link "$LINENO"; then :
41781  ac_cv_lib_fdata_libfdata_area_prepend_segment=yes
41782else
41783  ac_cv_lib_fdata_libfdata_area_prepend_segment=no
41784fi
41785rm -f core conftest.err conftest.$ac_objext \
41786    conftest$ac_exeext conftest.$ac_ext
41787LIBS=$ac_check_lib_save_LIBS
41788fi
41789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5
41790$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; }
41791if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then :
41792  ac_cv_libfdata_dummy=yes
41793else
41794  ac_cv_libfdata=no
41795fi
41796
41797        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5
41798$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; }
41799if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then :
41800  $as_echo_n "(cached) " >&6
41801else
41802  ac_check_lib_save_LIBS=$LIBS
41803LIBS="-lfdata  $LIBS"
41804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805/* end confdefs.h.  */
41806
41807/* Override any GCC internal prototype to avoid an error.
41808   Use char because int might match the return type of a GCC
41809   builtin and then its argument prototype would still apply.  */
41810#ifdef __cplusplus
41811extern "C"
41812#endif
41813char libfdata_area_append_segment ();
41814int
41815main ()
41816{
41817return libfdata_area_append_segment ();
41818  ;
41819  return 0;
41820}
41821_ACEOF
41822if ac_fn_c_try_link "$LINENO"; then :
41823  ac_cv_lib_fdata_libfdata_area_append_segment=yes
41824else
41825  ac_cv_lib_fdata_libfdata_area_append_segment=no
41826fi
41827rm -f core conftest.err conftest.$ac_objext \
41828    conftest$ac_exeext conftest.$ac_ext
41829LIBS=$ac_check_lib_save_LIBS
41830fi
41831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5
41832$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; }
41833if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then :
41834  ac_cv_libfdata_dummy=yes
41835else
41836  ac_cv_libfdata=no
41837fi
41838
41839        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5
41840$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; }
41841if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then :
41842  $as_echo_n "(cached) " >&6
41843else
41844  ac_check_lib_save_LIBS=$LIBS
41845LIBS="-lfdata  $LIBS"
41846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41847/* end confdefs.h.  */
41848
41849/* Override any GCC internal prototype to avoid an error.
41850   Use char because int might match the return type of a GCC
41851   builtin and then its argument prototype would still apply.  */
41852#ifdef __cplusplus
41853extern "C"
41854#endif
41855char libfdata_area_get_element_data_size ();
41856int
41857main ()
41858{
41859return libfdata_area_get_element_data_size ();
41860  ;
41861  return 0;
41862}
41863_ACEOF
41864if ac_fn_c_try_link "$LINENO"; then :
41865  ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes
41866else
41867  ac_cv_lib_fdata_libfdata_area_get_element_data_size=no
41868fi
41869rm -f core conftest.err conftest.$ac_objext \
41870    conftest$ac_exeext conftest.$ac_ext
41871LIBS=$ac_check_lib_save_LIBS
41872fi
41873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5
41874$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; }
41875if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then :
41876  ac_cv_libfdata_dummy=yes
41877else
41878  ac_cv_libfdata=no
41879fi
41880
41881        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5
41882$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; }
41883if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then :
41884  $as_echo_n "(cached) " >&6
41885else
41886  ac_check_lib_save_LIBS=$LIBS
41887LIBS="-lfdata  $LIBS"
41888cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41889/* end confdefs.h.  */
41890
41891/* Override any GCC internal prototype to avoid an error.
41892   Use char because int might match the return type of a GCC
41893   builtin and then its argument prototype would still apply.  */
41894#ifdef __cplusplus
41895extern "C"
41896#endif
41897char libfdata_area_get_element_value_at_offset ();
41898int
41899main ()
41900{
41901return libfdata_area_get_element_value_at_offset ();
41902  ;
41903  return 0;
41904}
41905_ACEOF
41906if ac_fn_c_try_link "$LINENO"; then :
41907  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes
41908else
41909  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no
41910fi
41911rm -f core conftest.err conftest.$ac_objext \
41912    conftest$ac_exeext conftest.$ac_ext
41913LIBS=$ac_check_lib_save_LIBS
41914fi
41915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5
41916$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; }
41917if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then :
41918  ac_cv_libfdata_dummy=yes
41919else
41920  ac_cv_libfdata=no
41921fi
41922
41923        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5
41924$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; }
41925if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then :
41926  $as_echo_n "(cached) " >&6
41927else
41928  ac_check_lib_save_LIBS=$LIBS
41929LIBS="-lfdata  $LIBS"
41930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41931/* end confdefs.h.  */
41932
41933/* Override any GCC internal prototype to avoid an error.
41934   Use char because int might match the return type of a GCC
41935   builtin and then its argument prototype would still apply.  */
41936#ifdef __cplusplus
41937extern "C"
41938#endif
41939char libfdata_area_set_element_value_at_offset ();
41940int
41941main ()
41942{
41943return libfdata_area_set_element_value_at_offset ();
41944  ;
41945  return 0;
41946}
41947_ACEOF
41948if ac_fn_c_try_link "$LINENO"; then :
41949  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes
41950else
41951  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no
41952fi
41953rm -f core conftest.err conftest.$ac_objext \
41954    conftest$ac_exeext conftest.$ac_ext
41955LIBS=$ac_check_lib_save_LIBS
41956fi
41957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5
41958$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; }
41959if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then :
41960  ac_cv_libfdata_dummy=yes
41961else
41962  ac_cv_libfdata=no
41963fi
41964
41965        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5
41966$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; }
41967if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then :
41968  $as_echo_n "(cached) " >&6
41969else
41970  ac_check_lib_save_LIBS=$LIBS
41971LIBS="-lfdata  $LIBS"
41972cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41973/* end confdefs.h.  */
41974
41975/* Override any GCC internal prototype to avoid an error.
41976   Use char because int might match the return type of a GCC
41977   builtin and then its argument prototype would still apply.  */
41978#ifdef __cplusplus
41979extern "C"
41980#endif
41981char libfdata_area_get_size ();
41982int
41983main ()
41984{
41985return libfdata_area_get_size ();
41986  ;
41987  return 0;
41988}
41989_ACEOF
41990if ac_fn_c_try_link "$LINENO"; then :
41991  ac_cv_lib_fdata_libfdata_area_get_size=yes
41992else
41993  ac_cv_lib_fdata_libfdata_area_get_size=no
41994fi
41995rm -f core conftest.err conftest.$ac_objext \
41996    conftest$ac_exeext conftest.$ac_ext
41997LIBS=$ac_check_lib_save_LIBS
41998fi
41999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5
42000$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; }
42001if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then :
42002  ac_cv_libfdata_dummy=yes
42003else
42004  ac_cv_libfdata=no
42005fi
42006
42007
42008
42009                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5
42010$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; }
42011if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then :
42012  $as_echo_n "(cached) " >&6
42013else
42014  ac_check_lib_save_LIBS=$LIBS
42015LIBS="-lfdata  $LIBS"
42016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017/* end confdefs.h.  */
42018
42019/* Override any GCC internal prototype to avoid an error.
42020   Use char because int might match the return type of a GCC
42021   builtin and then its argument prototype would still apply.  */
42022#ifdef __cplusplus
42023extern "C"
42024#endif
42025char libfdata_list_initialize ();
42026int
42027main ()
42028{
42029return libfdata_list_initialize ();
42030  ;
42031  return 0;
42032}
42033_ACEOF
42034if ac_fn_c_try_link "$LINENO"; then :
42035  ac_cv_lib_fdata_libfdata_list_initialize=yes
42036else
42037  ac_cv_lib_fdata_libfdata_list_initialize=no
42038fi
42039rm -f core conftest.err conftest.$ac_objext \
42040    conftest$ac_exeext conftest.$ac_ext
42041LIBS=$ac_check_lib_save_LIBS
42042fi
42043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5
42044$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; }
42045if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then :
42046  ac_cv_libfdata_dummy=yes
42047else
42048  ac_cv_libfdata=no
42049fi
42050
42051        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5
42052$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; }
42053if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then :
42054  $as_echo_n "(cached) " >&6
42055else
42056  ac_check_lib_save_LIBS=$LIBS
42057LIBS="-lfdata  $LIBS"
42058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42059/* end confdefs.h.  */
42060
42061/* Override any GCC internal prototype to avoid an error.
42062   Use char because int might match the return type of a GCC
42063   builtin and then its argument prototype would still apply.  */
42064#ifdef __cplusplus
42065extern "C"
42066#endif
42067char libfdata_list_free ();
42068int
42069main ()
42070{
42071return libfdata_list_free ();
42072  ;
42073  return 0;
42074}
42075_ACEOF
42076if ac_fn_c_try_link "$LINENO"; then :
42077  ac_cv_lib_fdata_libfdata_list_free=yes
42078else
42079  ac_cv_lib_fdata_libfdata_list_free=no
42080fi
42081rm -f core conftest.err conftest.$ac_objext \
42082    conftest$ac_exeext conftest.$ac_ext
42083LIBS=$ac_check_lib_save_LIBS
42084fi
42085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5
42086$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; }
42087if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then :
42088  ac_cv_libfdata_dummy=yes
42089else
42090  ac_cv_libfdata=no
42091fi
42092
42093        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5
42094$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; }
42095if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then :
42096  $as_echo_n "(cached) " >&6
42097else
42098  ac_check_lib_save_LIBS=$LIBS
42099LIBS="-lfdata  $LIBS"
42100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42101/* end confdefs.h.  */
42102
42103/* Override any GCC internal prototype to avoid an error.
42104   Use char because int might match the return type of a GCC
42105   builtin and then its argument prototype would still apply.  */
42106#ifdef __cplusplus
42107extern "C"
42108#endif
42109char libfdata_list_clone ();
42110int
42111main ()
42112{
42113return libfdata_list_clone ();
42114  ;
42115  return 0;
42116}
42117_ACEOF
42118if ac_fn_c_try_link "$LINENO"; then :
42119  ac_cv_lib_fdata_libfdata_list_clone=yes
42120else
42121  ac_cv_lib_fdata_libfdata_list_clone=no
42122fi
42123rm -f core conftest.err conftest.$ac_objext \
42124    conftest$ac_exeext conftest.$ac_ext
42125LIBS=$ac_check_lib_save_LIBS
42126fi
42127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5
42128$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; }
42129if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then :
42130  ac_cv_libfdata_dummy=yes
42131else
42132  ac_cv_libfdata=no
42133fi
42134
42135        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5
42136$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; }
42137if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then :
42138  $as_echo_n "(cached) " >&6
42139else
42140  ac_check_lib_save_LIBS=$LIBS
42141LIBS="-lfdata  $LIBS"
42142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42143/* end confdefs.h.  */
42144
42145/* Override any GCC internal prototype to avoid an error.
42146   Use char because int might match the return type of a GCC
42147   builtin and then its argument prototype would still apply.  */
42148#ifdef __cplusplus
42149extern "C"
42150#endif
42151char libfdata_list_empty ();
42152int
42153main ()
42154{
42155return libfdata_list_empty ();
42156  ;
42157  return 0;
42158}
42159_ACEOF
42160if ac_fn_c_try_link "$LINENO"; then :
42161  ac_cv_lib_fdata_libfdata_list_empty=yes
42162else
42163  ac_cv_lib_fdata_libfdata_list_empty=no
42164fi
42165rm -f core conftest.err conftest.$ac_objext \
42166    conftest$ac_exeext conftest.$ac_ext
42167LIBS=$ac_check_lib_save_LIBS
42168fi
42169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5
42170$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; }
42171if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then :
42172  ac_cv_libfdata_dummy=yes
42173else
42174  ac_cv_libfdata=no
42175fi
42176
42177        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5
42178$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; }
42179if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then :
42180  $as_echo_n "(cached) " >&6
42181else
42182  ac_check_lib_save_LIBS=$LIBS
42183LIBS="-lfdata  $LIBS"
42184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42185/* end confdefs.h.  */
42186
42187/* Override any GCC internal prototype to avoid an error.
42188   Use char because int might match the return type of a GCC
42189   builtin and then its argument prototype would still apply.  */
42190#ifdef __cplusplus
42191extern "C"
42192#endif
42193char libfdata_list_resize ();
42194int
42195main ()
42196{
42197return libfdata_list_resize ();
42198  ;
42199  return 0;
42200}
42201_ACEOF
42202if ac_fn_c_try_link "$LINENO"; then :
42203  ac_cv_lib_fdata_libfdata_list_resize=yes
42204else
42205  ac_cv_lib_fdata_libfdata_list_resize=no
42206fi
42207rm -f core conftest.err conftest.$ac_objext \
42208    conftest$ac_exeext conftest.$ac_ext
42209LIBS=$ac_check_lib_save_LIBS
42210fi
42211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5
42212$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; }
42213if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then :
42214  ac_cv_libfdata_dummy=yes
42215else
42216  ac_cv_libfdata=no
42217fi
42218
42219
42220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5
42221$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; }
42222if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then :
42223  $as_echo_n "(cached) " >&6
42224else
42225  ac_check_lib_save_LIBS=$LIBS
42226LIBS="-lfdata  $LIBS"
42227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42228/* end confdefs.h.  */
42229
42230/* Override any GCC internal prototype to avoid an error.
42231   Use char because int might match the return type of a GCC
42232   builtin and then its argument prototype would still apply.  */
42233#ifdef __cplusplus
42234extern "C"
42235#endif
42236char libfdata_list_reverse ();
42237int
42238main ()
42239{
42240return libfdata_list_reverse ();
42241  ;
42242  return 0;
42243}
42244_ACEOF
42245if ac_fn_c_try_link "$LINENO"; then :
42246  ac_cv_lib_fdata_libfdata_list_reverse=yes
42247else
42248  ac_cv_lib_fdata_libfdata_list_reverse=no
42249fi
42250rm -f core conftest.err conftest.$ac_objext \
42251    conftest$ac_exeext conftest.$ac_ext
42252LIBS=$ac_check_lib_save_LIBS
42253fi
42254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5
42255$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; }
42256if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then :
42257  ac_cv_libfdata_dummy=yes
42258else
42259  ac_cv_libfdata=no
42260fi
42261
42262
42263        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5
42264$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; }
42265if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then :
42266  $as_echo_n "(cached) " >&6
42267else
42268  ac_check_lib_save_LIBS=$LIBS
42269LIBS="-lfdata  $LIBS"
42270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42271/* end confdefs.h.  */
42272
42273/* Override any GCC internal prototype to avoid an error.
42274   Use char because int might match the return type of a GCC
42275   builtin and then its argument prototype would still apply.  */
42276#ifdef __cplusplus
42277extern "C"
42278#endif
42279char libfdata_list_get_number_of_elements ();
42280int
42281main ()
42282{
42283return libfdata_list_get_number_of_elements ();
42284  ;
42285  return 0;
42286}
42287_ACEOF
42288if ac_fn_c_try_link "$LINENO"; then :
42289  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes
42290else
42291  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no
42292fi
42293rm -f core conftest.err conftest.$ac_objext \
42294    conftest$ac_exeext conftest.$ac_ext
42295LIBS=$ac_check_lib_save_LIBS
42296fi
42297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5
42298$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; }
42299if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then :
42300  ac_cv_libfdata_dummy=yes
42301else
42302  ac_cv_libfdata=no
42303fi
42304
42305        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5
42306$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; }
42307if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then :
42308  $as_echo_n "(cached) " >&6
42309else
42310  ac_check_lib_save_LIBS=$LIBS
42311LIBS="-lfdata  $LIBS"
42312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42313/* end confdefs.h.  */
42314
42315/* Override any GCC internal prototype to avoid an error.
42316   Use char because int might match the return type of a GCC
42317   builtin and then its argument prototype would still apply.  */
42318#ifdef __cplusplus
42319extern "C"
42320#endif
42321char libfdata_list_get_list_element_by_index ();
42322int
42323main ()
42324{
42325return libfdata_list_get_list_element_by_index ();
42326  ;
42327  return 0;
42328}
42329_ACEOF
42330if ac_fn_c_try_link "$LINENO"; then :
42331  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes
42332else
42333  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no
42334fi
42335rm -f core conftest.err conftest.$ac_objext \
42336    conftest$ac_exeext conftest.$ac_ext
42337LIBS=$ac_check_lib_save_LIBS
42338fi
42339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5
42340$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; }
42341if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then :
42342  ac_cv_libfdata_dummy=yes
42343else
42344  ac_cv_libfdata=no
42345fi
42346
42347        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5
42348$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; }
42349if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then :
42350  $as_echo_n "(cached) " >&6
42351else
42352  ac_check_lib_save_LIBS=$LIBS
42353LIBS="-lfdata  $LIBS"
42354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42355/* end confdefs.h.  */
42356
42357/* Override any GCC internal prototype to avoid an error.
42358   Use char because int might match the return type of a GCC
42359   builtin and then its argument prototype would still apply.  */
42360#ifdef __cplusplus
42361extern "C"
42362#endif
42363char libfdata_list_get_element_by_index ();
42364int
42365main ()
42366{
42367return libfdata_list_get_element_by_index ();
42368  ;
42369  return 0;
42370}
42371_ACEOF
42372if ac_fn_c_try_link "$LINENO"; then :
42373  ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes
42374else
42375  ac_cv_lib_fdata_libfdata_list_get_element_by_index=no
42376fi
42377rm -f core conftest.err conftest.$ac_objext \
42378    conftest$ac_exeext conftest.$ac_ext
42379LIBS=$ac_check_lib_save_LIBS
42380fi
42381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5
42382$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; }
42383if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then :
42384  ac_cv_libfdata_dummy=yes
42385else
42386  ac_cv_libfdata=no
42387fi
42388
42389        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5
42390$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; }
42391if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then :
42392  $as_echo_n "(cached) " >&6
42393else
42394  ac_check_lib_save_LIBS=$LIBS
42395LIBS="-lfdata  $LIBS"
42396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42397/* end confdefs.h.  */
42398
42399/* Override any GCC internal prototype to avoid an error.
42400   Use char because int might match the return type of a GCC
42401   builtin and then its argument prototype would still apply.  */
42402#ifdef __cplusplus
42403extern "C"
42404#endif
42405char libfdata_list_set_element_by_index ();
42406int
42407main ()
42408{
42409return libfdata_list_set_element_by_index ();
42410  ;
42411  return 0;
42412}
42413_ACEOF
42414if ac_fn_c_try_link "$LINENO"; then :
42415  ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes
42416else
42417  ac_cv_lib_fdata_libfdata_list_set_element_by_index=no
42418fi
42419rm -f core conftest.err conftest.$ac_objext \
42420    conftest$ac_exeext conftest.$ac_ext
42421LIBS=$ac_check_lib_save_LIBS
42422fi
42423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5
42424$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; }
42425if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then :
42426  ac_cv_libfdata_dummy=yes
42427else
42428  ac_cv_libfdata=no
42429fi
42430
42431        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5
42432$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; }
42433if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then :
42434  $as_echo_n "(cached) " >&6
42435else
42436  ac_check_lib_save_LIBS=$LIBS
42437LIBS="-lfdata  $LIBS"
42438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42439/* end confdefs.h.  */
42440
42441/* Override any GCC internal prototype to avoid an error.
42442   Use char because int might match the return type of a GCC
42443   builtin and then its argument prototype would still apply.  */
42444#ifdef __cplusplus
42445extern "C"
42446#endif
42447char libfdata_list_prepend_element ();
42448int
42449main ()
42450{
42451return libfdata_list_prepend_element ();
42452  ;
42453  return 0;
42454}
42455_ACEOF
42456if ac_fn_c_try_link "$LINENO"; then :
42457  ac_cv_lib_fdata_libfdata_list_prepend_element=yes
42458else
42459  ac_cv_lib_fdata_libfdata_list_prepend_element=no
42460fi
42461rm -f core conftest.err conftest.$ac_objext \
42462    conftest$ac_exeext conftest.$ac_ext
42463LIBS=$ac_check_lib_save_LIBS
42464fi
42465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5
42466$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; }
42467if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then :
42468  ac_cv_libfdata_dummy=yes
42469else
42470  ac_cv_libfdata=no
42471fi
42472
42473        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5
42474$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; }
42475if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then :
42476  $as_echo_n "(cached) " >&6
42477else
42478  ac_check_lib_save_LIBS=$LIBS
42479LIBS="-lfdata  $LIBS"
42480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42481/* end confdefs.h.  */
42482
42483/* Override any GCC internal prototype to avoid an error.
42484   Use char because int might match the return type of a GCC
42485   builtin and then its argument prototype would still apply.  */
42486#ifdef __cplusplus
42487extern "C"
42488#endif
42489char libfdata_list_append_element ();
42490int
42491main ()
42492{
42493return libfdata_list_append_element ();
42494  ;
42495  return 0;
42496}
42497_ACEOF
42498if ac_fn_c_try_link "$LINENO"; then :
42499  ac_cv_lib_fdata_libfdata_list_append_element=yes
42500else
42501  ac_cv_lib_fdata_libfdata_list_append_element=no
42502fi
42503rm -f core conftest.err conftest.$ac_objext \
42504    conftest$ac_exeext conftest.$ac_ext
42505LIBS=$ac_check_lib_save_LIBS
42506fi
42507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5
42508$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; }
42509if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then :
42510  ac_cv_libfdata_dummy=yes
42511else
42512  ac_cv_libfdata=no
42513fi
42514
42515        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5
42516$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; }
42517if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then :
42518  $as_echo_n "(cached) " >&6
42519else
42520  ac_check_lib_save_LIBS=$LIBS
42521LIBS="-lfdata  $LIBS"
42522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523/* end confdefs.h.  */
42524
42525/* Override any GCC internal prototype to avoid an error.
42526   Use char because int might match the return type of a GCC
42527   builtin and then its argument prototype would still apply.  */
42528#ifdef __cplusplus
42529extern "C"
42530#endif
42531char libfdata_list_append_list ();
42532int
42533main ()
42534{
42535return libfdata_list_append_list ();
42536  ;
42537  return 0;
42538}
42539_ACEOF
42540if ac_fn_c_try_link "$LINENO"; then :
42541  ac_cv_lib_fdata_libfdata_list_append_list=yes
42542else
42543  ac_cv_lib_fdata_libfdata_list_append_list=no
42544fi
42545rm -f core conftest.err conftest.$ac_objext \
42546    conftest$ac_exeext conftest.$ac_ext
42547LIBS=$ac_check_lib_save_LIBS
42548fi
42549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5
42550$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; }
42551if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then :
42552  ac_cv_libfdata_dummy=yes
42553else
42554  ac_cv_libfdata=no
42555fi
42556
42557        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5
42558$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; }
42559if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then :
42560  $as_echo_n "(cached) " >&6
42561else
42562  ac_check_lib_save_LIBS=$LIBS
42563LIBS="-lfdata  $LIBS"
42564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42565/* end confdefs.h.  */
42566
42567/* Override any GCC internal prototype to avoid an error.
42568   Use char because int might match the return type of a GCC
42569   builtin and then its argument prototype would still apply.  */
42570#ifdef __cplusplus
42571extern "C"
42572#endif
42573char libfdata_list_is_element_set ();
42574int
42575main ()
42576{
42577return libfdata_list_is_element_set ();
42578  ;
42579  return 0;
42580}
42581_ACEOF
42582if ac_fn_c_try_link "$LINENO"; then :
42583  ac_cv_lib_fdata_libfdata_list_is_element_set=yes
42584else
42585  ac_cv_lib_fdata_libfdata_list_is_element_set=no
42586fi
42587rm -f core conftest.err conftest.$ac_objext \
42588    conftest$ac_exeext conftest.$ac_ext
42589LIBS=$ac_check_lib_save_LIBS
42590fi
42591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5
42592$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; }
42593if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then :
42594  ac_cv_libfdata_dummy=yes
42595else
42596  ac_cv_libfdata=no
42597fi
42598
42599
42600        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5
42601$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; }
42602if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then :
42603  $as_echo_n "(cached) " >&6
42604else
42605  ac_check_lib_save_LIBS=$LIBS
42606LIBS="-lfdata  $LIBS"
42607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42608/* end confdefs.h.  */
42609
42610/* Override any GCC internal prototype to avoid an error.
42611   Use char because int might match the return type of a GCC
42612   builtin and then its argument prototype would still apply.  */
42613#ifdef __cplusplus
42614extern "C"
42615#endif
42616char libfdata_list_get_element_mapped_range ();
42617int
42618main ()
42619{
42620return libfdata_list_get_element_mapped_range ();
42621  ;
42622  return 0;
42623}
42624_ACEOF
42625if ac_fn_c_try_link "$LINENO"; then :
42626  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes
42627else
42628  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no
42629fi
42630rm -f core conftest.err conftest.$ac_objext \
42631    conftest$ac_exeext conftest.$ac_ext
42632LIBS=$ac_check_lib_save_LIBS
42633fi
42634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5
42635$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; }
42636if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then :
42637  ac_cv_libfdata_dummy=yes
42638else
42639  ac_cv_libfdata=no
42640fi
42641
42642        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5
42643$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; }
42644if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then :
42645  $as_echo_n "(cached) " >&6
42646else
42647  ac_check_lib_save_LIBS=$LIBS
42648LIBS="-lfdata  $LIBS"
42649cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42650/* end confdefs.h.  */
42651
42652/* Override any GCC internal prototype to avoid an error.
42653   Use char because int might match the return type of a GCC
42654   builtin and then its argument prototype would still apply.  */
42655#ifdef __cplusplus
42656extern "C"
42657#endif
42658char libfdata_list_get_mapped_offset ();
42659int
42660main ()
42661{
42662return libfdata_list_get_mapped_offset ();
42663  ;
42664  return 0;
42665}
42666_ACEOF
42667if ac_fn_c_try_link "$LINENO"; then :
42668  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes
42669else
42670  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no
42671fi
42672rm -f core conftest.err conftest.$ac_objext \
42673    conftest$ac_exeext conftest.$ac_ext
42674LIBS=$ac_check_lib_save_LIBS
42675fi
42676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5
42677$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; }
42678if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then :
42679  ac_cv_libfdata_dummy=yes
42680else
42681  ac_cv_libfdata=no
42682fi
42683
42684        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5
42685$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; }
42686if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then :
42687  $as_echo_n "(cached) " >&6
42688else
42689  ac_check_lib_save_LIBS=$LIBS
42690LIBS="-lfdata  $LIBS"
42691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42692/* end confdefs.h.  */
42693
42694/* Override any GCC internal prototype to avoid an error.
42695   Use char because int might match the return type of a GCC
42696   builtin and then its argument prototype would still apply.  */
42697#ifdef __cplusplus
42698extern "C"
42699#endif
42700char libfdata_list_set_mapped_offset ();
42701int
42702main ()
42703{
42704return libfdata_list_set_mapped_offset ();
42705  ;
42706  return 0;
42707}
42708_ACEOF
42709if ac_fn_c_try_link "$LINENO"; then :
42710  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes
42711else
42712  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no
42713fi
42714rm -f core conftest.err conftest.$ac_objext \
42715    conftest$ac_exeext conftest.$ac_ext
42716LIBS=$ac_check_lib_save_LIBS
42717fi
42718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5
42719$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; }
42720if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then :
42721  ac_cv_libfdata_dummy=yes
42722else
42723  ac_cv_libfdata=no
42724fi
42725
42726
42727        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5
42728$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; }
42729if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then :
42730  $as_echo_n "(cached) " >&6
42731else
42732  ac_check_lib_save_LIBS=$LIBS
42733LIBS="-lfdata  $LIBS"
42734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42735/* end confdefs.h.  */
42736
42737/* Override any GCC internal prototype to avoid an error.
42738   Use char because int might match the return type of a GCC
42739   builtin and then its argument prototype would still apply.  */
42740#ifdef __cplusplus
42741extern "C"
42742#endif
42743char libfdata_list_get_mapped_size_by_index ();
42744int
42745main ()
42746{
42747return libfdata_list_get_mapped_size_by_index ();
42748  ;
42749  return 0;
42750}
42751_ACEOF
42752if ac_fn_c_try_link "$LINENO"; then :
42753  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes
42754else
42755  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no
42756fi
42757rm -f core conftest.err conftest.$ac_objext \
42758    conftest$ac_exeext conftest.$ac_ext
42759LIBS=$ac_check_lib_save_LIBS
42760fi
42761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5
42762$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; }
42763if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then :
42764  ac_cv_libfdata_dummy=yes
42765else
42766  ac_cv_libfdata=no
42767fi
42768
42769        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5
42770$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; }
42771if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then :
42772  $as_echo_n "(cached) " >&6
42773else
42774  ac_check_lib_save_LIBS=$LIBS
42775LIBS="-lfdata  $LIBS"
42776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42777/* end confdefs.h.  */
42778
42779/* Override any GCC internal prototype to avoid an error.
42780   Use char because int might match the return type of a GCC
42781   builtin and then its argument prototype would still apply.  */
42782#ifdef __cplusplus
42783extern "C"
42784#endif
42785char libfdata_list_set_mapped_size_by_index ();
42786int
42787main ()
42788{
42789return libfdata_list_set_mapped_size_by_index ();
42790  ;
42791  return 0;
42792}
42793_ACEOF
42794if ac_fn_c_try_link "$LINENO"; then :
42795  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes
42796else
42797  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no
42798fi
42799rm -f core conftest.err conftest.$ac_objext \
42800    conftest$ac_exeext conftest.$ac_ext
42801LIBS=$ac_check_lib_save_LIBS
42802fi
42803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5
42804$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; }
42805if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then :
42806  ac_cv_libfdata_dummy=yes
42807else
42808  ac_cv_libfdata=no
42809fi
42810
42811        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5
42812$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; }
42813if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then :
42814  $as_echo_n "(cached) " >&6
42815else
42816  ac_check_lib_save_LIBS=$LIBS
42817LIBS="-lfdata  $LIBS"
42818cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42819/* end confdefs.h.  */
42820
42821/* Override any GCC internal prototype to avoid an error.
42822   Use char because int might match the return type of a GCC
42823   builtin and then its argument prototype would still apply.  */
42824#ifdef __cplusplus
42825extern "C"
42826#endif
42827char libfdata_list_get_element_by_index_with_mapped_size ();
42828int
42829main ()
42830{
42831return libfdata_list_get_element_by_index_with_mapped_size ();
42832  ;
42833  return 0;
42834}
42835_ACEOF
42836if ac_fn_c_try_link "$LINENO"; then :
42837  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes
42838else
42839  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no
42840fi
42841rm -f core conftest.err conftest.$ac_objext \
42842    conftest$ac_exeext conftest.$ac_ext
42843LIBS=$ac_check_lib_save_LIBS
42844fi
42845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5
42846$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; }
42847if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then :
42848  ac_cv_libfdata_dummy=yes
42849else
42850  ac_cv_libfdata=no
42851fi
42852
42853        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5
42854$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; }
42855if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then :
42856  $as_echo_n "(cached) " >&6
42857else
42858  ac_check_lib_save_LIBS=$LIBS
42859LIBS="-lfdata  $LIBS"
42860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42861/* end confdefs.h.  */
42862
42863/* Override any GCC internal prototype to avoid an error.
42864   Use char because int might match the return type of a GCC
42865   builtin and then its argument prototype would still apply.  */
42866#ifdef __cplusplus
42867extern "C"
42868#endif
42869char libfdata_list_set_element_by_index_with_mapped_size ();
42870int
42871main ()
42872{
42873return libfdata_list_set_element_by_index_with_mapped_size ();
42874  ;
42875  return 0;
42876}
42877_ACEOF
42878if ac_fn_c_try_link "$LINENO"; then :
42879  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes
42880else
42881  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no
42882fi
42883rm -f core conftest.err conftest.$ac_objext \
42884    conftest$ac_exeext conftest.$ac_ext
42885LIBS=$ac_check_lib_save_LIBS
42886fi
42887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5
42888$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; }
42889if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then :
42890  ac_cv_libfdata_dummy=yes
42891else
42892  ac_cv_libfdata=no
42893fi
42894
42895        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5
42896$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; }
42897if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then :
42898  $as_echo_n "(cached) " >&6
42899else
42900  ac_check_lib_save_LIBS=$LIBS
42901LIBS="-lfdata  $LIBS"
42902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42903/* end confdefs.h.  */
42904
42905/* Override any GCC internal prototype to avoid an error.
42906   Use char because int might match the return type of a GCC
42907   builtin and then its argument prototype would still apply.  */
42908#ifdef __cplusplus
42909extern "C"
42910#endif
42911char libfdata_list_append_element_with_mapped_size ();
42912int
42913main ()
42914{
42915return libfdata_list_append_element_with_mapped_size ();
42916  ;
42917  return 0;
42918}
42919_ACEOF
42920if ac_fn_c_try_link "$LINENO"; then :
42921  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes
42922else
42923  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no
42924fi
42925rm -f core conftest.err conftest.$ac_objext \
42926    conftest$ac_exeext conftest.$ac_ext
42927LIBS=$ac_check_lib_save_LIBS
42928fi
42929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5
42930$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; }
42931if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then :
42932  ac_cv_libfdata_dummy=yes
42933else
42934  ac_cv_libfdata=no
42935fi
42936
42937
42938        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5
42939$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; }
42940if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then :
42941  $as_echo_n "(cached) " >&6
42942else
42943  ac_check_lib_save_LIBS=$LIBS
42944LIBS="-lfdata  $LIBS"
42945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42946/* end confdefs.h.  */
42947
42948/* Override any GCC internal prototype to avoid an error.
42949   Use char because int might match the return type of a GCC
42950   builtin and then its argument prototype would still apply.  */
42951#ifdef __cplusplus
42952extern "C"
42953#endif
42954char libfdata_list_get_element_index_at_offset ();
42955int
42956main ()
42957{
42958return libfdata_list_get_element_index_at_offset ();
42959  ;
42960  return 0;
42961}
42962_ACEOF
42963if ac_fn_c_try_link "$LINENO"; then :
42964  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes
42965else
42966  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no
42967fi
42968rm -f core conftest.err conftest.$ac_objext \
42969    conftest$ac_exeext conftest.$ac_ext
42970LIBS=$ac_check_lib_save_LIBS
42971fi
42972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5
42973$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; }
42974if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then :
42975  ac_cv_libfdata_dummy=yes
42976else
42977  ac_cv_libfdata=no
42978fi
42979
42980        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5
42981$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; }
42982if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then :
42983  $as_echo_n "(cached) " >&6
42984else
42985  ac_check_lib_save_LIBS=$LIBS
42986LIBS="-lfdata  $LIBS"
42987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988/* end confdefs.h.  */
42989
42990/* Override any GCC internal prototype to avoid an error.
42991   Use char because int might match the return type of a GCC
42992   builtin and then its argument prototype would still apply.  */
42993#ifdef __cplusplus
42994extern "C"
42995#endif
42996char libfdata_list_get_list_element_at_offset ();
42997int
42998main ()
42999{
43000return libfdata_list_get_list_element_at_offset ();
43001  ;
43002  return 0;
43003}
43004_ACEOF
43005if ac_fn_c_try_link "$LINENO"; then :
43006  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes
43007else
43008  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no
43009fi
43010rm -f core conftest.err conftest.$ac_objext \
43011    conftest$ac_exeext conftest.$ac_ext
43012LIBS=$ac_check_lib_save_LIBS
43013fi
43014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5
43015$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; }
43016if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then :
43017  ac_cv_libfdata_dummy=yes
43018else
43019  ac_cv_libfdata=no
43020fi
43021
43022        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5
43023$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; }
43024if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then :
43025  $as_echo_n "(cached) " >&6
43026else
43027  ac_check_lib_save_LIBS=$LIBS
43028LIBS="-lfdata  $LIBS"
43029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43030/* end confdefs.h.  */
43031
43032/* Override any GCC internal prototype to avoid an error.
43033   Use char because int might match the return type of a GCC
43034   builtin and then its argument prototype would still apply.  */
43035#ifdef __cplusplus
43036extern "C"
43037#endif
43038char libfdata_list_get_element_at_offset ();
43039int
43040main ()
43041{
43042return libfdata_list_get_element_at_offset ();
43043  ;
43044  return 0;
43045}
43046_ACEOF
43047if ac_fn_c_try_link "$LINENO"; then :
43048  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes
43049else
43050  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no
43051fi
43052rm -f core conftest.err conftest.$ac_objext \
43053    conftest$ac_exeext conftest.$ac_ext
43054LIBS=$ac_check_lib_save_LIBS
43055fi
43056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5
43057$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; }
43058if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then :
43059  ac_cv_libfdata_dummy=yes
43060else
43061  ac_cv_libfdata=no
43062fi
43063
43064
43065        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5
43066$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; }
43067if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then :
43068  $as_echo_n "(cached) " >&6
43069else
43070  ac_check_lib_save_LIBS=$LIBS
43071LIBS="-lfdata  $LIBS"
43072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43073/* end confdefs.h.  */
43074
43075/* Override any GCC internal prototype to avoid an error.
43076   Use char because int might match the return type of a GCC
43077   builtin and then its argument prototype would still apply.  */
43078#ifdef __cplusplus
43079extern "C"
43080#endif
43081char libfdata_list_cache_element_value ();
43082int
43083main ()
43084{
43085return libfdata_list_cache_element_value ();
43086  ;
43087  return 0;
43088}
43089_ACEOF
43090if ac_fn_c_try_link "$LINENO"; then :
43091  ac_cv_lib_fdata_libfdata_list_cache_element_value=yes
43092else
43093  ac_cv_lib_fdata_libfdata_list_cache_element_value=no
43094fi
43095rm -f core conftest.err conftest.$ac_objext \
43096    conftest$ac_exeext conftest.$ac_ext
43097LIBS=$ac_check_lib_save_LIBS
43098fi
43099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5
43100$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; }
43101if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then :
43102  ac_cv_libfdata_dummy=yes
43103else
43104  ac_cv_libfdata=no
43105fi
43106
43107        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5
43108$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; }
43109if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then :
43110  $as_echo_n "(cached) " >&6
43111else
43112  ac_check_lib_save_LIBS=$LIBS
43113LIBS="-lfdata  $LIBS"
43114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43115/* end confdefs.h.  */
43116
43117/* Override any GCC internal prototype to avoid an error.
43118   Use char because int might match the return type of a GCC
43119   builtin and then its argument prototype would still apply.  */
43120#ifdef __cplusplus
43121extern "C"
43122#endif
43123char libfdata_list_get_element_value_by_index ();
43124int
43125main ()
43126{
43127return libfdata_list_get_element_value_by_index ();
43128  ;
43129  return 0;
43130}
43131_ACEOF
43132if ac_fn_c_try_link "$LINENO"; then :
43133  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes
43134else
43135  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no
43136fi
43137rm -f core conftest.err conftest.$ac_objext \
43138    conftest$ac_exeext conftest.$ac_ext
43139LIBS=$ac_check_lib_save_LIBS
43140fi
43141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5
43142$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; }
43143if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then :
43144  ac_cv_libfdata_dummy=yes
43145else
43146  ac_cv_libfdata=no
43147fi
43148
43149        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5
43150$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; }
43151if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then :
43152  $as_echo_n "(cached) " >&6
43153else
43154  ac_check_lib_save_LIBS=$LIBS
43155LIBS="-lfdata  $LIBS"
43156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43157/* end confdefs.h.  */
43158
43159/* Override any GCC internal prototype to avoid an error.
43160   Use char because int might match the return type of a GCC
43161   builtin and then its argument prototype would still apply.  */
43162#ifdef __cplusplus
43163extern "C"
43164#endif
43165char libfdata_list_get_element_value_at_offset ();
43166int
43167main ()
43168{
43169return libfdata_list_get_element_value_at_offset ();
43170  ;
43171  return 0;
43172}
43173_ACEOF
43174if ac_fn_c_try_link "$LINENO"; then :
43175  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes
43176else
43177  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no
43178fi
43179rm -f core conftest.err conftest.$ac_objext \
43180    conftest$ac_exeext conftest.$ac_ext
43181LIBS=$ac_check_lib_save_LIBS
43182fi
43183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5
43184$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; }
43185if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then :
43186  ac_cv_libfdata_dummy=yes
43187else
43188  ac_cv_libfdata=no
43189fi
43190
43191        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5
43192$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; }
43193if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then :
43194  $as_echo_n "(cached) " >&6
43195else
43196  ac_check_lib_save_LIBS=$LIBS
43197LIBS="-lfdata  $LIBS"
43198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43199/* end confdefs.h.  */
43200
43201/* Override any GCC internal prototype to avoid an error.
43202   Use char because int might match the return type of a GCC
43203   builtin and then its argument prototype would still apply.  */
43204#ifdef __cplusplus
43205extern "C"
43206#endif
43207char libfdata_list_set_element_value_by_index ();
43208int
43209main ()
43210{
43211return libfdata_list_set_element_value_by_index ();
43212  ;
43213  return 0;
43214}
43215_ACEOF
43216if ac_fn_c_try_link "$LINENO"; then :
43217  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes
43218else
43219  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no
43220fi
43221rm -f core conftest.err conftest.$ac_objext \
43222    conftest$ac_exeext conftest.$ac_ext
43223LIBS=$ac_check_lib_save_LIBS
43224fi
43225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5
43226$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; }
43227if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then :
43228  ac_cv_libfdata_dummy=yes
43229else
43230  ac_cv_libfdata=no
43231fi
43232
43233
43234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5
43235$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; }
43236if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then :
43237  $as_echo_n "(cached) " >&6
43238else
43239  ac_check_lib_save_LIBS=$LIBS
43240LIBS="-lfdata  $LIBS"
43241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43242/* end confdefs.h.  */
43243
43244/* Override any GCC internal prototype to avoid an error.
43245   Use char because int might match the return type of a GCC
43246   builtin and then its argument prototype would still apply.  */
43247#ifdef __cplusplus
43248extern "C"
43249#endif
43250char libfdata_list_set_element_value_at_offset ();
43251int
43252main ()
43253{
43254return libfdata_list_set_element_value_at_offset ();
43255  ;
43256  return 0;
43257}
43258_ACEOF
43259if ac_fn_c_try_link "$LINENO"; then :
43260  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes
43261else
43262  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no
43263fi
43264rm -f core conftest.err conftest.$ac_objext \
43265    conftest$ac_exeext conftest.$ac_ext
43266LIBS=$ac_check_lib_save_LIBS
43267fi
43268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5
43269$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; }
43270if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then :
43271  ac_cv_libfdata_dummy=yes
43272else
43273  ac_cv_libfdata=no
43274fi
43275
43276        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5
43277$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; }
43278if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then :
43279  $as_echo_n "(cached) " >&6
43280else
43281  ac_check_lib_save_LIBS=$LIBS
43282LIBS="-lfdata  $LIBS"
43283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43284/* end confdefs.h.  */
43285
43286/* Override any GCC internal prototype to avoid an error.
43287   Use char because int might match the return type of a GCC
43288   builtin and then its argument prototype would still apply.  */
43289#ifdef __cplusplus
43290extern "C"
43291#endif
43292char libfdata_list_get_size ();
43293int
43294main ()
43295{
43296return libfdata_list_get_size ();
43297  ;
43298  return 0;
43299}
43300_ACEOF
43301if ac_fn_c_try_link "$LINENO"; then :
43302  ac_cv_lib_fdata_libfdata_list_get_size=yes
43303else
43304  ac_cv_lib_fdata_libfdata_list_get_size=no
43305fi
43306rm -f core conftest.err conftest.$ac_objext \
43307    conftest$ac_exeext conftest.$ac_ext
43308LIBS=$ac_check_lib_save_LIBS
43309fi
43310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5
43311$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; }
43312if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then :
43313  ac_cv_libfdata_dummy=yes
43314else
43315  ac_cv_libfdata=no
43316fi
43317
43318
43319        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43320$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43321if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43322  $as_echo_n "(cached) " >&6
43323else
43324  ac_check_lib_save_LIBS=$LIBS
43325LIBS="-lfdata  $LIBS"
43326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43327/* end confdefs.h.  */
43328
43329/* Override any GCC internal prototype to avoid an error.
43330   Use char because int might match the return type of a GCC
43331   builtin and then its argument prototype would still apply.  */
43332#ifdef __cplusplus
43333extern "C"
43334#endif
43335char libfdata_list_element_get_mapped_size ();
43336int
43337main ()
43338{
43339return libfdata_list_element_get_mapped_size ();
43340  ;
43341  return 0;
43342}
43343_ACEOF
43344if ac_fn_c_try_link "$LINENO"; then :
43345  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43346else
43347  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43348fi
43349rm -f core conftest.err conftest.$ac_objext \
43350    conftest$ac_exeext conftest.$ac_ext
43351LIBS=$ac_check_lib_save_LIBS
43352fi
43353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43354$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43355if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43356  ac_cv_libfdata_dummy=yes
43357else
43358  ac_cv_libfdata=no
43359fi
43360
43361        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43362$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43363if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43364  $as_echo_n "(cached) " >&6
43365else
43366  ac_check_lib_save_LIBS=$LIBS
43367LIBS="-lfdata  $LIBS"
43368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43369/* end confdefs.h.  */
43370
43371/* Override any GCC internal prototype to avoid an error.
43372   Use char because int might match the return type of a GCC
43373   builtin and then its argument prototype would still apply.  */
43374#ifdef __cplusplus
43375extern "C"
43376#endif
43377char libfdata_list_element_set_mapped_size ();
43378int
43379main ()
43380{
43381return libfdata_list_element_set_mapped_size ();
43382  ;
43383  return 0;
43384}
43385_ACEOF
43386if ac_fn_c_try_link "$LINENO"; then :
43387  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43388else
43389  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43390fi
43391rm -f core conftest.err conftest.$ac_objext \
43392    conftest$ac_exeext conftest.$ac_ext
43393LIBS=$ac_check_lib_save_LIBS
43394fi
43395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43396$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43397if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43398  ac_cv_libfdata_dummy=yes
43399else
43400  ac_cv_libfdata=no
43401fi
43402
43403        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43404$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43405if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43406  $as_echo_n "(cached) " >&6
43407else
43408  ac_check_lib_save_LIBS=$LIBS
43409LIBS="-lfdata  $LIBS"
43410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43411/* end confdefs.h.  */
43412
43413/* Override any GCC internal prototype to avoid an error.
43414   Use char because int might match the return type of a GCC
43415   builtin and then its argument prototype would still apply.  */
43416#ifdef __cplusplus
43417extern "C"
43418#endif
43419char libfdata_list_element_get_element_value ();
43420int
43421main ()
43422{
43423return libfdata_list_element_get_element_value ();
43424  ;
43425  return 0;
43426}
43427_ACEOF
43428if ac_fn_c_try_link "$LINENO"; then :
43429  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43430else
43431  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43432fi
43433rm -f core conftest.err conftest.$ac_objext \
43434    conftest$ac_exeext conftest.$ac_ext
43435LIBS=$ac_check_lib_save_LIBS
43436fi
43437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43438$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43439if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43440  ac_cv_libfdata_dummy=yes
43441else
43442  ac_cv_libfdata=no
43443fi
43444
43445        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43446$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43447if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43448  $as_echo_n "(cached) " >&6
43449else
43450  ac_check_lib_save_LIBS=$LIBS
43451LIBS="-lfdata  $LIBS"
43452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453/* end confdefs.h.  */
43454
43455/* Override any GCC internal prototype to avoid an error.
43456   Use char because int might match the return type of a GCC
43457   builtin and then its argument prototype would still apply.  */
43458#ifdef __cplusplus
43459extern "C"
43460#endif
43461char libfdata_list_element_set_element_value ();
43462int
43463main ()
43464{
43465return libfdata_list_element_set_element_value ();
43466  ;
43467  return 0;
43468}
43469_ACEOF
43470if ac_fn_c_try_link "$LINENO"; then :
43471  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43472else
43473  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43474fi
43475rm -f core conftest.err conftest.$ac_objext \
43476    conftest$ac_exeext conftest.$ac_ext
43477LIBS=$ac_check_lib_save_LIBS
43478fi
43479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43480$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43481if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43482  ac_cv_libfdata_dummy=yes
43483else
43484  ac_cv_libfdata=no
43485fi
43486
43487
43488                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43489$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43490if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43491  $as_echo_n "(cached) " >&6
43492else
43493  ac_check_lib_save_LIBS=$LIBS
43494LIBS="-lfdata  $LIBS"
43495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43496/* end confdefs.h.  */
43497
43498/* Override any GCC internal prototype to avoid an error.
43499   Use char because int might match the return type of a GCC
43500   builtin and then its argument prototype would still apply.  */
43501#ifdef __cplusplus
43502extern "C"
43503#endif
43504char libfdata_list_element_get_mapped_size ();
43505int
43506main ()
43507{
43508return libfdata_list_element_get_mapped_size ();
43509  ;
43510  return 0;
43511}
43512_ACEOF
43513if ac_fn_c_try_link "$LINENO"; then :
43514  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43515else
43516  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43517fi
43518rm -f core conftest.err conftest.$ac_objext \
43519    conftest$ac_exeext conftest.$ac_ext
43520LIBS=$ac_check_lib_save_LIBS
43521fi
43522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43523$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43524if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43525  ac_cv_libfdata_dummy=yes
43526else
43527  ac_cv_libfdata=no
43528fi
43529
43530        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43531$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43532if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43533  $as_echo_n "(cached) " >&6
43534else
43535  ac_check_lib_save_LIBS=$LIBS
43536LIBS="-lfdata  $LIBS"
43537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538/* end confdefs.h.  */
43539
43540/* Override any GCC internal prototype to avoid an error.
43541   Use char because int might match the return type of a GCC
43542   builtin and then its argument prototype would still apply.  */
43543#ifdef __cplusplus
43544extern "C"
43545#endif
43546char libfdata_list_element_set_mapped_size ();
43547int
43548main ()
43549{
43550return libfdata_list_element_set_mapped_size ();
43551  ;
43552  return 0;
43553}
43554_ACEOF
43555if ac_fn_c_try_link "$LINENO"; then :
43556  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43557else
43558  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43559fi
43560rm -f core conftest.err conftest.$ac_objext \
43561    conftest$ac_exeext conftest.$ac_ext
43562LIBS=$ac_check_lib_save_LIBS
43563fi
43564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43565$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43566if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43567  ac_cv_libfdata_dummy=yes
43568else
43569  ac_cv_libfdata=no
43570fi
43571
43572        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43573$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43574if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43575  $as_echo_n "(cached) " >&6
43576else
43577  ac_check_lib_save_LIBS=$LIBS
43578LIBS="-lfdata  $LIBS"
43579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43580/* end confdefs.h.  */
43581
43582/* Override any GCC internal prototype to avoid an error.
43583   Use char because int might match the return type of a GCC
43584   builtin and then its argument prototype would still apply.  */
43585#ifdef __cplusplus
43586extern "C"
43587#endif
43588char libfdata_list_element_get_element_value ();
43589int
43590main ()
43591{
43592return libfdata_list_element_get_element_value ();
43593  ;
43594  return 0;
43595}
43596_ACEOF
43597if ac_fn_c_try_link "$LINENO"; then :
43598  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43599else
43600  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43601fi
43602rm -f core conftest.err conftest.$ac_objext \
43603    conftest$ac_exeext conftest.$ac_ext
43604LIBS=$ac_check_lib_save_LIBS
43605fi
43606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43607$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43608if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43609  ac_cv_libfdata_dummy=yes
43610else
43611  ac_cv_libfdata=no
43612fi
43613
43614        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43615$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43616if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43617  $as_echo_n "(cached) " >&6
43618else
43619  ac_check_lib_save_LIBS=$LIBS
43620LIBS="-lfdata  $LIBS"
43621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43622/* end confdefs.h.  */
43623
43624/* Override any GCC internal prototype to avoid an error.
43625   Use char because int might match the return type of a GCC
43626   builtin and then its argument prototype would still apply.  */
43627#ifdef __cplusplus
43628extern "C"
43629#endif
43630char libfdata_list_element_set_element_value ();
43631int
43632main ()
43633{
43634return libfdata_list_element_set_element_value ();
43635  ;
43636  return 0;
43637}
43638_ACEOF
43639if ac_fn_c_try_link "$LINENO"; then :
43640  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43641else
43642  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43643fi
43644rm -f core conftest.err conftest.$ac_objext \
43645    conftest$ac_exeext conftest.$ac_ext
43646LIBS=$ac_check_lib_save_LIBS
43647fi
43648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43649$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43650if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43651  ac_cv_libfdata_dummy=yes
43652else
43653  ac_cv_libfdata=no
43654fi
43655
43656
43657
43658                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5
43659$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; }
43660if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then :
43661  $as_echo_n "(cached) " >&6
43662else
43663  ac_check_lib_save_LIBS=$LIBS
43664LIBS="-lfdata  $LIBS"
43665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43666/* end confdefs.h.  */
43667
43668/* Override any GCC internal prototype to avoid an error.
43669   Use char because int might match the return type of a GCC
43670   builtin and then its argument prototype would still apply.  */
43671#ifdef __cplusplus
43672extern "C"
43673#endif
43674char libfdata_stream_initialize ();
43675int
43676main ()
43677{
43678return libfdata_stream_initialize ();
43679  ;
43680  return 0;
43681}
43682_ACEOF
43683if ac_fn_c_try_link "$LINENO"; then :
43684  ac_cv_lib_fdata_libfdata_stream_initialize=yes
43685else
43686  ac_cv_lib_fdata_libfdata_stream_initialize=no
43687fi
43688rm -f core conftest.err conftest.$ac_objext \
43689    conftest$ac_exeext conftest.$ac_ext
43690LIBS=$ac_check_lib_save_LIBS
43691fi
43692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5
43693$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; }
43694if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then :
43695  ac_cv_libfdata_dummy=yes
43696else
43697  ac_cv_libfdata=no
43698fi
43699
43700        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5
43701$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; }
43702if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then :
43703  $as_echo_n "(cached) " >&6
43704else
43705  ac_check_lib_save_LIBS=$LIBS
43706LIBS="-lfdata  $LIBS"
43707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43708/* end confdefs.h.  */
43709
43710/* Override any GCC internal prototype to avoid an error.
43711   Use char because int might match the return type of a GCC
43712   builtin and then its argument prototype would still apply.  */
43713#ifdef __cplusplus
43714extern "C"
43715#endif
43716char libfdata_stream_free ();
43717int
43718main ()
43719{
43720return libfdata_stream_free ();
43721  ;
43722  return 0;
43723}
43724_ACEOF
43725if ac_fn_c_try_link "$LINENO"; then :
43726  ac_cv_lib_fdata_libfdata_stream_free=yes
43727else
43728  ac_cv_lib_fdata_libfdata_stream_free=no
43729fi
43730rm -f core conftest.err conftest.$ac_objext \
43731    conftest$ac_exeext conftest.$ac_ext
43732LIBS=$ac_check_lib_save_LIBS
43733fi
43734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5
43735$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; }
43736if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then :
43737  ac_cv_libfdata_dummy=yes
43738else
43739  ac_cv_libfdata=no
43740fi
43741
43742        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5
43743$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; }
43744if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then :
43745  $as_echo_n "(cached) " >&6
43746else
43747  ac_check_lib_save_LIBS=$LIBS
43748LIBS="-lfdata  $LIBS"
43749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43750/* end confdefs.h.  */
43751
43752/* Override any GCC internal prototype to avoid an error.
43753   Use char because int might match the return type of a GCC
43754   builtin and then its argument prototype would still apply.  */
43755#ifdef __cplusplus
43756extern "C"
43757#endif
43758char libfdata_stream_clone ();
43759int
43760main ()
43761{
43762return libfdata_stream_clone ();
43763  ;
43764  return 0;
43765}
43766_ACEOF
43767if ac_fn_c_try_link "$LINENO"; then :
43768  ac_cv_lib_fdata_libfdata_stream_clone=yes
43769else
43770  ac_cv_lib_fdata_libfdata_stream_clone=no
43771fi
43772rm -f core conftest.err conftest.$ac_objext \
43773    conftest$ac_exeext conftest.$ac_ext
43774LIBS=$ac_check_lib_save_LIBS
43775fi
43776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5
43777$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; }
43778if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then :
43779  ac_cv_libfdata_dummy=yes
43780else
43781  ac_cv_libfdata=no
43782fi
43783
43784
43785        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5
43786$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; }
43787if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then :
43788  $as_echo_n "(cached) " >&6
43789else
43790  ac_check_lib_save_LIBS=$LIBS
43791LIBS="-lfdata  $LIBS"
43792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43793/* end confdefs.h.  */
43794
43795/* Override any GCC internal prototype to avoid an error.
43796   Use char because int might match the return type of a GCC
43797   builtin and then its argument prototype would still apply.  */
43798#ifdef __cplusplus
43799extern "C"
43800#endif
43801char libfdata_stream_empty ();
43802int
43803main ()
43804{
43805return libfdata_stream_empty ();
43806  ;
43807  return 0;
43808}
43809_ACEOF
43810if ac_fn_c_try_link "$LINENO"; then :
43811  ac_cv_lib_fdata_libfdata_stream_empty=yes
43812else
43813  ac_cv_lib_fdata_libfdata_stream_empty=no
43814fi
43815rm -f core conftest.err conftest.$ac_objext \
43816    conftest$ac_exeext conftest.$ac_ext
43817LIBS=$ac_check_lib_save_LIBS
43818fi
43819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5
43820$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; }
43821if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then :
43822  ac_cv_libfdata_dummy=yes
43823else
43824  ac_cv_libfdata=no
43825fi
43826
43827        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5
43828$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; }
43829if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then :
43830  $as_echo_n "(cached) " >&6
43831else
43832  ac_check_lib_save_LIBS=$LIBS
43833LIBS="-lfdata  $LIBS"
43834cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43835/* end confdefs.h.  */
43836
43837/* Override any GCC internal prototype to avoid an error.
43838   Use char because int might match the return type of a GCC
43839   builtin and then its argument prototype would still apply.  */
43840#ifdef __cplusplus
43841extern "C"
43842#endif
43843char libfdata_stream_resize ();
43844int
43845main ()
43846{
43847return libfdata_stream_resize ();
43848  ;
43849  return 0;
43850}
43851_ACEOF
43852if ac_fn_c_try_link "$LINENO"; then :
43853  ac_cv_lib_fdata_libfdata_stream_resize=yes
43854else
43855  ac_cv_lib_fdata_libfdata_stream_resize=no
43856fi
43857rm -f core conftest.err conftest.$ac_objext \
43858    conftest$ac_exeext conftest.$ac_ext
43859LIBS=$ac_check_lib_save_LIBS
43860fi
43861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5
43862$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; }
43863if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then :
43864  ac_cv_libfdata_dummy=yes
43865else
43866  ac_cv_libfdata=no
43867fi
43868
43869        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5
43870$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; }
43871if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then :
43872  $as_echo_n "(cached) " >&6
43873else
43874  ac_check_lib_save_LIBS=$LIBS
43875LIBS="-lfdata  $LIBS"
43876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43877/* end confdefs.h.  */
43878
43879/* Override any GCC internal prototype to avoid an error.
43880   Use char because int might match the return type of a GCC
43881   builtin and then its argument prototype would still apply.  */
43882#ifdef __cplusplus
43883extern "C"
43884#endif
43885char libfdata_stream_reverse ();
43886int
43887main ()
43888{
43889return libfdata_stream_reverse ();
43890  ;
43891  return 0;
43892}
43893_ACEOF
43894if ac_fn_c_try_link "$LINENO"; then :
43895  ac_cv_lib_fdata_libfdata_stream_reverse=yes
43896else
43897  ac_cv_lib_fdata_libfdata_stream_reverse=no
43898fi
43899rm -f core conftest.err conftest.$ac_objext \
43900    conftest$ac_exeext conftest.$ac_ext
43901LIBS=$ac_check_lib_save_LIBS
43902fi
43903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5
43904$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; }
43905if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then :
43906  ac_cv_libfdata_dummy=yes
43907else
43908  ac_cv_libfdata=no
43909fi
43910
43911
43912        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5
43913$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; }
43914if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then :
43915  $as_echo_n "(cached) " >&6
43916else
43917  ac_check_lib_save_LIBS=$LIBS
43918LIBS="-lfdata  $LIBS"
43919cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43920/* end confdefs.h.  */
43921
43922/* Override any GCC internal prototype to avoid an error.
43923   Use char because int might match the return type of a GCC
43924   builtin and then its argument prototype would still apply.  */
43925#ifdef __cplusplus
43926extern "C"
43927#endif
43928char libfdata_stream_get_number_of_segments ();
43929int
43930main ()
43931{
43932return libfdata_stream_get_number_of_segments ();
43933  ;
43934  return 0;
43935}
43936_ACEOF
43937if ac_fn_c_try_link "$LINENO"; then :
43938  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes
43939else
43940  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no
43941fi
43942rm -f core conftest.err conftest.$ac_objext \
43943    conftest$ac_exeext conftest.$ac_ext
43944LIBS=$ac_check_lib_save_LIBS
43945fi
43946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5
43947$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; }
43948if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then :
43949  ac_cv_libfdata_dummy=yes
43950else
43951  ac_cv_libfdata=no
43952fi
43953
43954        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5
43955$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; }
43956if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then :
43957  $as_echo_n "(cached) " >&6
43958else
43959  ac_check_lib_save_LIBS=$LIBS
43960LIBS="-lfdata  $LIBS"
43961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43962/* end confdefs.h.  */
43963
43964/* Override any GCC internal prototype to avoid an error.
43965   Use char because int might match the return type of a GCC
43966   builtin and then its argument prototype would still apply.  */
43967#ifdef __cplusplus
43968extern "C"
43969#endif
43970char libfdata_stream_get_segment_by_index ();
43971int
43972main ()
43973{
43974return libfdata_stream_get_segment_by_index ();
43975  ;
43976  return 0;
43977}
43978_ACEOF
43979if ac_fn_c_try_link "$LINENO"; then :
43980  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes
43981else
43982  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no
43983fi
43984rm -f core conftest.err conftest.$ac_objext \
43985    conftest$ac_exeext conftest.$ac_ext
43986LIBS=$ac_check_lib_save_LIBS
43987fi
43988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5
43989$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; }
43990if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then :
43991  ac_cv_libfdata_dummy=yes
43992else
43993  ac_cv_libfdata=no
43994fi
43995
43996        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5
43997$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; }
43998if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then :
43999  $as_echo_n "(cached) " >&6
44000else
44001  ac_check_lib_save_LIBS=$LIBS
44002LIBS="-lfdata  $LIBS"
44003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44004/* end confdefs.h.  */
44005
44006/* Override any GCC internal prototype to avoid an error.
44007   Use char because int might match the return type of a GCC
44008   builtin and then its argument prototype would still apply.  */
44009#ifdef __cplusplus
44010extern "C"
44011#endif
44012char libfdata_stream_set_segment_by_index ();
44013int
44014main ()
44015{
44016return libfdata_stream_set_segment_by_index ();
44017  ;
44018  return 0;
44019}
44020_ACEOF
44021if ac_fn_c_try_link "$LINENO"; then :
44022  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes
44023else
44024  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no
44025fi
44026rm -f core conftest.err conftest.$ac_objext \
44027    conftest$ac_exeext conftest.$ac_ext
44028LIBS=$ac_check_lib_save_LIBS
44029fi
44030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5
44031$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; }
44032if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then :
44033  ac_cv_libfdata_dummy=yes
44034else
44035  ac_cv_libfdata=no
44036fi
44037
44038        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5
44039$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; }
44040if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then :
44041  $as_echo_n "(cached) " >&6
44042else
44043  ac_check_lib_save_LIBS=$LIBS
44044LIBS="-lfdata  $LIBS"
44045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44046/* end confdefs.h.  */
44047
44048/* Override any GCC internal prototype to avoid an error.
44049   Use char because int might match the return type of a GCC
44050   builtin and then its argument prototype would still apply.  */
44051#ifdef __cplusplus
44052extern "C"
44053#endif
44054char libfdata_stream_prepend_segment ();
44055int
44056main ()
44057{
44058return libfdata_stream_prepend_segment ();
44059  ;
44060  return 0;
44061}
44062_ACEOF
44063if ac_fn_c_try_link "$LINENO"; then :
44064  ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes
44065else
44066  ac_cv_lib_fdata_libfdata_stream_prepend_segment=no
44067fi
44068rm -f core conftest.err conftest.$ac_objext \
44069    conftest$ac_exeext conftest.$ac_ext
44070LIBS=$ac_check_lib_save_LIBS
44071fi
44072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5
44073$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; }
44074if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then :
44075  ac_cv_libfdata_dummy=yes
44076else
44077  ac_cv_libfdata=no
44078fi
44079
44080        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5
44081$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; }
44082if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then :
44083  $as_echo_n "(cached) " >&6
44084else
44085  ac_check_lib_save_LIBS=$LIBS
44086LIBS="-lfdata  $LIBS"
44087cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44088/* end confdefs.h.  */
44089
44090/* Override any GCC internal prototype to avoid an error.
44091   Use char because int might match the return type of a GCC
44092   builtin and then its argument prototype would still apply.  */
44093#ifdef __cplusplus
44094extern "C"
44095#endif
44096char libfdata_stream_append_segment ();
44097int
44098main ()
44099{
44100return libfdata_stream_append_segment ();
44101  ;
44102  return 0;
44103}
44104_ACEOF
44105if ac_fn_c_try_link "$LINENO"; then :
44106  ac_cv_lib_fdata_libfdata_stream_append_segment=yes
44107else
44108  ac_cv_lib_fdata_libfdata_stream_append_segment=no
44109fi
44110rm -f core conftest.err conftest.$ac_objext \
44111    conftest$ac_exeext conftest.$ac_ext
44112LIBS=$ac_check_lib_save_LIBS
44113fi
44114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5
44115$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; }
44116if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then :
44117  ac_cv_libfdata_dummy=yes
44118else
44119  ac_cv_libfdata=no
44120fi
44121
44122        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5
44123$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; }
44124if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then :
44125  $as_echo_n "(cached) " >&6
44126else
44127  ac_check_lib_save_LIBS=$LIBS
44128LIBS="-lfdata  $LIBS"
44129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130/* end confdefs.h.  */
44131
44132/* Override any GCC internal prototype to avoid an error.
44133   Use char because int might match the return type of a GCC
44134   builtin and then its argument prototype would still apply.  */
44135#ifdef __cplusplus
44136extern "C"
44137#endif
44138char libfdata_stream_set_mapped_size ();
44139int
44140main ()
44141{
44142return libfdata_stream_set_mapped_size ();
44143  ;
44144  return 0;
44145}
44146_ACEOF
44147if ac_fn_c_try_link "$LINENO"; then :
44148  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes
44149else
44150  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no
44151fi
44152rm -f core conftest.err conftest.$ac_objext \
44153    conftest$ac_exeext conftest.$ac_ext
44154LIBS=$ac_check_lib_save_LIBS
44155fi
44156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5
44157$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; }
44158if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then :
44159  ac_cv_libfdata_dummy=yes
44160else
44161  ac_cv_libfdata=no
44162fi
44163
44164
44165        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5
44166$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; }
44167if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then :
44168  $as_echo_n "(cached) " >&6
44169else
44170  ac_check_lib_save_LIBS=$LIBS
44171LIBS="-lfdata  $LIBS"
44172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44173/* end confdefs.h.  */
44174
44175/* Override any GCC internal prototype to avoid an error.
44176   Use char because int might match the return type of a GCC
44177   builtin and then its argument prototype would still apply.  */
44178#ifdef __cplusplus
44179extern "C"
44180#endif
44181char libfdata_stream_get_segment_mapped_range ();
44182int
44183main ()
44184{
44185return libfdata_stream_get_segment_mapped_range ();
44186  ;
44187  return 0;
44188}
44189_ACEOF
44190if ac_fn_c_try_link "$LINENO"; then :
44191  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes
44192else
44193  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no
44194fi
44195rm -f core conftest.err conftest.$ac_objext \
44196    conftest$ac_exeext conftest.$ac_ext
44197LIBS=$ac_check_lib_save_LIBS
44198fi
44199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5
44200$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; }
44201if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then :
44202  ac_cv_libfdata_dummy=yes
44203else
44204  ac_cv_libfdata=no
44205fi
44206
44207        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5
44208$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; }
44209if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then :
44210  $as_echo_n "(cached) " >&6
44211else
44212  ac_check_lib_save_LIBS=$LIBS
44213LIBS="-lfdata  $LIBS"
44214cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44215/* end confdefs.h.  */
44216
44217/* Override any GCC internal prototype to avoid an error.
44218   Use char because int might match the return type of a GCC
44219   builtin and then its argument prototype would still apply.  */
44220#ifdef __cplusplus
44221extern "C"
44222#endif
44223char libfdata_stream_get_segment_index_at_offset ();
44224int
44225main ()
44226{
44227return libfdata_stream_get_segment_index_at_offset ();
44228  ;
44229  return 0;
44230}
44231_ACEOF
44232if ac_fn_c_try_link "$LINENO"; then :
44233  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes
44234else
44235  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no
44236fi
44237rm -f core conftest.err conftest.$ac_objext \
44238    conftest$ac_exeext conftest.$ac_ext
44239LIBS=$ac_check_lib_save_LIBS
44240fi
44241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5
44242$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; }
44243if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then :
44244  ac_cv_libfdata_dummy=yes
44245else
44246  ac_cv_libfdata=no
44247fi
44248
44249        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5
44250$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; }
44251if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then :
44252  $as_echo_n "(cached) " >&6
44253else
44254  ac_check_lib_save_LIBS=$LIBS
44255LIBS="-lfdata  $LIBS"
44256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257/* end confdefs.h.  */
44258
44259/* Override any GCC internal prototype to avoid an error.
44260   Use char because int might match the return type of a GCC
44261   builtin and then its argument prototype would still apply.  */
44262#ifdef __cplusplus
44263extern "C"
44264#endif
44265char libfdata_stream_get_segment_at_offset ();
44266int
44267main ()
44268{
44269return libfdata_stream_get_segment_at_offset ();
44270  ;
44271  return 0;
44272}
44273_ACEOF
44274if ac_fn_c_try_link "$LINENO"; then :
44275  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes
44276else
44277  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no
44278fi
44279rm -f core conftest.err conftest.$ac_objext \
44280    conftest$ac_exeext conftest.$ac_ext
44281LIBS=$ac_check_lib_save_LIBS
44282fi
44283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5
44284$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; }
44285if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then :
44286  ac_cv_libfdata_dummy=yes
44287else
44288  ac_cv_libfdata=no
44289fi
44290
44291
44292        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5
44293$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; }
44294if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then :
44295  $as_echo_n "(cached) " >&6
44296else
44297  ac_check_lib_save_LIBS=$LIBS
44298LIBS="-lfdata  $LIBS"
44299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300/* end confdefs.h.  */
44301
44302/* Override any GCC internal prototype to avoid an error.
44303   Use char because int might match the return type of a GCC
44304   builtin and then its argument prototype would still apply.  */
44305#ifdef __cplusplus
44306extern "C"
44307#endif
44308char libfdata_stream_read_buffer ();
44309int
44310main ()
44311{
44312return libfdata_stream_read_buffer ();
44313  ;
44314  return 0;
44315}
44316_ACEOF
44317if ac_fn_c_try_link "$LINENO"; then :
44318  ac_cv_lib_fdata_libfdata_stream_read_buffer=yes
44319else
44320  ac_cv_lib_fdata_libfdata_stream_read_buffer=no
44321fi
44322rm -f core conftest.err conftest.$ac_objext \
44323    conftest$ac_exeext conftest.$ac_ext
44324LIBS=$ac_check_lib_save_LIBS
44325fi
44326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5
44327$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; }
44328if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then :
44329  ac_cv_libfdata_dummy=yes
44330else
44331  ac_cv_libfdata=no
44332fi
44333
44334        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5
44335$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; }
44336if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then :
44337  $as_echo_n "(cached) " >&6
44338else
44339  ac_check_lib_save_LIBS=$LIBS
44340LIBS="-lfdata  $LIBS"
44341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342/* end confdefs.h.  */
44343
44344/* Override any GCC internal prototype to avoid an error.
44345   Use char because int might match the return type of a GCC
44346   builtin and then its argument prototype would still apply.  */
44347#ifdef __cplusplus
44348extern "C"
44349#endif
44350char libfdata_stream_read_buffer_at_offset ();
44351int
44352main ()
44353{
44354return libfdata_stream_read_buffer_at_offset ();
44355  ;
44356  return 0;
44357}
44358_ACEOF
44359if ac_fn_c_try_link "$LINENO"; then :
44360  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes
44361else
44362  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no
44363fi
44364rm -f core conftest.err conftest.$ac_objext \
44365    conftest$ac_exeext conftest.$ac_ext
44366LIBS=$ac_check_lib_save_LIBS
44367fi
44368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5
44369$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; }
44370if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then :
44371  ac_cv_libfdata_dummy=yes
44372else
44373  ac_cv_libfdata=no
44374fi
44375
44376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5
44377$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; }
44378if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then :
44379  $as_echo_n "(cached) " >&6
44380else
44381  ac_check_lib_save_LIBS=$LIBS
44382LIBS="-lfdata  $LIBS"
44383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44384/* end confdefs.h.  */
44385
44386/* Override any GCC internal prototype to avoid an error.
44387   Use char because int might match the return type of a GCC
44388   builtin and then its argument prototype would still apply.  */
44389#ifdef __cplusplus
44390extern "C"
44391#endif
44392char libfdata_stream_write_buffer ();
44393int
44394main ()
44395{
44396return libfdata_stream_write_buffer ();
44397  ;
44398  return 0;
44399}
44400_ACEOF
44401if ac_fn_c_try_link "$LINENO"; then :
44402  ac_cv_lib_fdata_libfdata_stream_write_buffer=yes
44403else
44404  ac_cv_lib_fdata_libfdata_stream_write_buffer=no
44405fi
44406rm -f core conftest.err conftest.$ac_objext \
44407    conftest$ac_exeext conftest.$ac_ext
44408LIBS=$ac_check_lib_save_LIBS
44409fi
44410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5
44411$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; }
44412if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then :
44413  ac_cv_libfdata_dummy=yes
44414else
44415  ac_cv_libfdata=no
44416fi
44417
44418        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5
44419$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; }
44420if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then :
44421  $as_echo_n "(cached) " >&6
44422else
44423  ac_check_lib_save_LIBS=$LIBS
44424LIBS="-lfdata  $LIBS"
44425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44426/* end confdefs.h.  */
44427
44428/* Override any GCC internal prototype to avoid an error.
44429   Use char because int might match the return type of a GCC
44430   builtin and then its argument prototype would still apply.  */
44431#ifdef __cplusplus
44432extern "C"
44433#endif
44434char libfdata_stream_seek_offset ();
44435int
44436main ()
44437{
44438return libfdata_stream_seek_offset ();
44439  ;
44440  return 0;
44441}
44442_ACEOF
44443if ac_fn_c_try_link "$LINENO"; then :
44444  ac_cv_lib_fdata_libfdata_stream_seek_offset=yes
44445else
44446  ac_cv_lib_fdata_libfdata_stream_seek_offset=no
44447fi
44448rm -f core conftest.err conftest.$ac_objext \
44449    conftest$ac_exeext conftest.$ac_ext
44450LIBS=$ac_check_lib_save_LIBS
44451fi
44452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5
44453$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; }
44454if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then :
44455  ac_cv_libfdata_dummy=yes
44456else
44457  ac_cv_libfdata=no
44458fi
44459
44460        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5
44461$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; }
44462if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then :
44463  $as_echo_n "(cached) " >&6
44464else
44465  ac_check_lib_save_LIBS=$LIBS
44466LIBS="-lfdata  $LIBS"
44467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44468/* end confdefs.h.  */
44469
44470/* Override any GCC internal prototype to avoid an error.
44471   Use char because int might match the return type of a GCC
44472   builtin and then its argument prototype would still apply.  */
44473#ifdef __cplusplus
44474extern "C"
44475#endif
44476char libfdata_stream_get_offset ();
44477int
44478main ()
44479{
44480return libfdata_stream_get_offset ();
44481  ;
44482  return 0;
44483}
44484_ACEOF
44485if ac_fn_c_try_link "$LINENO"; then :
44486  ac_cv_lib_fdata_libfdata_stream_get_offset=yes
44487else
44488  ac_cv_lib_fdata_libfdata_stream_get_offset=no
44489fi
44490rm -f core conftest.err conftest.$ac_objext \
44491    conftest$ac_exeext conftest.$ac_ext
44492LIBS=$ac_check_lib_save_LIBS
44493fi
44494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5
44495$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; }
44496if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then :
44497  ac_cv_libfdata_dummy=yes
44498else
44499  ac_cv_libfdata=no
44500fi
44501
44502        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5
44503$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; }
44504if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then :
44505  $as_echo_n "(cached) " >&6
44506else
44507  ac_check_lib_save_LIBS=$LIBS
44508LIBS="-lfdata  $LIBS"
44509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510/* end confdefs.h.  */
44511
44512/* Override any GCC internal prototype to avoid an error.
44513   Use char because int might match the return type of a GCC
44514   builtin and then its argument prototype would still apply.  */
44515#ifdef __cplusplus
44516extern "C"
44517#endif
44518char libfdata_stream_get_size ();
44519int
44520main ()
44521{
44522return libfdata_stream_get_size ();
44523  ;
44524  return 0;
44525}
44526_ACEOF
44527if ac_fn_c_try_link "$LINENO"; then :
44528  ac_cv_lib_fdata_libfdata_stream_get_size=yes
44529else
44530  ac_cv_lib_fdata_libfdata_stream_get_size=no
44531fi
44532rm -f core conftest.err conftest.$ac_objext \
44533    conftest$ac_exeext conftest.$ac_ext
44534LIBS=$ac_check_lib_save_LIBS
44535fi
44536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5
44537$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; }
44538if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then :
44539  ac_cv_libfdata_dummy=yes
44540else
44541  ac_cv_libfdata=no
44542fi
44543
44544
44545
44546
44547        ac_cv_libfdata_LIBADD="-lfdata"
44548fi
44549
44550fi
44551    if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then :
44552  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44554as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata
44555See \`config.log' for more details" "$LINENO" 5; }
44556
44557fi
44558
44559fi
44560
44561  if test "x$ac_cv_libfdata" = xyes; then :
44562
44563$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h
44564
44565
44566fi
44567
44568  if test "x$ac_cv_libfdata" = xyes; then :
44569  HAVE_LIBFDATA=1
44570
44571else
44572  HAVE_LIBFDATA=0
44573
44574
44575fi
44576
44577
44578    if test "x$ac_cv_libfdata" != xyes; then :
44579
44580  ac_cv_libfdata_CPPFLAGS="-I../libfdata";
44581  ac_cv_libfdata_LIBADD="../libfdata/libfdata.la";
44582
44583  ac_cv_libfdata=local
44584
44585
44586
44587$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h
44588
44589    HAVE_LOCAL_LIBFDATA=1
44590
44591
44592fi
44593
44594   if test "x$ac_cv_libfdata" = xlocal; then
44595  HAVE_LOCAL_LIBFDATA_TRUE=
44596  HAVE_LOCAL_LIBFDATA_FALSE='#'
44597else
44598  HAVE_LOCAL_LIBFDATA_TRUE='#'
44599  HAVE_LOCAL_LIBFDATA_FALSE=
44600fi
44601
44602  if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then :
44603  LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS
44604
44605
44606fi
44607  if test "x$ac_cv_libfdata_LIBADD" != "x"; then :
44608  LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD
44609
44610
44611fi
44612
44613  if test "x$ac_cv_libfdata" = xyes; then :
44614  ax_libfdata_pc_libs_private=-lfdata
44615
44616
44617fi
44618
44619  if test "x$ac_cv_libfdata" = xyes; then :
44620  ax_libfdata_spec_requires=libfdata
44621
44622    ax_libfdata_spec_build_requires=libfdata-devel
44623
44624
44625fi
44626
44627
44628    for ac_header in wctype.h
44629do :
44630  ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
44631if test "x$ac_cv_header_wctype_h" = xyes; then :
44632  cat >>confdefs.h <<_ACEOF
44633#define HAVE_WCTYPE_H 1
44634_ACEOF
44635
44636fi
44637
44638done
44639
44640
44641      for ac_func in towupper
44642do :
44643  ac_fn_c_check_func "$LINENO" "towupper" "ac_cv_func_towupper"
44644if test "x$ac_cv_func_towupper" = xyes; then :
44645  cat >>confdefs.h <<_ACEOF
44646#define HAVE_TOWUPPER 1
44647_ACEOF
44648
44649fi
44650done
44651
44652
44653  if test "x$ac_cv_func_towupper" != xyes; then :
44654  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44655$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44656as_fn_error 1 "Missing function: towupper
44657See \`config.log' for more details" "$LINENO" 5; }
44658
44659fi
44660
44661    for ac_func in bindtextdomain
44662do :
44663  ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain"
44664if test "x$ac_cv_func_bindtextdomain" = xyes; then :
44665  cat >>confdefs.h <<_ACEOF
44666#define HAVE_BINDTEXTDOMAIN 1
44667_ACEOF
44668
44669fi
44670done
44671
44672
44673
44674
44675
44676# Check whether --with-pyprefix was given.
44677if test "${with_pyprefix+set}" = set; then :
44678  withval=$with_pyprefix; ac_cv_with_pyprefix=$withval
44679else
44680  ac_cv_with_pyprefix=no
44681fi
44682
44683    { $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
44684$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; }
44685if ${ac_cv_with_pyprefix+:} false; then :
44686  $as_echo_n "(cached) " >&6
44687else
44688  ac_cv_with_pyprefix=no
44689fi
44690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5
44691$as_echo "$ac_cv_with_pyprefix" >&6; }
44692
44693
44694
44695  # Check whether --enable-python was given.
44696if test "${enable_python+set}" = set; then :
44697  enableval=$enable_python; ac_cv_enable_python=$enableval
44698else
44699  ac_cv_enable_python=no
44700fi
44701
44702    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5
44703$as_echo_n "checking whether to enable build Python bindings... " >&6; }
44704if ${ac_cv_enable_python+:} false; then :
44705  $as_echo_n "(cached) " >&6
44706else
44707  ac_cv_enable_python=no
44708fi
44709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5
44710$as_echo "$ac_cv_enable_python" >&6; }
44711
44712
44713# Check whether --with-pythondir was given.
44714if test "${with_pythondir+set}" = set; then :
44715  withval=$with_pythondir; ac_cv_with_pythondir=$withval
44716else
44717  ac_cv_with_pythondir=no
44718fi
44719
44720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5
44721$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; }
44722if ${ac_cv_with_pythondir+:} false; then :
44723  $as_echo_n "(cached) " >&6
44724else
44725  ac_cv_with_pythondir=no
44726fi
44727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5
44728$as_echo "$ac_cv_with_pythondir" >&6; }
44729
44730
44731  # Check whether --enable-python2 was given.
44732if test "${enable_python2+set}" = set; then :
44733  enableval=$enable_python2; ac_cv_enable_python2=$enableval
44734else
44735  ac_cv_enable_python2=no
44736fi
44737
44738    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5
44739$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; }
44740if ${ac_cv_enable_python2+:} false; then :
44741  $as_echo_n "(cached) " >&6
44742else
44743  ac_cv_enable_python2=no
44744fi
44745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5
44746$as_echo "$ac_cv_enable_python2" >&6; }
44747
44748
44749# Check whether --with-pythondir2 was given.
44750if test "${with_pythondir2+set}" = set; then :
44751  withval=$with_pythondir2; ac_cv_with_pythondir2=$withval
44752else
44753  ac_cv_with_pythondir2=no
44754fi
44755
44756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5
44757$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; }
44758if ${ac_cv_with_pythondir2+:} false; then :
44759  $as_echo_n "(cached) " >&6
44760else
44761  ac_cv_with_pythondir2=no
44762fi
44763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5
44764$as_echo "$ac_cv_with_pythondir2" >&6; }
44765
44766
44767  # Check whether --enable-python3 was given.
44768if test "${enable_python3+set}" = set; then :
44769  enableval=$enable_python3; ac_cv_enable_python3=$enableval
44770else
44771  ac_cv_enable_python3=no
44772fi
44773
44774    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5
44775$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; }
44776if ${ac_cv_enable_python3+:} false; then :
44777  $as_echo_n "(cached) " >&6
44778else
44779  ac_cv_enable_python3=no
44780fi
44781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5
44782$as_echo "$ac_cv_enable_python3" >&6; }
44783
44784
44785# Check whether --with-pythondir3 was given.
44786if test "${with_pythondir3+set}" = set; then :
44787  withval=$with_pythondir3; ac_cv_with_pythondir3=$withval
44788else
44789  ac_cv_with_pythondir3=no
44790fi
44791
44792    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5
44793$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; }
44794if ${ac_cv_with_pythondir3+:} false; then :
44795  $as_echo_n "(cached) " >&6
44796else
44797  ac_cv_with_pythondir3=no
44798fi
44799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5
44800$as_echo "$ac_cv_with_pythondir3" >&6; }
44801
44802  if test "x${ac_cv_enable_python}" != xno; then :
44803  if test "x${PYTHON_VERSION}" != x; then :
44804  ax_python_progs="python${PYTHON_VERSION}"
44805else
44806  ax_python_progs="python python3 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2 python2.7 python2.6 python2.5"
44807fi
44808  for ac_prog in $ax_python_progs
44809do
44810  # Extract the first word of "$ac_prog", so it can be a program name with args.
44811set dummy $ac_prog; ac_word=$2
44812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44813$as_echo_n "checking for $ac_word... " >&6; }
44814if ${ac_cv_prog_PYTHON+:} false; then :
44815  $as_echo_n "(cached) " >&6
44816else
44817  if test -n "$PYTHON"; then
44818  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
44819else
44820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44821for as_dir in $PATH
44822do
44823  IFS=$as_save_IFS
44824  test -z "$as_dir" && as_dir=.
44825    for ac_exec_ext in '' $ac_executable_extensions; do
44826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44827    ac_cv_prog_PYTHON="$ac_prog"
44828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44829    break 2
44830  fi
44831done
44832  done
44833IFS=$as_save_IFS
44834
44835fi
44836fi
44837PYTHON=$ac_cv_prog_PYTHON
44838if test -n "$PYTHON"; then
44839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
44840$as_echo "$PYTHON" >&6; }
44841else
44842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44843$as_echo "no" >&6; }
44844fi
44845
44846
44847  test -n "$PYTHON" && break
44848done
44849
44850  if test "x${PYTHON}" != x; then :
44851  ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
44852    ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
44853    PYTHON_PLATFORM=$ax_prog_python_platform
44854
44855
44856else
44857  as_fn_error $? "Unable to find python" "$LINENO" 5
44858
44859fi
44860  PYTHON=$PYTHON
44861
44862
44863  if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then :
44864  for ac_prog in python${PYTHON_VERSION}-config
44865do
44866  # Extract the first word of "$ac_prog", so it can be a program name with args.
44867set dummy $ac_prog; ac_word=$2
44868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44869$as_echo_n "checking for $ac_word... " >&6; }
44870if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
44871  $as_echo_n "(cached) " >&6
44872else
44873  if test -n "$PYTHON_CONFIG"; then
44874  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
44875else
44876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44877for as_dir in $PATH
44878do
44879  IFS=$as_save_IFS
44880  test -z "$as_dir" && as_dir=.
44881    for ac_exec_ext in '' $ac_executable_extensions; do
44882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44883    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
44884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44885    break 2
44886  fi
44887done
44888  done
44889IFS=$as_save_IFS
44890
44891fi
44892fi
44893PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
44894if test -n "$PYTHON_CONFIG"; then
44895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
44896$as_echo "$PYTHON_CONFIG" >&6; }
44897else
44898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44899$as_echo "no" >&6; }
44900fi
44901
44902
44903  test -n "$PYTHON_CONFIG" && break
44904done
44905
44906
44907fi
44908  if test "x${PYTHON_CONFIG}" = x; then :
44909  for ac_prog in python-config python3-config python3.10-config python3.9-config python3.8-config python3.7-config python3.6-config python3.5-config python3.4-config python3.3-config python3.2-config python3.1-config python3.0-config python2-config python2.7-config python2.6-config python2.5-config
44910do
44911  # Extract the first word of "$ac_prog", so it can be a program name with args.
44912set dummy $ac_prog; ac_word=$2
44913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44914$as_echo_n "checking for $ac_word... " >&6; }
44915if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
44916  $as_echo_n "(cached) " >&6
44917else
44918  if test -n "$PYTHON_CONFIG"; then
44919  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
44920else
44921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44922for as_dir in $PATH
44923do
44924  IFS=$as_save_IFS
44925  test -z "$as_dir" && as_dir=.
44926    for ac_exec_ext in '' $ac_executable_extensions; do
44927  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44928    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
44929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44930    break 2
44931  fi
44932done
44933  done
44934IFS=$as_save_IFS
44935
44936fi
44937fi
44938PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
44939if test -n "$PYTHON_CONFIG"; then
44940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
44941$as_echo "$PYTHON_CONFIG" >&6; }
44942else
44943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44944$as_echo "no" >&6; }
44945fi
44946
44947
44948  test -n "$PYTHON_CONFIG" && break
44949done
44950
44951
44952fi
44953  if test "x${PYTHON_CONFIG}" = x; then :
44954  as_fn_error $? "Unable to find python-config" "$LINENO" 5
44955
44956fi
44957  PYTHON_CONFIG=$PYTHON_CONFIG
44958
44959
44960
44961  if test "x${PYTHON_CONFIG}" != x; then :
44962      PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`;
44963
44964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
44965$as_echo_n "checking for Python includes... " >&6; }
44966    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
44967$as_echo "$PYTHON_INCLUDES" >&6; }
44968
44969        PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`;
44970
44971    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5
44972$as_echo_n "checking for Python libraries... " >&6; }
44973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
44974$as_echo "$PYTHON_LDFLAGS" >&6; }
44975
44976        case $host_os in #(
44977  cygwin*) :
44978    PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #(
44979  *) :
44980     ;; #(
44981  *) :
44982     ;;
44983esac
44984
44985        BACKUP_CPPFLAGS="${CPPFLAGS}"
44986    CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}"
44987
44988    for ac_header in Python.h
44989do :
44990  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
44991if test "x$ac_cv_header_Python_h" = xyes; then :
44992  cat >>confdefs.h <<_ACEOF
44993#define HAVE_PYTHON_H 1
44994_ACEOF
44995 ac_cv_header_python_h=yes
44996else
44997  ac_cv_header_python_h=no
44998fi
44999
45000done
45001
45002
45003    CPPFLAGS="${BACKUP_CPPFLAGS}"
45004
45005fi
45006
45007  if test "x${ac_cv_header_python_h}" != xyes; then :
45008  ac_cv_enable_python=no
45009else
45010  ac_cv_enable_python=${ax_prog_python_version}
45011    PYTHON_CPPFLAGS=$PYTHON_INCLUDES
45012
45013
45014    PYTHON_LDFLAGS=$PYTHON_LDFLAGS
45015
45016
45017        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45018  ax_python_prefix="\${prefix}"
45019else
45020  ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null`
45021fi
45022
45023    PYTHON_PREFIX=$ax_python_prefix
45024
45025
45026        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45027  ax_python_exec_prefix="\${exec_prefix}"
45028else
45029  ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null`
45030fi
45031
45032    PYTHON_EXEC_PREFIX=$ax_python_exec_prefix
45033
45034
45035        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`;
45036
45037    if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then :
45038  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45039  ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}"
45040else
45041  ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
45042fi
45043else
45044  ax_python_pythondir=$ac_cv_with_pythondir
45045fi
45046
45047    pythondir=$ax_python_pythondir
45048
45049
45050        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`;
45051    ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
45052
45053    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45054  ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}"
45055else
45056  ax_python_pyexecdir=$ax_python_library_dir
45057fi
45058
45059    pyexecdir=$ax_python_pyexecdir
45060
45061
45062    PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix
45063
45064
45065    PYTHON_PACKAGE_DIR=$ax_python_library_dir
45066
45067
45068fi
45069
45070fi
45071
45072  if test "x${ac_cv_enable_python2}" != xno; then :
45073  ax_python2_progs="python2 python2.7 python2.6 python2.5"
45074  for ac_prog in $ax_python2_progs
45075do
45076  # Extract the first word of "$ac_prog", so it can be a program name with args.
45077set dummy $ac_prog; ac_word=$2
45078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45079$as_echo_n "checking for $ac_word... " >&6; }
45080if ${ac_cv_prog_PYTHON2+:} false; then :
45081  $as_echo_n "(cached) " >&6
45082else
45083  if test -n "$PYTHON2"; then
45084  ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test.
45085else
45086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45087for as_dir in $PATH
45088do
45089  IFS=$as_save_IFS
45090  test -z "$as_dir" && as_dir=.
45091    for ac_exec_ext in '' $ac_executable_extensions; do
45092  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45093    ac_cv_prog_PYTHON2="$ac_prog"
45094    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45095    break 2
45096  fi
45097done
45098  done
45099IFS=$as_save_IFS
45100
45101fi
45102fi
45103PYTHON2=$ac_cv_prog_PYTHON2
45104if test -n "$PYTHON2"; then
45105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5
45106$as_echo "$PYTHON2" >&6; }
45107else
45108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45109$as_echo "no" >&6; }
45110fi
45111
45112
45113  test -n "$PYTHON2" && break
45114done
45115
45116  if test "x${PYTHON2}" != x; then :
45117  ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
45118    PYTHON2_VERSION=$ax_prog_python2_version
45119
45120
45121    ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
45122    PYTHON2_PLATFORM=$ax_prog_python2_platform
45123
45124
45125else
45126  as_fn_error $? "Unable to find python2" "$LINENO" 5
45127
45128fi
45129  PYTHON2=$PYTHON2
45130
45131
45132  if test "x${PYTHON2_CONFIG}" = x; then :
45133  for ac_prog in python2-config python2.7-config python2.6-config python2.5-config
45134do
45135  # Extract the first word of "$ac_prog", so it can be a program name with args.
45136set dummy $ac_prog; ac_word=$2
45137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45138$as_echo_n "checking for $ac_word... " >&6; }
45139if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then :
45140  $as_echo_n "(cached) " >&6
45141else
45142  if test -n "$PYTHON2_CONFIG"; then
45143  ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test.
45144else
45145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45146for as_dir in $PATH
45147do
45148  IFS=$as_save_IFS
45149  test -z "$as_dir" && as_dir=.
45150    for ac_exec_ext in '' $ac_executable_extensions; do
45151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45152    ac_cv_prog_PYTHON2_CONFIG="$ac_prog"
45153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45154    break 2
45155  fi
45156done
45157  done
45158IFS=$as_save_IFS
45159
45160fi
45161fi
45162PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG
45163if test -n "$PYTHON2_CONFIG"; then
45164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5
45165$as_echo "$PYTHON2_CONFIG" >&6; }
45166else
45167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45168$as_echo "no" >&6; }
45169fi
45170
45171
45172  test -n "$PYTHON2_CONFIG" && break
45173done
45174
45175
45176fi
45177  if test "x${PYTHON2_CONFIG}" = x; then :
45178  as_fn_error $? "Unable to find python2-config" "$LINENO" 5
45179
45180fi
45181  PYTHON2_CONFIG=$PYTHON2_CONFIG
45182
45183
45184
45185  if test "x${PYTHON2_CONFIG}" != x; then :
45186      PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`;
45187
45188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5
45189$as_echo_n "checking for Python verison 2 includes... " >&6; }
45190    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5
45191$as_echo "$PYTHON2_INCLUDES" >&6; }
45192
45193        PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`;
45194
45195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5
45196$as_echo_n "checking for Python 2 libraries... " >&6; }
45197    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5
45198$as_echo "$PYTHON2_LDFLAGS" >&6; }
45199
45200        case $host_os in #(
45201  cygwin*) :
45202    PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #(
45203  *) :
45204     ;; #(
45205  *) :
45206     ;;
45207esac
45208
45209        BACKUP_CPPFLAGS="${CPPFLAGS}"
45210    CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}"
45211
45212    for ac_header in Python.h
45213do :
45214  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
45215if test "x$ac_cv_header_Python_h" = xyes; then :
45216  cat >>confdefs.h <<_ACEOF
45217#define HAVE_PYTHON_H 1
45218_ACEOF
45219 ac_cv_header_python2_h=yes
45220else
45221  ac_cv_header_python2_h=no
45222fi
45223
45224done
45225
45226
45227    CPPFLAGS="${BACKUP_CPPFLAGS}"
45228
45229fi
45230
45231  if test "x${ac_cv_header_python2_h}" != xyes; then :
45232  ac_cv_enable_python2=no
45233else
45234  ac_cv_enable_python2=$PYTHON2_VERSION
45235    PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES
45236
45237
45238    PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS
45239
45240
45241        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45242  ax_python2_prefix="\${prefix}"
45243else
45244  ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null`
45245fi
45246
45247    PYTHON2_PREFIX=$ax_python2_prefix
45248
45249
45250        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45251  ax_python2_exec_prefix="\${exec_prefix}"
45252else
45253  ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null`
45254fi
45255
45256    PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix
45257
45258
45259        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`;
45260
45261    if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then :
45262  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45263  ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}"
45264else
45265  ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
45266fi
45267else
45268  ax_python2_pythondir=$ac_cv_with_pythondir2
45269fi
45270
45271    pythondir2=$ax_python2_pythondir
45272
45273
45274        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`;
45275    ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
45276
45277    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45278  ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}"
45279else
45280  ax_python2_pyexecdir=$ax_python2_library_dir
45281fi
45282
45283    pyexecdir2=$ax_python2_pyexecdir
45284
45285
45286    PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix
45287
45288
45289    PYTHON2_PACKAGE_DIR=$ax_python2_library_dir
45290
45291
45292fi
45293
45294fi
45295
45296  if test "x${ac_cv_enable_python3}" != xno; then :
45297  ax_python3_progs="python3 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0"
45298  for ac_prog in $ax_python3_progs
45299do
45300  # Extract the first word of "$ac_prog", so it can be a program name with args.
45301set dummy $ac_prog; ac_word=$2
45302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45303$as_echo_n "checking for $ac_word... " >&6; }
45304if ${ac_cv_prog_PYTHON3+:} false; then :
45305  $as_echo_n "(cached) " >&6
45306else
45307  if test -n "$PYTHON3"; then
45308  ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test.
45309else
45310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45311for as_dir in $PATH
45312do
45313  IFS=$as_save_IFS
45314  test -z "$as_dir" && as_dir=.
45315    for ac_exec_ext in '' $ac_executable_extensions; do
45316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45317    ac_cv_prog_PYTHON3="$ac_prog"
45318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45319    break 2
45320  fi
45321done
45322  done
45323IFS=$as_save_IFS
45324
45325fi
45326fi
45327PYTHON3=$ac_cv_prog_PYTHON3
45328if test -n "$PYTHON3"; then
45329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
45330$as_echo "$PYTHON3" >&6; }
45331else
45332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45333$as_echo "no" >&6; }
45334fi
45335
45336
45337  test -n "$PYTHON3" && break
45338done
45339
45340  if test "x${PYTHON3}" != x; then :
45341  ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
45342    PYTHON3_VERSION=$ax_prog_python3_version
45343
45344
45345    ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
45346    PYTHON3_PLATFORM=$ax_prog_python3_platform
45347
45348
45349else
45350  as_fn_error $? "Unable to find python3" "$LINENO" 5
45351
45352fi
45353  PYTHON3=$PYTHON3
45354
45355
45356  if test "x${PYTHON3_CONFIG}" = x; then :
45357  for ac_prog in python3-config python3.10-config python3.9-config python3.8-config python3.7-config python3.6-config python3.5-config python3.4-config python3.3-config python3.2-config python3.1-config python3.0-config
45358do
45359  # Extract the first word of "$ac_prog", so it can be a program name with args.
45360set dummy $ac_prog; ac_word=$2
45361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45362$as_echo_n "checking for $ac_word... " >&6; }
45363if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then :
45364  $as_echo_n "(cached) " >&6
45365else
45366  if test -n "$PYTHON3_CONFIG"; then
45367  ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test.
45368else
45369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45370for as_dir in $PATH
45371do
45372  IFS=$as_save_IFS
45373  test -z "$as_dir" && as_dir=.
45374    for ac_exec_ext in '' $ac_executable_extensions; do
45375  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45376    ac_cv_prog_PYTHON3_CONFIG="$ac_prog"
45377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45378    break 2
45379  fi
45380done
45381  done
45382IFS=$as_save_IFS
45383
45384fi
45385fi
45386PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG
45387if test -n "$PYTHON3_CONFIG"; then
45388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
45389$as_echo "$PYTHON3_CONFIG" >&6; }
45390else
45391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45392$as_echo "no" >&6; }
45393fi
45394
45395
45396  test -n "$PYTHON3_CONFIG" && break
45397done
45398
45399
45400fi
45401  if test "x${PYTHON3_CONFIG}" = x; then :
45402  as_fn_error $? "Unable to find python3-config" "$LINENO" 5
45403
45404fi
45405  PYTHON3_CONFIG=$PYTHON3_CONFIG
45406
45407
45408
45409  if test "x${PYTHON3_CONFIG}" != x; then :
45410      PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`;
45411
45412    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5
45413$as_echo_n "checking for Python verison 3 includes... " >&6; }
45414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5
45415$as_echo "$PYTHON3_INCLUDES" >&6; }
45416
45417        PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`;
45418
45419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5
45420$as_echo_n "checking for Python 3 libraries... " >&6; }
45421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5
45422$as_echo "$PYTHON3_LDFLAGS" >&6; }
45423
45424        case $host_os in #(
45425  cygwin*) :
45426    PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #(
45427  *) :
45428     ;; #(
45429  *) :
45430     ;;
45431esac
45432
45433        BACKUP_CPPFLAGS="${CPPFLAGS}"
45434    CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}"
45435
45436    for ac_header in Python.h
45437do :
45438  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
45439if test "x$ac_cv_header_Python_h" = xyes; then :
45440  cat >>confdefs.h <<_ACEOF
45441#define HAVE_PYTHON_H 1
45442_ACEOF
45443 ac_cv_header_python3_h=yes
45444else
45445  ac_cv_header_python3_h=no
45446fi
45447
45448done
45449
45450
45451    CPPFLAGS="${BACKUP_CPPFLAGS}"
45452
45453fi
45454
45455  if test "x${ac_cv_header_python3_h}" != xyes; then :
45456  ac_cv_enable_python3=no
45457else
45458  ac_cv_enable_python3=$PYTHON3_VERSION
45459    PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES
45460
45461
45462    PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS
45463
45464
45465        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45466  ax_python3_prefix="\${prefix}"
45467else
45468  ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null`
45469fi
45470
45471    PYTHON3_PREFIX=$ax_python3_prefix
45472
45473
45474        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45475  ax_python3_exec_prefix="\${exec_prefix}"
45476else
45477  ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null`
45478fi
45479
45480    PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix
45481
45482
45483        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`;
45484
45485    if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then :
45486  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45487  ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}"
45488else
45489  ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
45490fi
45491else
45492  ax_python3_pythondir=$ac_cv_with_pythondir3
45493fi
45494
45495    pythondir3=$ax_python3_pythondir
45496
45497
45498        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`;
45499    ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
45500
45501    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
45502  ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}"
45503else
45504  ax_python3_pyexecdir=$ax_python3_library_dir
45505fi
45506
45507    pyexecdir3=$ax_python3_pyexecdir
45508
45509
45510    PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix
45511
45512
45513    PYTHON3_PACKAGE_DIR=$ax_python3_library_dir
45514
45515
45516fi
45517
45518fi
45519
45520   if test "x${ac_cv_enable_python}" != xno; then
45521  HAVE_PYTHON_TRUE=
45522  HAVE_PYTHON_FALSE='#'
45523else
45524  HAVE_PYTHON_TRUE='#'
45525  HAVE_PYTHON_FALSE=
45526fi
45527
45528
45529   if test "x${ac_cv_enable_python2}" != xno; then
45530  HAVE_PYTHON2_TRUE=
45531  HAVE_PYTHON2_FALSE='#'
45532else
45533  HAVE_PYTHON2_TRUE='#'
45534  HAVE_PYTHON2_FALSE=
45535fi
45536
45537
45538   if test "x${ac_cv_enable_python3}" != xno; then
45539  HAVE_PYTHON3_TRUE=
45540  HAVE_PYTHON3_FALSE='#'
45541else
45542  HAVE_PYTHON3_TRUE='#'
45543  HAVE_PYTHON3_FALSE=
45544fi
45545
45546
45547   if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then
45548  HAVE_PYTHON_TESTS_TRUE=
45549  HAVE_PYTHON_TESTS_FALSE='#'
45550else
45551  HAVE_PYTHON_TESTS_TRUE='#'
45552  HAVE_PYTHON_TESTS_FALSE=
45553fi
45554
45555
45556  if test "x${ac_cv_enable_python}" = xno; then :
45557  if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
45558  if test "x${ac_cv_enable_python2}" != xno; then :
45559  ac_cv_enable_python=${ac_cv_enable_python2}
45560else
45561  ac_cv_enable_python=""
45562fi
45563      if test "x${ac_cv_enable_python3}" != xno; then :
45564  if test "x${ac_cv_enable_python}" != x; then :
45565  ac_cv_enable_python="${ac_cv_enable_python}, "
45566fi
45567        ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}"
45568fi
45569
45570fi
45571
45572fi
45573
45574
45575if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
45576    for ac_header in stdarg.h varargs.h
45577do :
45578  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
45579ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
45580if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
45581  cat >>confdefs.h <<_ACEOF
45582#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
45583_ACEOF
45584
45585fi
45586
45587done
45588
45589
45590  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
45591  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45593as_fn_error 1 "Missing headers: stdarg.h and varargs.h
45594See \`config.log' for more details" "$LINENO" 5; }
45595
45596fi
45597
45598fi
45599
45600
45601
45602# Check whether --with-libfuse was given.
45603if test "${with_libfuse+set}" = set; then :
45604  withval=$with_libfuse; ac_cv_with_libfuse=$withval
45605else
45606  ac_cv_with_libfuse=auto-detect
45607fi
45608
45609    { $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
45610$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; }
45611if ${ac_cv_with_libfuse+:} false; then :
45612  $as_echo_n "(cached) " >&6
45613else
45614  ac_cv_with_libfuse=auto-detect
45615fi
45616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5
45617$as_echo "$ac_cv_with_libfuse" >&6; }
45618
45619      if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then :
45620  if test -d "$ac_cv_with_libfuse"; then :
45621  CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include"
45622      LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib"
45623else
45624  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5
45625$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;}
45626
45627fi
45628
45629fi
45630
45631  if test "x$ac_cv_with_libfuse" = xno; then :
45632  ac_cv_libfuse=no
45633else
45634      if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
45635
45636pkg_failed=no
45637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5
45638$as_echo_n "checking for fuse... " >&6; }
45639
45640if test -n "$fuse_CFLAGS"; then
45641    pkg_cv_fuse_CFLAGS="$fuse_CFLAGS"
45642 elif test -n "$PKG_CONFIG"; then
45643    if test -n "$PKG_CONFIG" && \
45644    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
45645  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
45646  ac_status=$?
45647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45648  test $ac_status = 0; }; then
45649  pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
45650		      test "x$?" != "x0" && pkg_failed=yes
45651else
45652  pkg_failed=yes
45653fi
45654 else
45655    pkg_failed=untried
45656fi
45657if test -n "$fuse_LIBS"; then
45658    pkg_cv_fuse_LIBS="$fuse_LIBS"
45659 elif test -n "$PKG_CONFIG"; then
45660    if test -n "$PKG_CONFIG" && \
45661    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
45662  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
45663  ac_status=$?
45664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45665  test $ac_status = 0; }; then
45666  pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
45667		      test "x$?" != "x0" && pkg_failed=yes
45668else
45669  pkg_failed=yes
45670fi
45671 else
45672    pkg_failed=untried
45673fi
45674
45675
45676
45677if test $pkg_failed = yes; then
45678   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45679$as_echo "no" >&6; }
45680
45681if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45682        _pkg_short_errors_supported=yes
45683else
45684        _pkg_short_errors_supported=no
45685fi
45686        if test $_pkg_short_errors_supported = yes; then
45687	        fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
45688        else
45689	        fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
45690        fi
45691	# Put the nasty error message in config.log where it belongs
45692	echo "$fuse_PKG_ERRORS" >&5
45693
45694	ac_cv_libfuse=no
45695elif test $pkg_failed = untried; then
45696     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45697$as_echo "no" >&6; }
45698	ac_cv_libfuse=no
45699else
45700	fuse_CFLAGS=$pkg_cv_fuse_CFLAGS
45701	fuse_LIBS=$pkg_cv_fuse_LIBS
45702        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45703$as_echo "yes" >&6; }
45704	ac_cv_libfuse=libfuse
45705fi
45706
45707fi
45708
45709    if test "x$ac_cv_libfuse" = xlibfuse; then :
45710  ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS"
45711      ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS"
45712else
45713        for ac_header in fuse.h
45714do :
45715  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
45716if test "x$ac_cv_header_fuse_h" = xyes; then :
45717  cat >>confdefs.h <<_ACEOF
45718#define HAVE_FUSE_H 1
45719_ACEOF
45720 ac_cv_header_fuse_h=yes
45721else
45722  ac_cv_header_fuse_h=no
45723fi
45724
45725done
45726
45727
45728            if test "x$ac_cv_header_fuse_h" = xno; then :
45729  { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;}
45730        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
45731        for ac_header in fuse.h
45732do :
45733  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
45734if test "x$ac_cv_header_fuse_h" = xyes; then :
45735  cat >>confdefs.h <<_ACEOF
45736#define HAVE_FUSE_H 1
45737_ACEOF
45738
45739fi
45740
45741done
45742
45743
45744fi
45745
45746      if test "x$ac_cv_header_fuse_h" = xno; then :
45747  ac_cv_libfuse=no
45748else
45749          ac_cv_libfuse=libfuse
45750
45751        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5
45752$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; }
45753if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then :
45754  $as_echo_n "(cached) " >&6
45755else
45756  ac_check_lib_save_LIBS=$LIBS
45757LIBS="-lfuse  $LIBS"
45758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45759/* end confdefs.h.  */
45760
45761/* Override any GCC internal prototype to avoid an error.
45762   Use char because int might match the return type of a GCC
45763   builtin and then its argument prototype would still apply.  */
45764#ifdef __cplusplus
45765extern "C"
45766#endif
45767char fuse_daemonize ();
45768int
45769main ()
45770{
45771return fuse_daemonize ();
45772  ;
45773  return 0;
45774}
45775_ACEOF
45776if ac_fn_c_try_link "$LINENO"; then :
45777  ac_cv_lib_fuse_fuse_daemonize=yes
45778else
45779  ac_cv_lib_fuse_fuse_daemonize=no
45780fi
45781rm -f core conftest.err conftest.$ac_objext \
45782    conftest$ac_exeext conftest.$ac_ext
45783LIBS=$ac_check_lib_save_LIBS
45784fi
45785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5
45786$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; }
45787if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then :
45788  ac_cv_libfuse_dummy=yes
45789else
45790  ac_cv_libfuse=no
45791fi
45792
45793        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5
45794$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; }
45795if ${ac_cv_lib_fuse_fuse_destroy+:} false; then :
45796  $as_echo_n "(cached) " >&6
45797else
45798  ac_check_lib_save_LIBS=$LIBS
45799LIBS="-lfuse  $LIBS"
45800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45801/* end confdefs.h.  */
45802
45803/* Override any GCC internal prototype to avoid an error.
45804   Use char because int might match the return type of a GCC
45805   builtin and then its argument prototype would still apply.  */
45806#ifdef __cplusplus
45807extern "C"
45808#endif
45809char fuse_destroy ();
45810int
45811main ()
45812{
45813return fuse_destroy ();
45814  ;
45815  return 0;
45816}
45817_ACEOF
45818if ac_fn_c_try_link "$LINENO"; then :
45819  ac_cv_lib_fuse_fuse_destroy=yes
45820else
45821  ac_cv_lib_fuse_fuse_destroy=no
45822fi
45823rm -f core conftest.err conftest.$ac_objext \
45824    conftest$ac_exeext conftest.$ac_ext
45825LIBS=$ac_check_lib_save_LIBS
45826fi
45827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5
45828$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; }
45829if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then :
45830  ac_cv_libfuse_dummy=yes
45831else
45832  ac_cv_libfuse=no
45833fi
45834
45835        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5
45836$as_echo_n "checking for fuse_mount in -lfuse... " >&6; }
45837if ${ac_cv_lib_fuse_fuse_mount+:} false; then :
45838  $as_echo_n "(cached) " >&6
45839else
45840  ac_check_lib_save_LIBS=$LIBS
45841LIBS="-lfuse  $LIBS"
45842cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45843/* end confdefs.h.  */
45844
45845/* Override any GCC internal prototype to avoid an error.
45846   Use char because int might match the return type of a GCC
45847   builtin and then its argument prototype would still apply.  */
45848#ifdef __cplusplus
45849extern "C"
45850#endif
45851char fuse_mount ();
45852int
45853main ()
45854{
45855return fuse_mount ();
45856  ;
45857  return 0;
45858}
45859_ACEOF
45860if ac_fn_c_try_link "$LINENO"; then :
45861  ac_cv_lib_fuse_fuse_mount=yes
45862else
45863  ac_cv_lib_fuse_fuse_mount=no
45864fi
45865rm -f core conftest.err conftest.$ac_objext \
45866    conftest$ac_exeext conftest.$ac_ext
45867LIBS=$ac_check_lib_save_LIBS
45868fi
45869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5
45870$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; }
45871if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then :
45872  ac_cv_libfuse_dummy=yes
45873else
45874  ac_cv_libfuse=no
45875fi
45876
45877        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5
45878$as_echo_n "checking for fuse_new in -lfuse... " >&6; }
45879if ${ac_cv_lib_fuse_fuse_new+:} false; then :
45880  $as_echo_n "(cached) " >&6
45881else
45882  ac_check_lib_save_LIBS=$LIBS
45883LIBS="-lfuse  $LIBS"
45884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45885/* end confdefs.h.  */
45886
45887/* Override any GCC internal prototype to avoid an error.
45888   Use char because int might match the return type of a GCC
45889   builtin and then its argument prototype would still apply.  */
45890#ifdef __cplusplus
45891extern "C"
45892#endif
45893char fuse_new ();
45894int
45895main ()
45896{
45897return fuse_new ();
45898  ;
45899  return 0;
45900}
45901_ACEOF
45902if ac_fn_c_try_link "$LINENO"; then :
45903  ac_cv_lib_fuse_fuse_new=yes
45904else
45905  ac_cv_lib_fuse_fuse_new=no
45906fi
45907rm -f core conftest.err conftest.$ac_objext \
45908    conftest$ac_exeext conftest.$ac_ext
45909LIBS=$ac_check_lib_save_LIBS
45910fi
45911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5
45912$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; }
45913if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then :
45914  ac_cv_libfuse_dummy=yes
45915else
45916  ac_cv_libfuse=no
45917fi
45918
45919
45920        ac_cv_libfuse_LIBADD="-lfuse";
45921
45922fi
45923
45924fi
45925
45926        if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then :
45927  CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
45928      for ac_header in osxfuse/fuse.h
45929do :
45930  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
45931if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
45932  cat >>confdefs.h <<_ACEOF
45933#define HAVE_OSXFUSE_FUSE_H 1
45934_ACEOF
45935
45936fi
45937
45938done
45939
45940
45941            if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
45942  { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;}
45943        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
45944        for ac_header in osxfuse/fuse.h
45945do :
45946  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
45947if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
45948  cat >>confdefs.h <<_ACEOF
45949#define HAVE_OSXFUSE_FUSE_H 1
45950_ACEOF
45951
45952fi
45953
45954done
45955
45956
45957fi
45958
45959      if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
45960  ac_cv_libfuse=no
45961else
45962          ac_cv_libfuse=libosxfuse
45963
45964        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5
45965$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; }
45966if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then :
45967  $as_echo_n "(cached) " >&6
45968else
45969  ac_check_lib_save_LIBS=$LIBS
45970LIBS="-losxfuse  $LIBS"
45971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45972/* end confdefs.h.  */
45973
45974/* Override any GCC internal prototype to avoid an error.
45975   Use char because int might match the return type of a GCC
45976   builtin and then its argument prototype would still apply.  */
45977#ifdef __cplusplus
45978extern "C"
45979#endif
45980char fuse_daemonize ();
45981int
45982main ()
45983{
45984return fuse_daemonize ();
45985  ;
45986  return 0;
45987}
45988_ACEOF
45989if ac_fn_c_try_link "$LINENO"; then :
45990  ac_cv_lib_osxfuse_fuse_daemonize=yes
45991else
45992  ac_cv_lib_osxfuse_fuse_daemonize=no
45993fi
45994rm -f core conftest.err conftest.$ac_objext \
45995    conftest$ac_exeext conftest.$ac_ext
45996LIBS=$ac_check_lib_save_LIBS
45997fi
45998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5
45999$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; }
46000if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then :
46001  ac_cv_libfuse_dummy=yes
46002else
46003  ac_cv_libfuse=no
46004fi
46005
46006        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5
46007$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; }
46008if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then :
46009  $as_echo_n "(cached) " >&6
46010else
46011  ac_check_lib_save_LIBS=$LIBS
46012LIBS="-losxfuse  $LIBS"
46013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46014/* end confdefs.h.  */
46015
46016/* Override any GCC internal prototype to avoid an error.
46017   Use char because int might match the return type of a GCC
46018   builtin and then its argument prototype would still apply.  */
46019#ifdef __cplusplus
46020extern "C"
46021#endif
46022char fuse_destroy ();
46023int
46024main ()
46025{
46026return fuse_destroy ();
46027  ;
46028  return 0;
46029}
46030_ACEOF
46031if ac_fn_c_try_link "$LINENO"; then :
46032  ac_cv_lib_osxfuse_fuse_destroy=yes
46033else
46034  ac_cv_lib_osxfuse_fuse_destroy=no
46035fi
46036rm -f core conftest.err conftest.$ac_objext \
46037    conftest$ac_exeext conftest.$ac_ext
46038LIBS=$ac_check_lib_save_LIBS
46039fi
46040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5
46041$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; }
46042if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then :
46043  ac_cv_libfuse_dummy=yes
46044else
46045  ac_cv_libfuse=no
46046fi
46047
46048        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5
46049$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; }
46050if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then :
46051  $as_echo_n "(cached) " >&6
46052else
46053  ac_check_lib_save_LIBS=$LIBS
46054LIBS="-losxfuse  $LIBS"
46055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46056/* end confdefs.h.  */
46057
46058/* Override any GCC internal prototype to avoid an error.
46059   Use char because int might match the return type of a GCC
46060   builtin and then its argument prototype would still apply.  */
46061#ifdef __cplusplus
46062extern "C"
46063#endif
46064char fuse_mount ();
46065int
46066main ()
46067{
46068return fuse_mount ();
46069  ;
46070  return 0;
46071}
46072_ACEOF
46073if ac_fn_c_try_link "$LINENO"; then :
46074  ac_cv_lib_osxfuse_fuse_mount=yes
46075else
46076  ac_cv_lib_osxfuse_fuse_mount=no
46077fi
46078rm -f core conftest.err conftest.$ac_objext \
46079    conftest$ac_exeext conftest.$ac_ext
46080LIBS=$ac_check_lib_save_LIBS
46081fi
46082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5
46083$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; }
46084if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then :
46085  ac_cv_libfuse_dummy=yes
46086else
46087  ac_cv_libfuse=no
46088fi
46089
46090        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5
46091$as_echo_n "checking for fuse_new in -losxfuse... " >&6; }
46092if ${ac_cv_lib_osxfuse_fuse_new+:} false; then :
46093  $as_echo_n "(cached) " >&6
46094else
46095  ac_check_lib_save_LIBS=$LIBS
46096LIBS="-losxfuse  $LIBS"
46097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46098/* end confdefs.h.  */
46099
46100/* Override any GCC internal prototype to avoid an error.
46101   Use char because int might match the return type of a GCC
46102   builtin and then its argument prototype would still apply.  */
46103#ifdef __cplusplus
46104extern "C"
46105#endif
46106char fuse_new ();
46107int
46108main ()
46109{
46110return fuse_new ();
46111  ;
46112  return 0;
46113}
46114_ACEOF
46115if ac_fn_c_try_link "$LINENO"; then :
46116  ac_cv_lib_osxfuse_fuse_new=yes
46117else
46118  ac_cv_lib_osxfuse_fuse_new=no
46119fi
46120rm -f core conftest.err conftest.$ac_objext \
46121    conftest$ac_exeext conftest.$ac_ext
46122LIBS=$ac_check_lib_save_LIBS
46123fi
46124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5
46125$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; }
46126if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then :
46127  ac_cv_libfuse_dummy=yes
46128else
46129  ac_cv_libfuse=no
46130fi
46131
46132
46133        ac_cv_libfuse_LIBADD="-losxfuse";
46134
46135fi
46136
46137fi
46138
46139fi
46140
46141  if test "x$ac_cv_libfuse" = xlibfuse; then :
46142
46143$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h
46144
46145
46146fi
46147  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
46148
46149$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h
46150
46151
46152fi
46153
46154  if test "x$ac_cv_libfuse" != xno; then :
46155  HAVE_LIBFUSE=1
46156
46157else
46158  HAVE_LIBFUSE=0
46159
46160
46161fi
46162
46163
46164  if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then :
46165  LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS
46166
46167
46168fi
46169  if test "x$ac_cv_libfuse_LIBADD" != "x"; then :
46170  LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD
46171
46172
46173fi
46174
46175  if test "x$ac_cv_libfuse" = xlibfuse; then :
46176  ax_libfuse_pc_libs_private=-lfuse
46177
46178
46179fi
46180  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
46181  ax_libfuse_pc_libs_private=-losxfuse
46182
46183
46184fi
46185
46186  if test "x$ac_cv_libfuse" = xlibfuse; then :
46187  ax_libfuse_spec_requires=fuse-libs
46188
46189    ax_libfuse_spec_build_requires=fuse-devel
46190
46191
46192fi
46193
46194
46195for ac_header in signal.h sys/signal.h unistd.h
46196do :
46197  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
46198ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
46199if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
46200  cat >>confdefs.h <<_ACEOF
46201#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46202_ACEOF
46203
46204fi
46205
46206done
46207
46208
46209  for ac_func in close getopt setvbuf
46210do :
46211  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46212ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46213if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46214  cat >>confdefs.h <<_ACEOF
46215#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46216_ACEOF
46217
46218fi
46219done
46220
46221
46222  if test "x$ac_cv_func_close" != xyes; then :
46223  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46225as_fn_error 1 "Missing function: close
46226See \`config.log' for more details" "$LINENO" 5; }
46227
46228fi
46229
46230    for ac_header in stdarg.h varargs.h
46231do :
46232  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
46233ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
46234if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
46235  cat >>confdefs.h <<_ACEOF
46236#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46237_ACEOF
46238
46239fi
46240
46241done
46242
46243
46244  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
46245  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46247as_fn_error 1 "Missing headers: stdarg.h and varargs.h
46248See \`config.log' for more details" "$LINENO" 5; }
46249
46250fi
46251
46252    for ac_header in errno.h
46253do :
46254  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
46255if test "x$ac_cv_header_errno_h" = xyes; then :
46256  cat >>confdefs.h <<_ACEOF
46257#define HAVE_ERRNO_H 1
46258_ACEOF
46259
46260fi
46261
46262done
46263
46264
46265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
46266$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
46267if ${ac_cv_header_time+:} false; then :
46268  $as_echo_n "(cached) " >&6
46269else
46270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271/* end confdefs.h.  */
46272#include <sys/types.h>
46273#include <sys/time.h>
46274#include <time.h>
46275
46276int
46277main ()
46278{
46279if ((struct tm *) 0)
46280return 0;
46281  ;
46282  return 0;
46283}
46284_ACEOF
46285if ac_fn_c_try_compile "$LINENO"; then :
46286  ac_cv_header_time=yes
46287else
46288  ac_cv_header_time=no
46289fi
46290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46291fi
46292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
46293$as_echo "$ac_cv_header_time" >&6; }
46294if test $ac_cv_header_time = yes; then
46295
46296$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
46297
46298fi
46299
46300
46301    if test "x$ac_cv_enable_winapi" = xno; then :
46302  for ac_func in clock_gettime getegid geteuid time
46303do :
46304  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46305ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46306if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46307  cat >>confdefs.h <<_ACEOF
46308#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46309_ACEOF
46310
46311fi
46312done
46313
46314
46315fi
46316
46317
46318if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then :
46319  case $host in #(
46320  *cygwin* | *mingw* | *msys*) :
46321
46322$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h
46323
46324      HAVE_DLLMAIN=1
46325
46326
46327      LIBCREG_DLL_EXPORT="-DLIBCREG_DLL_EXPORT"
46328
46329
46330      LIBCREG_DLL_IMPORT="-DLIBCREG_DLL_IMPORT"
46331
46332       ;; #(
46333  *) :
46334     ;;
46335esac
46336
46337fi
46338
46339
46340for ac_header in dlfcn.h
46341do :
46342  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
46343if test "x$ac_cv_header_dlfcn_h" = xyes; then :
46344  cat >>confdefs.h <<_ACEOF
46345#define HAVE_DLFCN_H 1
46346_ACEOF
46347
46348fi
46349
46350done
46351
46352
46353  for ac_func in fmemopen getopt mkstemp setenv tzset unlink
46354do :
46355  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46356ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46357if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46358  cat >>confdefs.h <<_ACEOF
46359#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46360_ACEOF
46361
46362fi
46363done
46364
46365
46366  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
46367$as_echo_n "checking for dlsym in -ldl... " >&6; }
46368if ${ac_cv_lib_dl_dlsym+:} false; then :
46369  $as_echo_n "(cached) " >&6
46370else
46371  ac_check_lib_save_LIBS=$LIBS
46372LIBS="-ldl  $LIBS"
46373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46374/* end confdefs.h.  */
46375
46376/* Override any GCC internal prototype to avoid an error.
46377   Use char because int might match the return type of a GCC
46378   builtin and then its argument prototype would still apply.  */
46379#ifdef __cplusplus
46380extern "C"
46381#endif
46382char dlsym ();
46383int
46384main ()
46385{
46386return dlsym ();
46387  ;
46388  return 0;
46389}
46390_ACEOF
46391if ac_fn_c_try_link "$LINENO"; then :
46392  ac_cv_lib_dl_dlsym=yes
46393else
46394  ac_cv_lib_dl_dlsym=no
46395fi
46396rm -f core conftest.err conftest.$ac_objext \
46397    conftest$ac_exeext conftest.$ac_ext
46398LIBS=$ac_check_lib_save_LIBS
46399fi
46400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
46401$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
46402if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
46403  cat >>confdefs.h <<_ACEOF
46404#define HAVE_LIBDL 1
46405_ACEOF
46406
46407  LIBS="-ldl $LIBS"
46408
46409fi
46410
46411
46412  if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then :
46413
46414$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h
46415
46416
46417fi
46418
46419 if test "x${LIB_FUZZING_ENGINE}" != x; then
46420  HAVE_LIB_FUZZING_ENGINE_TRUE=
46421  HAVE_LIB_FUZZING_ENGINE_FALSE='#'
46422else
46423  HAVE_LIB_FUZZING_ENGINE_TRUE='#'
46424  HAVE_LIB_FUZZING_ENGINE_FALSE=
46425fi
46426
46427  LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}"
46428
46429
46430
46431CFLAGS="$CFLAGS -Wall";
46432
46433if 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; then :
46434  libcreg_spec_requires=Requires:
46435
46436
46437fi
46438
46439if test "x$ac_cv_libfuse" != xno; then :
46440  libcreg_spec_tools_build_requires=BuildRequires:
46441
46442
46443fi
46444
46445DPKG_DATE=`date -R 2> /dev/null`
46446
46447
46448SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null`
46449
46450
46451ac_config_files="$ac_config_files Makefile"
46452
46453ac_config_files="$ac_config_files include/Makefile"
46454
46455ac_config_files="$ac_config_files common/Makefile"
46456
46457ac_config_files="$ac_config_files libcerror/Makefile"
46458
46459ac_config_files="$ac_config_files libcthreads/Makefile"
46460
46461ac_config_files="$ac_config_files libcdata/Makefile"
46462
46463ac_config_files="$ac_config_files libclocale/Makefile"
46464
46465ac_config_files="$ac_config_files libcnotify/Makefile"
46466
46467ac_config_files="$ac_config_files libcsplit/Makefile"
46468
46469ac_config_files="$ac_config_files libuna/Makefile"
46470
46471ac_config_files="$ac_config_files libcfile/Makefile"
46472
46473ac_config_files="$ac_config_files libcpath/Makefile"
46474
46475ac_config_files="$ac_config_files libbfio/Makefile"
46476
46477ac_config_files="$ac_config_files libfcache/Makefile"
46478
46479ac_config_files="$ac_config_files libfdata/Makefile"
46480
46481ac_config_files="$ac_config_files libcreg/Makefile"
46482
46483ac_config_files="$ac_config_files pycreg/Makefile"
46484
46485ac_config_files="$ac_config_files pycreg-python2/Makefile"
46486
46487ac_config_files="$ac_config_files pycreg-python3/Makefile"
46488
46489ac_config_files="$ac_config_files cregtools/Makefile"
46490
46491ac_config_files="$ac_config_files po/Makefile.in"
46492
46493ac_config_files="$ac_config_files po/Makevars"
46494
46495ac_config_files="$ac_config_files manuals/Makefile"
46496
46497ac_config_files="$ac_config_files tests/Makefile"
46498
46499ac_config_files="$ac_config_files ossfuzz/Makefile"
46500
46501ac_config_files="$ac_config_files msvscpp/Makefile"
46502
46503ac_config_files="$ac_config_files include/libcreg.h"
46504
46505ac_config_files="$ac_config_files include/libcreg/definitions.h"
46506
46507ac_config_files="$ac_config_files include/libcreg/features.h"
46508
46509ac_config_files="$ac_config_files include/libcreg/types.h"
46510
46511ac_config_files="$ac_config_files libcreg/libcreg_definitions.h"
46512
46513ac_config_files="$ac_config_files common/types.h"
46514
46515ac_config_files="$ac_config_files dpkg/changelog"
46516
46517ac_config_files="$ac_config_files libcreg/libcreg.rc"
46518
46519ac_config_files="$ac_config_files libcreg.pc"
46520
46521ac_config_files="$ac_config_files libcreg.spec"
46522
46523ac_config_headers="$ac_config_headers common/config.h"
46524
46525
46526cat >confcache <<\_ACEOF
46527# This file is a shell script that caches the results of configure
46528# tests run on this system so they can be shared between configure
46529# scripts and configure runs, see configure's option --config-cache.
46530# It is not useful on other systems.  If it contains results you don't
46531# want to keep, you may remove or edit it.
46532#
46533# config.status only pays attention to the cache file if you give it
46534# the --recheck option to rerun configure.
46535#
46536# `ac_cv_env_foo' variables (set or unset) will be overridden when
46537# loading this file, other *unset* `ac_cv_foo' will be assigned the
46538# following values.
46539
46540_ACEOF
46541
46542# The following way of writing the cache mishandles newlines in values,
46543# but we know of no workaround that is simple, portable, and efficient.
46544# So, we kill variables containing newlines.
46545# Ultrix sh set writes to stderr and can't be redirected directly,
46546# and sets the high bit in the cache file unless we assign to the vars.
46547(
46548  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46549    eval ac_val=\$$ac_var
46550    case $ac_val in #(
46551    *${as_nl}*)
46552      case $ac_var in #(
46553      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
46554$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
46555      esac
46556      case $ac_var in #(
46557      _ | IFS | as_nl) ;; #(
46558      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
46559      *) { eval $ac_var=; unset $ac_var;} ;;
46560      esac ;;
46561    esac
46562  done
46563
46564  (set) 2>&1 |
46565    case $as_nl`(ac_space=' '; set) 2>&1` in #(
46566    *${as_nl}ac_space=\ *)
46567      # `set' does not quote correctly, so add quotes: double-quote
46568      # substitution turns \\\\ into \\, and sed turns \\ into \.
46569      sed -n \
46570	"s/'/'\\\\''/g;
46571	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46572      ;; #(
46573    *)
46574      # `set' quotes correctly as required by POSIX, so do not add quotes.
46575      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46576      ;;
46577    esac |
46578    sort
46579) |
46580  sed '
46581     /^ac_cv_env_/b end
46582     t clear
46583     :clear
46584     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46585     t end
46586     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46587     :end' >>confcache
46588if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
46589  if test -w "$cache_file"; then
46590    if test "x$cache_file" != "x/dev/null"; then
46591      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46592$as_echo "$as_me: updating cache $cache_file" >&6;}
46593      if test ! -f "$cache_file" || test -h "$cache_file"; then
46594	cat confcache >"$cache_file"
46595      else
46596        case $cache_file in #(
46597        */* | ?:*)
46598	  mv -f confcache "$cache_file"$$ &&
46599	  mv -f "$cache_file"$$ "$cache_file" ;; #(
46600        *)
46601	  mv -f confcache "$cache_file" ;;
46602	esac
46603      fi
46604    fi
46605  else
46606    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46607$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
46608  fi
46609fi
46610rm -f confcache
46611
46612test "x$prefix" = xNONE && prefix=$ac_default_prefix
46613# Let make expand exec_prefix.
46614test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46615
46616DEFS=-DHAVE_CONFIG_H
46617
46618ac_libobjs=
46619ac_ltlibobjs=
46620U=
46621for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46622  # 1. Remove the extension, and $U if already installed.
46623  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
46624  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
46625  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
46626  #    will be set to the directory where LIBOBJS objects are built.
46627  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
46628  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
46629done
46630LIBOBJS=$ac_libobjs
46631
46632LTLIBOBJS=$ac_ltlibobjs
46633
46634
46635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
46636$as_echo_n "checking that generated files are newer than configure... " >&6; }
46637   if test -n "$am_sleep_pid"; then
46638     # Hide warnings about reused PIDs.
46639     wait $am_sleep_pid 2>/dev/null
46640   fi
46641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
46642$as_echo "done" >&6; }
46643 if test -n "$EXEEXT"; then
46644  am__EXEEXT_TRUE=
46645  am__EXEEXT_FALSE='#'
46646else
46647  am__EXEEXT_TRUE='#'
46648  am__EXEEXT_FALSE=
46649fi
46650
46651if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46652  as_fn_error $? "conditional \"AMDEP\" was never defined.
46653Usually this means the macro was only invoked conditionally." "$LINENO" 5
46654fi
46655if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46656  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
46657Usually this means the macro was only invoked conditionally." "$LINENO" 5
46658fi
46659if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
46660  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
46661Usually this means the macro was only invoked conditionally." "$LINENO" 5
46662fi
46663if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then
46664  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined.
46665Usually this means the macro was only invoked conditionally." "$LINENO" 5
46666fi
46667if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then
46668  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined.
46669Usually this means the macro was only invoked conditionally." "$LINENO" 5
46670fi
46671if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then
46672  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined.
46673Usually this means the macro was only invoked conditionally." "$LINENO" 5
46674fi
46675if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then
46676  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined.
46677Usually this means the macro was only invoked conditionally." "$LINENO" 5
46678fi
46679if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then
46680  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined.
46681Usually this means the macro was only invoked conditionally." "$LINENO" 5
46682fi
46683if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then
46684  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined.
46685Usually this means the macro was only invoked conditionally." "$LINENO" 5
46686fi
46687if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then
46688  as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined.
46689Usually this means the macro was only invoked conditionally." "$LINENO" 5
46690fi
46691if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then
46692  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined.
46693Usually this means the macro was only invoked conditionally." "$LINENO" 5
46694fi
46695if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then
46696  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined.
46697Usually this means the macro was only invoked conditionally." "$LINENO" 5
46698fi
46699if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then
46700  as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined.
46701Usually this means the macro was only invoked conditionally." "$LINENO" 5
46702fi
46703if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then
46704  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined.
46705Usually this means the macro was only invoked conditionally." "$LINENO" 5
46706fi
46707if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then
46708  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined.
46709Usually this means the macro was only invoked conditionally." "$LINENO" 5
46710fi
46711if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
46712  as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
46713Usually this means the macro was only invoked conditionally." "$LINENO" 5
46714fi
46715if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then
46716  as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined.
46717Usually this means the macro was only invoked conditionally." "$LINENO" 5
46718fi
46719if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then
46720  as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined.
46721Usually this means the macro was only invoked conditionally." "$LINENO" 5
46722fi
46723if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then
46724  as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined.
46725Usually this means the macro was only invoked conditionally." "$LINENO" 5
46726fi
46727if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then
46728  as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined.
46729Usually this means the macro was only invoked conditionally." "$LINENO" 5
46730fi
46731
46732: "${CONFIG_STATUS=./config.status}"
46733ac_write_fail=0
46734ac_clean_files_save=$ac_clean_files
46735ac_clean_files="$ac_clean_files $CONFIG_STATUS"
46736{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
46737$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
46738as_write_fail=0
46739cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
46740#! $SHELL
46741# Generated by $as_me.
46742# Run this file to recreate the current configuration.
46743# Compiler output produced by configure, useful for debugging
46744# configure, is in config.log if it exists.
46745
46746debug=false
46747ac_cs_recheck=false
46748ac_cs_silent=false
46749
46750SHELL=\${CONFIG_SHELL-$SHELL}
46751export SHELL
46752_ASEOF
46753cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
46754## -------------------- ##
46755## M4sh Initialization. ##
46756## -------------------- ##
46757
46758# Be more Bourne compatible
46759DUALCASE=1; export DUALCASE # for MKS sh
46760if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
46761  emulate sh
46762  NULLCMD=:
46763  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46764  # is contrary to our usage.  Disable this feature.
46765  alias -g '${1+"$@"}'='"$@"'
46766  setopt NO_GLOB_SUBST
46767else
46768  case `(set -o) 2>/dev/null` in #(
46769  *posix*) :
46770    set -o posix ;; #(
46771  *) :
46772     ;;
46773esac
46774fi
46775
46776
46777as_nl='
46778'
46779export as_nl
46780# Printing a long string crashes Solaris 7 /usr/bin/printf.
46781as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46782as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46783as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46784# Prefer a ksh shell builtin over an external printf program on Solaris,
46785# but without wasting forks for bash or zsh.
46786if test -z "$BASH_VERSION$ZSH_VERSION" \
46787    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46788  as_echo='print -r --'
46789  as_echo_n='print -rn --'
46790elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
46791  as_echo='printf %s\n'
46792  as_echo_n='printf %s'
46793else
46794  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
46795    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
46796    as_echo_n='/usr/ucb/echo -n'
46797  else
46798    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
46799    as_echo_n_body='eval
46800      arg=$1;
46801      case $arg in #(
46802      *"$as_nl"*)
46803	expr "X$arg" : "X\\(.*\\)$as_nl";
46804	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
46805      esac;
46806      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
46807    '
46808    export as_echo_n_body
46809    as_echo_n='sh -c $as_echo_n_body as_echo'
46810  fi
46811  export as_echo_body
46812  as_echo='sh -c $as_echo_body as_echo'
46813fi
46814
46815# The user is always right.
46816if test "${PATH_SEPARATOR+set}" != set; then
46817  PATH_SEPARATOR=:
46818  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
46819    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
46820      PATH_SEPARATOR=';'
46821  }
46822fi
46823
46824
46825# IFS
46826# We need space, tab and new line, in precisely that order.  Quoting is
46827# there to prevent editors from complaining about space-tab.
46828# (If _AS_PATH_WALK were called with IFS unset, it would disable word
46829# splitting by setting IFS to empty value.)
46830IFS=" ""	$as_nl"
46831
46832# Find who we are.  Look in the path if we contain no directory separator.
46833as_myself=
46834case $0 in #((
46835  *[\\/]* ) as_myself=$0 ;;
46836  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46837for as_dir in $PATH
46838do
46839  IFS=$as_save_IFS
46840  test -z "$as_dir" && as_dir=.
46841    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46842  done
46843IFS=$as_save_IFS
46844
46845     ;;
46846esac
46847# We did not find ourselves, most probably we were run as `sh COMMAND'
46848# in which case we are not to be found in the path.
46849if test "x$as_myself" = x; then
46850  as_myself=$0
46851fi
46852if test ! -f "$as_myself"; then
46853  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
46854  exit 1
46855fi
46856
46857# Unset variables that we do not need and which cause bugs (e.g. in
46858# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
46859# suppresses any "Segmentation fault" message there.  '((' could
46860# trigger a bug in pdksh 5.2.14.
46861for as_var in BASH_ENV ENV MAIL MAILPATH
46862do eval test x\${$as_var+set} = xset \
46863  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
46864done
46865PS1='$ '
46866PS2='> '
46867PS4='+ '
46868
46869# NLS nuisances.
46870LC_ALL=C
46871export LC_ALL
46872LANGUAGE=C
46873export LANGUAGE
46874
46875# CDPATH.
46876(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
46877
46878
46879# as_fn_error STATUS ERROR [LINENO LOG_FD]
46880# ----------------------------------------
46881# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
46882# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
46883# script with STATUS, using 1 if that was 0.
46884as_fn_error ()
46885{
46886  as_status=$1; test $as_status -eq 0 && as_status=1
46887  if test "$4"; then
46888    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
46889    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
46890  fi
46891  $as_echo "$as_me: error: $2" >&2
46892  as_fn_exit $as_status
46893} # as_fn_error
46894
46895
46896# as_fn_set_status STATUS
46897# -----------------------
46898# Set $? to STATUS, without forking.
46899as_fn_set_status ()
46900{
46901  return $1
46902} # as_fn_set_status
46903
46904# as_fn_exit STATUS
46905# -----------------
46906# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
46907as_fn_exit ()
46908{
46909  set +e
46910  as_fn_set_status $1
46911  exit $1
46912} # as_fn_exit
46913
46914# as_fn_unset VAR
46915# ---------------
46916# Portably unset VAR.
46917as_fn_unset ()
46918{
46919  { eval $1=; unset $1;}
46920}
46921as_unset=as_fn_unset
46922# as_fn_append VAR VALUE
46923# ----------------------
46924# Append the text in VALUE to the end of the definition contained in VAR. Take
46925# advantage of any shell optimizations that allow amortized linear growth over
46926# repeated appends, instead of the typical quadratic growth present in naive
46927# implementations.
46928if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
46929  eval 'as_fn_append ()
46930  {
46931    eval $1+=\$2
46932  }'
46933else
46934  as_fn_append ()
46935  {
46936    eval $1=\$$1\$2
46937  }
46938fi # as_fn_append
46939
46940# as_fn_arith ARG...
46941# ------------------
46942# Perform arithmetic evaluation on the ARGs, and store the result in the
46943# global $as_val. Take advantage of shells that can avoid forks. The arguments
46944# must be portable across $(()) and expr.
46945if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
46946  eval 'as_fn_arith ()
46947  {
46948    as_val=$(( $* ))
46949  }'
46950else
46951  as_fn_arith ()
46952  {
46953    as_val=`expr "$@" || test $? -eq 1`
46954  }
46955fi # as_fn_arith
46956
46957
46958if expr a : '\(a\)' >/dev/null 2>&1 &&
46959   test "X`expr 00001 : '.*\(...\)'`" = X001; then
46960  as_expr=expr
46961else
46962  as_expr=false
46963fi
46964
46965if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
46966  as_basename=basename
46967else
46968  as_basename=false
46969fi
46970
46971if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46972  as_dirname=dirname
46973else
46974  as_dirname=false
46975fi
46976
46977as_me=`$as_basename -- "$0" ||
46978$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46979	 X"$0" : 'X\(//\)$' \| \
46980	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
46981$as_echo X/"$0" |
46982    sed '/^.*\/\([^/][^/]*\)\/*$/{
46983	    s//\1/
46984	    q
46985	  }
46986	  /^X\/\(\/\/\)$/{
46987	    s//\1/
46988	    q
46989	  }
46990	  /^X\/\(\/\).*/{
46991	    s//\1/
46992	    q
46993	  }
46994	  s/.*/./; q'`
46995
46996# Avoid depending upon Character Ranges.
46997as_cr_letters='abcdefghijklmnopqrstuvwxyz'
46998as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46999as_cr_Letters=$as_cr_letters$as_cr_LETTERS
47000as_cr_digits='0123456789'
47001as_cr_alnum=$as_cr_Letters$as_cr_digits
47002
47003ECHO_C= ECHO_N= ECHO_T=
47004case `echo -n x` in #(((((
47005-n*)
47006  case `echo 'xy\c'` in
47007  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
47008  xy)  ECHO_C='\c';;
47009  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
47010       ECHO_T='	';;
47011  esac;;
47012*)
47013  ECHO_N='-n';;
47014esac
47015
47016rm -f conf$$ conf$$.exe conf$$.file
47017if test -d conf$$.dir; then
47018  rm -f conf$$.dir/conf$$.file
47019else
47020  rm -f conf$$.dir
47021  mkdir conf$$.dir 2>/dev/null
47022fi
47023if (echo >conf$$.file) 2>/dev/null; then
47024  if ln -s conf$$.file conf$$ 2>/dev/null; then
47025    as_ln_s='ln -s'
47026    # ... but there are two gotchas:
47027    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
47028    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
47029    # In both cases, we have to default to `cp -pR'.
47030    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
47031      as_ln_s='cp -pR'
47032  elif ln conf$$.file conf$$ 2>/dev/null; then
47033    as_ln_s=ln
47034  else
47035    as_ln_s='cp -pR'
47036  fi
47037else
47038  as_ln_s='cp -pR'
47039fi
47040rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
47041rmdir conf$$.dir 2>/dev/null
47042
47043
47044# as_fn_mkdir_p
47045# -------------
47046# Create "$as_dir" as a directory, including parents if necessary.
47047as_fn_mkdir_p ()
47048{
47049
47050  case $as_dir in #(
47051  -*) as_dir=./$as_dir;;
47052  esac
47053  test -d "$as_dir" || eval $as_mkdir_p || {
47054    as_dirs=
47055    while :; do
47056      case $as_dir in #(
47057      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
47058      *) as_qdir=$as_dir;;
47059      esac
47060      as_dirs="'$as_qdir' $as_dirs"
47061      as_dir=`$as_dirname -- "$as_dir" ||
47062$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47063	 X"$as_dir" : 'X\(//\)[^/]' \| \
47064	 X"$as_dir" : 'X\(//\)$' \| \
47065	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
47066$as_echo X"$as_dir" |
47067    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47068	    s//\1/
47069	    q
47070	  }
47071	  /^X\(\/\/\)[^/].*/{
47072	    s//\1/
47073	    q
47074	  }
47075	  /^X\(\/\/\)$/{
47076	    s//\1/
47077	    q
47078	  }
47079	  /^X\(\/\).*/{
47080	    s//\1/
47081	    q
47082	  }
47083	  s/.*/./; q'`
47084      test -d "$as_dir" && break
47085    done
47086    test -z "$as_dirs" || eval "mkdir $as_dirs"
47087  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
47088
47089
47090} # as_fn_mkdir_p
47091if mkdir -p . 2>/dev/null; then
47092  as_mkdir_p='mkdir -p "$as_dir"'
47093else
47094  test -d ./-p && rmdir ./-p
47095  as_mkdir_p=false
47096fi
47097
47098
47099# as_fn_executable_p FILE
47100# -----------------------
47101# Test if FILE is an executable regular file.
47102as_fn_executable_p ()
47103{
47104  test -f "$1" && test -x "$1"
47105} # as_fn_executable_p
47106as_test_x='test -x'
47107as_executable_p=as_fn_executable_p
47108
47109# Sed expression to map a string onto a valid CPP name.
47110as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47111
47112# Sed expression to map a string onto a valid variable name.
47113as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47114
47115
47116exec 6>&1
47117## ----------------------------------- ##
47118## Main body of $CONFIG_STATUS script. ##
47119## ----------------------------------- ##
47120_ASEOF
47121test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
47122
47123cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47124# Save the log message, to keep $0 and so on meaningful, and to
47125# report actual input values of CONFIG_FILES etc. instead of their
47126# values after options handling.
47127ac_log="
47128This file was extended by libcreg $as_me 20210502, which was
47129generated by GNU Autoconf 2.69.  Invocation command line was
47130
47131  CONFIG_FILES    = $CONFIG_FILES
47132  CONFIG_HEADERS  = $CONFIG_HEADERS
47133  CONFIG_LINKS    = $CONFIG_LINKS
47134  CONFIG_COMMANDS = $CONFIG_COMMANDS
47135  $ $0 $@
47136
47137on `(hostname || uname -n) 2>/dev/null | sed 1q`
47138"
47139
47140_ACEOF
47141
47142case $ac_config_files in *"
47143"*) set x $ac_config_files; shift; ac_config_files=$*;;
47144esac
47145
47146case $ac_config_headers in *"
47147"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
47148esac
47149
47150
47151cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47152# Files that config.status was made for.
47153config_files="$ac_config_files"
47154config_headers="$ac_config_headers"
47155config_commands="$ac_config_commands"
47156
47157_ACEOF
47158
47159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47160ac_cs_usage="\
47161\`$as_me' instantiates files and other configuration actions
47162from templates according to the current configuration.  Unless the files
47163and actions are specified as TAGs, all are instantiated by default.
47164
47165Usage: $0 [OPTION]... [TAG]...
47166
47167  -h, --help       print this help, then exit
47168  -V, --version    print version number and configuration settings, then exit
47169      --config     print configuration, then exit
47170  -q, --quiet, --silent
47171                   do not print progress messages
47172  -d, --debug      don't remove temporary files
47173      --recheck    update $as_me by reconfiguring in the same conditions
47174      --file=FILE[:TEMPLATE]
47175                   instantiate the configuration file FILE
47176      --header=FILE[:TEMPLATE]
47177                   instantiate the configuration header FILE
47178
47179Configuration files:
47180$config_files
47181
47182Configuration headers:
47183$config_headers
47184
47185Configuration commands:
47186$config_commands
47187
47188Report bugs to <joachim.metz@gmail.com>."
47189
47190_ACEOF
47191cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47192ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
47193ac_cs_version="\\
47194libcreg config.status 20210502
47195configured by $0, generated by GNU Autoconf 2.69,
47196  with options \\"\$ac_cs_config\\"
47197
47198Copyright (C) 2012 Free Software Foundation, Inc.
47199This config.status script is free software; the Free Software Foundation
47200gives unlimited permission to copy, distribute and modify it."
47201
47202ac_pwd='$ac_pwd'
47203srcdir='$srcdir'
47204INSTALL='$INSTALL'
47205MKDIR_P='$MKDIR_P'
47206AWK='$AWK'
47207test -n "\$AWK" || AWK=awk
47208_ACEOF
47209
47210cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47211# The default lists apply if the user does not specify any file.
47212ac_need_defaults=:
47213while test $# != 0
47214do
47215  case $1 in
47216  --*=?*)
47217    ac_option=`expr "X$1" : 'X\([^=]*\)='`
47218    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
47219    ac_shift=:
47220    ;;
47221  --*=)
47222    ac_option=`expr "X$1" : 'X\([^=]*\)='`
47223    ac_optarg=
47224    ac_shift=:
47225    ;;
47226  *)
47227    ac_option=$1
47228    ac_optarg=$2
47229    ac_shift=shift
47230    ;;
47231  esac
47232
47233  case $ac_option in
47234  # Handling of the options.
47235  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47236    ac_cs_recheck=: ;;
47237  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47238    $as_echo "$ac_cs_version"; exit ;;
47239  --config | --confi | --conf | --con | --co | --c )
47240    $as_echo "$ac_cs_config"; exit ;;
47241  --debug | --debu | --deb | --de | --d | -d )
47242    debug=: ;;
47243  --file | --fil | --fi | --f )
47244    $ac_shift
47245    case $ac_optarg in
47246    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47247    '') as_fn_error $? "missing file argument" ;;
47248    esac
47249    as_fn_append CONFIG_FILES " '$ac_optarg'"
47250    ac_need_defaults=false;;
47251  --header | --heade | --head | --hea )
47252    $ac_shift
47253    case $ac_optarg in
47254    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47255    esac
47256    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
47257    ac_need_defaults=false;;
47258  --he | --h)
47259    # Conflict between --help and --header
47260    as_fn_error $? "ambiguous option: \`$1'
47261Try \`$0 --help' for more information.";;
47262  --help | --hel | -h )
47263    $as_echo "$ac_cs_usage"; exit ;;
47264  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47265  | -silent | --silent | --silen | --sile | --sil | --si | --s)
47266    ac_cs_silent=: ;;
47267
47268  # This is an error.
47269  -*) as_fn_error $? "unrecognized option: \`$1'
47270Try \`$0 --help' for more information." ;;
47271
47272  *) as_fn_append ac_config_targets " $1"
47273     ac_need_defaults=false ;;
47274
47275  esac
47276  shift
47277done
47278
47279ac_configure_extra_args=
47280
47281if $ac_cs_silent; then
47282  exec 6>/dev/null
47283  ac_configure_extra_args="$ac_configure_extra_args --silent"
47284fi
47285
47286_ACEOF
47287cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47288if \$ac_cs_recheck; then
47289  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47290  shift
47291  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
47292  CONFIG_SHELL='$SHELL'
47293  export CONFIG_SHELL
47294  exec "\$@"
47295fi
47296
47297_ACEOF
47298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47299exec 5>>config.log
47300{
47301  echo
47302  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47303## Running $as_me. ##
47304_ASBOX
47305  $as_echo "$ac_log"
47306} >&5
47307
47308_ACEOF
47309cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47310#
47311# INIT-COMMANDS
47312#
47313AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
47314
47315
47316# The HP-UX ksh and POSIX shell print the target directory to stdout
47317# if CDPATH is set.
47318(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47319
47320sed_quote_subst='$sed_quote_subst'
47321double_quote_subst='$double_quote_subst'
47322delay_variable_subst='$delay_variable_subst'
47323AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
47324DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
47325OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
47326macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
47327macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
47328enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
47329enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
47330pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
47331enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
47332shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
47333SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
47334ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
47335PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
47336host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
47337host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
47338host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
47339build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
47340build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
47341build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
47342SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
47343Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
47344GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
47345EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
47346FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
47347LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
47348NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
47349LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
47350max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
47351ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
47352exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
47353lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
47354lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
47355lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
47356lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
47357lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
47358reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
47359reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
47360deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
47361file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
47362file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
47363want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
47364sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
47365AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
47366AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
47367archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
47368STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
47369RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
47370old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
47371old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
47372old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
47373lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
47374CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
47375CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
47376compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
47377GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
47378lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
47379lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
47380lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
47381lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
47382lt_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"`'
47383lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
47384nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
47385lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
47386lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
47387objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
47388MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
47389lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
47390lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
47391lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
47392lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
47393lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
47394need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
47395MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
47396DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
47397NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
47398LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
47399OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
47400OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
47401libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
47402shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
47403extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
47404archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
47405enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
47406export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
47407whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
47408compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
47409old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
47410old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
47411archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
47412archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
47413module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
47414module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
47415with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
47416allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
47417no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
47418hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
47419hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
47420hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
47421hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
47422hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
47423hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
47424hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
47425inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
47426link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
47427always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
47428export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
47429exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
47430include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
47431prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
47432postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
47433file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
47434variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
47435need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
47436need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
47437version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
47438runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
47439shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
47440shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
47441libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
47442library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
47443soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
47444install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
47445postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
47446postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
47447finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
47448finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
47449hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
47450sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
47451configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
47452configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
47453hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
47454enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
47455enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
47456enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
47457old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
47458striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
47459compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
47460predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
47461postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
47462predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
47463postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
47464compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
47465LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
47466reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
47467reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47468old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47469compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
47470GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
47471lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
47472lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
47473lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
47474lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
47475lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
47476archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
47477enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
47478export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
47479whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
47480compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
47481old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47482old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47483archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47484archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47485module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47486module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47487with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
47488allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
47489no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
47490hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
47491hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
47492hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
47493hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
47494hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
47495hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
47496hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
47497inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
47498link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
47499always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
47500export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47501exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
47502include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
47503prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47504postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
47505file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
47506hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
47507compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
47508predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
47509postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
47510predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
47511postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
47512compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
47513
47514LTCC='$LTCC'
47515LTCFLAGS='$LTCFLAGS'
47516compiler='$compiler_DEFAULT'
47517
47518# A function that is used when there is no print builtin or printf.
47519func_fallback_echo ()
47520{
47521  eval 'cat <<_LTECHO_EOF
47522\$1
47523_LTECHO_EOF'
47524}
47525
47526# Quote evaled strings.
47527for var in AS \
47528DLLTOOL \
47529OBJDUMP \
47530SHELL \
47531ECHO \
47532PATH_SEPARATOR \
47533SED \
47534GREP \
47535EGREP \
47536FGREP \
47537LD \
47538NM \
47539LN_S \
47540lt_SP2NL \
47541lt_NL2SP \
47542reload_flag \
47543deplibs_check_method \
47544file_magic_cmd \
47545file_magic_glob \
47546want_nocaseglob \
47547sharedlib_from_linklib_cmd \
47548AR \
47549AR_FLAGS \
47550archiver_list_spec \
47551STRIP \
47552RANLIB \
47553CC \
47554CFLAGS \
47555compiler \
47556lt_cv_sys_global_symbol_pipe \
47557lt_cv_sys_global_symbol_to_cdecl \
47558lt_cv_sys_global_symbol_to_import \
47559lt_cv_sys_global_symbol_to_c_name_address \
47560lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
47561lt_cv_nm_interface \
47562nm_file_list_spec \
47563lt_cv_truncate_bin \
47564lt_prog_compiler_no_builtin_flag \
47565lt_prog_compiler_pic \
47566lt_prog_compiler_wl \
47567lt_prog_compiler_static \
47568lt_cv_prog_compiler_c_o \
47569need_locks \
47570MANIFEST_TOOL \
47571DSYMUTIL \
47572NMEDIT \
47573LIPO \
47574OTOOL \
47575OTOOL64 \
47576shrext_cmds \
47577export_dynamic_flag_spec \
47578whole_archive_flag_spec \
47579compiler_needs_object \
47580with_gnu_ld \
47581allow_undefined_flag \
47582no_undefined_flag \
47583hardcode_libdir_flag_spec \
47584hardcode_libdir_separator \
47585exclude_expsyms \
47586include_expsyms \
47587file_list_spec \
47588variables_saved_for_relink \
47589libname_spec \
47590library_names_spec \
47591soname_spec \
47592install_override_mode \
47593finish_eval \
47594old_striplib \
47595striplib \
47596compiler_lib_search_dirs \
47597predep_objects \
47598postdep_objects \
47599predeps \
47600postdeps \
47601compiler_lib_search_path \
47602LD_CXX \
47603reload_flag_CXX \
47604compiler_CXX \
47605lt_prog_compiler_no_builtin_flag_CXX \
47606lt_prog_compiler_pic_CXX \
47607lt_prog_compiler_wl_CXX \
47608lt_prog_compiler_static_CXX \
47609lt_cv_prog_compiler_c_o_CXX \
47610export_dynamic_flag_spec_CXX \
47611whole_archive_flag_spec_CXX \
47612compiler_needs_object_CXX \
47613with_gnu_ld_CXX \
47614allow_undefined_flag_CXX \
47615no_undefined_flag_CXX \
47616hardcode_libdir_flag_spec_CXX \
47617hardcode_libdir_separator_CXX \
47618exclude_expsyms_CXX \
47619include_expsyms_CXX \
47620file_list_spec_CXX \
47621compiler_lib_search_dirs_CXX \
47622predep_objects_CXX \
47623postdep_objects_CXX \
47624predeps_CXX \
47625postdeps_CXX \
47626compiler_lib_search_path_CXX; do
47627    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
47628    *[\\\\\\\`\\"\\\$]*)
47629      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
47630      ;;
47631    *)
47632      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
47633      ;;
47634    esac
47635done
47636
47637# Double-quote double-evaled strings.
47638for var in reload_cmds \
47639old_postinstall_cmds \
47640old_postuninstall_cmds \
47641old_archive_cmds \
47642extract_expsyms_cmds \
47643old_archive_from_new_cmds \
47644old_archive_from_expsyms_cmds \
47645archive_cmds \
47646archive_expsym_cmds \
47647module_cmds \
47648module_expsym_cmds \
47649export_symbols_cmds \
47650prelink_cmds \
47651postlink_cmds \
47652postinstall_cmds \
47653postuninstall_cmds \
47654finish_cmds \
47655sys_lib_search_path_spec \
47656configure_time_dlsearch_path \
47657configure_time_lt_sys_library_path \
47658reload_cmds_CXX \
47659old_archive_cmds_CXX \
47660old_archive_from_new_cmds_CXX \
47661old_archive_from_expsyms_cmds_CXX \
47662archive_cmds_CXX \
47663archive_expsym_cmds_CXX \
47664module_cmds_CXX \
47665module_expsym_cmds_CXX \
47666export_symbols_cmds_CXX \
47667prelink_cmds_CXX \
47668postlink_cmds_CXX; do
47669    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
47670    *[\\\\\\\`\\"\\\$]*)
47671      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
47672      ;;
47673    *)
47674      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
47675      ;;
47676    esac
47677done
47678
47679ac_aux_dir='$ac_aux_dir'
47680
47681# See if we are running on zsh, and set the options that allow our
47682# commands through without removal of \ escapes INIT.
47683if test -n "\${ZSH_VERSION+set}"; then
47684   setopt NO_GLOB_SUBST
47685fi
47686
47687
47688    PACKAGE='$PACKAGE'
47689    VERSION='$VERSION'
47690    RM='$RM'
47691    ofile='$ofile'
47692
47693
47694
47695
47696
47697# Capture the value of obsolete ALL_LINGUAS because we need it to compute
47698    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
47699    # from automake < 1.5.
47700    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
47701    # Capture the value of LINGUAS because we need it to compute CATALOGS.
47702    LINGUAS="${LINGUAS-%UNSET%}"
47703
47704
47705_ACEOF
47706
47707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47708
47709# Handling of arguments.
47710for ac_config_target in $ac_config_targets
47711do
47712  case $ac_config_target in
47713    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
47714    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
47715    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
47716    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
47717    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
47718    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
47719    "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;;
47720    "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;;
47721    "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;;
47722    "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;;
47723    "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;;
47724    "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;;
47725    "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;;
47726    "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;;
47727    "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;;
47728    "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;;
47729    "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;;
47730    "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;;
47731    "libcreg/Makefile") CONFIG_FILES="$CONFIG_FILES libcreg/Makefile" ;;
47732    "pycreg/Makefile") CONFIG_FILES="$CONFIG_FILES pycreg/Makefile" ;;
47733    "pycreg-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pycreg-python2/Makefile" ;;
47734    "pycreg-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pycreg-python3/Makefile" ;;
47735    "cregtools/Makefile") CONFIG_FILES="$CONFIG_FILES cregtools/Makefile" ;;
47736    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
47737    "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;;
47738    "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;;
47739    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
47740    "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;;
47741    "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;;
47742    "include/libcreg.h") CONFIG_FILES="$CONFIG_FILES include/libcreg.h" ;;
47743    "include/libcreg/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libcreg/definitions.h" ;;
47744    "include/libcreg/features.h") CONFIG_FILES="$CONFIG_FILES include/libcreg/features.h" ;;
47745    "include/libcreg/types.h") CONFIG_FILES="$CONFIG_FILES include/libcreg/types.h" ;;
47746    "libcreg/libcreg_definitions.h") CONFIG_FILES="$CONFIG_FILES libcreg/libcreg_definitions.h" ;;
47747    "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;;
47748    "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;;
47749    "libcreg/libcreg.rc") CONFIG_FILES="$CONFIG_FILES libcreg/libcreg.rc" ;;
47750    "libcreg.pc") CONFIG_FILES="$CONFIG_FILES libcreg.pc" ;;
47751    "libcreg.spec") CONFIG_FILES="$CONFIG_FILES libcreg.spec" ;;
47752    "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;;
47753
47754  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
47755  esac
47756done
47757
47758
47759# If the user did not use the arguments to specify the items to instantiate,
47760# then the envvar interface is used.  Set only those that are not.
47761# We use the long form for the default assignment because of an extremely
47762# bizarre bug on SunOS 4.1.3.
47763if $ac_need_defaults; then
47764  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
47765  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
47766  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
47767fi
47768
47769# Have a temporary directory for convenience.  Make it in the build tree
47770# simply because there is no reason against having it here, and in addition,
47771# creating and moving files from /tmp can sometimes cause problems.
47772# Hook for its removal unless debugging.
47773# Note that there is a small window in which the directory will not be cleaned:
47774# after its creation but before its name has been assigned to `$tmp'.
47775$debug ||
47776{
47777  tmp= ac_tmp=
47778  trap 'exit_status=$?
47779  : "${ac_tmp:=$tmp}"
47780  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
47781' 0
47782  trap 'as_fn_exit 1' 1 2 13 15
47783}
47784# Create a (secure) tmp directory for tmp files.
47785
47786{
47787  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
47788  test -d "$tmp"
47789}  ||
47790{
47791  tmp=./conf$$-$RANDOM
47792  (umask 077 && mkdir "$tmp")
47793} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
47794ac_tmp=$tmp
47795
47796# Set up the scripts for CONFIG_FILES section.
47797# No need to generate them if there are no CONFIG_FILES.
47798# This happens for instance with `./config.status config.h'.
47799if test -n "$CONFIG_FILES"; then
47800
47801
47802ac_cr=`echo X | tr X '\015'`
47803# On cygwin, bash can eat \r inside `` if the user requested igncr.
47804# But we know of no other shell where ac_cr would be empty at this
47805# point, so we can use a bashism as a fallback.
47806if test "x$ac_cr" = x; then
47807  eval ac_cr=\$\'\\r\'
47808fi
47809ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
47810if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
47811  ac_cs_awk_cr='\\r'
47812else
47813  ac_cs_awk_cr=$ac_cr
47814fi
47815
47816echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
47817_ACEOF
47818
47819
47820{
47821  echo "cat >conf$$subs.awk <<_ACEOF" &&
47822  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
47823  echo "_ACEOF"
47824} >conf$$subs.sh ||
47825  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
47826ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
47827ac_delim='%!_!# '
47828for ac_last_try in false false false false false :; do
47829  . ./conf$$subs.sh ||
47830    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
47831
47832  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
47833  if test $ac_delim_n = $ac_delim_num; then
47834    break
47835  elif $ac_last_try; then
47836    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
47837  else
47838    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
47839  fi
47840done
47841rm -f conf$$subs.sh
47842
47843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47844cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
47845_ACEOF
47846sed -n '
47847h
47848s/^/S["/; s/!.*/"]=/
47849p
47850g
47851s/^[^!]*!//
47852:repl
47853t repl
47854s/'"$ac_delim"'$//
47855t delim
47856:nl
47857h
47858s/\(.\{148\}\)..*/\1/
47859t more1
47860s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
47861p
47862n
47863b repl
47864:more1
47865s/["\\]/\\&/g; s/^/"/; s/$/"\\/
47866p
47867g
47868s/.\{148\}//
47869t nl
47870:delim
47871h
47872s/\(.\{148\}\)..*/\1/
47873t more2
47874s/["\\]/\\&/g; s/^/"/; s/$/"/
47875p
47876b
47877:more2
47878s/["\\]/\\&/g; s/^/"/; s/$/"\\/
47879p
47880g
47881s/.\{148\}//
47882t delim
47883' <conf$$subs.awk | sed '
47884/^[^""]/{
47885  N
47886  s/\n//
47887}
47888' >>$CONFIG_STATUS || ac_write_fail=1
47889rm -f conf$$subs.awk
47890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47891_ACAWK
47892cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
47893  for (key in S) S_is_set[key] = 1
47894  FS = ""
47895
47896}
47897{
47898  line = $ 0
47899  nfields = split(line, field, "@")
47900  substed = 0
47901  len = length(field[1])
47902  for (i = 2; i < nfields; i++) {
47903    key = field[i]
47904    keylen = length(key)
47905    if (S_is_set[key]) {
47906      value = S[key]
47907      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
47908      len += length(value) + length(field[++i])
47909      substed = 1
47910    } else
47911      len += 1 + keylen
47912  }
47913
47914  print line
47915}
47916
47917_ACAWK
47918_ACEOF
47919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47920if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
47921  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
47922else
47923  cat
47924fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
47925  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
47926_ACEOF
47927
47928# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
47929# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
47930# trailing colons and then remove the whole line if VPATH becomes empty
47931# (actually we leave an empty line to preserve line numbers).
47932if test "x$srcdir" = x.; then
47933  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
47934h
47935s///
47936s/^/:/
47937s/[	 ]*$/:/
47938s/:\$(srcdir):/:/g
47939s/:\${srcdir}:/:/g
47940s/:@srcdir@:/:/g
47941s/^:*//
47942s/:*$//
47943x
47944s/\(=[	 ]*\).*/\1/
47945G
47946s/\n//
47947s/^[^=]*=[	 ]*$//
47948}'
47949fi
47950
47951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47952fi # test -n "$CONFIG_FILES"
47953
47954# Set up the scripts for CONFIG_HEADERS section.
47955# No need to generate them if there are no CONFIG_HEADERS.
47956# This happens for instance with `./config.status Makefile'.
47957if test -n "$CONFIG_HEADERS"; then
47958cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
47959BEGIN {
47960_ACEOF
47961
47962# Transform confdefs.h into an awk script `defines.awk', embedded as
47963# here-document in config.status, that substitutes the proper values into
47964# config.h.in to produce config.h.
47965
47966# Create a delimiter string that does not exist in confdefs.h, to ease
47967# handling of long lines.
47968ac_delim='%!_!# '
47969for ac_last_try in false false :; do
47970  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
47971  if test -z "$ac_tt"; then
47972    break
47973  elif $ac_last_try; then
47974    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
47975  else
47976    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
47977  fi
47978done
47979
47980# For the awk script, D is an array of macro values keyed by name,
47981# likewise P contains macro parameters if any.  Preserve backslash
47982# newline sequences.
47983
47984ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
47985sed -n '
47986s/.\{148\}/&'"$ac_delim"'/g
47987t rset
47988:rset
47989s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
47990t def
47991d
47992:def
47993s/\\$//
47994t bsnl
47995s/["\\]/\\&/g
47996s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
47997D["\1"]=" \3"/p
47998s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
47999d
48000:bsnl
48001s/["\\]/\\&/g
48002s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
48003D["\1"]=" \3\\\\\\n"\\/p
48004t cont
48005s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
48006t cont
48007d
48008:cont
48009n
48010s/.\{148\}/&'"$ac_delim"'/g
48011t clear
48012:clear
48013s/\\$//
48014t bsnlc
48015s/["\\]/\\&/g; s/^/"/; s/$/"/p
48016d
48017:bsnlc
48018s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
48019b cont
48020' <confdefs.h | sed '
48021s/'"$ac_delim"'/"\\\
48022"/g' >>$CONFIG_STATUS || ac_write_fail=1
48023
48024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48025  for (key in D) D_is_set[key] = 1
48026  FS = ""
48027}
48028/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
48029  line = \$ 0
48030  split(line, arg, " ")
48031  if (arg[1] == "#") {
48032    defundef = arg[2]
48033    mac1 = arg[3]
48034  } else {
48035    defundef = substr(arg[1], 2)
48036    mac1 = arg[2]
48037  }
48038  split(mac1, mac2, "(") #)
48039  macro = mac2[1]
48040  prefix = substr(line, 1, index(line, defundef) - 1)
48041  if (D_is_set[macro]) {
48042    # Preserve the white space surrounding the "#".
48043    print prefix "define", macro P[macro] D[macro]
48044    next
48045  } else {
48046    # Replace #undef with comments.  This is necessary, for example,
48047    # in the case of _POSIX_SOURCE, which is predefined and required
48048    # on some systems where configure will not decide to define it.
48049    if (defundef == "undef") {
48050      print "/*", prefix defundef, macro, "*/"
48051      next
48052    }
48053  }
48054}
48055{ print }
48056_ACAWK
48057_ACEOF
48058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48059  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
48060fi # test -n "$CONFIG_HEADERS"
48061
48062
48063eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
48064shift
48065for ac_tag
48066do
48067  case $ac_tag in
48068  :[FHLC]) ac_mode=$ac_tag; continue;;
48069  esac
48070  case $ac_mode$ac_tag in
48071  :[FHL]*:*);;
48072  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
48073  :[FH]-) ac_tag=-:-;;
48074  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
48075  esac
48076  ac_save_IFS=$IFS
48077  IFS=:
48078  set x $ac_tag
48079  IFS=$ac_save_IFS
48080  shift
48081  ac_file=$1
48082  shift
48083
48084  case $ac_mode in
48085  :L) ac_source=$1;;
48086  :[FH])
48087    ac_file_inputs=
48088    for ac_f
48089    do
48090      case $ac_f in
48091      -) ac_f="$ac_tmp/stdin";;
48092      *) # Look for the file first in the build tree, then in the source tree
48093	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
48094	 # because $ac_f cannot contain `:'.
48095	 test -f "$ac_f" ||
48096	   case $ac_f in
48097	   [\\/$]*) false;;
48098	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
48099	   esac ||
48100	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
48101      esac
48102      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
48103      as_fn_append ac_file_inputs " '$ac_f'"
48104    done
48105
48106    # Let's still pretend it is `configure' which instantiates (i.e., don't
48107    # use $as_me), people would be surprised to read:
48108    #    /* config.h.  Generated by config.status.  */
48109    configure_input='Generated from '`
48110	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
48111	`' by configure.'
48112    if test x"$ac_file" != x-; then
48113      configure_input="$ac_file.  $configure_input"
48114      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
48115$as_echo "$as_me: creating $ac_file" >&6;}
48116    fi
48117    # Neutralize special characters interpreted by sed in replacement strings.
48118    case $configure_input in #(
48119    *\&* | *\|* | *\\* )
48120       ac_sed_conf_input=`$as_echo "$configure_input" |
48121       sed 's/[\\\\&|]/\\\\&/g'`;; #(
48122    *) ac_sed_conf_input=$configure_input;;
48123    esac
48124
48125    case $ac_tag in
48126    *:-:* | *:-) cat >"$ac_tmp/stdin" \
48127      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
48128    esac
48129    ;;
48130  esac
48131
48132  ac_dir=`$as_dirname -- "$ac_file" ||
48133$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48134	 X"$ac_file" : 'X\(//\)[^/]' \| \
48135	 X"$ac_file" : 'X\(//\)$' \| \
48136	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
48137$as_echo X"$ac_file" |
48138    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48139	    s//\1/
48140	    q
48141	  }
48142	  /^X\(\/\/\)[^/].*/{
48143	    s//\1/
48144	    q
48145	  }
48146	  /^X\(\/\/\)$/{
48147	    s//\1/
48148	    q
48149	  }
48150	  /^X\(\/\).*/{
48151	    s//\1/
48152	    q
48153	  }
48154	  s/.*/./; q'`
48155  as_dir="$ac_dir"; as_fn_mkdir_p
48156  ac_builddir=.
48157
48158case "$ac_dir" in
48159.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
48160*)
48161  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
48162  # A ".." for each directory in $ac_dir_suffix.
48163  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
48164  case $ac_top_builddir_sub in
48165  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
48166  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48167  esac ;;
48168esac
48169ac_abs_top_builddir=$ac_pwd
48170ac_abs_builddir=$ac_pwd$ac_dir_suffix
48171# for backward compatibility:
48172ac_top_builddir=$ac_top_build_prefix
48173
48174case $srcdir in
48175  .)  # We are building in place.
48176    ac_srcdir=.
48177    ac_top_srcdir=$ac_top_builddir_sub
48178    ac_abs_top_srcdir=$ac_pwd ;;
48179  [\\/]* | ?:[\\/]* )  # Absolute name.
48180    ac_srcdir=$srcdir$ac_dir_suffix;
48181    ac_top_srcdir=$srcdir
48182    ac_abs_top_srcdir=$srcdir ;;
48183  *) # Relative name.
48184    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48185    ac_top_srcdir=$ac_top_build_prefix$srcdir
48186    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48187esac
48188ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48189
48190
48191  case $ac_mode in
48192  :F)
48193  #
48194  # CONFIG_FILE
48195  #
48196
48197  case $INSTALL in
48198  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
48199  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
48200  esac
48201  ac_MKDIR_P=$MKDIR_P
48202  case $MKDIR_P in
48203  [\\/$]* | ?:[\\/]* ) ;;
48204  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
48205  esac
48206_ACEOF
48207
48208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48209# If the template does not know about datarootdir, expand it.
48210# FIXME: This hack should be removed a few years after 2.60.
48211ac_datarootdir_hack=; ac_datarootdir_seen=
48212ac_sed_dataroot='
48213/datarootdir/ {
48214  p
48215  q
48216}
48217/@datadir@/p
48218/@docdir@/p
48219/@infodir@/p
48220/@localedir@/p
48221/@mandir@/p'
48222case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
48223*datarootdir*) ac_datarootdir_seen=yes;;
48224*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
48225  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
48226$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
48227_ACEOF
48228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48229  ac_datarootdir_hack='
48230  s&@datadir@&$datadir&g
48231  s&@docdir@&$docdir&g
48232  s&@infodir@&$infodir&g
48233  s&@localedir@&$localedir&g
48234  s&@mandir@&$mandir&g
48235  s&\\\${datarootdir}&$datarootdir&g' ;;
48236esac
48237_ACEOF
48238
48239# Neutralize VPATH when `$srcdir' = `.'.
48240# Shell code in configure.ac might set extrasub.
48241# FIXME: do we really want to maintain this feature?
48242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48243ac_sed_extra="$ac_vpsub
48244$extrasub
48245_ACEOF
48246cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48247:t
48248/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
48249s|@configure_input@|$ac_sed_conf_input|;t t
48250s&@top_builddir@&$ac_top_builddir_sub&;t t
48251s&@top_build_prefix@&$ac_top_build_prefix&;t t
48252s&@srcdir@&$ac_srcdir&;t t
48253s&@abs_srcdir@&$ac_abs_srcdir&;t t
48254s&@top_srcdir@&$ac_top_srcdir&;t t
48255s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
48256s&@builddir@&$ac_builddir&;t t
48257s&@abs_builddir@&$ac_abs_builddir&;t t
48258s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
48259s&@INSTALL@&$ac_INSTALL&;t t
48260s&@MKDIR_P@&$ac_MKDIR_P&;t t
48261$ac_datarootdir_hack
48262"
48263eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
48264  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
48265
48266test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
48267  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
48268  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
48269      "$ac_tmp/out"`; test -z "$ac_out"; } &&
48270  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
48271which seems to be undefined.  Please make sure it is defined" >&5
48272$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
48273which seems to be undefined.  Please make sure it is defined" >&2;}
48274
48275  rm -f "$ac_tmp/stdin"
48276  case $ac_file in
48277  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
48278  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
48279  esac \
48280  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
48281 ;;
48282  :H)
48283  #
48284  # CONFIG_HEADER
48285  #
48286  if test x"$ac_file" != x-; then
48287    {
48288      $as_echo "/* $configure_input  */" \
48289      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
48290    } >"$ac_tmp/config.h" \
48291      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
48292    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
48293      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
48294$as_echo "$as_me: $ac_file is unchanged" >&6;}
48295    else
48296      rm -f "$ac_file"
48297      mv "$ac_tmp/config.h" "$ac_file" \
48298	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
48299    fi
48300  else
48301    $as_echo "/* $configure_input  */" \
48302      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
48303      || as_fn_error $? "could not create -" "$LINENO" 5
48304  fi
48305# Compute "$ac_file"'s index in $config_headers.
48306_am_arg="$ac_file"
48307_am_stamp_count=1
48308for _am_header in $config_headers :; do
48309  case $_am_header in
48310    $_am_arg | $_am_arg:* )
48311      break ;;
48312    * )
48313      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
48314  esac
48315done
48316echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
48317$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48318	 X"$_am_arg" : 'X\(//\)[^/]' \| \
48319	 X"$_am_arg" : 'X\(//\)$' \| \
48320	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
48321$as_echo X"$_am_arg" |
48322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48323	    s//\1/
48324	    q
48325	  }
48326	  /^X\(\/\/\)[^/].*/{
48327	    s//\1/
48328	    q
48329	  }
48330	  /^X\(\/\/\)$/{
48331	    s//\1/
48332	    q
48333	  }
48334	  /^X\(\/\).*/{
48335	    s//\1/
48336	    q
48337	  }
48338	  s/.*/./; q'`/stamp-h$_am_stamp_count
48339 ;;
48340
48341  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
48342$as_echo "$as_me: executing $ac_file commands" >&6;}
48343 ;;
48344  esac
48345
48346
48347  case $ac_file$ac_mode in
48348    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
48349  # Older Autoconf quotes --file arguments for eval, but not when files
48350  # are listed without --file.  Let's play safe and only enable the eval
48351  # if we detect the quoting.
48352  # TODO: see whether this extra hack can be removed once we start
48353  # requiring Autoconf 2.70 or later.
48354  case $CONFIG_FILES in #(
48355  *\'*) :
48356    eval set x "$CONFIG_FILES" ;; #(
48357  *) :
48358    set x $CONFIG_FILES ;; #(
48359  *) :
48360     ;;
48361esac
48362  shift
48363  # Used to flag and report bootstrapping failures.
48364  am_rc=0
48365  for am_mf
48366  do
48367    # Strip MF so we end up with the name of the file.
48368    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
48369    # Check whether this is an Automake generated Makefile which includes
48370    # dependency-tracking related rules and includes.
48371    # Grep'ing the whole file directly is not great: AIX grep has a line
48372    # limit of 2048, but all sed's we know have understand at least 4000.
48373    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
48374      || continue
48375    am_dirpart=`$as_dirname -- "$am_mf" ||
48376$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48377	 X"$am_mf" : 'X\(//\)[^/]' \| \
48378	 X"$am_mf" : 'X\(//\)$' \| \
48379	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
48380$as_echo X"$am_mf" |
48381    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48382	    s//\1/
48383	    q
48384	  }
48385	  /^X\(\/\/\)[^/].*/{
48386	    s//\1/
48387	    q
48388	  }
48389	  /^X\(\/\/\)$/{
48390	    s//\1/
48391	    q
48392	  }
48393	  /^X\(\/\).*/{
48394	    s//\1/
48395	    q
48396	  }
48397	  s/.*/./; q'`
48398    am_filepart=`$as_basename -- "$am_mf" ||
48399$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
48400	 X"$am_mf" : 'X\(//\)$' \| \
48401	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
48402$as_echo X/"$am_mf" |
48403    sed '/^.*\/\([^/][^/]*\)\/*$/{
48404	    s//\1/
48405	    q
48406	  }
48407	  /^X\/\(\/\/\)$/{
48408	    s//\1/
48409	    q
48410	  }
48411	  /^X\/\(\/\).*/{
48412	    s//\1/
48413	    q
48414	  }
48415	  s/.*/./; q'`
48416    { echo "$as_me:$LINENO: cd "$am_dirpart" \
48417      && sed -e '/# am--include-marker/d' "$am_filepart" \
48418        | $MAKE -f - am--depfiles" >&5
48419   (cd "$am_dirpart" \
48420      && sed -e '/# am--include-marker/d' "$am_filepart" \
48421        | $MAKE -f - am--depfiles) >&5 2>&5
48422   ac_status=$?
48423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48424   (exit $ac_status); } || am_rc=$?
48425  done
48426  if test $am_rc -ne 0; then
48427    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48429as_fn_error $? "Something went wrong bootstrapping makefile fragments
48430    for automatic dependency tracking.  If GNU make was not used, consider
48431    re-running the configure script with MAKE=\"gmake\" (or whatever is
48432    necessary).  You can also try re-running configure with the
48433    '--disable-dependency-tracking' option to at least be able to build
48434    the package (albeit without support for automatic dependency tracking).
48435See \`config.log' for more details" "$LINENO" 5; }
48436  fi
48437  { am_dirpart=; unset am_dirpart;}
48438  { am_filepart=; unset am_filepart;}
48439  { am_mf=; unset am_mf;}
48440  { am_rc=; unset am_rc;}
48441  rm -f conftest-deps.mk
48442}
48443 ;;
48444    "libtool":C)
48445
48446    # See if we are running on zsh, and set the options that allow our
48447    # commands through without removal of \ escapes.
48448    if test -n "${ZSH_VERSION+set}"; then
48449      setopt NO_GLOB_SUBST
48450    fi
48451
48452    cfgfile=${ofile}T
48453    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
48454    $RM "$cfgfile"
48455
48456    cat <<_LT_EOF >> "$cfgfile"
48457#! $SHELL
48458# Generated automatically by $as_me ($PACKAGE) $VERSION
48459# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
48460# NOTE: Changes made to this file will be lost: look at ltmain.sh.
48461
48462# Provide generalized library-building support services.
48463# Written by Gordon Matzigkeit, 1996
48464
48465# Copyright (C) 2014 Free Software Foundation, Inc.
48466# This is free software; see the source for copying conditions.  There is NO
48467# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
48468
48469# GNU Libtool is free software; you can redistribute it and/or modify
48470# it under the terms of the GNU General Public License as published by
48471# the Free Software Foundation; either version 2 of of the License, or
48472# (at your option) any later version.
48473#
48474# As a special exception to the GNU General Public License, if you
48475# distribute this file as part of a program or library that is built
48476# using GNU Libtool, you may include this file under the  same
48477# distribution terms that you use for the rest of that program.
48478#
48479# GNU Libtool is distributed in the hope that it will be useful, but
48480# WITHOUT ANY WARRANTY; without even the implied warranty of
48481# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
48482# GNU General Public License for more details.
48483#
48484# You should have received a copy of the GNU General Public License
48485# along with this program.  If not, see <http://www.gnu.org/licenses/>.
48486
48487
48488# The names of the tagged configurations supported by this script.
48489available_tags='CXX '
48490
48491# Configured defaults for sys_lib_dlsearch_path munging.
48492: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
48493
48494# ### BEGIN LIBTOOL CONFIG
48495
48496# Assembler program.
48497AS=$lt_AS
48498
48499# DLL creation program.
48500DLLTOOL=$lt_DLLTOOL
48501
48502# Object dumper program.
48503OBJDUMP=$lt_OBJDUMP
48504
48505# Which release of libtool.m4 was used?
48506macro_version=$macro_version
48507macro_revision=$macro_revision
48508
48509# Whether or not to build shared libraries.
48510build_libtool_libs=$enable_shared
48511
48512# Whether or not to build static libraries.
48513build_old_libs=$enable_static
48514
48515# What type of objects to build.
48516pic_mode=$pic_mode
48517
48518# Whether or not to optimize for fast installation.
48519fast_install=$enable_fast_install
48520
48521# Shared archive member basename,for filename based shared library versioning on AIX.
48522shared_archive_member_spec=$shared_archive_member_spec
48523
48524# Shell to use when invoking shell scripts.
48525SHELL=$lt_SHELL
48526
48527# An echo program that protects backslashes.
48528ECHO=$lt_ECHO
48529
48530# The PATH separator for the build system.
48531PATH_SEPARATOR=$lt_PATH_SEPARATOR
48532
48533# The host system.
48534host_alias=$host_alias
48535host=$host
48536host_os=$host_os
48537
48538# The build system.
48539build_alias=$build_alias
48540build=$build
48541build_os=$build_os
48542
48543# A sed program that does not truncate output.
48544SED=$lt_SED
48545
48546# Sed that helps us avoid accidentally triggering echo(1) options like -n.
48547Xsed="\$SED -e 1s/^X//"
48548
48549# A grep program that handles long lines.
48550GREP=$lt_GREP
48551
48552# An ERE matcher.
48553EGREP=$lt_EGREP
48554
48555# A literal string matcher.
48556FGREP=$lt_FGREP
48557
48558# A BSD- or MS-compatible name lister.
48559NM=$lt_NM
48560
48561# Whether we need soft or hard links.
48562LN_S=$lt_LN_S
48563
48564# What is the maximum length of a command?
48565max_cmd_len=$max_cmd_len
48566
48567# Object file suffix (normally "o").
48568objext=$ac_objext
48569
48570# Executable file suffix (normally "").
48571exeext=$exeext
48572
48573# whether the shell understands "unset".
48574lt_unset=$lt_unset
48575
48576# turn spaces into newlines.
48577SP2NL=$lt_lt_SP2NL
48578
48579# turn newlines into spaces.
48580NL2SP=$lt_lt_NL2SP
48581
48582# convert \$build file names to \$host format.
48583to_host_file_cmd=$lt_cv_to_host_file_cmd
48584
48585# convert \$build files to toolchain format.
48586to_tool_file_cmd=$lt_cv_to_tool_file_cmd
48587
48588# Method to check whether dependent libraries are shared objects.
48589deplibs_check_method=$lt_deplibs_check_method
48590
48591# Command to use when deplibs_check_method = "file_magic".
48592file_magic_cmd=$lt_file_magic_cmd
48593
48594# How to find potential files when deplibs_check_method = "file_magic".
48595file_magic_glob=$lt_file_magic_glob
48596
48597# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
48598want_nocaseglob=$lt_want_nocaseglob
48599
48600# Command to associate shared and link libraries.
48601sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
48602
48603# The archiver.
48604AR=$lt_AR
48605
48606# Flags to create an archive.
48607AR_FLAGS=$lt_AR_FLAGS
48608
48609# How to feed a file listing to the archiver.
48610archiver_list_spec=$lt_archiver_list_spec
48611
48612# A symbol stripping program.
48613STRIP=$lt_STRIP
48614
48615# Commands used to install an old-style archive.
48616RANLIB=$lt_RANLIB
48617old_postinstall_cmds=$lt_old_postinstall_cmds
48618old_postuninstall_cmds=$lt_old_postuninstall_cmds
48619
48620# Whether to use a lock for old archive extraction.
48621lock_old_archive_extraction=$lock_old_archive_extraction
48622
48623# A C compiler.
48624LTCC=$lt_CC
48625
48626# LTCC compiler flags.
48627LTCFLAGS=$lt_CFLAGS
48628
48629# Take the output of nm and produce a listing of raw symbols and C names.
48630global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
48631
48632# Transform the output of nm in a proper C declaration.
48633global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
48634
48635# Transform the output of nm into a list of symbols to manually relocate.
48636global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
48637
48638# Transform the output of nm in a C name address pair.
48639global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
48640
48641# Transform the output of nm in a C name address pair when lib prefix is needed.
48642global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
48643
48644# The name lister interface.
48645nm_interface=$lt_lt_cv_nm_interface
48646
48647# Specify filename containing input files for \$NM.
48648nm_file_list_spec=$lt_nm_file_list_spec
48649
48650# The root where to search for dependent libraries,and where our libraries should be installed.
48651lt_sysroot=$lt_sysroot
48652
48653# Command to truncate a binary pipe.
48654lt_truncate_bin=$lt_lt_cv_truncate_bin
48655
48656# The name of the directory that contains temporary libtool files.
48657objdir=$objdir
48658
48659# Used to examine libraries when file_magic_cmd begins with "file".
48660MAGIC_CMD=$MAGIC_CMD
48661
48662# Must we lock files when doing compilation?
48663need_locks=$lt_need_locks
48664
48665# Manifest tool.
48666MANIFEST_TOOL=$lt_MANIFEST_TOOL
48667
48668# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
48669DSYMUTIL=$lt_DSYMUTIL
48670
48671# Tool to change global to local symbols on Mac OS X.
48672NMEDIT=$lt_NMEDIT
48673
48674# Tool to manipulate fat objects and archives on Mac OS X.
48675LIPO=$lt_LIPO
48676
48677# ldd/readelf like tool for Mach-O binaries on Mac OS X.
48678OTOOL=$lt_OTOOL
48679
48680# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
48681OTOOL64=$lt_OTOOL64
48682
48683# Old archive suffix (normally "a").
48684libext=$libext
48685
48686# Shared library suffix (normally ".so").
48687shrext_cmds=$lt_shrext_cmds
48688
48689# The commands to extract the exported symbol list from a shared archive.
48690extract_expsyms_cmds=$lt_extract_expsyms_cmds
48691
48692# Variables whose values should be saved in libtool wrapper scripts and
48693# restored at link time.
48694variables_saved_for_relink=$lt_variables_saved_for_relink
48695
48696# Do we need the "lib" prefix for modules?
48697need_lib_prefix=$need_lib_prefix
48698
48699# Do we need a version for libraries?
48700need_version=$need_version
48701
48702# Library versioning type.
48703version_type=$version_type
48704
48705# Shared library runtime path variable.
48706runpath_var=$runpath_var
48707
48708# Shared library path variable.
48709shlibpath_var=$shlibpath_var
48710
48711# Is shlibpath searched before the hard-coded library search path?
48712shlibpath_overrides_runpath=$shlibpath_overrides_runpath
48713
48714# Format of library name prefix.
48715libname_spec=$lt_libname_spec
48716
48717# List of archive names.  First name is the real one, the rest are links.
48718# The last name is the one that the linker finds with -lNAME
48719library_names_spec=$lt_library_names_spec
48720
48721# The coded name of the library, if different from the real name.
48722soname_spec=$lt_soname_spec
48723
48724# Permission mode override for installation of shared libraries.
48725install_override_mode=$lt_install_override_mode
48726
48727# Command to use after installation of a shared archive.
48728postinstall_cmds=$lt_postinstall_cmds
48729
48730# Command to use after uninstallation of a shared archive.
48731postuninstall_cmds=$lt_postuninstall_cmds
48732
48733# Commands used to finish a libtool library installation in a directory.
48734finish_cmds=$lt_finish_cmds
48735
48736# As "finish_cmds", except a single script fragment to be evaled but
48737# not shown.
48738finish_eval=$lt_finish_eval
48739
48740# Whether we should hardcode library paths into libraries.
48741hardcode_into_libs=$hardcode_into_libs
48742
48743# Compile-time system search path for libraries.
48744sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
48745
48746# Detected run-time system search path for libraries.
48747sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
48748
48749# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
48750configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
48751
48752# Whether dlopen is supported.
48753dlopen_support=$enable_dlopen
48754
48755# Whether dlopen of programs is supported.
48756dlopen_self=$enable_dlopen_self
48757
48758# Whether dlopen of statically linked programs is supported.
48759dlopen_self_static=$enable_dlopen_self_static
48760
48761# Commands to strip libraries.
48762old_striplib=$lt_old_striplib
48763striplib=$lt_striplib
48764
48765
48766# The linker used to build libraries.
48767LD=$lt_LD
48768
48769# How to create reloadable object files.
48770reload_flag=$lt_reload_flag
48771reload_cmds=$lt_reload_cmds
48772
48773# Commands used to build an old-style archive.
48774old_archive_cmds=$lt_old_archive_cmds
48775
48776# A language specific compiler.
48777CC=$lt_compiler
48778
48779# Is the compiler the GNU compiler?
48780with_gcc=$GCC
48781
48782# Compiler flag to turn off builtin functions.
48783no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
48784
48785# Additional compiler flags for building library objects.
48786pic_flag=$lt_lt_prog_compiler_pic
48787
48788# How to pass a linker flag through the compiler.
48789wl=$lt_lt_prog_compiler_wl
48790
48791# Compiler flag to prevent dynamic linking.
48792link_static_flag=$lt_lt_prog_compiler_static
48793
48794# Does compiler simultaneously support -c and -o options?
48795compiler_c_o=$lt_lt_cv_prog_compiler_c_o
48796
48797# Whether or not to add -lc for building shared libraries.
48798build_libtool_need_lc=$archive_cmds_need_lc
48799
48800# Whether or not to disallow shared libs when runtime libs are static.
48801allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
48802
48803# Compiler flag to allow reflexive dlopens.
48804export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
48805
48806# Compiler flag to generate shared objects directly from archives.
48807whole_archive_flag_spec=$lt_whole_archive_flag_spec
48808
48809# Whether the compiler copes with passing no objects directly.
48810compiler_needs_object=$lt_compiler_needs_object
48811
48812# Create an old-style archive from a shared archive.
48813old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
48814
48815# Create a temporary old-style archive to link instead of a shared archive.
48816old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
48817
48818# Commands used to build a shared archive.
48819archive_cmds=$lt_archive_cmds
48820archive_expsym_cmds=$lt_archive_expsym_cmds
48821
48822# Commands used to build a loadable module if different from building
48823# a shared archive.
48824module_cmds=$lt_module_cmds
48825module_expsym_cmds=$lt_module_expsym_cmds
48826
48827# Whether we are building with GNU ld or not.
48828with_gnu_ld=$lt_with_gnu_ld
48829
48830# Flag that allows shared libraries with undefined symbols to be built.
48831allow_undefined_flag=$lt_allow_undefined_flag
48832
48833# Flag that enforces no undefined symbols.
48834no_undefined_flag=$lt_no_undefined_flag
48835
48836# Flag to hardcode \$libdir into a binary during linking.
48837# This must work even if \$libdir does not exist
48838hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
48839
48840# Whether we need a single "-rpath" flag with a separated argument.
48841hardcode_libdir_separator=$lt_hardcode_libdir_separator
48842
48843# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
48844# DIR into the resulting binary.
48845hardcode_direct=$hardcode_direct
48846
48847# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
48848# DIR into the resulting binary and the resulting library dependency is
48849# "absolute",i.e impossible to change by setting \$shlibpath_var if the
48850# library is relocated.
48851hardcode_direct_absolute=$hardcode_direct_absolute
48852
48853# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48854# into the resulting binary.
48855hardcode_minus_L=$hardcode_minus_L
48856
48857# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
48858# into the resulting binary.
48859hardcode_shlibpath_var=$hardcode_shlibpath_var
48860
48861# Set to "yes" if building a shared library automatically hardcodes DIR
48862# into the library and all subsequent libraries and executables linked
48863# against it.
48864hardcode_automatic=$hardcode_automatic
48865
48866# Set to yes if linker adds runtime paths of dependent libraries
48867# to runtime path list.
48868inherit_rpath=$inherit_rpath
48869
48870# Whether libtool must link a program against all its dependency libraries.
48871link_all_deplibs=$link_all_deplibs
48872
48873# Set to "yes" if exported symbols are required.
48874always_export_symbols=$always_export_symbols
48875
48876# The commands to list exported symbols.
48877export_symbols_cmds=$lt_export_symbols_cmds
48878
48879# Symbols that should not be listed in the preloaded symbols.
48880exclude_expsyms=$lt_exclude_expsyms
48881
48882# Symbols that must always be exported.
48883include_expsyms=$lt_include_expsyms
48884
48885# Commands necessary for linking programs (against libraries) with templates.
48886prelink_cmds=$lt_prelink_cmds
48887
48888# Commands necessary for finishing linking programs.
48889postlink_cmds=$lt_postlink_cmds
48890
48891# Specify filename containing input files.
48892file_list_spec=$lt_file_list_spec
48893
48894# How to hardcode a shared library path into an executable.
48895hardcode_action=$hardcode_action
48896
48897# The directories searched by this compiler when creating a shared library.
48898compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
48899
48900# Dependencies to place before and after the objects being linked to
48901# create a shared library.
48902predep_objects=$lt_predep_objects
48903postdep_objects=$lt_postdep_objects
48904predeps=$lt_predeps
48905postdeps=$lt_postdeps
48906
48907# The library search path used internally by the compiler when linking
48908# a shared library.
48909compiler_lib_search_path=$lt_compiler_lib_search_path
48910
48911# ### END LIBTOOL CONFIG
48912
48913_LT_EOF
48914
48915    cat <<'_LT_EOF' >> "$cfgfile"
48916
48917# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
48918
48919# func_munge_path_list VARIABLE PATH
48920# -----------------------------------
48921# VARIABLE is name of variable containing _space_ separated list of
48922# directories to be munged by the contents of PATH, which is string
48923# having a format:
48924# "DIR[:DIR]:"
48925#       string "DIR[ DIR]" will be prepended to VARIABLE
48926# ":DIR[:DIR]"
48927#       string "DIR[ DIR]" will be appended to VARIABLE
48928# "DIRP[:DIRP]::[DIRA:]DIRA"
48929#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
48930#       "DIRA[ DIRA]" will be appended to VARIABLE
48931# "DIR[:DIR]"
48932#       VARIABLE will be replaced by "DIR[ DIR]"
48933func_munge_path_list ()
48934{
48935    case x$2 in
48936    x)
48937        ;;
48938    *:)
48939        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
48940        ;;
48941    x:*)
48942        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
48943        ;;
48944    *::*)
48945        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
48946        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
48947        ;;
48948    *)
48949        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
48950        ;;
48951    esac
48952}
48953
48954
48955# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
48956func_cc_basename ()
48957{
48958    for cc_temp in $*""; do
48959      case $cc_temp in
48960        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
48961        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
48962        \-*) ;;
48963        *) break;;
48964      esac
48965    done
48966    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
48967}
48968
48969
48970# ### END FUNCTIONS SHARED WITH CONFIGURE
48971
48972_LT_EOF
48973
48974  case $host_os in
48975  aix3*)
48976    cat <<\_LT_EOF >> "$cfgfile"
48977# AIX sometimes has problems with the GCC collect2 program.  For some
48978# reason, if we set the COLLECT_NAMES environment variable, the problems
48979# vanish in a puff of smoke.
48980if test set != "${COLLECT_NAMES+set}"; then
48981  COLLECT_NAMES=
48982  export COLLECT_NAMES
48983fi
48984_LT_EOF
48985    ;;
48986  esac
48987
48988
48989ltmain=$ac_aux_dir/ltmain.sh
48990
48991
48992  # We use sed instead of cat because bash on DJGPP gets confused if
48993  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
48994  # text mode, it properly converts lines to CR/LF.  This bash problem
48995  # is reportedly fixed, but why not run on old versions too?
48996  sed '$q' "$ltmain" >> "$cfgfile" \
48997     || (rm -f "$cfgfile"; exit 1)
48998
48999   mv -f "$cfgfile" "$ofile" ||
49000    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
49001  chmod +x "$ofile"
49002
49003
49004    cat <<_LT_EOF >> "$ofile"
49005
49006# ### BEGIN LIBTOOL TAG CONFIG: CXX
49007
49008# The linker used to build libraries.
49009LD=$lt_LD_CXX
49010
49011# How to create reloadable object files.
49012reload_flag=$lt_reload_flag_CXX
49013reload_cmds=$lt_reload_cmds_CXX
49014
49015# Commands used to build an old-style archive.
49016old_archive_cmds=$lt_old_archive_cmds_CXX
49017
49018# A language specific compiler.
49019CC=$lt_compiler_CXX
49020
49021# Is the compiler the GNU compiler?
49022with_gcc=$GCC_CXX
49023
49024# Compiler flag to turn off builtin functions.
49025no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
49026
49027# Additional compiler flags for building library objects.
49028pic_flag=$lt_lt_prog_compiler_pic_CXX
49029
49030# How to pass a linker flag through the compiler.
49031wl=$lt_lt_prog_compiler_wl_CXX
49032
49033# Compiler flag to prevent dynamic linking.
49034link_static_flag=$lt_lt_prog_compiler_static_CXX
49035
49036# Does compiler simultaneously support -c and -o options?
49037compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
49038
49039# Whether or not to add -lc for building shared libraries.
49040build_libtool_need_lc=$archive_cmds_need_lc_CXX
49041
49042# Whether or not to disallow shared libs when runtime libs are static.
49043allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
49044
49045# Compiler flag to allow reflexive dlopens.
49046export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
49047
49048# Compiler flag to generate shared objects directly from archives.
49049whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
49050
49051# Whether the compiler copes with passing no objects directly.
49052compiler_needs_object=$lt_compiler_needs_object_CXX
49053
49054# Create an old-style archive from a shared archive.
49055old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
49056
49057# Create a temporary old-style archive to link instead of a shared archive.
49058old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
49059
49060# Commands used to build a shared archive.
49061archive_cmds=$lt_archive_cmds_CXX
49062archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
49063
49064# Commands used to build a loadable module if different from building
49065# a shared archive.
49066module_cmds=$lt_module_cmds_CXX
49067module_expsym_cmds=$lt_module_expsym_cmds_CXX
49068
49069# Whether we are building with GNU ld or not.
49070with_gnu_ld=$lt_with_gnu_ld_CXX
49071
49072# Flag that allows shared libraries with undefined symbols to be built.
49073allow_undefined_flag=$lt_allow_undefined_flag_CXX
49074
49075# Flag that enforces no undefined symbols.
49076no_undefined_flag=$lt_no_undefined_flag_CXX
49077
49078# Flag to hardcode \$libdir into a binary during linking.
49079# This must work even if \$libdir does not exist
49080hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
49081
49082# Whether we need a single "-rpath" flag with a separated argument.
49083hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
49084
49085# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
49086# DIR into the resulting binary.
49087hardcode_direct=$hardcode_direct_CXX
49088
49089# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
49090# DIR into the resulting binary and the resulting library dependency is
49091# "absolute",i.e impossible to change by setting \$shlibpath_var if the
49092# library is relocated.
49093hardcode_direct_absolute=$hardcode_direct_absolute_CXX
49094
49095# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
49096# into the resulting binary.
49097hardcode_minus_L=$hardcode_minus_L_CXX
49098
49099# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
49100# into the resulting binary.
49101hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
49102
49103# Set to "yes" if building a shared library automatically hardcodes DIR
49104# into the library and all subsequent libraries and executables linked
49105# against it.
49106hardcode_automatic=$hardcode_automatic_CXX
49107
49108# Set to yes if linker adds runtime paths of dependent libraries
49109# to runtime path list.
49110inherit_rpath=$inherit_rpath_CXX
49111
49112# Whether libtool must link a program against all its dependency libraries.
49113link_all_deplibs=$link_all_deplibs_CXX
49114
49115# Set to "yes" if exported symbols are required.
49116always_export_symbols=$always_export_symbols_CXX
49117
49118# The commands to list exported symbols.
49119export_symbols_cmds=$lt_export_symbols_cmds_CXX
49120
49121# Symbols that should not be listed in the preloaded symbols.
49122exclude_expsyms=$lt_exclude_expsyms_CXX
49123
49124# Symbols that must always be exported.
49125include_expsyms=$lt_include_expsyms_CXX
49126
49127# Commands necessary for linking programs (against libraries) with templates.
49128prelink_cmds=$lt_prelink_cmds_CXX
49129
49130# Commands necessary for finishing linking programs.
49131postlink_cmds=$lt_postlink_cmds_CXX
49132
49133# Specify filename containing input files.
49134file_list_spec=$lt_file_list_spec_CXX
49135
49136# How to hardcode a shared library path into an executable.
49137hardcode_action=$hardcode_action_CXX
49138
49139# The directories searched by this compiler when creating a shared library.
49140compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
49141
49142# Dependencies to place before and after the objects being linked to
49143# create a shared library.
49144predep_objects=$lt_predep_objects_CXX
49145postdep_objects=$lt_postdep_objects_CXX
49146predeps=$lt_predeps_CXX
49147postdeps=$lt_postdeps_CXX
49148
49149# The library search path used internally by the compiler when linking
49150# a shared library.
49151compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
49152
49153# ### END LIBTOOL TAG CONFIG: CXX
49154_LT_EOF
49155
49156 ;;
49157    "po-directories":C)
49158    for ac_file in $CONFIG_FILES; do
49159      # Support "outfile[:infile[:infile...]]"
49160      case "$ac_file" in
49161        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
49162      esac
49163      # PO directories have a Makefile.in generated from Makefile.in.in.
49164      case "$ac_file" in */Makefile.in)
49165        # Adjust a relative srcdir.
49166        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
49167        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
49168        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
49169        # In autoconf-2.13 it is called $ac_given_srcdir.
49170        # In autoconf-2.50 it is called $srcdir.
49171        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
49172        case "$ac_given_srcdir" in
49173          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
49174          /*) top_srcdir="$ac_given_srcdir" ;;
49175          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
49176        esac
49177        # Treat a directory as a PO directory if and only if it has a
49178        # POTFILES.in file. This allows packages to have multiple PO
49179        # directories under different names or in different locations.
49180        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
49181          rm -f "$ac_dir/POTFILES"
49182          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
49183          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
49184          POMAKEFILEDEPS="POTFILES.in"
49185          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
49186          # on $ac_dir but don't depend on user-specified configuration
49187          # parameters.
49188          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
49189            # The LINGUAS file contains the set of available languages.
49190            if test -n "$OBSOLETE_ALL_LINGUAS"; then
49191              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
49192            fi
49193            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
49194            # Hide the ALL_LINGUAS assigment from automake < 1.5.
49195            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
49196            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
49197          else
49198            # The set of available languages was given in configure.in.
49199            # Hide the ALL_LINGUAS assigment from automake < 1.5.
49200            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
49201          fi
49202          # Compute POFILES
49203          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
49204          # Compute UPDATEPOFILES
49205          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
49206          # Compute DUMMYPOFILES
49207          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
49208          # Compute GMOFILES
49209          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
49210          case "$ac_given_srcdir" in
49211            .) srcdirpre= ;;
49212            *) srcdirpre='$(srcdir)/' ;;
49213          esac
49214          POFILES=
49215          UPDATEPOFILES=
49216          DUMMYPOFILES=
49217          GMOFILES=
49218          for lang in $ALL_LINGUAS; do
49219            POFILES="$POFILES $srcdirpre$lang.po"
49220            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
49221            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
49222            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
49223          done
49224          # CATALOGS depends on both $ac_dir and the user's LINGUAS
49225          # environment variable.
49226          INST_LINGUAS=
49227          if test -n "$ALL_LINGUAS"; then
49228            for presentlang in $ALL_LINGUAS; do
49229              useit=no
49230              if test "%UNSET%" != "$LINGUAS"; then
49231                desiredlanguages="$LINGUAS"
49232              else
49233                desiredlanguages="$ALL_LINGUAS"
49234              fi
49235              for desiredlang in $desiredlanguages; do
49236                # Use the presentlang catalog if desiredlang is
49237                #   a. equal to presentlang, or
49238                #   b. a variant of presentlang (because in this case,
49239                #      presentlang can be used as a fallback for messages
49240                #      which are not translated in the desiredlang catalog).
49241                case "$desiredlang" in
49242                  "$presentlang"*) useit=yes;;
49243                esac
49244              done
49245              if test $useit = yes; then
49246                INST_LINGUAS="$INST_LINGUAS $presentlang"
49247              fi
49248            done
49249          fi
49250          CATALOGS=
49251          if test -n "$INST_LINGUAS"; then
49252            for lang in $INST_LINGUAS; do
49253              CATALOGS="$CATALOGS $lang.gmo"
49254            done
49255          fi
49256          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
49257          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"
49258          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
49259            if test -f "$f"; then
49260              case "$f" in
49261                *.orig | *.bak | *~) ;;
49262                *) cat "$f" >> "$ac_dir/Makefile" ;;
49263              esac
49264            fi
49265          done
49266        fi
49267        ;;
49268      esac
49269    done ;;
49270
49271  esac
49272done # for ac_tag
49273
49274
49275as_fn_exit 0
49276_ACEOF
49277ac_clean_files=$ac_clean_files_save
49278
49279test $ac_write_fail = 0 ||
49280  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
49281
49282
49283# configure is writing to config.log, and then calls config.status.
49284# config.status does its own redirection, appending to config.log.
49285# Unfortunately, on DOS this fails, as config.log is still kept open
49286# by configure, so config.status won't be able to write to it; its
49287# output is simply discarded.  So we exec the FD to /dev/null,
49288# effectively closing config.log, so it can be properly (re)opened and
49289# appended to by config.status.  When coming back to configure, we
49290# need to make the FD available again.
49291if test "$no_create" != yes; then
49292  ac_cs_success=:
49293  ac_config_status_args=
49294  test "$silent" = yes &&
49295    ac_config_status_args="$ac_config_status_args --quiet"
49296  exec 5>/dev/null
49297  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
49298  exec 5>>config.log
49299  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49300  # would make configure fail if this is the last instruction.
49301  $ac_cs_success || as_fn_exit 1
49302fi
49303if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
49304  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
49305$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
49306fi
49307
49308
49309{ $as_echo "$as_me:${as_lineno-$LINENO}:
49310Building:
49311   libcerror support:                         $ac_cv_libcerror
49312   libcthreads support:                       $ac_cv_libcthreads
49313   libcdata support:                          $ac_cv_libcdata
49314   libclocale support:                        $ac_cv_libclocale
49315   libcnotify support:                        $ac_cv_libcnotify
49316   libcsplit support:                         $ac_cv_libcsplit
49317   libuna support:                            $ac_cv_libuna
49318   libcfile support:                          $ac_cv_libcfile
49319   libcpath support:                          $ac_cv_libcpath
49320   libbfio support:                           $ac_cv_libbfio
49321   libfcache support:                         $ac_cv_libfcache
49322   libfdata support:                          $ac_cv_libfdata
49323   FUSE support:                              $ac_cv_libfuse
49324
49325Features:
49326   Multi-threading support:                   $ac_cv_libcthreads_multi_threading
49327   Wide character type support:               $ac_cv_enable_wide_character_type
49328   cregtools are build as static executables: $ac_cv_enable_static_executables
49329   Python (pycreg) support:                   $ac_cv_enable_python
49330   Verbose output:                            $ac_cv_enable_verbose_output
49331   Debug output:                              $ac_cv_enable_debug_output
49332" >&5
49333$as_echo "$as_me:
49334Building:
49335   libcerror support:                         $ac_cv_libcerror
49336   libcthreads support:                       $ac_cv_libcthreads
49337   libcdata support:                          $ac_cv_libcdata
49338   libclocale support:                        $ac_cv_libclocale
49339   libcnotify support:                        $ac_cv_libcnotify
49340   libcsplit support:                         $ac_cv_libcsplit
49341   libuna support:                            $ac_cv_libuna
49342   libcfile support:                          $ac_cv_libcfile
49343   libcpath support:                          $ac_cv_libcpath
49344   libbfio support:                           $ac_cv_libbfio
49345   libfcache support:                         $ac_cv_libfcache
49346   libfdata support:                          $ac_cv_libfdata
49347   FUSE support:                              $ac_cv_libfuse
49348
49349Features:
49350   Multi-threading support:                   $ac_cv_libcthreads_multi_threading
49351   Wide character type support:               $ac_cv_enable_wide_character_type
49352   cregtools are build as static executables: $ac_cv_enable_static_executables
49353   Python (pycreg) support:                   $ac_cv_enable_python
49354   Verbose output:                            $ac_cv_enable_verbose_output
49355   Debug output:                              $ac_cv_enable_debug_output
49356" >&6;};
49357
49358