]> eyrie.org Git - kerberos/krb5-strength.git/blob - configure
Finalize changes for 3.3-1
[kerberos/krb5-strength.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for krb5-strength 3.3.
4 #
5 # Report bugs to <eagle@eyrie.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else $as_nop
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" ""        $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # Find who we are.  Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90   *[\\/]* ) as_myself=$0 ;;
91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94   IFS=$as_save_IFS
95   case $as_dir in #(((
96     '') as_dir=./ ;;
97     */) ;;
98     *) as_dir=$as_dir/ ;;
99   esac
100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
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.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118   # into an infinite loop, continuously re-executing ourselves.
119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120     _as_can_reexec=no; export _as_can_reexec;
121     # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129   *v*x* | *x*v* ) as_opts=-vx ;;
130   *v* ) as_opts=-v ;;
131   *x* ) as_opts=-x ;;
132   * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139   fi
140   # We don't want this to propagate to other subprocesses.
141           { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143   as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146   emulate sh
147   NULLCMD=:
148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149   # is contrary to our usage.  Disable this feature.
150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
151   setopt NO_GLOB_SUBST
152 else \$as_nop
153   case \`(set -o) 2>/dev/null\` in #(
154   *posix*) :
155     set -o posix ;; #(
156   *) :
157      ;;
158 esac
159 fi
160 "
161   as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176   exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191     PATH=/empty FPATH=/empty; export PATH FPATH
192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194 test \$(( 1 + 1 )) = 2 || exit 1"
195   if (eval "$as_required") 2>/dev/null
196 then :
197   as_have_required=yes
198 else $as_nop
199   as_have_required=no
200 fi
201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202 then :
203
204 else $as_nop
205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206 as_found=false
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208 do
209   IFS=$as_save_IFS
210   case $as_dir in #(((
211     '') as_dir=./ ;;
212     */) ;;
213     *) as_dir=$as_dir/ ;;
214   esac
215   as_found=:
216   case $as_dir in #(
217          /*)
218            for as_base in sh bash ksh sh5; do
219              # Try only shells that exist, to save several forks.
220              as_shell=$as_dir$as_base
221              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222                     as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223 then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226 then :
227   break 2
228 fi
229 fi
230            done;;
231        esac
232   as_found=false
233 done
234 IFS=$as_save_IFS
235 if $as_found
236 then :
237
238 else $as_nop
239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241 then :
242   CONFIG_SHELL=$SHELL as_have_required=yes
243 fi
244 fi
245
246
247       if test "x$CONFIG_SHELL" != x
248 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.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno
271 then :
272   printf "%s\n" "$0: This script requires a shell more modern than all"
273   printf "%s\n" "$0: the shells that I found on your system."
274   if test ${ZSH_VERSION+y} ; then
275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277   else
278     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and eagle@eyrie.org
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_status ()
311 {
312   return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exit ()
319 {
320   set +e
321   as_fn_set_status $1
322   exit $1
323 } # as_fn_exit
324 # as_fn_nop
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
327 as_fn_nop ()
328 {
329   return $?
330 }
331 as_nop=as_fn_nop
332
333 # as_fn_mkdir_p
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
336 as_fn_mkdir_p ()
337 {
338
339   case $as_dir in #(
340   -*) as_dir=./$as_dir;;
341   esac
342   test -d "$as_dir" || eval $as_mkdir_p || {
343     as_dirs=
344     while :; do
345       case $as_dir in #(
346       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347       *) as_qdir=$as_dir;;
348       esac
349       as_dirs="'$as_qdir' $as_dirs"
350       as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352          X"$as_dir" : 'X\(//\)[^/]' \| \
353          X"$as_dir" : 'X\(//\)$' \| \
354          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355 printf "%s\n" X"$as_dir" |
356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357             s//\1/
358             q
359           }
360           /^X\(\/\/\)[^/].*/{
361             s//\1/
362             q
363           }
364           /^X\(\/\/\)$/{
365             s//\1/
366             q
367           }
368           /^X\(\/\).*/{
369             s//\1/
370             q
371           }
372           s/.*/./; q'`
373       test -d "$as_dir" && break
374     done
375     test -z "$as_dirs" || eval "mkdir $as_dirs"
376   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379 } # as_fn_mkdir_p
380
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_p ()
385 {
386   test -f "$1" && test -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395 then :
396   eval 'as_fn_append ()
397   {
398     eval $1+=\$2
399   }'
400 else $as_nop
401   as_fn_append ()
402   {
403     eval $1=\$$1\$2
404   }
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413 then :
414   eval 'as_fn_arith ()
415   {
416     as_val=$(( $* ))
417   }'
418 else $as_nop
419   as_fn_arith ()
420   {
421     as_val=`expr "$@" || test $? -eq 1`
422   }
423 fi # as_fn_arith
424
425 # as_fn_nop
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
428 as_fn_nop ()
429 {
430   return $?
431 }
432 as_nop=as_fn_nop
433
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
439 as_fn_error ()
440 {
441   as_status=$1; test $as_status -eq 0 && as_status=1
442   if test "$4"; then
443     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445   fi
446   printf "%s\n" "$as_me: error: $2" >&2
447   as_fn_exit $as_status
448 } # as_fn_error
449
450 if expr a : '\(a\)' >/dev/null 2>&1 &&
451    test "X`expr 00001 : '.*\(...\)'`" = X001; then
452   as_expr=expr
453 else
454   as_expr=false
455 fi
456
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458   as_basename=basename
459 else
460   as_basename=false
461 fi
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464   as_dirname=dirname
465 else
466   as_dirname=false
467 fi
468
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471          X"$0" : 'X\(//\)$' \| \
472          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474     sed '/^.*\/\([^/][^/]*\)\/*$/{
475             s//\1/
476             q
477           }
478           /^X\/\(\/\/\)$/{
479             s//\1/
480             q
481           }
482           /^X\/\(\/\).*/{
483             s//\1/
484             q
485           }
486           s/.*/./; q'`
487
488 # Avoid depending upon Character Ranges.
489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits='0123456789'
493 as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496   as_lineno_1=$LINENO as_lineno_1a=$LINENO
497   as_lineno_2=$LINENO as_lineno_2a=$LINENO
498   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
501   sed -n '
502     p
503     /[$]LINENO/=
504   ' <$as_myself |
505     sed '
506       s/[$]LINENO.*/&-/
507       t lineno
508       b
509       :lineno
510       N
511       :loop
512       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513       t loop
514       s/-\n.*//
515     ' >$as_me.lineno &&
516   chmod +x "$as_me.lineno" ||
517     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520   # already done that, so ensure we don't try to do so again and fall
521   # in an infinite loop.  This has already happened in practice.
522   _as_can_reexec=no; export _as_can_reexec
523   # Don't try to exec as it changes $[0], causing all sort of problems
524   # (the dirname of $[0] is not the place where we might find the
525   # original and so on.  Autoconf is especially sensitive to this).
526   . "./$as_me.lineno"
527   # Exit status is that of the last command.
528   exit
529 }
530
531
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C= ECHO_N= ECHO_T=
536 case `echo -n x` in #(((((
537 -n*)
538   case `echo 'xy\c'` in
539   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
540   xy)  ECHO_C='\c';;
541   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
542        ECHO_T=' ';;
543   esac;;
544 *)
545   ECHO_N='-n';;
546 esac
547
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n.  New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo='printf %s\n'
552 as_echo_n='printf %s'
553
554
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557   rm -f conf$$.dir/conf$$.file
558 else
559   rm -f conf$$.dir
560   mkdir conf$$.dir 2>/dev/null
561 fi
562 if (echo >conf$$.file) 2>/dev/null; then
563   if ln -s conf$$.file conf$$ 2>/dev/null; then
564     as_ln_s='ln -s'
565     # ... but there are two gotchas:
566     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568     # In both cases, we have to default to `cp -pR'.
569     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570       as_ln_s='cp -pR'
571   elif ln conf$$.file conf$$ 2>/dev/null; then
572     as_ln_s=ln
573   else
574     as_ln_s='cp -pR'
575   fi
576 else
577   as_ln_s='cp -pR'
578 fi
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdir conf$$.dir 2>/dev/null
581
582 if mkdir -p . 2>/dev/null; then
583   as_mkdir_p='mkdir -p "$as_dir"'
584 else
585   test -d ./-p && rmdir ./-p
586   as_mkdir_p=false
587 fi
588
589 as_test_x='test -x'
590 as_executable_p=as_fn_executable_p
591
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601 test -n "$DJDIR" || exec 7<&0 </dev/null
602 exec 6>&1
603
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609 #
610 # Initializations.
611 #
612 ac_default_prefix=/usr/local
613 ac_clean_files=
614 ac_config_libobj_dir=.
615 LIBOBJS=
616 cross_compiling=no
617 subdirs=
618 MFLAGS=
619 MAKEFLAGS=
620
621 # Identity of this package.
622 PACKAGE_NAME='krb5-strength'
623 PACKAGE_TARNAME='krb5-strength'
624 PACKAGE_VERSION='3.3'
625 PACKAGE_STRING='krb5-strength 3.3'
626 PACKAGE_BUGREPORT='eagle@eyrie.org'
627 PACKAGE_URL=''
628
629 ac_config_libobj_dir=portable
630 # Factoring default headers for most tests.
631 ac_includes_default="\
632 #include <stddef.h>
633 #ifdef HAVE_STDIO_H
634 # include <stdio.h>
635 #endif
636 #ifdef HAVE_STDLIB_H
637 # include <stdlib.h>
638 #endif
639 #ifdef HAVE_STRING_H
640 # include <string.h>
641 #endif
642 #ifdef HAVE_INTTYPES_H
643 # include <inttypes.h>
644 #endif
645 #ifdef HAVE_STDINT_H
646 # include <stdint.h>
647 #endif
648 #ifdef HAVE_STRINGS_H
649 # include <strings.h>
650 #endif
651 #ifdef HAVE_SYS_TYPES_H
652 # include <sys/types.h>
653 #endif
654 #ifdef HAVE_SYS_STAT_H
655 # include <sys/stat.h>
656 #endif
657 #ifdef HAVE_UNISTD_H
658 # include <unistd.h>
659 #endif"
660
661 ac_header_c_list=
662 ac_subst_vars='am__EXEEXT_FALSE
663 am__EXEEXT_TRUE
664 LTLIBOBJS
665 DL_LIBS
666 SQLITE3_CFLAGS
667 PKG_CONFIG_LIBDIR
668 PKG_CONFIG_PATH
669 PKG_CONFIG
670 SQLITE3_LIBS
671 SQLITE3_LDFLAGS
672 SQLITE3_CPPFLAGS
673 LIBOBJS
674 KRB5_USES_COM_ERR_FALSE
675 KRB5_USES_COM_ERR_TRUE
676 PATH_KRB5_CONFIG
677 KRB5_LIBS
678 KRB5_LDFLAGS
679 KRB5_CPPFLAGS_WARNINGS
680 KRB5_CPPFLAGS
681 EMBEDDED_CRACKLIB_FALSE
682 EMBEDDED_CRACKLIB_TRUE
683 CRACKLIB_LIBS
684 CRACKLIB_LDFLAGS
685 CRACKLIB_CPPFLAGS
686 CDB_LIBS
687 CDB_LDFLAGS
688 CDB_CPPFLAGS
689 PATH_VALGRIND
690 LT_SYS_LIBRARY_PATH
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 MANIFEST_TOOL
697 RANLIB
698 DLLTOOL
699 OBJDUMP
700 FILECMD
701 LN_S
702 NM
703 ac_ct_DUMPBIN
704 DUMPBIN
705 LD
706 FGREP
707 EGREP
708 GREP
709 SED
710 host_os
711 host_vendor
712 host_cpu
713 host
714 build_os
715 build_vendor
716 build_cpu
717 build
718 LIBTOOL
719 ac_ct_AR
720 AR
721 WARNINGS_CFLAGS
722 am__fastdepCC_FALSE
723 am__fastdepCC_TRUE
724 CCDEPMODE
725 am__nodep
726 AMDEPBACKSLASH
727 AMDEP_FALSE
728 AMDEP_TRUE
729 am__include
730 DEPDIR
731 OBJEXT
732 EXEEXT
733 ac_ct_CC
734 CPPFLAGS
735 LDFLAGS
736 CFLAGS
737 CC
738 MAINT
739 MAINTAINER_MODE_FALSE
740 MAINTAINER_MODE_TRUE
741 AM_BACKSLASH
742 AM_DEFAULT_VERBOSITY
743 AM_DEFAULT_V
744 AM_V
745 CSCOPE
746 ETAGS
747 CTAGS
748 am__untar
749 am__tar
750 AMTAR
751 am__leading_dot
752 SET_MAKE
753 AWK
754 mkdir_p
755 MKDIR_P
756 INSTALL_STRIP_PROGRAM
757 STRIP
758 install_sh
759 MAKEINFO
760 AUTOHEADER
761 AUTOMAKE
762 AUTOCONF
763 ACLOCAL
764 VERSION
765 PACKAGE
766 CYGPATH_W
767 am__isrc
768 INSTALL_DATA
769 INSTALL_SCRIPT
770 INSTALL_PROGRAM
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL
810 am__quote'
811 ac_subst_files=''
812 ac_user_opts='
813 enable_option_checking
814 enable_silent_rules
815 enable_maintainer_mode
816 enable_dependency_tracking
817 enable_largefile
818 enable_static
819 enable_shared
820 with_pic
821 enable_fast_install
822 with_aix_soname
823 with_gnu_ld
824 with_sysroot
825 enable_libtool_lock
826 with_tinycdb
827 with_tinycdb_include
828 with_tinycdb_lib
829 with_cracklib
830 with_cracklib_include
831 with_cracklib_lib
832 with_krb5
833 with_krb5_include
834 with_krb5_lib
835 enable_reduced_depends
836 with_sqlite3
837 with_sqlite3_include
838 with_sqlite3_lib
839 '
840       ac_precious_vars='build_alias
841 host_alias
842 target_alias
843 CC
844 CFLAGS
845 LDFLAGS
846 LIBS
847 CPPFLAGS
848 LT_SYS_LIBRARY_PATH
849 PATH_KRB5_CONFIG
850 PKG_CONFIG
851 PKG_CONFIG_PATH
852 PKG_CONFIG_LIBDIR
853 SQLITE3_CFLAGS
854 SQLITE3_LIBS'
855
856
857 # Initialize some variables set by options.
858 ac_init_help=
859 ac_init_version=false
860 ac_unrecognized_opts=
861 ac_unrecognized_sep=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
864 cache_file=/dev/null
865 exec_prefix=NONE
866 no_create=
867 no_recursion=
868 prefix=NONE
869 program_prefix=NONE
870 program_suffix=NONE
871 program_transform_name=s,x,x,
872 silent=
873 site=
874 srcdir=
875 verbose=
876 x_includes=NONE
877 x_libraries=NONE
878
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir='${exec_prefix}/bin'
886 sbindir='${exec_prefix}/sbin'
887 libexecdir='${exec_prefix}/libexec'
888 datarootdir='${prefix}/share'
889 datadir='${datarootdir}'
890 sysconfdir='${prefix}/etc'
891 sharedstatedir='${prefix}/com'
892 localstatedir='${prefix}/var'
893 runstatedir='${localstatedir}/run'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910   # If the previous option needs an argument, assign it.
911   if test -n "$ac_prev"; then
912     eval $ac_prev=\$ac_option
913     ac_prev=
914     continue
915   fi
916
917   case $ac_option in
918   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919   *=)   ac_optarg= ;;
920   *)    ac_optarg=yes ;;
921   esac
922
923   case $ac_dashdash$ac_option in
924   --)
925     ac_dashdash=yes ;;
926
927   -bindir | --bindir | --bindi | --bind | --bin | --bi)
928     ac_prev=bindir ;;
929   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930     bindir=$ac_optarg ;;
931
932   -build | --build | --buil | --bui | --bu)
933     ac_prev=build_alias ;;
934   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935     build_alias=$ac_optarg ;;
936
937   -cache-file | --cache-file | --cache-fil | --cache-fi \
938   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939     ac_prev=cache_file ;;
940   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942     cache_file=$ac_optarg ;;
943
944   --config-cache | -C)
945     cache_file=config.cache ;;
946
947   -datadir | --datadir | --datadi | --datad)
948     ac_prev=datadir ;;
949   -datadir=* | --datadir=* | --datadi=* | --datad=*)
950     datadir=$ac_optarg ;;
951
952   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953   | --dataroo | --dataro | --datar)
954     ac_prev=datarootdir ;;
955   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957     datarootdir=$ac_optarg ;;
958
959   -disable-* | --disable-*)
960     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961     # Reject names that are not valid shell variable names.
962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963       as_fn_error $? "invalid feature name: \`$ac_useropt'"
964     ac_useropt_orig=$ac_useropt
965     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
966     case $ac_user_opts in
967       *"
968 "enable_$ac_useropt"
969 "*) ;;
970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971          ac_unrecognized_sep=', ';;
972     esac
973     eval enable_$ac_useropt=no ;;
974
975   -docdir | --docdir | --docdi | --doc | --do)
976     ac_prev=docdir ;;
977   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978     docdir=$ac_optarg ;;
979
980   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981     ac_prev=dvidir ;;
982   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983     dvidir=$ac_optarg ;;
984
985   -enable-* | --enable-*)
986     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987     # Reject names that are not valid shell variable names.
988     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989       as_fn_error $? "invalid feature name: \`$ac_useropt'"
990     ac_useropt_orig=$ac_useropt
991     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
992     case $ac_user_opts in
993       *"
994 "enable_$ac_useropt"
995 "*) ;;
996       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997          ac_unrecognized_sep=', ';;
998     esac
999     eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003   | --exec | --exe | --ex)
1004     ac_prev=exec_prefix ;;
1005   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007   | --exec=* | --exe=* | --ex=*)
1008     exec_prefix=$ac_optarg ;;
1009
1010   -gas | --gas | --ga | --g)
1011     # Obsolete; use --with-gas.
1012     with_gas=yes ;;
1013
1014   -help | --help | --hel | --he | -h)
1015     ac_init_help=long ;;
1016   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017     ac_init_help=recursive ;;
1018   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019     ac_init_help=short ;;
1020
1021   -host | --host | --hos | --ho)
1022     ac_prev=host_alias ;;
1023   -host=* | --host=* | --hos=* | --ho=*)
1024     host_alias=$ac_optarg ;;
1025
1026   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027     ac_prev=htmldir ;;
1028   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029   | --ht=*)
1030     htmldir=$ac_optarg ;;
1031
1032   -includedir | --includedir | --includedi | --included | --include \
1033   | --includ | --inclu | --incl | --inc)
1034     ac_prev=includedir ;;
1035   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036   | --includ=* | --inclu=* | --incl=* | --inc=*)
1037     includedir=$ac_optarg ;;
1038
1039   -infodir | --infodir | --infodi | --infod | --info | --inf)
1040     ac_prev=infodir ;;
1041   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042     infodir=$ac_optarg ;;
1043
1044   -libdir | --libdir | --libdi | --libd)
1045     ac_prev=libdir ;;
1046   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047     libdir=$ac_optarg ;;
1048
1049   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050   | --libexe | --libex | --libe)
1051     ac_prev=libexecdir ;;
1052   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053   | --libexe=* | --libex=* | --libe=*)
1054     libexecdir=$ac_optarg ;;
1055
1056   -localedir | --localedir | --localedi | --localed | --locale)
1057     ac_prev=localedir ;;
1058   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059     localedir=$ac_optarg ;;
1060
1061   -localstatedir | --localstatedir | --localstatedi | --localstated \
1062   | --localstate | --localstat | --localsta | --localst | --locals)
1063     ac_prev=localstatedir ;;
1064   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066     localstatedir=$ac_optarg ;;
1067
1068   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069     ac_prev=mandir ;;
1070   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071     mandir=$ac_optarg ;;
1072
1073   -nfp | --nfp | --nf)
1074     # Obsolete; use --without-fp.
1075     with_fp=no ;;
1076
1077   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078   | --no-cr | --no-c | -n)
1079     no_create=yes ;;
1080
1081   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083     no_recursion=yes ;;
1084
1085   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087   | --oldin | --oldi | --old | --ol | --o)
1088     ac_prev=oldincludedir ;;
1089   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092     oldincludedir=$ac_optarg ;;
1093
1094   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095     ac_prev=prefix ;;
1096   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097     prefix=$ac_optarg ;;
1098
1099   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100   | --program-pre | --program-pr | --program-p)
1101     ac_prev=program_prefix ;;
1102   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104     program_prefix=$ac_optarg ;;
1105
1106   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107   | --program-suf | --program-su | --program-s)
1108     ac_prev=program_suffix ;;
1109   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111     program_suffix=$ac_optarg ;;
1112
1113   -program-transform-name | --program-transform-name \
1114   | --program-transform-nam | --program-transform-na \
1115   | --program-transform-n | --program-transform- \
1116   | --program-transform | --program-transfor \
1117   | --program-transfo | --program-transf \
1118   | --program-trans | --program-tran \
1119   | --progr-tra | --program-tr | --program-t)
1120     ac_prev=program_transform_name ;;
1121   -program-transform-name=* | --program-transform-name=* \
1122   | --program-transform-nam=* | --program-transform-na=* \
1123   | --program-transform-n=* | --program-transform-=* \
1124   | --program-transform=* | --program-transfor=* \
1125   | --program-transfo=* | --program-transf=* \
1126   | --program-trans=* | --program-tran=* \
1127   | --progr-tra=* | --program-tr=* | --program-t=*)
1128     program_transform_name=$ac_optarg ;;
1129
1130   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131     ac_prev=pdfdir ;;
1132   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133     pdfdir=$ac_optarg ;;
1134
1135   -psdir | --psdir | --psdi | --psd | --ps)
1136     ac_prev=psdir ;;
1137   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138     psdir=$ac_optarg ;;
1139
1140   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141   | -silent | --silent | --silen | --sile | --sil)
1142     silent=yes ;;
1143
1144   -runstatedir | --runstatedir | --runstatedi | --runstated \
1145   | --runstate | --runstat | --runsta | --runst | --runs \
1146   | --run | --ru | --r)
1147     ac_prev=runstatedir ;;
1148   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1149   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1150   | --run=* | --ru=* | --r=*)
1151     runstatedir=$ac_optarg ;;
1152
1153   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154     ac_prev=sbindir ;;
1155   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156   | --sbi=* | --sb=*)
1157     sbindir=$ac_optarg ;;
1158
1159   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1160   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1161   | --sharedst | --shareds | --shared | --share | --shar \
1162   | --sha | --sh)
1163     ac_prev=sharedstatedir ;;
1164   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1165   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1166   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167   | --sha=* | --sh=*)
1168     sharedstatedir=$ac_optarg ;;
1169
1170   -site | --site | --sit)
1171     ac_prev=site ;;
1172   -site=* | --site=* | --sit=*)
1173     site=$ac_optarg ;;
1174
1175   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176     ac_prev=srcdir ;;
1177   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1178     srcdir=$ac_optarg ;;
1179
1180   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1181   | --syscon | --sysco | --sysc | --sys | --sy)
1182     ac_prev=sysconfdir ;;
1183   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1184   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1185     sysconfdir=$ac_optarg ;;
1186
1187   -target | --target | --targe | --targ | --tar | --ta | --t)
1188     ac_prev=target_alias ;;
1189   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1190     target_alias=$ac_optarg ;;
1191
1192   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193     verbose=yes ;;
1194
1195   -version | --version | --versio | --versi | --vers | -V)
1196     ac_init_version=: ;;
1197
1198   -with-* | --with-*)
1199     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200     # Reject names that are not valid shell variable names.
1201     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202       as_fn_error $? "invalid package name: \`$ac_useropt'"
1203     ac_useropt_orig=$ac_useropt
1204     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1205     case $ac_user_opts in
1206       *"
1207 "with_$ac_useropt"
1208 "*) ;;
1209       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210          ac_unrecognized_sep=', ';;
1211     esac
1212     eval with_$ac_useropt=\$ac_optarg ;;
1213
1214   -without-* | --without-*)
1215     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216     # Reject names that are not valid shell variable names.
1217     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218       as_fn_error $? "invalid package name: \`$ac_useropt'"
1219     ac_useropt_orig=$ac_useropt
1220     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1221     case $ac_user_opts in
1222       *"
1223 "with_$ac_useropt"
1224 "*) ;;
1225       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226          ac_unrecognized_sep=', ';;
1227     esac
1228     eval with_$ac_useropt=no ;;
1229
1230   --x)
1231     # Obsolete; use --with-x.
1232     with_x=yes ;;
1233
1234   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235   | --x-incl | --x-inc | --x-in | --x-i)
1236     ac_prev=x_includes ;;
1237   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239     x_includes=$ac_optarg ;;
1240
1241   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243     ac_prev=x_libraries ;;
1244   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246     x_libraries=$ac_optarg ;;
1247
1248   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1249 Try \`$0 --help' for more information"
1250     ;;
1251
1252   *=*)
1253     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254     # Reject names that are not valid shell variable names.
1255     case $ac_envvar in #(
1256       '' | [0-9]* | *[!_$as_cr_alnum]* )
1257       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1258     esac
1259     eval $ac_envvar=\$ac_optarg
1260     export $ac_envvar ;;
1261
1262   *)
1263     # FIXME: should be removed in autoconf 3.0.
1264     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1265     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1267     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268     ;;
1269
1270   esac
1271 done
1272
1273 if test -n "$ac_prev"; then
1274   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275   as_fn_error $? "missing argument to $ac_option"
1276 fi
1277
1278 if test -n "$ac_unrecognized_opts"; then
1279   case $enable_option_checking in
1280     no) ;;
1281     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1282     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283   esac
1284 fi
1285
1286 # Check all directory arguments for consistency.
1287 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288                 datadir sysconfdir sharedstatedir localstatedir includedir \
1289                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290                 libdir localedir mandir runstatedir
1291 do
1292   eval ac_val=\$$ac_var
1293   # Remove trailing slashes.
1294   case $ac_val in
1295     */ )
1296       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297       eval $ac_var=\$ac_val;;
1298   esac
1299   # Be sure to have absolute directory names.
1300   case $ac_val in
1301     [\\/$]* | ?:[\\/]* )  continue;;
1302     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1303   esac
1304   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 done
1306
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1310 build=$build_alias
1311 host=$host_alias
1312 target=$target_alias
1313
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x; then
1316   if test "x$build_alias" = x; then
1317     cross_compiling=maybe
1318   elif test "x$build_alias" != "x$host_alias"; then
1319     cross_compiling=yes
1320   fi
1321 fi
1322
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326 test "$silent" = yes && exec 6>/dev/null
1327
1328
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332   as_fn_error $? "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334   as_fn_error $? "pwd does not report name of working directory"
1335
1336
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339   ac_srcdir_defaulted=yes
1340   # Try the directory containing this script, then the parent directory.
1341   ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343          X"$as_myself" : 'X\(//\)[^/]' \| \
1344          X"$as_myself" : 'X\(//\)$' \| \
1345          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 printf "%s\n" X"$as_myself" |
1347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348             s//\1/
1349             q
1350           }
1351           /^X\(\/\/\)[^/].*/{
1352             s//\1/
1353             q
1354           }
1355           /^X\(\/\/\)$/{
1356             s//\1/
1357             q
1358           }
1359           /^X\(\/\).*/{
1360             s//\1/
1361             q
1362           }
1363           s/.*/./; q'`
1364   srcdir=$ac_confdir
1365   if test ! -r "$srcdir/$ac_unique_file"; then
1366     srcdir=..
1367   fi
1368 else
1369   ac_srcdir_defaulted=no
1370 fi
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374 fi
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378         pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381   srcdir=.
1382 fi
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391   eval ac_env_${ac_var}_value=\$${ac_var}
1392   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1395
1396 #
1397 # Report the --help message.
1398 #
1399 if test "$ac_init_help" = "long"; then
1400   # Omit some internal or obsolete options to make the list less imposing.
1401   # This message is too long to be a string in the A/UX 3.1 sh.
1402   cat <<_ACEOF
1403 \`configure' configures krb5-strength 3.3 to adapt to many kinds of systems.
1404
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE.  See below for descriptions of some of the useful variables.
1409
1410 Defaults for the options are specified in brackets.
1411
1412 Configuration:
1413   -h, --help              display this help and exit
1414       --help=short        display options specific to this package
1415       --help=recursive    display the short help of all the included packages
1416   -V, --version           display version information and exit
1417   -q, --quiet, --silent   do not print \`checking ...' messages
1418       --cache-file=FILE   cache test results in FILE [disabled]
1419   -C, --config-cache      alias for \`--cache-file=config.cache'
1420   -n, --no-create         do not create output files
1421       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1422
1423 Installation directories:
1424   --prefix=PREFIX         install architecture-independent files in PREFIX
1425                           [$ac_default_prefix]
1426   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1427                           [PREFIX]
1428
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1433
1434 For better control, use the options below.
1435
1436 Fine tuning of the installation directories:
1437   --bindir=DIR            user executables [EPREFIX/bin]
1438   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1439   --libexecdir=DIR        program executables [EPREFIX/libexec]
1440   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1441   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1442   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1443   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1444   --libdir=DIR            object code libraries [EPREFIX/lib]
1445   --includedir=DIR        C header files [PREFIX/include]
1446   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1447   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1448   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1449   --infodir=DIR           info documentation [DATAROOTDIR/info]
1450   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1451   --mandir=DIR            man documentation [DATAROOTDIR/man]
1452   --docdir=DIR            documentation root [DATAROOTDIR/doc/krb5-strength]
1453   --htmldir=DIR           html documentation [DOCDIR]
1454   --dvidir=DIR            dvi documentation [DOCDIR]
1455   --pdfdir=DIR            pdf documentation [DOCDIR]
1456   --psdir=DIR             ps documentation [DOCDIR]
1457 _ACEOF
1458
1459   cat <<\_ACEOF
1460
1461 Program names:
1462   --program-prefix=PREFIX            prepend PREFIX to installed program names
1463   --program-suffix=SUFFIX            append SUFFIX to installed program names
1464   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1465
1466 System types:
1467   --build=BUILD     configure for building on BUILD [guessed]
1468   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1469 _ACEOF
1470 fi
1471
1472 if test -n "$ac_init_help"; then
1473   case $ac_init_help in
1474      short | recursive ) echo "Configuration of krb5-strength 3.3:";;
1475    esac
1476   cat <<\_ACEOF
1477
1478 Optional Features:
1479   --disable-option-checking  ignore unrecognized --enable/--with options
1480   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1481   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1482   --enable-silent-rules   less verbose build output (undo: "make V=1")
1483   --disable-silent-rules  verbose build output (undo: "make V=0")
1484   --enable-maintainer-mode
1485                           enable make rules and dependencies not useful (and
1486                           sometimes confusing) to the casual installer
1487   --enable-dependency-tracking
1488                           do not reject slow dependency extractors
1489   --disable-dependency-tracking
1490                           speeds up one-time build
1491   --disable-largefile     omit support for large files
1492   --enable-static[=PKGS]  build static libraries [default=no]
1493   --enable-shared[=PKGS]  build shared libraries [default=yes]
1494   --enable-fast-install[=PKGS]
1495                           optimize for fast installation [default=yes]
1496   --disable-libtool-lock  avoid locking (might break parallel builds)
1497   --enable-reduced-depends
1498                           Try to minimize shared library dependencies
1499
1500 Optional Packages:
1501   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1502   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1503   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1504                           both]
1505   --with-aix-soname=aix|svr4|both
1506                           shared library versioning (aka "SONAME") variant to
1507                           provide on AIX, [default=aix].
1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1509   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1510                           compiler's sysroot if not specified).
1511   --with-tinycdb[=DIR]    Location of TinyCDB headers and libraries
1512   --with-tinycdb-include=DIR
1513                           Location of TinyCDB headers
1514   --with-tinycdb-lib=DIR  Location of TinyCDB libraries
1515   --with-cracklib[=DIR]   Use system CrackLib instead of embedded copy
1516   --with-cracklib-include=DIR
1517                           Location of CrackLib headers
1518   --with-cracklib-lib=DIR Location of CrackLib libraries
1519   --with-krb5=DIR         Location of Kerberos headers and libraries
1520   --with-krb5-include=DIR Location of Kerberos headers
1521   --with-krb5-lib=DIR     Location of Kerberos libraries
1522   --with-sqlite3[=DIR]    Location of SQLite v3 headers and libraries
1523   --with-sqlite3-include=DIR
1524                           Location of SQLite v3 headers
1525   --with-sqlite3-lib=DIR  Location of SQLite v3 libraries
1526
1527 Some influential environment variables:
1528   CC          C compiler command
1529   CFLAGS      C compiler flags
1530   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1531               nonstandard directory <lib dir>
1532   LIBS        libraries to pass to the linker, e.g. -l<library>
1533   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1534               you have headers in a nonstandard directory <include dir>
1535   LT_SYS_LIBRARY_PATH
1536               User-defined run-time library search path.
1537   PATH_KRB5_CONFIG
1538               Path to krb5-config
1539   PKG_CONFIG  path to pkg-config utility
1540   PKG_CONFIG_PATH
1541               directories to add to pkg-config's search path
1542   PKG_CONFIG_LIBDIR
1543               path overriding pkg-config's built-in search path
1544   SQLITE3_CFLAGS
1545               C compiler flags for SQLITE3, overriding pkg-config
1546   SQLITE3_LIBS
1547               linker flags for SQLITE3, overriding pkg-config
1548
1549 Use these variables to override the choices made by `configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1551
1552 Report bugs to <eagle@eyrie.org>.
1553 _ACEOF
1554 ac_status=$?
1555 fi
1556
1557 if test "$ac_init_help" = "recursive"; then
1558   # If there are subdirs, report their specific --help.
1559   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560     test -d "$ac_dir" ||
1561       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1562       continue
1563     ac_builddir=.
1564
1565 case "$ac_dir" in
1566 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 *)
1568   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1569   # A ".." for each directory in $ac_dir_suffix.
1570   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1571   case $ac_top_builddir_sub in
1572   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574   esac ;;
1575 esac
1576 ac_abs_top_builddir=$ac_pwd
1577 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1578 # for backward compatibility:
1579 ac_top_builddir=$ac_top_build_prefix
1580
1581 case $srcdir in
1582   .)  # We are building in place.
1583     ac_srcdir=.
1584     ac_top_srcdir=$ac_top_builddir_sub
1585     ac_abs_top_srcdir=$ac_pwd ;;
1586   [\\/]* | ?:[\\/]* )  # Absolute name.
1587     ac_srcdir=$srcdir$ac_dir_suffix;
1588     ac_top_srcdir=$srcdir
1589     ac_abs_top_srcdir=$srcdir ;;
1590   *) # Relative name.
1591     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1592     ac_top_srcdir=$ac_top_build_prefix$srcdir
1593     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1594 esac
1595 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1596
1597     cd "$ac_dir" || { ac_status=$?; continue; }
1598     # Check for configure.gnu first; this name is used for a wrapper for
1599     # Metaconfig's "Configure" on case-insensitive file systems.
1600     if test -f "$ac_srcdir/configure.gnu"; then
1601       echo &&
1602       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603     elif test -f "$ac_srcdir/configure"; then
1604       echo &&
1605       $SHELL "$ac_srcdir/configure" --help=recursive
1606     else
1607       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608     fi || ac_status=$?
1609     cd "$ac_pwd" || { ac_status=$?; break; }
1610   done
1611 fi
1612
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1615   cat <<\_ACEOF
1616 krb5-strength configure 3.3
1617 generated by GNU Autoconf 2.71
1618
1619 Copyright (C) 2021 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1622 _ACEOF
1623   exit
1624 fi
1625
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1629
1630 # ac_fn_c_try_compile LINENO
1631 # --------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_compile ()
1634 {
1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636   rm -f conftest.$ac_objext conftest.beam
1637   if { { ac_try="$ac_compile"
1638 case "(($ac_try" in
1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640   *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 printf "%s\n" "$ac_try_echo"; } >&5
1644   (eval "$ac_compile") 2>conftest.err
1645   ac_status=$?
1646   if test -s conftest.err; then
1647     grep -v '^ *+' conftest.err >conftest.er1
1648     cat conftest.er1 >&5
1649     mv -f conftest.er1 conftest.err
1650   fi
1651   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652   test $ac_status = 0; } && {
1653          test -z "$ac_c_werror_flag" ||
1654          test ! -s conftest.err
1655        } && test -s conftest.$ac_objext
1656 then :
1657   ac_retval=0
1658 else $as_nop
1659   printf "%s\n" "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1661
1662         ac_retval=1
1663 fi
1664   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665   as_fn_set_status $ac_retval
1666
1667 } # ac_fn_c_try_compile
1668
1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 # -------------------------------------------------------
1671 # Tests whether HEADER exists and can be compiled using the include files in
1672 # INCLUDES, setting the cache variable VAR accordingly.
1673 ac_fn_c_check_header_compile ()
1674 {
1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 printf %s "checking for $2... " >&6; }
1678 if eval test \${$3+y}
1679 then :
1680   printf %s "(cached) " >&6
1681 else $as_nop
1682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h.  */
1684 $4
1685 #include <$2>
1686 _ACEOF
1687 if ac_fn_c_try_compile "$LINENO"
1688 then :
1689   eval "$3=yes"
1690 else $as_nop
1691   eval "$3=no"
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1694 fi
1695 eval ac_res=\$$3
1696                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 printf "%s\n" "$ac_res" >&6; }
1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700 } # ac_fn_c_check_header_compile
1701
1702 # ac_fn_c_try_link LINENO
1703 # -----------------------
1704 # Try to link conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_c_try_link ()
1706 {
1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1709   if { { ac_try="$ac_link"
1710 case "(($ac_try" in
1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712   *) ac_try_echo=$ac_try;;
1713 esac
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 printf "%s\n" "$ac_try_echo"; } >&5
1716   (eval "$ac_link") 2>conftest.err
1717   ac_status=$?
1718   if test -s conftest.err; then
1719     grep -v '^ *+' conftest.err >conftest.er1
1720     cat conftest.er1 >&5
1721     mv -f conftest.er1 conftest.err
1722   fi
1723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724   test $ac_status = 0; } && {
1725          test -z "$ac_c_werror_flag" ||
1726          test ! -s conftest.err
1727        } && test -s conftest$ac_exeext && {
1728          test "$cross_compiling" = yes ||
1729          test -x conftest$ac_exeext
1730        }
1731 then :
1732   ac_retval=0
1733 else $as_nop
1734   printf "%s\n" "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1736
1737         ac_retval=1
1738 fi
1739   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1740   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1741   # interfere with the next link command; also delete a directory that is
1742   # left behind by Apple's compiler.  We do this before executing the actions.
1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745   as_fn_set_status $ac_retval
1746
1747 } # ac_fn_c_try_link
1748
1749 # ac_fn_c_check_func LINENO FUNC VAR
1750 # ----------------------------------
1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1752 ac_fn_c_check_func ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 printf %s "checking for $2... " >&6; }
1757 if eval test \${$3+y}
1758 then :
1759   printf %s "(cached) " >&6
1760 else $as_nop
1761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h.  */
1763 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1765 #define $2 innocuous_$2
1766
1767 /* System header to define __stub macros and hopefully few prototypes,
1768    which can conflict with char $2 (); below.  */
1769
1770 #include <limits.h>
1771 #undef $2
1772
1773 /* Override any GCC internal prototype to avoid an error.
1774    Use char because int might match the return type of a GCC
1775    builtin and then its argument prototype would still apply.  */
1776 #ifdef __cplusplus
1777 extern "C"
1778 #endif
1779 char $2 ();
1780 /* The GNU C library defines this for functions which it implements
1781     to always fail with ENOSYS.  Some functions are actually named
1782     something starting with __ and the normal name is an alias.  */
1783 #if defined __stub_$2 || defined __stub___$2
1784 choke me
1785 #endif
1786
1787 int
1788 main (void)
1789 {
1790 return $2 ();
1791   ;
1792   return 0;
1793 }
1794 _ACEOF
1795 if ac_fn_c_try_link "$LINENO"
1796 then :
1797   eval "$3=yes"
1798 else $as_nop
1799   eval "$3=no"
1800 fi
1801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1802     conftest$ac_exeext conftest.$ac_ext
1803 fi
1804 eval ac_res=\$$3
1805                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 printf "%s\n" "$ac_res" >&6; }
1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808
1809 } # ac_fn_c_check_func
1810
1811 # ac_fn_c_try_run LINENO
1812 # ----------------------
1813 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1814 # executables *can* be run.
1815 ac_fn_c_try_run ()
1816 {
1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818   if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821   *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 printf "%s\n" "$ac_try_echo"; } >&5
1825   (eval "$ac_link") 2>&5
1826   ac_status=$?
1827   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1829   { { case "(($ac_try" in
1830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831   *) ac_try_echo=$ac_try;;
1832 esac
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 printf "%s\n" "$ac_try_echo"; } >&5
1835   (eval "$ac_try") 2>&5
1836   ac_status=$?
1837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838   test $ac_status = 0; }; }
1839 then :
1840   ac_retval=0
1841 else $as_nop
1842   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1843        printf "%s\n" "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
1846        ac_retval=$ac_status
1847 fi
1848   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850   as_fn_set_status $ac_retval
1851
1852 } # ac_fn_c_try_run
1853
1854 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1855 # --------------------------------------------
1856 # Tries to find the compile-time value of EXPR in a program that includes
1857 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1858 # computed
1859 ac_fn_c_compute_int ()
1860 {
1861   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862   if test "$cross_compiling" = yes; then
1863     # Depending upon the size, compute the lo and hi bounds.
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h.  */
1866 $4
1867 int
1868 main (void)
1869 {
1870 static int test_array [1 - 2 * !(($2) >= 0)];
1871 test_array [0] = 0;
1872 return test_array [0];
1873
1874   ;
1875   return 0;
1876 }
1877 _ACEOF
1878 if ac_fn_c_try_compile "$LINENO"
1879 then :
1880   ac_lo=0 ac_mid=0
1881   while :; do
1882     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h.  */
1884 $4
1885 int
1886 main (void)
1887 {
1888 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1889 test_array [0] = 0;
1890 return test_array [0];
1891
1892   ;
1893   return 0;
1894 }
1895 _ACEOF
1896 if ac_fn_c_try_compile "$LINENO"
1897 then :
1898   ac_hi=$ac_mid; break
1899 else $as_nop
1900   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1901                         if test $ac_lo -le $ac_mid; then
1902                           ac_lo= ac_hi=
1903                           break
1904                         fi
1905                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1906 fi
1907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1908   done
1909 else $as_nop
1910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h.  */
1912 $4
1913 int
1914 main (void)
1915 {
1916 static int test_array [1 - 2 * !(($2) < 0)];
1917 test_array [0] = 0;
1918 return test_array [0];
1919
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_compile "$LINENO"
1925 then :
1926   ac_hi=-1 ac_mid=-1
1927   while :; do
1928     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h.  */
1930 $4
1931 int
1932 main (void)
1933 {
1934 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1935 test_array [0] = 0;
1936 return test_array [0];
1937
1938   ;
1939   return 0;
1940 }
1941 _ACEOF
1942 if ac_fn_c_try_compile "$LINENO"
1943 then :
1944   ac_lo=$ac_mid; break
1945 else $as_nop
1946   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1947                         if test $ac_mid -le $ac_hi; then
1948                           ac_lo= ac_hi=
1949                           break
1950                         fi
1951                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1952 fi
1953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1954   done
1955 else $as_nop
1956   ac_lo= ac_hi=
1957 fi
1958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1959 fi
1960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1961 # Binary search between lo and hi bounds.
1962 while test "x$ac_lo" != "x$ac_hi"; do
1963   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h.  */
1966 $4
1967 int
1968 main (void)
1969 {
1970 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1971 test_array [0] = 0;
1972 return test_array [0];
1973
1974   ;
1975   return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_compile "$LINENO"
1979 then :
1980   ac_hi=$ac_mid
1981 else $as_nop
1982   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1985 done
1986 case $ac_lo in #((
1987 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1988 '') ac_retval=1 ;;
1989 esac
1990   else
1991     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h.  */
1993 $4
1994 static long int longval (void) { return $2; }
1995 static unsigned long int ulongval (void) { return $2; }
1996 #include <stdio.h>
1997 #include <stdlib.h>
1998 int
1999 main (void)
2000 {
2001
2002   FILE *f = fopen ("conftest.val", "w");
2003   if (! f)
2004     return 1;
2005   if (($2) < 0)
2006     {
2007       long int i = longval ();
2008       if (i != ($2))
2009         return 1;
2010       fprintf (f, "%ld", i);
2011     }
2012   else
2013     {
2014       unsigned long int i = ulongval ();
2015       if (i != ($2))
2016         return 1;
2017       fprintf (f, "%lu", i);
2018     }
2019   /* Do not output a trailing newline, as this causes \r\n confusion
2020      on some platforms.  */
2021   return ferror (f) || fclose (f) != 0;
2022
2023   ;
2024   return 0;
2025 }
2026 _ACEOF
2027 if ac_fn_c_try_run "$LINENO"
2028 then :
2029   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2030 else $as_nop
2031   ac_retval=1
2032 fi
2033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2034   conftest.$ac_objext conftest.beam conftest.$ac_ext
2035 rm -f conftest.val
2036
2037   fi
2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039   as_fn_set_status $ac_retval
2040
2041 } # ac_fn_c_compute_int
2042
2043 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2044 # -------------------------------------------
2045 # Tests whether TYPE exists after having included INCLUDES, setting cache
2046 # variable VAR accordingly.
2047 ac_fn_c_check_type ()
2048 {
2049   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 printf %s "checking for $2... " >&6; }
2052 if eval test \${$3+y}
2053 then :
2054   printf %s "(cached) " >&6
2055 else $as_nop
2056   eval "$3=no"
2057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h.  */
2059 $4
2060 int
2061 main (void)
2062 {
2063 if (sizeof ($2))
2064          return 0;
2065   ;
2066   return 0;
2067 }
2068 _ACEOF
2069 if ac_fn_c_try_compile "$LINENO"
2070 then :
2071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h.  */
2073 $4
2074 int
2075 main (void)
2076 {
2077 if (sizeof (($2)))
2078             return 0;
2079   ;
2080   return 0;
2081 }
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"
2084 then :
2085
2086 else $as_nop
2087   eval "$3=yes"
2088 fi
2089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2090 fi
2091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2092 fi
2093 eval ac_res=\$$3
2094                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 printf "%s\n" "$ac_res" >&6; }
2096   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097
2098 } # ac_fn_c_check_type
2099
2100 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2101 # ------------------------------------------------------------------
2102 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2103 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2104 ac_fn_check_decl ()
2105 {
2106   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107   as_decl_name=`echo $2|sed 's/ *(.*//'`
2108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2109 printf %s "checking whether $as_decl_name is declared... " >&6; }
2110 if eval test \${$3+y}
2111 then :
2112   printf %s "(cached) " >&6
2113 else $as_nop
2114   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2115   eval ac_save_FLAGS=\$$6
2116   as_fn_append $6 " $5"
2117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h.  */
2119 $4
2120 int
2121 main (void)
2122 {
2123 #ifndef $as_decl_name
2124 #ifdef __cplusplus
2125   (void) $as_decl_use;
2126 #else
2127   (void) $as_decl_name;
2128 #endif
2129 #endif
2130
2131   ;
2132   return 0;
2133 }
2134 _ACEOF
2135 if ac_fn_c_try_compile "$LINENO"
2136 then :
2137   eval "$3=yes"
2138 else $as_nop
2139   eval "$3=no"
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2142   eval $6=\$ac_save_FLAGS
2143
2144 fi
2145 eval ac_res=\$$3
2146                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 printf "%s\n" "$ac_res" >&6; }
2148   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149
2150 } # ac_fn_check_decl
2151
2152 # ac_fn_c_find_uintX_t LINENO BITS VAR
2153 # ------------------------------------
2154 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2155 # accordingly.
2156 ac_fn_c_find_uintX_t ()
2157 {
2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2160 printf %s "checking for uint$2_t... " >&6; }
2161 if eval test \${$3+y}
2162 then :
2163   printf %s "(cached) " >&6
2164 else $as_nop
2165   eval "$3=no"
2166      # Order is important - never check a type that is potentially smaller
2167      # than half of the expected target width.
2168      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2169          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2170        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h.  */
2172 $ac_includes_default
2173 int
2174 main (void)
2175 {
2176 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2177 test_array [0] = 0;
2178 return test_array [0];
2179
2180   ;
2181   return 0;
2182 }
2183 _ACEOF
2184 if ac_fn_c_try_compile "$LINENO"
2185 then :
2186   case $ac_type in #(
2187   uint$2_t) :
2188     eval "$3=yes" ;; #(
2189   *) :
2190     eval "$3=\$ac_type" ;;
2191 esac
2192 fi
2193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2194        if eval test \"x\$"$3"\" = x"no"
2195 then :
2196
2197 else $as_nop
2198   break
2199 fi
2200      done
2201 fi
2202 eval ac_res=\$$3
2203                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 printf "%s\n" "$ac_res" >&6; }
2205   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2206
2207 } # ac_fn_c_find_uintX_t
2208 ac_configure_args_raw=
2209 for ac_arg
2210 do
2211   case $ac_arg in
2212   *\'*)
2213     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2214   esac
2215   as_fn_append ac_configure_args_raw " '$ac_arg'"
2216 done
2217
2218 case $ac_configure_args_raw in
2219   *$as_nl*)
2220     ac_safe_unquote= ;;
2221   *)
2222     ac_unsafe_z='|&;<>()$`\\"*?[ ''     ' # This string ends in space, tab.
2223     ac_unsafe_a="$ac_unsafe_z#~"
2224     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2225     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2226 esac
2227
2228 cat >config.log <<_ACEOF
2229 This file contains any messages produced by compilers while
2230 running configure, to aid debugging if configure makes a mistake.
2231
2232 It was created by krb5-strength $as_me 3.3, which was
2233 generated by GNU Autoconf 2.71.  Invocation command line was
2234
2235   $ $0$ac_configure_args_raw
2236
2237 _ACEOF
2238 exec 5>>config.log
2239 {
2240 cat <<_ASUNAME
2241 ## --------- ##
2242 ## Platform. ##
2243 ## --------- ##
2244
2245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2250
2251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2252 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2253
2254 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2255 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2257 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2258 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2259 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2260 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2261
2262 _ASUNAME
2263
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH
2266 do
2267   IFS=$as_save_IFS
2268   case $as_dir in #(((
2269     '') as_dir=./ ;;
2270     */) ;;
2271     *) as_dir=$as_dir/ ;;
2272   esac
2273     printf "%s\n" "PATH: $as_dir"
2274   done
2275 IFS=$as_save_IFS
2276
2277 } >&5
2278
2279 cat >&5 <<_ACEOF
2280
2281
2282 ## ----------- ##
2283 ## Core tests. ##
2284 ## ----------- ##
2285
2286 _ACEOF
2287
2288
2289 # Keep a trace of the command line.
2290 # Strip out --no-create and --no-recursion so they do not pile up.
2291 # Strip out --silent because we don't want to record it for future runs.
2292 # Also quote any args containing shell meta-characters.
2293 # Make two passes to allow for proper duplicate-argument suppression.
2294 ac_configure_args=
2295 ac_configure_args0=
2296 ac_configure_args1=
2297 ac_must_keep_next=false
2298 for ac_pass in 1 2
2299 do
2300   for ac_arg
2301   do
2302     case $ac_arg in
2303     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2304     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2305     | -silent | --silent | --silen | --sile | --sil)
2306       continue ;;
2307     *\'*)
2308       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2309     esac
2310     case $ac_pass in
2311     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2312     2)
2313       as_fn_append ac_configure_args1 " '$ac_arg'"
2314       if test $ac_must_keep_next = true; then
2315         ac_must_keep_next=false # Got value, back to normal.
2316       else
2317         case $ac_arg in
2318           *=* | --config-cache | -C | -disable-* | --disable-* \
2319           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2320           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2321           | -with-* | --with-* | -without-* | --without-* | --x)
2322             case "$ac_configure_args0 " in
2323               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2324             esac
2325             ;;
2326           -* ) ac_must_keep_next=true ;;
2327         esac
2328       fi
2329       as_fn_append ac_configure_args " '$ac_arg'"
2330       ;;
2331     esac
2332   done
2333 done
2334 { ac_configure_args0=; unset ac_configure_args0;}
2335 { ac_configure_args1=; unset ac_configure_args1;}
2336
2337 # When interrupted or exit'd, cleanup temporary files, and complete
2338 # config.log.  We remove comments because anyway the quotes in there
2339 # would cause problems or look ugly.
2340 # WARNING: Use '\'' to represent an apostrophe within the trap.
2341 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2342 trap 'exit_status=$?
2343   # Sanitize IFS.
2344   IFS=" ""      $as_nl"
2345   # Save into config.log some information that might help in debugging.
2346   {
2347     echo
2348
2349     printf "%s\n" "## ---------------- ##
2350 ## Cache variables. ##
2351 ## ---------------- ##"
2352     echo
2353     # The following way of writing the cache mishandles newlines in values,
2354 (
2355   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2356     eval ac_val=\$$ac_var
2357     case $ac_val in #(
2358     *${as_nl}*)
2359       case $ac_var in #(
2360       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2361 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2362       esac
2363       case $ac_var in #(
2364       _ | IFS | as_nl) ;; #(
2365       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2366       *) { eval $ac_var=; unset $ac_var;} ;;
2367       esac ;;
2368     esac
2369   done
2370   (set) 2>&1 |
2371     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2372     *${as_nl}ac_space=\ *)
2373       sed -n \
2374         "s/'\''/'\''\\\\'\'''\''/g;
2375           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2376       ;; #(
2377     *)
2378       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2379       ;;
2380     esac |
2381     sort
2382 )
2383     echo
2384
2385     printf "%s\n" "## ----------------- ##
2386 ## Output variables. ##
2387 ## ----------------- ##"
2388     echo
2389     for ac_var in $ac_subst_vars
2390     do
2391       eval ac_val=\$$ac_var
2392       case $ac_val in
2393       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2394       esac
2395       printf "%s\n" "$ac_var='\''$ac_val'\''"
2396     done | sort
2397     echo
2398
2399     if test -n "$ac_subst_files"; then
2400       printf "%s\n" "## ------------------- ##
2401 ## File substitutions. ##
2402 ## ------------------- ##"
2403       echo
2404       for ac_var in $ac_subst_files
2405       do
2406         eval ac_val=\$$ac_var
2407         case $ac_val in
2408         *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2409         esac
2410         printf "%s\n" "$ac_var='\''$ac_val'\''"
2411       done | sort
2412       echo
2413     fi
2414
2415     if test -s confdefs.h; then
2416       printf "%s\n" "## ----------- ##
2417 ## confdefs.h. ##
2418 ## ----------- ##"
2419       echo
2420       cat confdefs.h
2421       echo
2422     fi
2423     test "$ac_signal" != 0 &&
2424       printf "%s\n" "$as_me: caught signal $ac_signal"
2425     printf "%s\n" "$as_me: exit $exit_status"
2426   } >&5
2427   rm -f core *.core core.conftest.* &&
2428     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2429     exit $exit_status
2430 ' 0
2431 for ac_signal in 1 2 13 15; do
2432   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2433 done
2434 ac_signal=0
2435
2436 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2437 rm -f -r conftest* confdefs.h
2438
2439 printf "%s\n" "/* confdefs.h */" > confdefs.h
2440
2441 # Predefined preprocessor variables.
2442
2443 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2444
2445 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2446
2447 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2448
2449 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2450
2451 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2452
2453 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2454
2455
2456 # Let the site file select an alternate cache file if it wants to.
2457 # Prefer an explicitly selected file to automatically selected ones.
2458 if test -n "$CONFIG_SITE"; then
2459   ac_site_files="$CONFIG_SITE"
2460 elif test "x$prefix" != xNONE; then
2461   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2462 else
2463   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2464 fi
2465
2466 for ac_site_file in $ac_site_files
2467 do
2468   case $ac_site_file in #(
2469   */*) :
2470      ;; #(
2471   *) :
2472     ac_site_file=./$ac_site_file ;;
2473 esac
2474   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2475     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2476 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2477     sed 's/^/| /' "$ac_site_file" >&5
2478     . "$ac_site_file" \
2479       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $? "failed to load site script $ac_site_file
2482 See \`config.log' for more details" "$LINENO" 5; }
2483   fi
2484 done
2485
2486 if test -r "$cache_file"; then
2487   # Some versions of bash will fail to source /dev/null (special files
2488   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2489   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2490     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2491 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2492     case $cache_file in
2493       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2494       *)                      . "./$cache_file";;
2495     esac
2496   fi
2497 else
2498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2499 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2500   >$cache_file
2501 fi
2502
2503 # Test code for whether the C compiler supports C89 (global declarations)
2504 ac_c_conftest_c89_globals='
2505 /* Does the compiler advertise C89 conformance?
2506    Do not test the value of __STDC__, because some compilers set it to 0
2507    while being otherwise adequately conformant. */
2508 #if !defined __STDC__
2509 # error "Compiler does not advertise C89 conformance"
2510 #endif
2511
2512 #include <stddef.h>
2513 #include <stdarg.h>
2514 struct stat;
2515 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2516 struct buf { int x; };
2517 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2518 static char *e (p, i)
2519      char **p;
2520      int i;
2521 {
2522   return p[i];
2523 }
2524 static char *f (char * (*g) (char **, int), char **p, ...)
2525 {
2526   char *s;
2527   va_list v;
2528   va_start (v,p);
2529   s = g (p, va_arg (v,int));
2530   va_end (v);
2531   return s;
2532 }
2533
2534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2535    function prototypes and stuff, but not \xHH hex character constants.
2536    These do not provoke an error unfortunately, instead are silently treated
2537    as an "x".  The following induces an error, until -std is added to get
2538    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2539    array size at least.  It is necessary to write \x00 == 0 to get something
2540    that is true only with -std.  */
2541 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2542
2543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2544    inside strings and character constants.  */
2545 #define FOO(x) '\''x'\''
2546 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2547
2548 int test (int i, double x);
2549 struct s1 {int (*f) (int a);};
2550 struct s2 {int (*f) (double a);};
2551 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2552                int, int);'
2553
2554 # Test code for whether the C compiler supports C89 (body of main).
2555 ac_c_conftest_c89_main='
2556 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2557 '
2558
2559 # Test code for whether the C compiler supports C99 (global declarations)
2560 ac_c_conftest_c99_globals='
2561 // Does the compiler advertise C99 conformance?
2562 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2563 # error "Compiler does not advertise C99 conformance"
2564 #endif
2565
2566 #include <stdbool.h>
2567 extern int puts (const char *);
2568 extern int printf (const char *, ...);
2569 extern int dprintf (int, const char *, ...);
2570 extern void *malloc (size_t);
2571
2572 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2573 // dprintf is used instead of fprintf to avoid needing to declare
2574 // FILE and stderr.
2575 #define debug(...) dprintf (2, __VA_ARGS__)
2576 #define showlist(...) puts (#__VA_ARGS__)
2577 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2578 static void
2579 test_varargs_macros (void)
2580 {
2581   int x = 1234;
2582   int y = 5678;
2583   debug ("Flag");
2584   debug ("X = %d\n", x);
2585   showlist (The first, second, and third items.);
2586   report (x>y, "x is %d but y is %d", x, y);
2587 }
2588
2589 // Check long long types.
2590 #define BIG64 18446744073709551615ull
2591 #define BIG32 4294967295ul
2592 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2593 #if !BIG_OK
2594   #error "your preprocessor is broken"
2595 #endif
2596 #if BIG_OK
2597 #else
2598   #error "your preprocessor is broken"
2599 #endif
2600 static long long int bignum = -9223372036854775807LL;
2601 static unsigned long long int ubignum = BIG64;
2602
2603 struct incomplete_array
2604 {
2605   int datasize;
2606   double data[];
2607 };
2608
2609 struct named_init {
2610   int number;
2611   const wchar_t *name;
2612   double average;
2613 };
2614
2615 typedef const char *ccp;
2616
2617 static inline int
2618 test_restrict (ccp restrict text)
2619 {
2620   // See if C++-style comments work.
2621   // Iterate through items via the restricted pointer.
2622   // Also check for declarations in for loops.
2623   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2624     continue;
2625   return 0;
2626 }
2627
2628 // Check varargs and va_copy.
2629 static bool
2630 test_varargs (const char *format, ...)
2631 {
2632   va_list args;
2633   va_start (args, format);
2634   va_list args_copy;
2635   va_copy (args_copy, args);
2636
2637   const char *str = "";
2638   int number = 0;
2639   float fnumber = 0;
2640
2641   while (*format)
2642     {
2643       switch (*format++)
2644         {
2645         case '\''s'\'': // string
2646           str = va_arg (args_copy, const char *);
2647           break;
2648         case '\''d'\'': // int
2649           number = va_arg (args_copy, int);
2650           break;
2651         case '\''f'\'': // float
2652           fnumber = va_arg (args_copy, double);
2653           break;
2654         default:
2655           break;
2656         }
2657     }
2658   va_end (args_copy);
2659   va_end (args);
2660
2661   return *str && number && fnumber;
2662 }
2663 '
2664
2665 # Test code for whether the C compiler supports C99 (body of main).
2666 ac_c_conftest_c99_main='
2667   // Check bool.
2668   _Bool success = false;
2669   success |= (argc != 0);
2670
2671   // Check restrict.
2672   if (test_restrict ("String literal") == 0)
2673     success = true;
2674   char *restrict newvar = "Another string";
2675
2676   // Check varargs.
2677   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2678   test_varargs_macros ();
2679
2680   // Check flexible array members.
2681   struct incomplete_array *ia =
2682     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2683   ia->datasize = 10;
2684   for (int i = 0; i < ia->datasize; ++i)
2685     ia->data[i] = i * 1.234;
2686
2687   // Check named initializers.
2688   struct named_init ni = {
2689     .number = 34,
2690     .name = L"Test wide string",
2691     .average = 543.34343,
2692   };
2693
2694   ni.number = 58;
2695
2696   int dynamic_array[ni.number];
2697   dynamic_array[0] = argv[0][0];
2698   dynamic_array[ni.number - 1] = 543;
2699
2700   // work around unused variable warnings
2701   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2702          || dynamic_array[ni.number - 1] != 543);
2703 '
2704
2705 # Test code for whether the C compiler supports C11 (global declarations)
2706 ac_c_conftest_c11_globals='
2707 // Does the compiler advertise C11 conformance?
2708 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2709 # error "Compiler does not advertise C11 conformance"
2710 #endif
2711
2712 // Check _Alignas.
2713 char _Alignas (double) aligned_as_double;
2714 char _Alignas (0) no_special_alignment;
2715 extern char aligned_as_int;
2716 char _Alignas (0) _Alignas (int) aligned_as_int;
2717
2718 // Check _Alignof.
2719 enum
2720 {
2721   int_alignment = _Alignof (int),
2722   int_array_alignment = _Alignof (int[100]),
2723   char_alignment = _Alignof (char)
2724 };
2725 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2726
2727 // Check _Noreturn.
2728 int _Noreturn does_not_return (void) { for (;;) continue; }
2729
2730 // Check _Static_assert.
2731 struct test_static_assert
2732 {
2733   int x;
2734   _Static_assert (sizeof (int) <= sizeof (long int),
2735                   "_Static_assert does not work in struct");
2736   long int y;
2737 };
2738
2739 // Check UTF-8 literals.
2740 #define u8 syntax error!
2741 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2742
2743 // Check duplicate typedefs.
2744 typedef long *long_ptr;
2745 typedef long int *long_ptr;
2746 typedef long_ptr long_ptr;
2747
2748 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2749 struct anonymous
2750 {
2751   union {
2752     struct { int i; int j; };
2753     struct { int k; long int l; } w;
2754   };
2755   int m;
2756 } v1;
2757 '
2758
2759 # Test code for whether the C compiler supports C11 (body of main).
2760 ac_c_conftest_c11_main='
2761   _Static_assert ((offsetof (struct anonymous, i)
2762                    == offsetof (struct anonymous, w.k)),
2763                   "Anonymous union alignment botch");
2764   v1.i = 2;
2765   v1.w.k = 5;
2766   ok |= v1.i != 5;
2767 '
2768
2769 # Test code for whether the C compiler supports C11 (complete).
2770 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2771 ${ac_c_conftest_c99_globals}
2772 ${ac_c_conftest_c11_globals}
2773
2774 int
2775 main (int argc, char **argv)
2776 {
2777   int ok = 0;
2778   ${ac_c_conftest_c89_main}
2779   ${ac_c_conftest_c99_main}
2780   ${ac_c_conftest_c11_main}
2781   return ok;
2782 }
2783 "
2784
2785 # Test code for whether the C compiler supports C99 (complete).
2786 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2787 ${ac_c_conftest_c99_globals}
2788
2789 int
2790 main (int argc, char **argv)
2791 {
2792   int ok = 0;
2793   ${ac_c_conftest_c89_main}
2794   ${ac_c_conftest_c99_main}
2795   return ok;
2796 }
2797 "
2798
2799 # Test code for whether the C compiler supports C89 (complete).
2800 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2801
2802 int
2803 main (int argc, char **argv)
2804 {
2805   int ok = 0;
2806   ${ac_c_conftest_c89_main}
2807   return ok;
2808 }
2809 "
2810
2811 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2812 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2813 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2814 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2815 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2816 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2817 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2818 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2819 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2820 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2821 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2822
2823 # Auxiliary files required by this configure script.
2824 ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh"
2825
2826 # Locations in which to look for auxiliary files.
2827 ac_aux_dir_candidates="${srcdir}/build-aux"
2828
2829 # Search for a directory containing all of the required auxiliary files,
2830 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2831 # If we don't find one directory that contains all the files we need,
2832 # we report the set of missing files from the *first* directory in
2833 # $ac_aux_dir_candidates and give up.
2834 ac_missing_aux_files=""
2835 ac_first_candidate=:
2836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 as_found=false
2839 for as_dir in $ac_aux_dir_candidates
2840 do
2841   IFS=$as_save_IFS
2842   case $as_dir in #(((
2843     '') as_dir=./ ;;
2844     */) ;;
2845     *) as_dir=$as_dir/ ;;
2846   esac
2847   as_found=:
2848
2849   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2850   ac_aux_dir_found=yes
2851   ac_install_sh=
2852   for ac_aux in $ac_aux_files
2853   do
2854     # As a special case, if "install-sh" is required, that requirement
2855     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2856     # and $ac_install_sh is set appropriately for whichever one is found.
2857     if test x"$ac_aux" = x"install-sh"
2858     then
2859       if test -f "${as_dir}install-sh"; then
2860         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2861         ac_install_sh="${as_dir}install-sh -c"
2862       elif test -f "${as_dir}install.sh"; then
2863         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2864         ac_install_sh="${as_dir}install.sh -c"
2865       elif test -f "${as_dir}shtool"; then
2866         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2867         ac_install_sh="${as_dir}shtool install -c"
2868       else
2869         ac_aux_dir_found=no
2870         if $ac_first_candidate; then
2871           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2872         else
2873           break
2874         fi
2875       fi
2876     else
2877       if test -f "${as_dir}${ac_aux}"; then
2878         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2879       else
2880         ac_aux_dir_found=no
2881         if $ac_first_candidate; then
2882           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2883         else
2884           break
2885         fi
2886       fi
2887     fi
2888   done
2889   if test "$ac_aux_dir_found" = yes; then
2890     ac_aux_dir="$as_dir"
2891     break
2892   fi
2893   ac_first_candidate=false
2894
2895   as_found=false
2896 done
2897 IFS=$as_save_IFS
2898 if $as_found
2899 then :
2900
2901 else $as_nop
2902   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2903 fi
2904
2905
2906 # These three variables are undocumented and unsupported,
2907 # and are intended to be withdrawn in a future Autoconf release.
2908 # They can cause serious problems if a builder's source tree is in a directory
2909 # whose full name contains unusual characters.
2910 if test -f "${ac_aux_dir}config.guess"; then
2911   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2912 fi
2913 if test -f "${ac_aux_dir}config.sub"; then
2914   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2915 fi
2916 if test -f "$ac_aux_dir/configure"; then
2917   ac_configure="$SHELL ${ac_aux_dir}configure"
2918 fi
2919
2920 # Check that the precious variables saved in the cache have kept the same
2921 # value.
2922 ac_cache_corrupted=false
2923 for ac_var in $ac_precious_vars; do
2924   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2925   eval ac_new_set=\$ac_env_${ac_var}_set
2926   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2927   eval ac_new_val=\$ac_env_${ac_var}_value
2928   case $ac_old_set,$ac_new_set in
2929     set,)
2930       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2931 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2932       ac_cache_corrupted=: ;;
2933     ,set)
2934       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2935 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2936       ac_cache_corrupted=: ;;
2937     ,);;
2938     *)
2939       if test "x$ac_old_val" != "x$ac_new_val"; then
2940         # differences in whitespace do not lead to failure.
2941         ac_old_val_w=`echo x $ac_old_val`
2942         ac_new_val_w=`echo x $ac_new_val`
2943         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2944           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2945 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2946           ac_cache_corrupted=:
2947         else
2948           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2949 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2950           eval $ac_var=\$ac_old_val
2951         fi
2952         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2953 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2954         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2955 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2956       fi;;
2957   esac
2958   # Pass precious variables to config.status.
2959   if test "$ac_new_set" = set; then
2960     case $ac_new_val in
2961     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2962     *) ac_arg=$ac_var=$ac_new_val ;;
2963     esac
2964     case " $ac_configure_args " in
2965       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2966       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2967     esac
2968   fi
2969 done
2970 if $ac_cache_corrupted; then
2971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2972 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2974 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2975   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2976             and start over" "$LINENO" 5
2977 fi
2978 ## -------------------- ##
2979 ## Main body of script. ##
2980 ## -------------------- ##
2981
2982 ac_ext=c
2983 ac_cpp='$CPP $CPPFLAGS'
2984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987
2988
2989
2990
2991
2992 am__api_version='1.16'
2993
2994
2995
2996   # Find a good install program.  We prefer a C program (faster),
2997 # so one script is as good as another.  But avoid the broken or
2998 # incompatible versions:
2999 # SysV /etc/install, /usr/sbin/install
3000 # SunOS /usr/etc/install
3001 # IRIX /sbin/install
3002 # AIX /bin/install
3003 # AmigaOS /C/install, which installs bootblocks on floppy discs
3004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3007 # OS/2's system install, which has a completely different semantic
3008 # ./install, which can be erroneously created by make from ./install.sh.
3009 # Reject install programs that cannot install multiple files.
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3011 printf %s "checking for a BSD-compatible install... " >&6; }
3012 if test -z "$INSTALL"; then
3013 if test ${ac_cv_path_install+y}
3014 then :
3015   printf %s "(cached) " >&6
3016 else $as_nop
3017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   case $as_dir in #(((
3022     '') as_dir=./ ;;
3023     */) ;;
3024     *) as_dir=$as_dir/ ;;
3025   esac
3026     # Account for fact that we put trailing slashes in our PATH walk.
3027 case $as_dir in #((
3028   ./ | /[cC]/* | \
3029   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3030   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3031   /usr/ucb/* ) ;;
3032   *)
3033     # OSF1 and SCO ODT 3.0 have their own names for install.
3034     # Don't use installbsd from OSF since it installs stuff as root
3035     # by default.
3036     for ac_prog in ginstall scoinst install; do
3037       for ac_exec_ext in '' $ac_executable_extensions; do
3038         if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3039           if test $ac_prog = install &&
3040             grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3041             # AIX install.  It has an incompatible calling convention.
3042             :
3043           elif test $ac_prog = install &&
3044             grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3045             # program-specific install script used by HP pwplus--don't use.
3046             :
3047           else
3048             rm -rf conftest.one conftest.two conftest.dir
3049             echo one > conftest.one
3050             echo two > conftest.two
3051             mkdir conftest.dir
3052             if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3053               test -s conftest.one && test -s conftest.two &&
3054               test -s conftest.dir/conftest.one &&
3055               test -s conftest.dir/conftest.two
3056             then
3057               ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3058               break 3
3059             fi
3060           fi
3061         fi
3062       done
3063     done
3064     ;;
3065 esac
3066
3067   done
3068 IFS=$as_save_IFS
3069
3070 rm -rf conftest.one conftest.two conftest.dir
3071
3072 fi
3073   if test ${ac_cv_path_install+y}; then
3074     INSTALL=$ac_cv_path_install
3075   else
3076     # As a last resort, use the slow shell script.  Don't cache a
3077     # value for INSTALL within a source directory, because that will
3078     # break other packages using the cache if that directory is
3079     # removed, or if the value is a relative name.
3080     INSTALL=$ac_install_sh
3081   fi
3082 fi
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3084 printf "%s\n" "$INSTALL" >&6; }
3085
3086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3087 # It thinks the first close brace ends the variable substitution.
3088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3089
3090 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3091
3092 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3093
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3095 printf %s "checking whether build environment is sane... " >&6; }
3096 # Reject unsafe characters in $srcdir or the absolute working directory
3097 # name.  Accept space and tab only in the latter.
3098 am_lf='
3099 '
3100 case `pwd` in
3101   *[\\\"\#\$\&\'\`$am_lf]*)
3102     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3103 esac
3104 case $srcdir in
3105   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3106     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3107 esac
3108
3109 # Do 'set' in a subshell so we don't clobber the current shell's
3110 # arguments.  Must try -L first in case configure is actually a
3111 # symlink; some systems play weird games with the mod time of symlinks
3112 # (eg FreeBSD returns the mod time of the symlink's containing
3113 # directory).
3114 if (
3115    am_has_slept=no
3116    for am_try in 1 2; do
3117      echo "timestamp, slept: $am_has_slept" > conftest.file
3118      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3119      if test "$*" = "X"; then
3120         # -L didn't work.
3121         set X `ls -t "$srcdir/configure" conftest.file`
3122      fi
3123      if test "$*" != "X $srcdir/configure conftest.file" \
3124         && test "$*" != "X conftest.file $srcdir/configure"; then
3125
3126         # If neither matched, then we have a broken ls.  This can happen
3127         # if, for instance, CONFIG_SHELL is bash and it inherits a
3128         # broken ls alias from the environment.  This has actually
3129         # happened.  Such a system could not be considered "sane".
3130         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3131   alias in your environment" "$LINENO" 5
3132      fi
3133      if test "$2" = conftest.file || test $am_try -eq 2; then
3134        break
3135      fi
3136      # Just in case.
3137      sleep 1
3138      am_has_slept=yes
3139    done
3140    test "$2" = conftest.file
3141    )
3142 then
3143    # Ok.
3144    :
3145 else
3146    as_fn_error $? "newly created file is older than distributed files!
3147 Check your system clock" "$LINENO" 5
3148 fi
3149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3150 printf "%s\n" "yes" >&6; }
3151 # If we didn't sleep, we still need to ensure time stamps of config.status and
3152 # generated files are strictly newer.
3153 am_sleep_pid=
3154 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3155   ( sleep 1 ) &
3156   am_sleep_pid=$!
3157 fi
3158
3159 rm -f conftest.file
3160
3161 test "$program_prefix" != NONE &&
3162   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3163 # Use a double $ so make ignores it.
3164 test "$program_suffix" != NONE &&
3165   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3166 # Double any \ or $.
3167 # By default was `s,x,x', remove it if useless.
3168 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3169 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3170
3171
3172 # Expand $ac_aux_dir to an absolute path.
3173 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3174
3175
3176   if test x"${MISSING+set}" != xset; then
3177   MISSING="\${SHELL} '$am_aux_dir/missing'"
3178 fi
3179 # Use eval to expand $SHELL
3180 if eval "$MISSING --is-lightweight"; then
3181   am_missing_run="$MISSING "
3182 else
3183   am_missing_run=
3184   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3185 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3186 fi
3187
3188 if test x"${install_sh+set}" != xset; then
3189   case $am_aux_dir in
3190   *\ * | *\     *)
3191     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3192   *)
3193     install_sh="\${SHELL} $am_aux_dir/install-sh"
3194   esac
3195 fi
3196
3197 # Installed binaries are usually stripped using 'strip' when the user
3198 # run "make install-strip".  However 'strip' might not be the right
3199 # tool to use in cross-compilation environments, therefore Automake
3200 # will honor the 'STRIP' environment variable to overrule this program.
3201 if test "$cross_compiling" != no; then
3202   if test -n "$ac_tool_prefix"; then
3203   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3204 set dummy ${ac_tool_prefix}strip; ac_word=$2
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 printf %s "checking for $ac_word... " >&6; }
3207 if test ${ac_cv_prog_STRIP+y}
3208 then :
3209   printf %s "(cached) " >&6
3210 else $as_nop
3211   if test -n "$STRIP"; then
3212   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3213 else
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3216 do
3217   IFS=$as_save_IFS
3218   case $as_dir in #(((
3219     '') as_dir=./ ;;
3220     */) ;;
3221     *) as_dir=$as_dir/ ;;
3222   esac
3223     for ac_exec_ext in '' $ac_executable_extensions; do
3224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3225     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3227     break 2
3228   fi
3229 done
3230   done
3231 IFS=$as_save_IFS
3232
3233 fi
3234 fi
3235 STRIP=$ac_cv_prog_STRIP
3236 if test -n "$STRIP"; then
3237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3238 printf "%s\n" "$STRIP" >&6; }
3239 else
3240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 printf "%s\n" "no" >&6; }
3242 fi
3243
3244
3245 fi
3246 if test -z "$ac_cv_prog_STRIP"; then
3247   ac_ct_STRIP=$STRIP
3248   # Extract the first word of "strip", so it can be a program name with args.
3249 set dummy strip; ac_word=$2
3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 printf %s "checking for $ac_word... " >&6; }
3252 if test ${ac_cv_prog_ac_ct_STRIP+y}
3253 then :
3254   printf %s "(cached) " >&6
3255 else $as_nop
3256   if test -n "$ac_ct_STRIP"; then
3257   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   case $as_dir in #(((
3264     '') as_dir=./ ;;
3265     */) ;;
3266     *) as_dir=$as_dir/ ;;
3267   esac
3268     for ac_exec_ext in '' $ac_executable_extensions; do
3269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3270     ac_cv_prog_ac_ct_STRIP="strip"
3271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3272     break 2
3273   fi
3274 done
3275   done
3276 IFS=$as_save_IFS
3277
3278 fi
3279 fi
3280 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3281 if test -n "$ac_ct_STRIP"; then
3282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3283 printf "%s\n" "$ac_ct_STRIP" >&6; }
3284 else
3285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 printf "%s\n" "no" >&6; }
3287 fi
3288
3289   if test "x$ac_ct_STRIP" = x; then
3290     STRIP=":"
3291   else
3292     case $cross_compiling:$ac_tool_warned in
3293 yes:)
3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3295 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3296 ac_tool_warned=yes ;;
3297 esac
3298     STRIP=$ac_ct_STRIP
3299   fi
3300 else
3301   STRIP="$ac_cv_prog_STRIP"
3302 fi
3303
3304 fi
3305 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3306
3307
3308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3309 printf %s "checking for a race-free mkdir -p... " >&6; }
3310 if test -z "$MKDIR_P"; then
3311   if test ${ac_cv_path_mkdir+y}
3312 then :
3313   printf %s "(cached) " >&6
3314 else $as_nop
3315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3317 do
3318   IFS=$as_save_IFS
3319   case $as_dir in #(((
3320     '') as_dir=./ ;;
3321     */) ;;
3322     *) as_dir=$as_dir/ ;;
3323   esac
3324     for ac_prog in mkdir gmkdir; do
3325          for ac_exec_ext in '' $ac_executable_extensions; do
3326            as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3327            case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3328              'mkdir ('*'coreutils) '* | \
3329              'BusyBox '* | \
3330              'mkdir (fileutils) '4.1*)
3331                ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3332                break 3;;
3333            esac
3334          done
3335        done
3336   done
3337 IFS=$as_save_IFS
3338
3339 fi
3340
3341   test -d ./--version && rmdir ./--version
3342   if test ${ac_cv_path_mkdir+y}; then
3343     MKDIR_P="$ac_cv_path_mkdir -p"
3344   else
3345     # As a last resort, use the slow shell script.  Don't cache a
3346     # value for MKDIR_P within a source directory, because that will
3347     # break other packages using the cache if that directory is
3348     # removed, or if the value is a relative name.
3349     MKDIR_P="$ac_install_sh -d"
3350   fi
3351 fi
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3353 printf "%s\n" "$MKDIR_P" >&6; }
3354
3355 for ac_prog in gawk mawk nawk awk
3356 do
3357   # Extract the first word of "$ac_prog", so it can be a program name with args.
3358 set dummy $ac_prog; ac_word=$2
3359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360 printf %s "checking for $ac_word... " >&6; }
3361 if test ${ac_cv_prog_AWK+y}
3362 then :
3363   printf %s "(cached) " >&6
3364 else $as_nop
3365   if test -n "$AWK"; then
3366   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3367 else
3368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 for as_dir in $PATH
3370 do
3371   IFS=$as_save_IFS
3372   case $as_dir in #(((
3373     '') as_dir=./ ;;
3374     */) ;;
3375     *) as_dir=$as_dir/ ;;
3376   esac
3377     for ac_exec_ext in '' $ac_executable_extensions; do
3378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3379     ac_cv_prog_AWK="$ac_prog"
3380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3381     break 2
3382   fi
3383 done
3384   done
3385 IFS=$as_save_IFS
3386
3387 fi
3388 fi
3389 AWK=$ac_cv_prog_AWK
3390 if test -n "$AWK"; then
3391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3392 printf "%s\n" "$AWK" >&6; }
3393 else
3394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 printf "%s\n" "no" >&6; }
3396 fi
3397
3398
3399   test -n "$AWK" && break
3400 done
3401
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3403 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3404 set x ${MAKE-make}
3405 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3406 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3407 then :
3408   printf %s "(cached) " >&6
3409 else $as_nop
3410   cat >conftest.make <<\_ACEOF
3411 SHELL = /bin/sh
3412 all:
3413         @echo '@@@%%%=$(MAKE)=@@@%%%'
3414 _ACEOF
3415 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3416 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3417   *@@@%%%=?*=@@@%%%*)
3418     eval ac_cv_prog_make_${ac_make}_set=yes;;
3419   *)
3420     eval ac_cv_prog_make_${ac_make}_set=no;;
3421 esac
3422 rm -f conftest.make
3423 fi
3424 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3426 printf "%s\n" "yes" >&6; }
3427   SET_MAKE=
3428 else
3429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 printf "%s\n" "no" >&6; }
3431   SET_MAKE="MAKE=${MAKE-make}"
3432 fi
3433
3434 rm -rf .tst 2>/dev/null
3435 mkdir .tst 2>/dev/null
3436 if test -d .tst; then
3437   am__leading_dot=.
3438 else
3439   am__leading_dot=_
3440 fi
3441 rmdir .tst 2>/dev/null
3442
3443 # Check whether --enable-silent-rules was given.
3444 if test ${enable_silent_rules+y}
3445 then :
3446   enableval=$enable_silent_rules;
3447 fi
3448
3449 case $enable_silent_rules in # (((
3450   yes) AM_DEFAULT_VERBOSITY=0;;
3451    no) AM_DEFAULT_VERBOSITY=1;;
3452     *) AM_DEFAULT_VERBOSITY=1;;
3453 esac
3454 am_make=${MAKE-make}
3455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3456 printf %s "checking whether $am_make supports nested variables... " >&6; }
3457 if test ${am_cv_make_support_nested_variables+y}
3458 then :
3459   printf %s "(cached) " >&6
3460 else $as_nop
3461   if printf "%s\n" 'TRUE=$(BAR$(V))
3462 BAR0=false
3463 BAR1=true
3464 V=1
3465 am__doit:
3466         @$(TRUE)
3467 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3468   am_cv_make_support_nested_variables=yes
3469 else
3470   am_cv_make_support_nested_variables=no
3471 fi
3472 fi
3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3474 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3475 if test $am_cv_make_support_nested_variables = yes; then
3476     AM_V='$(V)'
3477   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3478 else
3479   AM_V=$AM_DEFAULT_VERBOSITY
3480   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3481 fi
3482 AM_BACKSLASH='\'
3483
3484 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3485   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3486   # is not polluted with repeated "-I."
3487   am__isrc=' -I$(srcdir)'
3488   # test to see if srcdir already configured
3489   if test -f $srcdir/config.status; then
3490     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3491   fi
3492 fi
3493
3494 # test whether we have cygpath
3495 if test -z "$CYGPATH_W"; then
3496   if (cygpath --version) >/dev/null 2>/dev/null; then
3497     CYGPATH_W='cygpath -w'
3498   else
3499     CYGPATH_W=echo
3500   fi
3501 fi
3502
3503
3504 # Define the identity of the package.
3505  PACKAGE='krb5-strength'
3506  VERSION='3.3'
3507
3508
3509 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3510
3511
3512 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3513
3514 # Some tools Automake needs.
3515
3516 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3517
3518
3519 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3520
3521
3522 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3523
3524
3525 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3526
3527
3528 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3529
3530 # For better backward compatibility.  To be removed once Automake 1.9.x
3531 # dies out for good.  For more background, see:
3532 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3533 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3534 mkdir_p='$(MKDIR_P)'
3535
3536 # We need awk for the "check" target (and possibly the TAP driver).  The
3537 # system "awk" is bad on some platforms.
3538 # Always define AMTAR for backward compatibility.  Yes, it's still used
3539 # in the wild :-(  We should find a proper way to deprecate it ...
3540 AMTAR='$${TAR-tar}'
3541
3542
3543 # We'll loop over all known methods to create a tar archive until one works.
3544 _am_tools='gnutar  pax cpio none'
3545
3546 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3547
3548
3549
3550
3551
3552 # Variables for tags utilities; see am/tags.am
3553 if test -z "$CTAGS"; then
3554   CTAGS=ctags
3555 fi
3556
3557 if test -z "$ETAGS"; then
3558   ETAGS=etags
3559 fi
3560
3561 if test -z "$CSCOPE"; then
3562   CSCOPE=cscope
3563 fi
3564
3565
3566
3567 # POSIX will say in a future version that running "rm -f" with no argument
3568 # is OK; and we want to be able to make that assumption in our Makefile
3569 # recipes.  So use an aggressive probe to check that the usage we want is
3570 # actually supported "in the wild" to an acceptable degree.
3571 # See automake bug#10828.
3572 # To make any issue more visible, cause the running configure to be aborted
3573 # by default if the 'rm' program in use doesn't match our expectations; the
3574 # user can still override this though.
3575 if rm -f && rm -fr && rm -rf; then : OK; else
3576   cat >&2 <<'END'
3577 Oops!
3578
3579 Your 'rm' program seems unable to run without file operands specified
3580 on the command line, even when the '-f' option is present.  This is contrary
3581 to the behaviour of most rm programs out there, and not conforming with
3582 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3583
3584 Please tell bug-automake@gnu.org about your system, including the value
3585 of your $PATH and any error possibly output before this message.  This
3586 can help us improve future automake versions.
3587
3588 END
3589   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3590     echo 'Configuration will proceed anyway, since you have set the' >&2
3591     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3592     echo >&2
3593   else
3594     cat >&2 <<'END'
3595 Aborting the configuration process, to ensure you take notice of the issue.
3596
3597 You can download and install GNU coreutils to get an 'rm' implementation
3598 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3599
3600 If you want to complete the configuration process using your problematic
3601 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3602 to "yes", and re-run configure.
3603
3604 END
3605     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3606   fi
3607 fi
3608
3609
3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3611 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3612     # Check whether --enable-maintainer-mode was given.
3613 if test ${enable_maintainer_mode+y}
3614 then :
3615   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3616 else $as_nop
3617   USE_MAINTAINER_MODE=no
3618 fi
3619
3620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3621 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3622    if test $USE_MAINTAINER_MODE = yes; then
3623   MAINTAINER_MODE_TRUE=
3624   MAINTAINER_MODE_FALSE='#'
3625 else
3626   MAINTAINER_MODE_TRUE='#'
3627   MAINTAINER_MODE_FALSE=
3628 fi
3629
3630   MAINT=$MAINTAINER_MODE_TRUE
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646 ac_ext=c
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 if test -n "$ac_tool_prefix"; then
3652   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3653 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 printf %s "checking for $ac_word... " >&6; }
3656 if test ${ac_cv_prog_CC+y}
3657 then :
3658   printf %s "(cached) " >&6
3659 else $as_nop
3660   if test -n "$CC"; then
3661   ac_cv_prog_CC="$CC" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3665 do
3666   IFS=$as_save_IFS
3667   case $as_dir in #(((
3668     '') as_dir=./ ;;
3669     */) ;;
3670     *) as_dir=$as_dir/ ;;
3671   esac
3672     for ac_exec_ext in '' $ac_executable_extensions; do
3673   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3674     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3675     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3676     break 2
3677   fi
3678 done
3679   done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 printf "%s\n" "$CC" >&6; }
3688 else
3689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 printf "%s\n" "no" >&6; }
3691 fi
3692
3693
3694 fi
3695 if test -z "$ac_cv_prog_CC"; then
3696   ac_ct_CC=$CC
3697   # Extract the first word of "gcc", so it can be a program name with args.
3698 set dummy gcc; ac_word=$2
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 printf %s "checking for $ac_word... " >&6; }
3701 if test ${ac_cv_prog_ac_ct_CC+y}
3702 then :
3703   printf %s "(cached) " >&6
3704 else $as_nop
3705   if test -n "$ac_ct_CC"; then
3706   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711   IFS=$as_save_IFS
3712   case $as_dir in #(((
3713     '') as_dir=./ ;;
3714     */) ;;
3715     *) as_dir=$as_dir/ ;;
3716   esac
3717     for ac_exec_ext in '' $ac_executable_extensions; do
3718   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3719     ac_cv_prog_ac_ct_CC="gcc"
3720     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3721     break 2
3722   fi
3723 done
3724   done
3725 IFS=$as_save_IFS
3726
3727 fi
3728 fi
3729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3730 if test -n "$ac_ct_CC"; then
3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3732 printf "%s\n" "$ac_ct_CC" >&6; }
3733 else
3734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 printf "%s\n" "no" >&6; }
3736 fi
3737
3738   if test "x$ac_ct_CC" = x; then
3739     CC=""
3740   else
3741     case $cross_compiling:$ac_tool_warned in
3742 yes:)
3743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3745 ac_tool_warned=yes ;;
3746 esac
3747     CC=$ac_ct_CC
3748   fi
3749 else
3750   CC="$ac_cv_prog_CC"
3751 fi
3752
3753 if test -z "$CC"; then
3754           if test -n "$ac_tool_prefix"; then
3755     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3756 set dummy ${ac_tool_prefix}cc; ac_word=$2
3757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 printf %s "checking for $ac_word... " >&6; }
3759 if test ${ac_cv_prog_CC+y}
3760 then :
3761   printf %s "(cached) " >&6
3762 else $as_nop
3763   if test -n "$CC"; then
3764   ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769   IFS=$as_save_IFS
3770   case $as_dir in #(((
3771     '') as_dir=./ ;;
3772     */) ;;
3773     *) as_dir=$as_dir/ ;;
3774   esac
3775     for ac_exec_ext in '' $ac_executable_extensions; do
3776   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3777     ac_cv_prog_CC="${ac_tool_prefix}cc"
3778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3779     break 2
3780   fi
3781 done
3782   done
3783 IFS=$as_save_IFS
3784
3785 fi
3786 fi
3787 CC=$ac_cv_prog_CC
3788 if test -n "$CC"; then
3789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3790 printf "%s\n" "$CC" >&6; }
3791 else
3792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 printf "%s\n" "no" >&6; }
3794 fi
3795
3796
3797   fi
3798 fi
3799 if test -z "$CC"; then
3800   # Extract the first word of "cc", so it can be a program name with args.
3801 set dummy cc; ac_word=$2
3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 printf %s "checking for $ac_word... " >&6; }
3804 if test ${ac_cv_prog_CC+y}
3805 then :
3806   printf %s "(cached) " >&6
3807 else $as_nop
3808   if test -n "$CC"; then
3809   ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811   ac_prog_rejected=no
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 for as_dir in $PATH
3814 do
3815   IFS=$as_save_IFS
3816   case $as_dir in #(((
3817     '') as_dir=./ ;;
3818     */) ;;
3819     *) as_dir=$as_dir/ ;;
3820   esac
3821     for ac_exec_ext in '' $ac_executable_extensions; do
3822   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3823     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3824        ac_prog_rejected=yes
3825        continue
3826      fi
3827     ac_cv_prog_CC="cc"
3828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3829     break 2
3830   fi
3831 done
3832   done
3833 IFS=$as_save_IFS
3834
3835 if test $ac_prog_rejected = yes; then
3836   # We found a bogon in the path, so make sure we never use it.
3837   set dummy $ac_cv_prog_CC
3838   shift
3839   if test $# != 0; then
3840     # We chose a different compiler from the bogus one.
3841     # However, it has the same basename, so the bogon will be chosen
3842     # first if we set CC to just the basename; use the full file name.
3843     shift
3844     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3845   fi
3846 fi
3847 fi
3848 fi
3849 CC=$ac_cv_prog_CC
3850 if test -n "$CC"; then
3851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 printf "%s\n" "$CC" >&6; }
3853 else
3854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 printf "%s\n" "no" >&6; }
3856 fi
3857
3858
3859 fi
3860 if test -z "$CC"; then
3861   if test -n "$ac_tool_prefix"; then
3862   for ac_prog in cl.exe
3863   do
3864     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3865 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 printf %s "checking for $ac_word... " >&6; }
3868 if test ${ac_cv_prog_CC+y}
3869 then :
3870   printf %s "(cached) " >&6
3871 else $as_nop
3872   if test -n "$CC"; then
3873   ac_cv_prog_CC="$CC" # Let the user override the test.
3874 else
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH
3877 do
3878   IFS=$as_save_IFS
3879   case $as_dir in #(((
3880     '') as_dir=./ ;;
3881     */) ;;
3882     *) as_dir=$as_dir/ ;;
3883   esac
3884     for ac_exec_ext in '' $ac_executable_extensions; do
3885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3886     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3888     break 2
3889   fi
3890 done
3891   done
3892 IFS=$as_save_IFS
3893
3894 fi
3895 fi
3896 CC=$ac_cv_prog_CC
3897 if test -n "$CC"; then
3898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3899 printf "%s\n" "$CC" >&6; }
3900 else
3901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 printf "%s\n" "no" >&6; }
3903 fi
3904
3905
3906     test -n "$CC" && break
3907   done
3908 fi
3909 if test -z "$CC"; then
3910   ac_ct_CC=$CC
3911   for ac_prog in cl.exe
3912 do
3913   # Extract the first word of "$ac_prog", so it can be a program name with args.
3914 set dummy $ac_prog; ac_word=$2
3915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 printf %s "checking for $ac_word... " >&6; }
3917 if test ${ac_cv_prog_ac_ct_CC+y}
3918 then :
3919   printf %s "(cached) " >&6
3920 else $as_nop
3921   if test -n "$ac_ct_CC"; then
3922   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3926 do
3927   IFS=$as_save_IFS
3928   case $as_dir in #(((
3929     '') as_dir=./ ;;
3930     */) ;;
3931     *) as_dir=$as_dir/ ;;
3932   esac
3933     for ac_exec_ext in '' $ac_executable_extensions; do
3934   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3935     ac_cv_prog_ac_ct_CC="$ac_prog"
3936     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3937     break 2
3938   fi
3939 done
3940   done
3941 IFS=$as_save_IFS
3942
3943 fi
3944 fi
3945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3946 if test -n "$ac_ct_CC"; then
3947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3948 printf "%s\n" "$ac_ct_CC" >&6; }
3949 else
3950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 printf "%s\n" "no" >&6; }
3952 fi
3953
3954
3955   test -n "$ac_ct_CC" && break
3956 done
3957
3958   if test "x$ac_ct_CC" = x; then
3959     CC=""
3960   else
3961     case $cross_compiling:$ac_tool_warned in
3962 yes:)
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3966 esac
3967     CC=$ac_ct_CC
3968   fi
3969 fi
3970
3971 fi
3972 if test -z "$CC"; then
3973   if test -n "$ac_tool_prefix"; then
3974   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}clang; ac_word=$2
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 printf %s "checking for $ac_word... " >&6; }
3978 if test ${ac_cv_prog_CC+y}
3979 then :
3980   printf %s "(cached) " >&6
3981 else $as_nop
3982   if test -n "$CC"; then
3983   ac_cv_prog_CC="$CC" # Let the user override the test.
3984 else
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3987 do
3988   IFS=$as_save_IFS
3989   case $as_dir in #(((
3990     '') as_dir=./ ;;
3991     */) ;;
3992     *) as_dir=$as_dir/ ;;
3993   esac
3994     for ac_exec_ext in '' $ac_executable_extensions; do
3995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3996     ac_cv_prog_CC="${ac_tool_prefix}clang"
3997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3998     break 2
3999   fi
4000 done
4001   done
4002 IFS=$as_save_IFS
4003
4004 fi
4005 fi
4006 CC=$ac_cv_prog_CC
4007 if test -n "$CC"; then
4008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 printf "%s\n" "$CC" >&6; }
4010 else
4011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 printf "%s\n" "no" >&6; }
4013 fi
4014
4015
4016 fi
4017 if test -z "$ac_cv_prog_CC"; then
4018   ac_ct_CC=$CC
4019   # Extract the first word of "clang", so it can be a program name with args.
4020 set dummy clang; ac_word=$2
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022 printf %s "checking for $ac_word... " >&6; }
4023 if test ${ac_cv_prog_ac_ct_CC+y}
4024 then :
4025   printf %s "(cached) " >&6
4026 else $as_nop
4027   if test -n "$ac_ct_CC"; then
4028   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4032 do
4033   IFS=$as_save_IFS
4034   case $as_dir in #(((
4035     '') as_dir=./ ;;
4036     */) ;;
4037     *) as_dir=$as_dir/ ;;
4038   esac
4039     for ac_exec_ext in '' $ac_executable_extensions; do
4040   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4041     ac_cv_prog_ac_ct_CC="clang"
4042     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4043     break 2
4044   fi
4045 done
4046   done
4047 IFS=$as_save_IFS
4048
4049 fi
4050 fi
4051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4052 if test -n "$ac_ct_CC"; then
4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4054 printf "%s\n" "$ac_ct_CC" >&6; }
4055 else
4056   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 printf "%s\n" "no" >&6; }
4058 fi
4059
4060   if test "x$ac_ct_CC" = x; then
4061     CC=""
4062   else
4063     case $cross_compiling:$ac_tool_warned in
4064 yes:)
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4066 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4067 ac_tool_warned=yes ;;
4068 esac
4069     CC=$ac_ct_CC
4070   fi
4071 else
4072   CC="$ac_cv_prog_CC"
4073 fi
4074
4075 fi
4076
4077
4078 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $? "no acceptable C compiler found in \$PATH
4081 See \`config.log' for more details" "$LINENO" 5; }
4082
4083 # Provide some information about the compiler.
4084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4085 set X $ac_compile
4086 ac_compiler=$2
4087 for ac_option in --version -v -V -qversion -version; do
4088   { { ac_try="$ac_compiler $ac_option >&5"
4089 case "(($ac_try" in
4090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091   *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 printf "%s\n" "$ac_try_echo"; } >&5
4095   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4096   ac_status=$?
4097   if test -s conftest.err; then
4098     sed '10a\
4099 ... rest of stderr output deleted ...
4100          10q' conftest.err >conftest.er1
4101     cat conftest.er1 >&5
4102   fi
4103   rm -f conftest.er1 conftest.err
4104   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105   test $ac_status = 0; }
4106 done
4107
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h.  */
4110
4111 int
4112 main (void)
4113 {
4114
4115   ;
4116   return 0;
4117 }
4118 _ACEOF
4119 ac_clean_files_save=$ac_clean_files
4120 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4121 # Try to create an executable without -o first, disregard a.out.
4122 # It will help us diagnose broken compilers, and finding out an intuition
4123 # of exeext.
4124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4125 printf %s "checking whether the C compiler works... " >&6; }
4126 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4127
4128 # The possible output files:
4129 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4130
4131 ac_rmfiles=
4132 for ac_file in $ac_files
4133 do
4134   case $ac_file in
4135     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4136     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4137   esac
4138 done
4139 rm -f $ac_rmfiles
4140
4141 if { { ac_try="$ac_link_default"
4142 case "(($ac_try" in
4143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144   *) ac_try_echo=$ac_try;;
4145 esac
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 printf "%s\n" "$ac_try_echo"; } >&5
4148   (eval "$ac_link_default") 2>&5
4149   ac_status=$?
4150   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151   test $ac_status = 0; }
4152 then :
4153   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4155 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4156 # so that the user can short-circuit this test for compilers unknown to
4157 # Autoconf.
4158 for ac_file in $ac_files ''
4159 do
4160   test -f "$ac_file" || continue
4161   case $ac_file in
4162     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4163         ;;
4164     [ab].out )
4165         # We found the default executable, but exeext='' is most
4166         # certainly right.
4167         break;;
4168     *.* )
4169         if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4170         then :; else
4171            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4172         fi
4173         # We set ac_cv_exeext here because the later test for it is not
4174         # safe: cross compilers may not add the suffix if given an `-o'
4175         # argument, so we may need to know it at that point already.
4176         # Even if this section looks crufty: it has the advantage of
4177         # actually working.
4178         break;;
4179     * )
4180         break;;
4181   esac
4182 done
4183 test "$ac_cv_exeext" = no && ac_cv_exeext=
4184
4185 else $as_nop
4186   ac_file=''
4187 fi
4188 if test -z "$ac_file"
4189 then :
4190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 printf "%s\n" "no" >&6; }
4192 printf "%s\n" "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4194
4195 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error 77 "C compiler cannot create executables
4198 See \`config.log' for more details" "$LINENO" 5; }
4199 else $as_nop
4200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 printf "%s\n" "yes" >&6; }
4202 fi
4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4204 printf %s "checking for C compiler default output file name... " >&6; }
4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4206 printf "%s\n" "$ac_file" >&6; }
4207 ac_exeext=$ac_cv_exeext
4208
4209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4210 ac_clean_files=$ac_clean_files_save
4211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4212 printf %s "checking for suffix of executables... " >&6; }
4213 if { { ac_try="$ac_link"
4214 case "(($ac_try" in
4215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216   *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 printf "%s\n" "$ac_try_echo"; } >&5
4220   (eval "$ac_link") 2>&5
4221   ac_status=$?
4222   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223   test $ac_status = 0; }
4224 then :
4225   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4226 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4227 # work properly (i.e., refer to `conftest.exe'), while it won't with
4228 # `rm'.
4229 for ac_file in conftest.exe conftest conftest.*; do
4230   test -f "$ac_file" || continue
4231   case $ac_file in
4232     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4233     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4234           break;;
4235     * ) break;;
4236   esac
4237 done
4238 else $as_nop
4239   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4242 See \`config.log' for more details" "$LINENO" 5; }
4243 fi
4244 rm -f conftest conftest$ac_cv_exeext
4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4246 printf "%s\n" "$ac_cv_exeext" >&6; }
4247
4248 rm -f conftest.$ac_ext
4249 EXEEXT=$ac_cv_exeext
4250 ac_exeext=$EXEEXT
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h.  */
4253 #include <stdio.h>
4254 int
4255 main (void)
4256 {
4257 FILE *f = fopen ("conftest.out", "w");
4258  return ferror (f) || fclose (f) != 0;
4259
4260   ;
4261   return 0;
4262 }
4263 _ACEOF
4264 ac_clean_files="$ac_clean_files conftest.out"
4265 # Check that the compiler produces executables we can run.  If not, either
4266 # the compiler is broken, or we cross compile.
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4268 printf %s "checking whether we are cross compiling... " >&6; }
4269 if test "$cross_compiling" != yes; then
4270   { { ac_try="$ac_link"
4271 case "(($ac_try" in
4272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273   *) ac_try_echo=$ac_try;;
4274 esac
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 printf "%s\n" "$ac_try_echo"; } >&5
4277   (eval "$ac_link") 2>&5
4278   ac_status=$?
4279   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280   test $ac_status = 0; }
4281   if { ac_try='./conftest$ac_cv_exeext'
4282   { { case "(($ac_try" in
4283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284   *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 printf "%s\n" "$ac_try_echo"; } >&5
4288   (eval "$ac_try") 2>&5
4289   ac_status=$?
4290   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291   test $ac_status = 0; }; }; then
4292     cross_compiling=no
4293   else
4294     if test "$cross_compiling" = maybe; then
4295         cross_compiling=yes
4296     else
4297         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error 77 "cannot run C compiled programs.
4300 If you meant to cross compile, use \`--host'.
4301 See \`config.log' for more details" "$LINENO" 5; }
4302     fi
4303   fi
4304 fi
4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4306 printf "%s\n" "$cross_compiling" >&6; }
4307
4308 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4309 ac_clean_files=$ac_clean_files_save
4310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4311 printf %s "checking for suffix of object files... " >&6; }
4312 if test ${ac_cv_objext+y}
4313 then :
4314   printf %s "(cached) " >&6
4315 else $as_nop
4316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h.  */
4318
4319 int
4320 main (void)
4321 {
4322
4323   ;
4324   return 0;
4325 }
4326 _ACEOF
4327 rm -f conftest.o conftest.obj
4328 if { { ac_try="$ac_compile"
4329 case "(($ac_try" in
4330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331   *) ac_try_echo=$ac_try;;
4332 esac
4333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 printf "%s\n" "$ac_try_echo"; } >&5
4335   (eval "$ac_compile") 2>&5
4336   ac_status=$?
4337   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338   test $ac_status = 0; }
4339 then :
4340   for ac_file in conftest.o conftest.obj conftest.*; do
4341   test -f "$ac_file" || continue;
4342   case $ac_file in
4343     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4344     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4345        break;;
4346   esac
4347 done
4348 else $as_nop
4349   printf "%s\n" "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4351
4352 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4353 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4354 as_fn_error $? "cannot compute suffix of object files: cannot compile
4355 See \`config.log' for more details" "$LINENO" 5; }
4356 fi
4357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4358 fi
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4360 printf "%s\n" "$ac_cv_objext" >&6; }
4361 OBJEXT=$ac_cv_objext
4362 ac_objext=$OBJEXT
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4364 printf %s "checking whether the compiler supports GNU C... " >&6; }
4365 if test ${ac_cv_c_compiler_gnu+y}
4366 then :
4367   printf %s "(cached) " >&6
4368 else $as_nop
4369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h.  */
4371
4372 int
4373 main (void)
4374 {
4375 #ifndef __GNUC__
4376        choke me
4377 #endif
4378
4379   ;
4380   return 0;
4381 }
4382 _ACEOF
4383 if ac_fn_c_try_compile "$LINENO"
4384 then :
4385   ac_compiler_gnu=yes
4386 else $as_nop
4387   ac_compiler_gnu=no
4388 fi
4389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4391
4392 fi
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4394 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396
4397 if test $ac_compiler_gnu = yes; then
4398   GCC=yes
4399 else
4400   GCC=
4401 fi
4402 ac_test_CFLAGS=${CFLAGS+y}
4403 ac_save_CFLAGS=$CFLAGS
4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4405 printf %s "checking whether $CC accepts -g... " >&6; }
4406 if test ${ac_cv_prog_cc_g+y}
4407 then :
4408   printf %s "(cached) " >&6
4409 else $as_nop
4410   ac_save_c_werror_flag=$ac_c_werror_flag
4411    ac_c_werror_flag=yes
4412    ac_cv_prog_cc_g=no
4413    CFLAGS="-g"
4414    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h.  */
4416
4417 int
4418 main (void)
4419 {
4420
4421   ;
4422   return 0;
4423 }
4424 _ACEOF
4425 if ac_fn_c_try_compile "$LINENO"
4426 then :
4427   ac_cv_prog_cc_g=yes
4428 else $as_nop
4429   CFLAGS=""
4430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h.  */
4432
4433 int
4434 main (void)
4435 {
4436
4437   ;
4438   return 0;
4439 }
4440 _ACEOF
4441 if ac_fn_c_try_compile "$LINENO"
4442 then :
4443
4444 else $as_nop
4445   ac_c_werror_flag=$ac_save_c_werror_flag
4446          CFLAGS="-g"
4447          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h.  */
4449
4450 int
4451 main (void)
4452 {
4453
4454   ;
4455   return 0;
4456 }
4457 _ACEOF
4458 if ac_fn_c_try_compile "$LINENO"
4459 then :
4460   ac_cv_prog_cc_g=yes
4461 fi
4462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4463 fi
4464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4465 fi
4466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4467    ac_c_werror_flag=$ac_save_c_werror_flag
4468 fi
4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4470 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4471 if test $ac_test_CFLAGS; then
4472   CFLAGS=$ac_save_CFLAGS
4473 elif test $ac_cv_prog_cc_g = yes; then
4474   if test "$GCC" = yes; then
4475     CFLAGS="-g -O2"
4476   else
4477     CFLAGS="-g"
4478   fi
4479 else
4480   if test "$GCC" = yes; then
4481     CFLAGS="-O2"
4482   else
4483     CFLAGS=
4484   fi
4485 fi
4486 ac_prog_cc_stdc=no
4487 if test x$ac_prog_cc_stdc = xno
4488 then :
4489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4490 printf %s "checking for $CC option to enable C11 features... " >&6; }
4491 if test ${ac_cv_prog_cc_c11+y}
4492 then :
4493   printf %s "(cached) " >&6
4494 else $as_nop
4495   ac_cv_prog_cc_c11=no
4496 ac_save_CC=$CC
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h.  */
4499 $ac_c_conftest_c11_program
4500 _ACEOF
4501 for ac_arg in '' -std=gnu11
4502 do
4503   CC="$ac_save_CC $ac_arg"
4504   if ac_fn_c_try_compile "$LINENO"
4505 then :
4506   ac_cv_prog_cc_c11=$ac_arg
4507 fi
4508 rm -f core conftest.err conftest.$ac_objext conftest.beam
4509   test "x$ac_cv_prog_cc_c11" != "xno" && break
4510 done
4511 rm -f conftest.$ac_ext
4512 CC=$ac_save_CC
4513 fi
4514
4515 if test "x$ac_cv_prog_cc_c11" = xno
4516 then :
4517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4518 printf "%s\n" "unsupported" >&6; }
4519 else $as_nop
4520   if test "x$ac_cv_prog_cc_c11" = x
4521 then :
4522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4523 printf "%s\n" "none needed" >&6; }
4524 else $as_nop
4525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4526 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4527      CC="$CC $ac_cv_prog_cc_c11"
4528 fi
4529   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4530   ac_prog_cc_stdc=c11
4531 fi
4532 fi
4533 if test x$ac_prog_cc_stdc = xno
4534 then :
4535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4536 printf %s "checking for $CC option to enable C99 features... " >&6; }
4537 if test ${ac_cv_prog_cc_c99+y}
4538 then :
4539   printf %s "(cached) " >&6
4540 else $as_nop
4541   ac_cv_prog_cc_c99=no
4542 ac_save_CC=$CC
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h.  */
4545 $ac_c_conftest_c99_program
4546 _ACEOF
4547 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4548 do
4549   CC="$ac_save_CC $ac_arg"
4550   if ac_fn_c_try_compile "$LINENO"
4551 then :
4552   ac_cv_prog_cc_c99=$ac_arg
4553 fi
4554 rm -f core conftest.err conftest.$ac_objext conftest.beam
4555   test "x$ac_cv_prog_cc_c99" != "xno" && break
4556 done
4557 rm -f conftest.$ac_ext
4558 CC=$ac_save_CC
4559 fi
4560
4561 if test "x$ac_cv_prog_cc_c99" = xno
4562 then :
4563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4564 printf "%s\n" "unsupported" >&6; }
4565 else $as_nop
4566   if test "x$ac_cv_prog_cc_c99" = x
4567 then :
4568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4569 printf "%s\n" "none needed" >&6; }
4570 else $as_nop
4571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4572 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4573      CC="$CC $ac_cv_prog_cc_c99"
4574 fi
4575   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4576   ac_prog_cc_stdc=c99
4577 fi
4578 fi
4579 if test x$ac_prog_cc_stdc = xno
4580 then :
4581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4582 printf %s "checking for $CC option to enable C89 features... " >&6; }
4583 if test ${ac_cv_prog_cc_c89+y}
4584 then :
4585   printf %s "(cached) " >&6
4586 else $as_nop
4587   ac_cv_prog_cc_c89=no
4588 ac_save_CC=$CC
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h.  */
4591 $ac_c_conftest_c89_program
4592 _ACEOF
4593 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4594 do
4595   CC="$ac_save_CC $ac_arg"
4596   if ac_fn_c_try_compile "$LINENO"
4597 then :
4598   ac_cv_prog_cc_c89=$ac_arg
4599 fi
4600 rm -f core conftest.err conftest.$ac_objext conftest.beam
4601   test "x$ac_cv_prog_cc_c89" != "xno" && break
4602 done
4603 rm -f conftest.$ac_ext
4604 CC=$ac_save_CC
4605 fi
4606
4607 if test "x$ac_cv_prog_cc_c89" = xno
4608 then :
4609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4610 printf "%s\n" "unsupported" >&6; }
4611 else $as_nop
4612   if test "x$ac_cv_prog_cc_c89" = x
4613 then :
4614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4615 printf "%s\n" "none needed" >&6; }
4616 else $as_nop
4617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4618 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4619      CC="$CC $ac_cv_prog_cc_c89"
4620 fi
4621   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4622   ac_prog_cc_stdc=c89
4623 fi
4624 fi
4625
4626 ac_ext=c
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631
4632
4633   ac_ext=c
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4639 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4640 if test ${am_cv_prog_cc_c_o+y}
4641 then :
4642   printf %s "(cached) " >&6
4643 else $as_nop
4644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h.  */
4646
4647 int
4648 main (void)
4649 {
4650
4651   ;
4652   return 0;
4653 }
4654 _ACEOF
4655   # Make sure it works both with $CC and with simple cc.
4656   # Following AC_PROG_CC_C_O, we do the test twice because some
4657   # compilers refuse to overwrite an existing .o file with -o,
4658   # though they will create one.
4659   am_cv_prog_cc_c_o=yes
4660   for am_i in 1 2; do
4661     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4662    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4663    ac_status=$?
4664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665    (exit $ac_status); } \
4666          && test -f conftest2.$ac_objext; then
4667       : OK
4668     else
4669       am_cv_prog_cc_c_o=no
4670       break
4671     fi
4672   done
4673   rm -f core conftest*
4674   unset am_i
4675 fi
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4677 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4678 if test "$am_cv_prog_cc_c_o" != yes; then
4679    # Losing compiler, so override with the script.
4680    # FIXME: It is wrong to rewrite CC.
4681    # But if we don't then we get into trouble of one sort or another.
4682    # A longer-term fix would be to have automake use am__CC in this case,
4683    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4684    CC="$am_aux_dir/compile $CC"
4685 fi
4686 ac_ext=c
4687 ac_cpp='$CPP $CPPFLAGS'
4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4691
4692 DEPDIR="${am__leading_dot}deps"
4693
4694 ac_config_commands="$ac_config_commands depfiles"
4695
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4697 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4698 cat > confinc.mk << 'END'
4699 am__doit:
4700         @echo this is the am__doit target >confinc.out
4701 .PHONY: am__doit
4702 END
4703 am__include="#"
4704 am__quote=
4705 # BSD make does it like this.
4706 echo '.include "confinc.mk" # ignored' > confmf.BSD
4707 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4708 echo 'include confinc.mk # ignored' > confmf.GNU
4709 _am_result=no
4710 for s in GNU BSD; do
4711   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4712    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4713    ac_status=$?
4714    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715    (exit $ac_status); }
4716   case $?:`cat confinc.out 2>/dev/null` in #(
4717   '0:this is the am__doit target') :
4718     case $s in #(
4719   BSD) :
4720     am__include='.include' am__quote='"' ;; #(
4721   *) :
4722     am__include='include' am__quote='' ;;
4723 esac ;; #(
4724   *) :
4725      ;;
4726 esac
4727   if test "$am__include" != "#"; then
4728     _am_result="yes ($s style)"
4729     break
4730   fi
4731 done
4732 rm -f confinc.* confmf.*
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4734 printf "%s\n" "${_am_result}" >&6; }
4735
4736 # Check whether --enable-dependency-tracking was given.
4737 if test ${enable_dependency_tracking+y}
4738 then :
4739   enableval=$enable_dependency_tracking;
4740 fi
4741
4742 if test "x$enable_dependency_tracking" != xno; then
4743   am_depcomp="$ac_aux_dir/depcomp"
4744   AMDEPBACKSLASH='\'
4745   am__nodep='_no'
4746 fi
4747  if test "x$enable_dependency_tracking" != xno; then
4748   AMDEP_TRUE=
4749   AMDEP_FALSE='#'
4750 else
4751   AMDEP_TRUE='#'
4752   AMDEP_FALSE=
4753 fi
4754
4755
4756
4757 depcc="$CC"   am_compiler_list=
4758
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4760 printf %s "checking dependency style of $depcc... " >&6; }
4761 if test ${am_cv_CC_dependencies_compiler_type+y}
4762 then :
4763   printf %s "(cached) " >&6
4764 else $as_nop
4765   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4766   # We make a subdir and do the tests there.  Otherwise we can end up
4767   # making bogus files that we don't know about and never remove.  For
4768   # instance it was reported that on HP-UX the gcc test will end up
4769   # making a dummy file named 'D' -- because '-MD' means "put the output
4770   # in D".
4771   rm -rf conftest.dir
4772   mkdir conftest.dir
4773   # Copy depcomp to subdir because otherwise we won't find it if we're
4774   # using a relative directory.
4775   cp "$am_depcomp" conftest.dir
4776   cd conftest.dir
4777   # We will build objects and dependencies in a subdirectory because
4778   # it helps to detect inapplicable dependency modes.  For instance
4779   # both Tru64's cc and ICC support -MD to output dependencies as a
4780   # side effect of compilation, but ICC will put the dependencies in
4781   # the current directory while Tru64 will put them in the object
4782   # directory.
4783   mkdir sub
4784
4785   am_cv_CC_dependencies_compiler_type=none
4786   if test "$am_compiler_list" = ""; then
4787      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4788   fi
4789   am__universal=false
4790   case " $depcc " in #(
4791      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4792      esac
4793
4794   for depmode in $am_compiler_list; do
4795     # Setup a source with many dependencies, because some compilers
4796     # like to wrap large dependency lists on column 80 (with \), and
4797     # we should not choose a depcomp mode which is confused by this.
4798     #
4799     # We need to recreate these files for each test, as the compiler may
4800     # overwrite some of them when testing with obscure command lines.
4801     # This happens at least with the AIX C compiler.
4802     : > sub/conftest.c
4803     for i in 1 2 3 4 5 6; do
4804       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4805       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4806       # Solaris 10 /bin/sh.
4807       echo '/* dummy */' > sub/conftst$i.h
4808     done
4809     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4810
4811     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4812     # mode.  It turns out that the SunPro C++ compiler does not properly
4813     # handle '-M -o', and we need to detect this.  Also, some Intel
4814     # versions had trouble with output in subdirs.
4815     am__obj=sub/conftest.${OBJEXT-o}
4816     am__minus_obj="-o $am__obj"
4817     case $depmode in
4818     gcc)
4819       # This depmode causes a compiler race in universal mode.
4820       test "$am__universal" = false || continue
4821       ;;
4822     nosideeffect)
4823       # After this tag, mechanisms are not by side-effect, so they'll
4824       # only be used when explicitly requested.
4825       if test "x$enable_dependency_tracking" = xyes; then
4826         continue
4827       else
4828         break
4829       fi
4830       ;;
4831     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4832       # This compiler won't grok '-c -o', but also, the minuso test has
4833       # not run yet.  These depmodes are late enough in the game, and
4834       # so weak that their functioning should not be impacted.
4835       am__obj=conftest.${OBJEXT-o}
4836       am__minus_obj=
4837       ;;
4838     none) break ;;
4839     esac
4840     if depmode=$depmode \
4841        source=sub/conftest.c object=$am__obj \
4842        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4843        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4844          >/dev/null 2>conftest.err &&
4845        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4846        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4847        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4848        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4849       # icc doesn't choke on unknown options, it will just issue warnings
4850       # or remarks (even with -Werror).  So we grep stderr for any message
4851       # that says an option was ignored or not supported.
4852       # When given -MP, icc 7.0 and 7.1 complain thusly:
4853       #   icc: Command line warning: ignoring option '-M'; no argument required
4854       # The diagnosis changed in icc 8.0:
4855       #   icc: Command line remark: option '-MP' not supported
4856       if (grep 'ignoring option' conftest.err ||
4857           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4858         am_cv_CC_dependencies_compiler_type=$depmode
4859         break
4860       fi
4861     fi
4862   done
4863
4864   cd ..
4865   rm -rf conftest.dir
4866 else
4867   am_cv_CC_dependencies_compiler_type=none
4868 fi
4869
4870 fi
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4872 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4873 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4874
4875  if
4876   test "x$enable_dependency_tracking" != xno \
4877   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4878   am__fastdepCC_TRUE=
4879   am__fastdepCC_FALSE='#'
4880 else
4881   am__fastdepCC_TRUE='#'
4882   am__fastdepCC_FALSE=
4883 fi
4884
4885
4886
4887 ac_header= ac_cache=
4888 for ac_item in $ac_header_c_list
4889 do
4890   if test $ac_cache; then
4891     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4892     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4893       printf "%s\n" "#define $ac_item 1" >> confdefs.h
4894     fi
4895     ac_header= ac_cache=
4896   elif test $ac_header; then
4897     ac_cache=$ac_item
4898   else
4899     ac_header=$ac_item
4900   fi
4901 done
4902
4903
4904
4905
4906
4907
4908
4909
4910 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4911 then :
4912
4913 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4914
4915 fi
4916
4917
4918
4919
4920
4921
4922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4923 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4924 if test ${ac_cv_safe_to_define___extensions__+y}
4925 then :
4926   printf %s "(cached) " >&6
4927 else $as_nop
4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h.  */
4930
4931 #         define __EXTENSIONS__ 1
4932           $ac_includes_default
4933 int
4934 main (void)
4935 {
4936
4937   ;
4938   return 0;
4939 }
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"
4942 then :
4943   ac_cv_safe_to_define___extensions__=yes
4944 else $as_nop
4945   ac_cv_safe_to_define___extensions__=no
4946 fi
4947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4948 fi
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4950 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4951
4952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4953 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4954 if test ${ac_cv_should_define__xopen_source+y}
4955 then :
4956   printf %s "(cached) " >&6
4957 else $as_nop
4958   ac_cv_should_define__xopen_source=no
4959     if test $ac_cv_header_wchar_h = yes
4960 then :
4961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h.  */
4963
4964           #include <wchar.h>
4965           mbstate_t x;
4966 int
4967 main (void)
4968 {
4969
4970   ;
4971   return 0;
4972 }
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"
4975 then :
4976
4977 else $as_nop
4978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h.  */
4980
4981             #define _XOPEN_SOURCE 500
4982             #include <wchar.h>
4983             mbstate_t x;
4984 int
4985 main (void)
4986 {
4987
4988   ;
4989   return 0;
4990 }
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"
4993 then :
4994   ac_cv_should_define__xopen_source=yes
4995 fi
4996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4997 fi
4998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4999 fi
5000 fi
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5002 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5003
5004   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5005
5006   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5007
5008   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5009
5010   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5011
5012   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5013
5014   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5015
5016   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5017
5018   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5019
5020   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5021
5022   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5023
5024   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5025
5026   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5027
5028   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5029
5030   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5031
5032   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5033
5034   if test $ac_cv_header_minix_config_h = yes
5035 then :
5036   MINIX=yes
5037     printf "%s\n" "#define _MINIX 1" >>confdefs.h
5038
5039     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5040
5041     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5042
5043 else $as_nop
5044   MINIX=
5045 fi
5046   if test $ac_cv_safe_to_define___extensions__ = yes
5047 then :
5048   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5049
5050 fi
5051   if test $ac_cv_should_define__xopen_source = yes
5052 then :
5053   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5054
5055 fi
5056
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler is Clang" >&5
5058 printf %s "checking if the compiler is Clang... " >&6; }
5059 if test ${rra_cv_prog_cc_clang+y}
5060 then :
5061   printf %s "(cached) " >&6
5062 else $as_nop
5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h.  */
5065
5066 #if ! __clang__
5067 #error
5068 #endif
5069
5070 _ACEOF
5071 if ac_fn_c_try_compile "$LINENO"
5072 then :
5073   rra_cv_prog_cc_clang=yes
5074 else $as_nop
5075   rra_cv_prog_cc_clang=no
5076 fi
5077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5078 fi
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_prog_cc_clang" >&5
5080 printf "%s\n" "$rra_cv_prog_cc_clang" >&6; }
5081  if test x"$rra_cv_prog_cc_clang" = xyes
5082 then :
5083   CLANG=yes
5084 fi
5085
5086  if test x"$CLANG" = xyes
5087 then :
5088   WARNINGS_CFLAGS="-Werror"
5089
5090  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Weverything" >&5
5091 printf %s "checking if $CC supports -Weverything... " >&6; }
5092  if test ${rra_cv_compiler_c__Weverything+y}
5093 then :
5094   printf %s "(cached) " >&6
5095 else $as_nop
5096   save_CFLAGS=$CFLAGS
5097      if test x"$CLANG" = xyes
5098 then :
5099   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5100 fi
5101      case -Weverything in #(
5102   -Wno-*) :
5103     CFLAGS="$CFLAGS `printf "%s\n" "-Weverything" | sed 's/-Wno-/-W/'`" ;; #(
5104   *) :
5105     CFLAGS="$CFLAGS -Weverything" ;;
5106 esac
5107      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h.  */
5109
5110 int
5111 main (void)
5112 {
5113 int foo = 0;
5114   ;
5115   return 0;
5116 }
5117 _ACEOF
5118 if ac_fn_c_try_compile "$LINENO"
5119 then :
5120   rra_cv_compiler_c__Weverything=yes
5121 else $as_nop
5122   rra_cv_compiler_c__Weverything=no
5123 fi
5124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5125      CFLAGS=$save_CFLAGS
5126 fi
5127
5128  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Weverything" >&5
5129 printf "%s\n" "$rra_cv_compiler_c__Weverything" >&6; }
5130  if test x"$rra_cv_compiler_c__Weverything" = xyes
5131 then :
5132   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Weverything"
5133 fi
5134  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-cast-qual" >&5
5135 printf %s "checking if $CC supports -Wno-cast-qual... " >&6; }
5136  if test ${rra_cv_compiler_c__Wno_cast_qual+y}
5137 then :
5138   printf %s "(cached) " >&6
5139 else $as_nop
5140   save_CFLAGS=$CFLAGS
5141      if test x"$CLANG" = xyes
5142 then :
5143   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5144 fi
5145      case -Wno-cast-qual in #(
5146   -Wno-*) :
5147     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-cast-qual" | sed 's/-Wno-/-W/'`" ;; #(
5148   *) :
5149     CFLAGS="$CFLAGS -Wno-cast-qual" ;;
5150 esac
5151      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h.  */
5153
5154 int
5155 main (void)
5156 {
5157 int foo = 0;
5158   ;
5159   return 0;
5160 }
5161 _ACEOF
5162 if ac_fn_c_try_compile "$LINENO"
5163 then :
5164   rra_cv_compiler_c__Wno_cast_qual=yes
5165 else $as_nop
5166   rra_cv_compiler_c__Wno_cast_qual=no
5167 fi
5168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5169      CFLAGS=$save_CFLAGS
5170 fi
5171
5172  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_cast_qual" >&5
5173 printf "%s\n" "$rra_cv_compiler_c__Wno_cast_qual" >&6; }
5174  if test x"$rra_cv_compiler_c__Wno_cast_qual" = xyes
5175 then :
5176   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-cast-qual"
5177 fi
5178  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-disabled-macro-expansion" >&5
5179 printf %s "checking if $CC supports -Wno-disabled-macro-expansion... " >&6; }
5180  if test ${rra_cv_compiler_c__Wno_disabled_macro_expansion+y}
5181 then :
5182   printf %s "(cached) " >&6
5183 else $as_nop
5184   save_CFLAGS=$CFLAGS
5185      if test x"$CLANG" = xyes
5186 then :
5187   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5188 fi
5189      case -Wno-disabled-macro-expansion in #(
5190   -Wno-*) :
5191     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-disabled-macro-expansion" | sed 's/-Wno-/-W/'`" ;; #(
5192   *) :
5193     CFLAGS="$CFLAGS -Wno-disabled-macro-expansion" ;;
5194 esac
5195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h.  */
5197
5198 int
5199 main (void)
5200 {
5201 int foo = 0;
5202   ;
5203   return 0;
5204 }
5205 _ACEOF
5206 if ac_fn_c_try_compile "$LINENO"
5207 then :
5208   rra_cv_compiler_c__Wno_disabled_macro_expansion=yes
5209 else $as_nop
5210   rra_cv_compiler_c__Wno_disabled_macro_expansion=no
5211 fi
5212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5213      CFLAGS=$save_CFLAGS
5214 fi
5215
5216  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_disabled_macro_expansion" >&5
5217 printf "%s\n" "$rra_cv_compiler_c__Wno_disabled_macro_expansion" >&6; }
5218  if test x"$rra_cv_compiler_c__Wno_disabled_macro_expansion" = xyes
5219 then :
5220   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-disabled-macro-expansion"
5221 fi
5222  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-padded" >&5
5223 printf %s "checking if $CC supports -Wno-padded... " >&6; }
5224  if test ${rra_cv_compiler_c__Wno_padded+y}
5225 then :
5226   printf %s "(cached) " >&6
5227 else $as_nop
5228   save_CFLAGS=$CFLAGS
5229      if test x"$CLANG" = xyes
5230 then :
5231   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5232 fi
5233      case -Wno-padded in #(
5234   -Wno-*) :
5235     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-padded" | sed 's/-Wno-/-W/'`" ;; #(
5236   *) :
5237     CFLAGS="$CFLAGS -Wno-padded" ;;
5238 esac
5239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h.  */
5241
5242 int
5243 main (void)
5244 {
5245 int foo = 0;
5246   ;
5247   return 0;
5248 }
5249 _ACEOF
5250 if ac_fn_c_try_compile "$LINENO"
5251 then :
5252   rra_cv_compiler_c__Wno_padded=yes
5253 else $as_nop
5254   rra_cv_compiler_c__Wno_padded=no
5255 fi
5256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5257      CFLAGS=$save_CFLAGS
5258 fi
5259
5260  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_padded" >&5
5261 printf "%s\n" "$rra_cv_compiler_c__Wno_padded" >&6; }
5262  if test x"$rra_cv_compiler_c__Wno_padded" = xyes
5263 then :
5264   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-padded"
5265 fi
5266  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
5267 printf %s "checking if $CC supports -Wno-sign-conversion... " >&6; }
5268  if test ${rra_cv_compiler_c__Wno_sign_conversion+y}
5269 then :
5270   printf %s "(cached) " >&6
5271 else $as_nop
5272   save_CFLAGS=$CFLAGS
5273      if test x"$CLANG" = xyes
5274 then :
5275   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5276 fi
5277      case -Wno-sign-conversion in #(
5278   -Wno-*) :
5279     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
5280   *) :
5281     CFLAGS="$CFLAGS -Wno-sign-conversion" ;;
5282 esac
5283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h.  */
5285
5286 int
5287 main (void)
5288 {
5289 int foo = 0;
5290   ;
5291   return 0;
5292 }
5293 _ACEOF
5294 if ac_fn_c_try_compile "$LINENO"
5295 then :
5296   rra_cv_compiler_c__Wno_sign_conversion=yes
5297 else $as_nop
5298   rra_cv_compiler_c__Wno_sign_conversion=no
5299 fi
5300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5301      CFLAGS=$save_CFLAGS
5302 fi
5303
5304  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
5305 printf "%s\n" "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
5306  if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes
5307 then :
5308   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
5309 fi
5310  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-reserved-id-macro" >&5
5311 printf %s "checking if $CC supports -Wno-reserved-id-macro... " >&6; }
5312  if test ${rra_cv_compiler_c__Wno_reserved_id_macro+y}
5313 then :
5314   printf %s "(cached) " >&6
5315 else $as_nop
5316   save_CFLAGS=$CFLAGS
5317      if test x"$CLANG" = xyes
5318 then :
5319   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5320 fi
5321      case -Wno-reserved-id-macro in #(
5322   -Wno-*) :
5323     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-reserved-id-macro" | sed 's/-Wno-/-W/'`" ;; #(
5324   *) :
5325     CFLAGS="$CFLAGS -Wno-reserved-id-macro" ;;
5326 esac
5327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h.  */
5329
5330 int
5331 main (void)
5332 {
5333 int foo = 0;
5334   ;
5335   return 0;
5336 }
5337 _ACEOF
5338 if ac_fn_c_try_compile "$LINENO"
5339 then :
5340   rra_cv_compiler_c__Wno_reserved_id_macro=yes
5341 else $as_nop
5342   rra_cv_compiler_c__Wno_reserved_id_macro=no
5343 fi
5344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5345      CFLAGS=$save_CFLAGS
5346 fi
5347
5348  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_reserved_id_macro" >&5
5349 printf "%s\n" "$rra_cv_compiler_c__Wno_reserved_id_macro" >&6; }
5350  if test x"$rra_cv_compiler_c__Wno_reserved_id_macro" = xyes
5351 then :
5352   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-reserved-id-macro"
5353 fi
5354  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-reserved-identifier" >&5
5355 printf %s "checking if $CC supports -Wno-reserved-identifier... " >&6; }
5356  if test ${rra_cv_compiler_c__Wno_reserved_identifier+y}
5357 then :
5358   printf %s "(cached) " >&6
5359 else $as_nop
5360   save_CFLAGS=$CFLAGS
5361      if test x"$CLANG" = xyes
5362 then :
5363   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5364 fi
5365      case -Wno-reserved-identifier in #(
5366   -Wno-*) :
5367     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-reserved-identifier" | sed 's/-Wno-/-W/'`" ;; #(
5368   *) :
5369     CFLAGS="$CFLAGS -Wno-reserved-identifier" ;;
5370 esac
5371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h.  */
5373
5374 int
5375 main (void)
5376 {
5377 int foo = 0;
5378   ;
5379   return 0;
5380 }
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"
5383 then :
5384   rra_cv_compiler_c__Wno_reserved_identifier=yes
5385 else $as_nop
5386   rra_cv_compiler_c__Wno_reserved_identifier=no
5387 fi
5388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5389      CFLAGS=$save_CFLAGS
5390 fi
5391
5392  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_reserved_identifier" >&5
5393 printf "%s\n" "$rra_cv_compiler_c__Wno_reserved_identifier" >&6; }
5394  if test x"$rra_cv_compiler_c__Wno_reserved_identifier" = xyes
5395 then :
5396   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-reserved-identifier"
5397 fi
5398  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-tautological-pointer-compare" >&5
5399 printf %s "checking if $CC supports -Wno-tautological-pointer-compare... " >&6; }
5400  if test ${rra_cv_compiler_c__Wno_tautological_pointer_compare+y}
5401 then :
5402   printf %s "(cached) " >&6
5403 else $as_nop
5404   save_CFLAGS=$CFLAGS
5405      if test x"$CLANG" = xyes
5406 then :
5407   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5408 fi
5409      case -Wno-tautological-pointer-compare in #(
5410   -Wno-*) :
5411     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-tautological-pointer-compare" | sed 's/-Wno-/-W/'`" ;; #(
5412   *) :
5413     CFLAGS="$CFLAGS -Wno-tautological-pointer-compare" ;;
5414 esac
5415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h.  */
5417
5418 int
5419 main (void)
5420 {
5421 int foo = 0;
5422   ;
5423   return 0;
5424 }
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"
5427 then :
5428   rra_cv_compiler_c__Wno_tautological_pointer_compare=yes
5429 else $as_nop
5430   rra_cv_compiler_c__Wno_tautological_pointer_compare=no
5431 fi
5432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5433      CFLAGS=$save_CFLAGS
5434 fi
5435
5436  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_tautological_pointer_compare" >&5
5437 printf "%s\n" "$rra_cv_compiler_c__Wno_tautological_pointer_compare" >&6; }
5438  if test x"$rra_cv_compiler_c__Wno_tautological_pointer_compare" = xyes
5439 then :
5440   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-tautological-pointer-compare"
5441 fi
5442  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-undef" >&5
5443 printf %s "checking if $CC supports -Wno-undef... " >&6; }
5444  if test ${rra_cv_compiler_c__Wno_undef+y}
5445 then :
5446   printf %s "(cached) " >&6
5447 else $as_nop
5448   save_CFLAGS=$CFLAGS
5449      if test x"$CLANG" = xyes
5450 then :
5451   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5452 fi
5453      case -Wno-undef in #(
5454   -Wno-*) :
5455     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-undef" | sed 's/-Wno-/-W/'`" ;; #(
5456   *) :
5457     CFLAGS="$CFLAGS -Wno-undef" ;;
5458 esac
5459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h.  */
5461
5462 int
5463 main (void)
5464 {
5465 int foo = 0;
5466   ;
5467   return 0;
5468 }
5469 _ACEOF
5470 if ac_fn_c_try_compile "$LINENO"
5471 then :
5472   rra_cv_compiler_c__Wno_undef=yes
5473 else $as_nop
5474   rra_cv_compiler_c__Wno_undef=no
5475 fi
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477      CFLAGS=$save_CFLAGS
5478 fi
5479
5480  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_undef" >&5
5481 printf "%s\n" "$rra_cv_compiler_c__Wno_undef" >&6; }
5482  if test x"$rra_cv_compiler_c__Wno_undef" = xyes
5483 then :
5484   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-undef"
5485 fi
5486  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code" >&5
5487 printf %s "checking if $CC supports -Wno-unreachable-code... " >&6; }
5488  if test ${rra_cv_compiler_c__Wno_unreachable_code+y}
5489 then :
5490   printf %s "(cached) " >&6
5491 else $as_nop
5492   save_CFLAGS=$CFLAGS
5493      if test x"$CLANG" = xyes
5494 then :
5495   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5496 fi
5497      case -Wno-unreachable-code in #(
5498   -Wno-*) :
5499     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-unreachable-code" | sed 's/-Wno-/-W/'`" ;; #(
5500   *) :
5501     CFLAGS="$CFLAGS -Wno-unreachable-code" ;;
5502 esac
5503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h.  */
5505
5506 int
5507 main (void)
5508 {
5509 int foo = 0;
5510   ;
5511   return 0;
5512 }
5513 _ACEOF
5514 if ac_fn_c_try_compile "$LINENO"
5515 then :
5516   rra_cv_compiler_c__Wno_unreachable_code=yes
5517 else $as_nop
5518   rra_cv_compiler_c__Wno_unreachable_code=no
5519 fi
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5521      CFLAGS=$save_CFLAGS
5522 fi
5523
5524  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code" >&5
5525 printf "%s\n" "$rra_cv_compiler_c__Wno_unreachable_code" >&6; }
5526  if test x"$rra_cv_compiler_c__Wno_unreachable_code" = xyes
5527 then :
5528   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code"
5529 fi
5530  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code-return" >&5
5531 printf %s "checking if $CC supports -Wno-unreachable-code-return... " >&6; }
5532  if test ${rra_cv_compiler_c__Wno_unreachable_code_return+y}
5533 then :
5534   printf %s "(cached) " >&6
5535 else $as_nop
5536   save_CFLAGS=$CFLAGS
5537      if test x"$CLANG" = xyes
5538 then :
5539   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5540 fi
5541      case -Wno-unreachable-code-return in #(
5542   -Wno-*) :
5543     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-unreachable-code-return" | sed 's/-Wno-/-W/'`" ;; #(
5544   *) :
5545     CFLAGS="$CFLAGS -Wno-unreachable-code-return" ;;
5546 esac
5547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h.  */
5549
5550 int
5551 main (void)
5552 {
5553 int foo = 0;
5554   ;
5555   return 0;
5556 }
5557 _ACEOF
5558 if ac_fn_c_try_compile "$LINENO"
5559 then :
5560   rra_cv_compiler_c__Wno_unreachable_code_return=yes
5561 else $as_nop
5562   rra_cv_compiler_c__Wno_unreachable_code_return=no
5563 fi
5564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5565      CFLAGS=$save_CFLAGS
5566 fi
5567
5568  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code_return" >&5
5569 printf "%s\n" "$rra_cv_compiler_c__Wno_unreachable_code_return" >&6; }
5570  if test x"$rra_cv_compiler_c__Wno_unreachable_code_return" = xyes
5571 then :
5572   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code-return"
5573 fi
5574  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unsafe-buffer-usage" >&5
5575 printf %s "checking if $CC supports -Wno-unsafe-buffer-usage... " >&6; }
5576  if test ${rra_cv_compiler_c__Wno_unsafe_buffer_usage+y}
5577 then :
5578   printf %s "(cached) " >&6
5579 else $as_nop
5580   save_CFLAGS=$CFLAGS
5581      if test x"$CLANG" = xyes
5582 then :
5583   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5584 fi
5585      case -Wno-unsafe-buffer-usage in #(
5586   -Wno-*) :
5587     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-unsafe-buffer-usage" | sed 's/-Wno-/-W/'`" ;; #(
5588   *) :
5589     CFLAGS="$CFLAGS -Wno-unsafe-buffer-usage" ;;
5590 esac
5591      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h.  */
5593
5594 int
5595 main (void)
5596 {
5597 int foo = 0;
5598   ;
5599   return 0;
5600 }
5601 _ACEOF
5602 if ac_fn_c_try_compile "$LINENO"
5603 then :
5604   rra_cv_compiler_c__Wno_unsafe_buffer_usage=yes
5605 else $as_nop
5606   rra_cv_compiler_c__Wno_unsafe_buffer_usage=no
5607 fi
5608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5609      CFLAGS=$save_CFLAGS
5610 fi
5611
5612  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unsafe_buffer_usage" >&5
5613 printf "%s\n" "$rra_cv_compiler_c__Wno_unsafe_buffer_usage" >&6; }
5614  if test x"$rra_cv_compiler_c__Wno_unsafe_buffer_usage" = xyes
5615 then :
5616   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unsafe-buffer-usage"
5617 fi
5618  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unused-macros" >&5
5619 printf %s "checking if $CC supports -Wno-unused-macros... " >&6; }
5620  if test ${rra_cv_compiler_c__Wno_unused_macros+y}
5621 then :
5622   printf %s "(cached) " >&6
5623 else $as_nop
5624   save_CFLAGS=$CFLAGS
5625      if test x"$CLANG" = xyes
5626 then :
5627   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5628 fi
5629      case -Wno-unused-macros in #(
5630   -Wno-*) :
5631     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-unused-macros" | sed 's/-Wno-/-W/'`" ;; #(
5632   *) :
5633     CFLAGS="$CFLAGS -Wno-unused-macros" ;;
5634 esac
5635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h.  */
5637
5638 int
5639 main (void)
5640 {
5641 int foo = 0;
5642   ;
5643   return 0;
5644 }
5645 _ACEOF
5646 if ac_fn_c_try_compile "$LINENO"
5647 then :
5648   rra_cv_compiler_c__Wno_unused_macros=yes
5649 else $as_nop
5650   rra_cv_compiler_c__Wno_unused_macros=no
5651 fi
5652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5653      CFLAGS=$save_CFLAGS
5654 fi
5655
5656  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unused_macros" >&5
5657 printf "%s\n" "$rra_cv_compiler_c__Wno_unused_macros" >&6; }
5658  if test x"$rra_cv_compiler_c__Wno_unused_macros" = xyes
5659 then :
5660   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unused-macros"
5661 fi
5662  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-used-but-marked-unused" >&5
5663 printf %s "checking if $CC supports -Wno-used-but-marked-unused... " >&6; }
5664  if test ${rra_cv_compiler_c__Wno_used_but_marked_unused+y}
5665 then :
5666   printf %s "(cached) " >&6
5667 else $as_nop
5668   save_CFLAGS=$CFLAGS
5669      if test x"$CLANG" = xyes
5670 then :
5671   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5672 fi
5673      case -Wno-used-but-marked-unused in #(
5674   -Wno-*) :
5675     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-used-but-marked-unused" | sed 's/-Wno-/-W/'`" ;; #(
5676   *) :
5677     CFLAGS="$CFLAGS -Wno-used-but-marked-unused" ;;
5678 esac
5679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h.  */
5681
5682 int
5683 main (void)
5684 {
5685 int foo = 0;
5686   ;
5687   return 0;
5688 }
5689 _ACEOF
5690 if ac_fn_c_try_compile "$LINENO"
5691 then :
5692   rra_cv_compiler_c__Wno_used_but_marked_unused=yes
5693 else $as_nop
5694   rra_cv_compiler_c__Wno_used_but_marked_unused=no
5695 fi
5696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5697      CFLAGS=$save_CFLAGS
5698 fi
5699
5700  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_used_but_marked_unused" >&5
5701 printf "%s\n" "$rra_cv_compiler_c__Wno_used_but_marked_unused" >&6; }
5702  if test x"$rra_cv_compiler_c__Wno_used_but_marked_unused" = xyes
5703 then :
5704   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-used-but-marked-unused"
5705 fi
5706 else $as_nop
5707   WARNINGS_CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2 -Werror"
5708
5709  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow" >&5
5710 printf %s "checking if $CC supports -fstrict-overflow... " >&6; }
5711  if test ${rra_cv_compiler_c__fstrict_overflow+y}
5712 then :
5713   printf %s "(cached) " >&6
5714 else $as_nop
5715   save_CFLAGS=$CFLAGS
5716      if test x"$CLANG" = xyes
5717 then :
5718   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5719 fi
5720      case -fstrict-overflow in #(
5721   -Wno-*) :
5722     CFLAGS="$CFLAGS `printf "%s\n" "-fstrict-overflow" | sed 's/-Wno-/-W/'`" ;; #(
5723   *) :
5724     CFLAGS="$CFLAGS -fstrict-overflow" ;;
5725 esac
5726      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h.  */
5728
5729 int
5730 main (void)
5731 {
5732 int foo = 0;
5733   ;
5734   return 0;
5735 }
5736 _ACEOF
5737 if ac_fn_c_try_compile "$LINENO"
5738 then :
5739   rra_cv_compiler_c__fstrict_overflow=yes
5740 else $as_nop
5741   rra_cv_compiler_c__fstrict_overflow=no
5742 fi
5743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5744      CFLAGS=$save_CFLAGS
5745 fi
5746
5747  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_overflow" >&5
5748 printf "%s\n" "$rra_cv_compiler_c__fstrict_overflow" >&6; }
5749  if test x"$rra_cv_compiler_c__fstrict_overflow" = xyes
5750 then :
5751   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-overflow"
5752 fi
5753  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-aliasing" >&5
5754 printf %s "checking if $CC supports -fstrict-aliasing... " >&6; }
5755  if test ${rra_cv_compiler_c__fstrict_aliasing+y}
5756 then :
5757   printf %s "(cached) " >&6
5758 else $as_nop
5759   save_CFLAGS=$CFLAGS
5760      if test x"$CLANG" = xyes
5761 then :
5762   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5763 fi
5764      case -fstrict-aliasing in #(
5765   -Wno-*) :
5766     CFLAGS="$CFLAGS `printf "%s\n" "-fstrict-aliasing" | sed 's/-Wno-/-W/'`" ;; #(
5767   *) :
5768     CFLAGS="$CFLAGS -fstrict-aliasing" ;;
5769 esac
5770      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h.  */
5772
5773 int
5774 main (void)
5775 {
5776 int foo = 0;
5777   ;
5778   return 0;
5779 }
5780 _ACEOF
5781 if ac_fn_c_try_compile "$LINENO"
5782 then :
5783   rra_cv_compiler_c__fstrict_aliasing=yes
5784 else $as_nop
5785   rra_cv_compiler_c__fstrict_aliasing=no
5786 fi
5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5788      CFLAGS=$save_CFLAGS
5789 fi
5790
5791  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_aliasing" >&5
5792 printf "%s\n" "$rra_cv_compiler_c__fstrict_aliasing" >&6; }
5793  if test x"$rra_cv_compiler_c__fstrict_aliasing" = xyes
5794 then :
5795   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-aliasing"
5796 fi
5797  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-flex-arrays=3" >&5
5798 printf %s "checking if $CC supports -fstrict-flex-arrays=3... " >&6; }
5799  if test ${rra_cv_compiler_c__fstrict_flex_arrays_3+y}
5800 then :
5801   printf %s "(cached) " >&6
5802 else $as_nop
5803   save_CFLAGS=$CFLAGS
5804      if test x"$CLANG" = xyes
5805 then :
5806   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5807 fi
5808      case -fstrict-flex-arrays=3 in #(
5809   -Wno-*) :
5810     CFLAGS="$CFLAGS `printf "%s\n" "-fstrict-flex-arrays=3" | sed 's/-Wno-/-W/'`" ;; #(
5811   *) :
5812     CFLAGS="$CFLAGS -fstrict-flex-arrays=3" ;;
5813 esac
5814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h.  */
5816
5817 int
5818 main (void)
5819 {
5820 int foo = 0;
5821   ;
5822   return 0;
5823 }
5824 _ACEOF
5825 if ac_fn_c_try_compile "$LINENO"
5826 then :
5827   rra_cv_compiler_c__fstrict_flex_arrays_3=yes
5828 else $as_nop
5829   rra_cv_compiler_c__fstrict_flex_arrays_3=no
5830 fi
5831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5832      CFLAGS=$save_CFLAGS
5833 fi
5834
5835  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_flex_arrays_3" >&5
5836 printf "%s\n" "$rra_cv_compiler_c__fstrict_flex_arrays_3" >&6; }
5837  if test x"$rra_cv_compiler_c__fstrict_flex_arrays_3" = xyes
5838 then :
5839   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-flex-arrays=3"
5840 fi
5841  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
5842 printf %s "checking if $CC supports -Wall... " >&6; }
5843  if test ${rra_cv_compiler_c__Wall+y}
5844 then :
5845   printf %s "(cached) " >&6
5846 else $as_nop
5847   save_CFLAGS=$CFLAGS
5848      if test x"$CLANG" = xyes
5849 then :
5850   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5851 fi
5852      case -Wall in #(
5853   -Wno-*) :
5854     CFLAGS="$CFLAGS `printf "%s\n" "-Wall" | sed 's/-Wno-/-W/'`" ;; #(
5855   *) :
5856     CFLAGS="$CFLAGS -Wall" ;;
5857 esac
5858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h.  */
5860
5861 int
5862 main (void)
5863 {
5864 int foo = 0;
5865   ;
5866   return 0;
5867 }
5868 _ACEOF
5869 if ac_fn_c_try_compile "$LINENO"
5870 then :
5871   rra_cv_compiler_c__Wall=yes
5872 else $as_nop
5873   rra_cv_compiler_c__Wall=no
5874 fi
5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5876      CFLAGS=$save_CFLAGS
5877 fi
5878
5879  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wall" >&5
5880 printf "%s\n" "$rra_cv_compiler_c__Wall" >&6; }
5881  if test x"$rra_cv_compiler_c__Wall" = xyes
5882 then :
5883   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wall"
5884 fi
5885  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wextra" >&5
5886 printf %s "checking if $CC supports -Wextra... " >&6; }
5887  if test ${rra_cv_compiler_c__Wextra+y}
5888 then :
5889   printf %s "(cached) " >&6
5890 else $as_nop
5891   save_CFLAGS=$CFLAGS
5892      if test x"$CLANG" = xyes
5893 then :
5894   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5895 fi
5896      case -Wextra in #(
5897   -Wno-*) :
5898     CFLAGS="$CFLAGS `printf "%s\n" "-Wextra" | sed 's/-Wno-/-W/'`" ;; #(
5899   *) :
5900     CFLAGS="$CFLAGS -Wextra" ;;
5901 esac
5902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h.  */
5904
5905 int
5906 main (void)
5907 {
5908 int foo = 0;
5909   ;
5910   return 0;
5911 }
5912 _ACEOF
5913 if ac_fn_c_try_compile "$LINENO"
5914 then :
5915   rra_cv_compiler_c__Wextra=yes
5916 else $as_nop
5917   rra_cv_compiler_c__Wextra=no
5918 fi
5919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5920      CFLAGS=$save_CFLAGS
5921 fi
5922
5923  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wextra" >&5
5924 printf "%s\n" "$rra_cv_compiler_c__Wextra" >&6; }
5925  if test x"$rra_cv_compiler_c__Wextra" = xyes
5926 then :
5927   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wextra"
5928 fi
5929  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5930 printf %s "checking if $CC supports -Wformat=2... " >&6; }
5931  if test ${rra_cv_compiler_c__Wformat_2+y}
5932 then :
5933   printf %s "(cached) " >&6
5934 else $as_nop
5935   save_CFLAGS=$CFLAGS
5936      if test x"$CLANG" = xyes
5937 then :
5938   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5939 fi
5940      case -Wformat=2 in #(
5941   -Wno-*) :
5942     CFLAGS="$CFLAGS `printf "%s\n" "-Wformat=2" | sed 's/-Wno-/-W/'`" ;; #(
5943   *) :
5944     CFLAGS="$CFLAGS -Wformat=2" ;;
5945 esac
5946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h.  */
5948
5949 int
5950 main (void)
5951 {
5952 int foo = 0;
5953   ;
5954   return 0;
5955 }
5956 _ACEOF
5957 if ac_fn_c_try_compile "$LINENO"
5958 then :
5959   rra_cv_compiler_c__Wformat_2=yes
5960 else $as_nop
5961   rra_cv_compiler_c__Wformat_2=no
5962 fi
5963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5964      CFLAGS=$save_CFLAGS
5965 fi
5966
5967  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_2" >&5
5968 printf "%s\n" "$rra_cv_compiler_c__Wformat_2" >&6; }
5969  if test x"$rra_cv_compiler_c__Wformat_2" = xyes
5970 then :
5971   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat=2"
5972 fi
5973  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-overflow=2" >&5
5974 printf %s "checking if $CC supports -Wformat-overflow=2... " >&6; }
5975  if test ${rra_cv_compiler_c__Wformat_overflow_2+y}
5976 then :
5977   printf %s "(cached) " >&6
5978 else $as_nop
5979   save_CFLAGS=$CFLAGS
5980      if test x"$CLANG" = xyes
5981 then :
5982   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5983 fi
5984      case -Wformat-overflow=2 in #(
5985   -Wno-*) :
5986     CFLAGS="$CFLAGS `printf "%s\n" "-Wformat-overflow=2" | sed 's/-Wno-/-W/'`" ;; #(
5987   *) :
5988     CFLAGS="$CFLAGS -Wformat-overflow=2" ;;
5989 esac
5990      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h.  */
5992
5993 int
5994 main (void)
5995 {
5996 int foo = 0;
5997   ;
5998   return 0;
5999 }
6000 _ACEOF
6001 if ac_fn_c_try_compile "$LINENO"
6002 then :
6003   rra_cv_compiler_c__Wformat_overflow_2=yes
6004 else $as_nop
6005   rra_cv_compiler_c__Wformat_overflow_2=no
6006 fi
6007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6008      CFLAGS=$save_CFLAGS
6009 fi
6010
6011  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_overflow_2" >&5
6012 printf "%s\n" "$rra_cv_compiler_c__Wformat_overflow_2" >&6; }
6013  if test x"$rra_cv_compiler_c__Wformat_overflow_2" = xyes
6014 then :
6015   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-overflow=2"
6016 fi
6017  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-signedness" >&5
6018 printf %s "checking if $CC supports -Wformat-signedness... " >&6; }
6019  if test ${rra_cv_compiler_c__Wformat_signedness+y}
6020 then :
6021   printf %s "(cached) " >&6
6022 else $as_nop
6023   save_CFLAGS=$CFLAGS
6024      if test x"$CLANG" = xyes
6025 then :
6026   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6027 fi
6028      case -Wformat-signedness in #(
6029   -Wno-*) :
6030     CFLAGS="$CFLAGS `printf "%s\n" "-Wformat-signedness" | sed 's/-Wno-/-W/'`" ;; #(
6031   *) :
6032     CFLAGS="$CFLAGS -Wformat-signedness" ;;
6033 esac
6034      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h.  */
6036
6037 int
6038 main (void)
6039 {
6040 int foo = 0;
6041   ;
6042   return 0;
6043 }
6044 _ACEOF
6045 if ac_fn_c_try_compile "$LINENO"
6046 then :
6047   rra_cv_compiler_c__Wformat_signedness=yes
6048 else $as_nop
6049   rra_cv_compiler_c__Wformat_signedness=no
6050 fi
6051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6052      CFLAGS=$save_CFLAGS
6053 fi
6054
6055  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_signedness" >&5
6056 printf "%s\n" "$rra_cv_compiler_c__Wformat_signedness" >&6; }
6057  if test x"$rra_cv_compiler_c__Wformat_signedness" = xyes
6058 then :
6059   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-signedness"
6060 fi
6061  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-truncation=2" >&5
6062 printf %s "checking if $CC supports -Wformat-truncation=2... " >&6; }
6063  if test ${rra_cv_compiler_c__Wformat_truncation_2+y}
6064 then :
6065   printf %s "(cached) " >&6
6066 else $as_nop
6067   save_CFLAGS=$CFLAGS
6068      if test x"$CLANG" = xyes
6069 then :
6070   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6071 fi
6072      case -Wformat-truncation=2 in #(
6073   -Wno-*) :
6074     CFLAGS="$CFLAGS `printf "%s\n" "-Wformat-truncation=2" | sed 's/-Wno-/-W/'`" ;; #(
6075   *) :
6076     CFLAGS="$CFLAGS -Wformat-truncation=2" ;;
6077 esac
6078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h.  */
6080
6081 int
6082 main (void)
6083 {
6084 int foo = 0;
6085   ;
6086   return 0;
6087 }
6088 _ACEOF
6089 if ac_fn_c_try_compile "$LINENO"
6090 then :
6091   rra_cv_compiler_c__Wformat_truncation_2=yes
6092 else $as_nop
6093   rra_cv_compiler_c__Wformat_truncation_2=no
6094 fi
6095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6096      CFLAGS=$save_CFLAGS
6097 fi
6098
6099  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_truncation_2" >&5
6100 printf "%s\n" "$rra_cv_compiler_c__Wformat_truncation_2" >&6; }
6101  if test x"$rra_cv_compiler_c__Wformat_truncation_2" = xyes
6102 then :
6103   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-truncation=2"
6104 fi
6105  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnull-dereference" >&5
6106 printf %s "checking if $CC supports -Wnull-dereference... " >&6; }
6107  if test ${rra_cv_compiler_c__Wnull_dereference+y}
6108 then :
6109   printf %s "(cached) " >&6
6110 else $as_nop
6111   save_CFLAGS=$CFLAGS
6112      if test x"$CLANG" = xyes
6113 then :
6114   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6115 fi
6116      case -Wnull-dereference in #(
6117   -Wno-*) :
6118     CFLAGS="$CFLAGS `printf "%s\n" "-Wnull-dereference" | sed 's/-Wno-/-W/'`" ;; #(
6119   *) :
6120     CFLAGS="$CFLAGS -Wnull-dereference" ;;
6121 esac
6122      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h.  */
6124
6125 int
6126 main (void)
6127 {
6128 int foo = 0;
6129   ;
6130   return 0;
6131 }
6132 _ACEOF
6133 if ac_fn_c_try_compile "$LINENO"
6134 then :
6135   rra_cv_compiler_c__Wnull_dereference=yes
6136 else $as_nop
6137   rra_cv_compiler_c__Wnull_dereference=no
6138 fi
6139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6140      CFLAGS=$save_CFLAGS
6141 fi
6142
6143  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnull_dereference" >&5
6144 printf "%s\n" "$rra_cv_compiler_c__Wnull_dereference" >&6; }
6145  if test x"$rra_cv_compiler_c__Wnull_dereference" = xyes
6146 then :
6147   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnull-dereference"
6148 fi
6149  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
6150 printf %s "checking if $CC supports -Winit-self... " >&6; }
6151  if test ${rra_cv_compiler_c__Winit_self+y}
6152 then :
6153   printf %s "(cached) " >&6
6154 else $as_nop
6155   save_CFLAGS=$CFLAGS
6156      if test x"$CLANG" = xyes
6157 then :
6158   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6159 fi
6160      case -Winit-self in #(
6161   -Wno-*) :
6162     CFLAGS="$CFLAGS `printf "%s\n" "-Winit-self" | sed 's/-Wno-/-W/'`" ;; #(
6163   *) :
6164     CFLAGS="$CFLAGS -Winit-self" ;;
6165 esac
6166      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h.  */
6168
6169 int
6170 main (void)
6171 {
6172 int foo = 0;
6173   ;
6174   return 0;
6175 }
6176 _ACEOF
6177 if ac_fn_c_try_compile "$LINENO"
6178 then :
6179   rra_cv_compiler_c__Winit_self=yes
6180 else $as_nop
6181   rra_cv_compiler_c__Winit_self=no
6182 fi
6183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6184      CFLAGS=$save_CFLAGS
6185 fi
6186
6187  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winit_self" >&5
6188 printf "%s\n" "$rra_cv_compiler_c__Winit_self" >&6; }
6189  if test x"$rra_cv_compiler_c__Winit_self" = xyes
6190 then :
6191   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winit-self"
6192 fi
6193  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wswitch-enum" >&5
6194 printf %s "checking if $CC supports -Wswitch-enum... " >&6; }
6195  if test ${rra_cv_compiler_c__Wswitch_enum+y}
6196 then :
6197   printf %s "(cached) " >&6
6198 else $as_nop
6199   save_CFLAGS=$CFLAGS
6200      if test x"$CLANG" = xyes
6201 then :
6202   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6203 fi
6204      case -Wswitch-enum in #(
6205   -Wno-*) :
6206     CFLAGS="$CFLAGS `printf "%s\n" "-Wswitch-enum" | sed 's/-Wno-/-W/'`" ;; #(
6207   *) :
6208     CFLAGS="$CFLAGS -Wswitch-enum" ;;
6209 esac
6210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h.  */
6212
6213 int
6214 main (void)
6215 {
6216 int foo = 0;
6217   ;
6218   return 0;
6219 }
6220 _ACEOF
6221 if ac_fn_c_try_compile "$LINENO"
6222 then :
6223   rra_cv_compiler_c__Wswitch_enum=yes
6224 else $as_nop
6225   rra_cv_compiler_c__Wswitch_enum=no
6226 fi
6227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6228      CFLAGS=$save_CFLAGS
6229 fi
6230
6231  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wswitch_enum" >&5
6232 printf "%s\n" "$rra_cv_compiler_c__Wswitch_enum" >&6; }
6233  if test x"$rra_cv_compiler_c__Wswitch_enum" = xyes
6234 then :
6235   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wswitch-enum"
6236 fi
6237  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-overflow=5" >&5
6238 printf %s "checking if $CC supports -Wstrict-overflow=5... " >&6; }
6239  if test ${rra_cv_compiler_c__Wstrict_overflow_5+y}
6240 then :
6241   printf %s "(cached) " >&6
6242 else $as_nop
6243   save_CFLAGS=$CFLAGS
6244      if test x"$CLANG" = xyes
6245 then :
6246   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6247 fi
6248      case -Wstrict-overflow=5 in #(
6249   -Wno-*) :
6250     CFLAGS="$CFLAGS `printf "%s\n" "-Wstrict-overflow=5" | sed 's/-Wno-/-W/'`" ;; #(
6251   *) :
6252     CFLAGS="$CFLAGS -Wstrict-overflow=5" ;;
6253 esac
6254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h.  */
6256
6257 int
6258 main (void)
6259 {
6260 int foo = 0;
6261   ;
6262   return 0;
6263 }
6264 _ACEOF
6265 if ac_fn_c_try_compile "$LINENO"
6266 then :
6267   rra_cv_compiler_c__Wstrict_overflow_5=yes
6268 else $as_nop
6269   rra_cv_compiler_c__Wstrict_overflow_5=no
6270 fi
6271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6272      CFLAGS=$save_CFLAGS
6273 fi
6274
6275  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_overflow_5" >&5
6276 printf "%s\n" "$rra_cv_compiler_c__Wstrict_overflow_5" >&6; }
6277  if test x"$rra_cv_compiler_c__Wstrict_overflow_5" = xyes
6278 then :
6279   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-overflow=5"
6280 fi
6281  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6282 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6283  if test ${rra_cv_compiler_c__Wmissing_format_attribute+y}
6284 then :
6285   printf %s "(cached) " >&6
6286 else $as_nop
6287   save_CFLAGS=$CFLAGS
6288      if test x"$CLANG" = xyes
6289 then :
6290   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6291 fi
6292      case -Wmissing-format-attribute in #(
6293   -Wno-*) :
6294     CFLAGS="$CFLAGS `printf "%s\n" "-Wmissing-format-attribute" | sed 's/-Wno-/-W/'`" ;; #(
6295   *) :
6296     CFLAGS="$CFLAGS -Wmissing-format-attribute" ;;
6297 esac
6298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h.  */
6300
6301 int
6302 main (void)
6303 {
6304 int foo = 0;
6305   ;
6306   return 0;
6307 }
6308 _ACEOF
6309 if ac_fn_c_try_compile "$LINENO"
6310 then :
6311   rra_cv_compiler_c__Wmissing_format_attribute=yes
6312 else $as_nop
6313   rra_cv_compiler_c__Wmissing_format_attribute=no
6314 fi
6315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6316      CFLAGS=$save_CFLAGS
6317 fi
6318
6319  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_format_attribute" >&5
6320 printf "%s\n" "$rra_cv_compiler_c__Wmissing_format_attribute" >&6; }
6321  if test x"$rra_cv_compiler_c__Wmissing_format_attribute" = xyes
6322 then :
6323   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-format-attribute"
6324 fi
6325  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Walloc-zero" >&5
6326 printf %s "checking if $CC supports -Walloc-zero... " >&6; }
6327  if test ${rra_cv_compiler_c__Walloc_zero+y}
6328 then :
6329   printf %s "(cached) " >&6
6330 else $as_nop
6331   save_CFLAGS=$CFLAGS
6332      if test x"$CLANG" = xyes
6333 then :
6334   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6335 fi
6336      case -Walloc-zero in #(
6337   -Wno-*) :
6338     CFLAGS="$CFLAGS `printf "%s\n" "-Walloc-zero" | sed 's/-Wno-/-W/'`" ;; #(
6339   *) :
6340     CFLAGS="$CFLAGS -Walloc-zero" ;;
6341 esac
6342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h.  */
6344
6345 int
6346 main (void)
6347 {
6348 int foo = 0;
6349   ;
6350   return 0;
6351 }
6352 _ACEOF
6353 if ac_fn_c_try_compile "$LINENO"
6354 then :
6355   rra_cv_compiler_c__Walloc_zero=yes
6356 else $as_nop
6357   rra_cv_compiler_c__Walloc_zero=no
6358 fi
6359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6360      CFLAGS=$save_CFLAGS
6361 fi
6362
6363  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Walloc_zero" >&5
6364 printf "%s\n" "$rra_cv_compiler_c__Walloc_zero" >&6; }
6365  if test x"$rra_cv_compiler_c__Walloc_zero" = xyes
6366 then :
6367   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Walloc-zero"
6368 fi
6369  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warith-conversion" >&5
6370 printf %s "checking if $CC supports -Warith-conversion... " >&6; }
6371  if test ${rra_cv_compiler_c__Warith_conversion+y}
6372 then :
6373   printf %s "(cached) " >&6
6374 else $as_nop
6375   save_CFLAGS=$CFLAGS
6376      if test x"$CLANG" = xyes
6377 then :
6378   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6379 fi
6380      case -Warith-conversion in #(
6381   -Wno-*) :
6382     CFLAGS="$CFLAGS `printf "%s\n" "-Warith-conversion" | sed 's/-Wno-/-W/'`" ;; #(
6383   *) :
6384     CFLAGS="$CFLAGS -Warith-conversion" ;;
6385 esac
6386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h.  */
6388
6389 int
6390 main (void)
6391 {
6392 int foo = 0;
6393   ;
6394   return 0;
6395 }
6396 _ACEOF
6397 if ac_fn_c_try_compile "$LINENO"
6398 then :
6399   rra_cv_compiler_c__Warith_conversion=yes
6400 else $as_nop
6401   rra_cv_compiler_c__Warith_conversion=no
6402 fi
6403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6404      CFLAGS=$save_CFLAGS
6405 fi
6406
6407  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Warith_conversion" >&5
6408 printf "%s\n" "$rra_cv_compiler_c__Warith_conversion" >&6; }
6409  if test x"$rra_cv_compiler_c__Warith_conversion" = xyes
6410 then :
6411   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Warith-conversion"
6412 fi
6413  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds=3" >&5
6414 printf %s "checking if $CC supports -Warray-bounds=3... " >&6; }
6415  if test ${rra_cv_compiler_c__Warray_bounds_3+y}
6416 then :
6417   printf %s "(cached) " >&6
6418 else $as_nop
6419   save_CFLAGS=$CFLAGS
6420      if test x"$CLANG" = xyes
6421 then :
6422   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6423 fi
6424      case -Warray-bounds=3 in #(
6425   -Wno-*) :
6426     CFLAGS="$CFLAGS `printf "%s\n" "-Warray-bounds=3" | sed 's/-Wno-/-W/'`" ;; #(
6427   *) :
6428     CFLAGS="$CFLAGS -Warray-bounds=3" ;;
6429 esac
6430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h.  */
6432
6433 int
6434 main (void)
6435 {
6436 int foo = 0;
6437   ;
6438   return 0;
6439 }
6440 _ACEOF
6441 if ac_fn_c_try_compile "$LINENO"
6442 then :
6443   rra_cv_compiler_c__Warray_bounds_3=yes
6444 else $as_nop
6445   rra_cv_compiler_c__Warray_bounds_3=no
6446 fi
6447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6448      CFLAGS=$save_CFLAGS
6449 fi
6450
6451  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Warray_bounds_3" >&5
6452 printf "%s\n" "$rra_cv_compiler_c__Warray_bounds_3" >&6; }
6453  if test x"$rra_cv_compiler_c__Warray_bounds_3" = xyes
6454 then :
6455   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Warray-bounds=3"
6456 fi
6457  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-branches" >&5
6458 printf %s "checking if $CC supports -Wduplicated-branches... " >&6; }
6459  if test ${rra_cv_compiler_c__Wduplicated_branches+y}
6460 then :
6461   printf %s "(cached) " >&6
6462 else $as_nop
6463   save_CFLAGS=$CFLAGS
6464      if test x"$CLANG" = xyes
6465 then :
6466   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6467 fi
6468      case -Wduplicated-branches in #(
6469   -Wno-*) :
6470     CFLAGS="$CFLAGS `printf "%s\n" "-Wduplicated-branches" | sed 's/-Wno-/-W/'`" ;; #(
6471   *) :
6472     CFLAGS="$CFLAGS -Wduplicated-branches" ;;
6473 esac
6474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h.  */
6476
6477 int
6478 main (void)
6479 {
6480 int foo = 0;
6481   ;
6482   return 0;
6483 }
6484 _ACEOF
6485 if ac_fn_c_try_compile "$LINENO"
6486 then :
6487   rra_cv_compiler_c__Wduplicated_branches=yes
6488 else $as_nop
6489   rra_cv_compiler_c__Wduplicated_branches=no
6490 fi
6491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6492      CFLAGS=$save_CFLAGS
6493 fi
6494
6495  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_branches" >&5
6496 printf "%s\n" "$rra_cv_compiler_c__Wduplicated_branches" >&6; }
6497  if test x"$rra_cv_compiler_c__Wduplicated_branches" = xyes
6498 then :
6499   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-branches"
6500 fi
6501  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-cond" >&5
6502 printf %s "checking if $CC supports -Wduplicated-cond... " >&6; }
6503  if test ${rra_cv_compiler_c__Wduplicated_cond+y}
6504 then :
6505   printf %s "(cached) " >&6
6506 else $as_nop
6507   save_CFLAGS=$CFLAGS
6508      if test x"$CLANG" = xyes
6509 then :
6510   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6511 fi
6512      case -Wduplicated-cond in #(
6513   -Wno-*) :
6514     CFLAGS="$CFLAGS `printf "%s\n" "-Wduplicated-cond" | sed 's/-Wno-/-W/'`" ;; #(
6515   *) :
6516     CFLAGS="$CFLAGS -Wduplicated-cond" ;;
6517 esac
6518      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h.  */
6520
6521 int
6522 main (void)
6523 {
6524 int foo = 0;
6525   ;
6526   return 0;
6527 }
6528 _ACEOF
6529 if ac_fn_c_try_compile "$LINENO"
6530 then :
6531   rra_cv_compiler_c__Wduplicated_cond=yes
6532 else $as_nop
6533   rra_cv_compiler_c__Wduplicated_cond=no
6534 fi
6535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6536      CFLAGS=$save_CFLAGS
6537 fi
6538
6539  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_cond" >&5
6540 printf "%s\n" "$rra_cv_compiler_c__Wduplicated_cond" >&6; }
6541  if test x"$rra_cv_compiler_c__Wduplicated_cond" = xyes
6542 then :
6543   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-cond"
6544 fi
6545  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrampolines" >&5
6546 printf %s "checking if $CC supports -Wtrampolines... " >&6; }
6547  if test ${rra_cv_compiler_c__Wtrampolines+y}
6548 then :
6549   printf %s "(cached) " >&6
6550 else $as_nop
6551   save_CFLAGS=$CFLAGS
6552      if test x"$CLANG" = xyes
6553 then :
6554   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6555 fi
6556      case -Wtrampolines in #(
6557   -Wno-*) :
6558     CFLAGS="$CFLAGS `printf "%s\n" "-Wtrampolines" | sed 's/-Wno-/-W/'`" ;; #(
6559   *) :
6560     CFLAGS="$CFLAGS -Wtrampolines" ;;
6561 esac
6562      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h.  */
6564
6565 int
6566 main (void)
6567 {
6568 int foo = 0;
6569   ;
6570   return 0;
6571 }
6572 _ACEOF
6573 if ac_fn_c_try_compile "$LINENO"
6574 then :
6575   rra_cv_compiler_c__Wtrampolines=yes
6576 else $as_nop
6577   rra_cv_compiler_c__Wtrampolines=no
6578 fi
6579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6580      CFLAGS=$save_CFLAGS
6581 fi
6582
6583  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wtrampolines" >&5
6584 printf "%s\n" "$rra_cv_compiler_c__Wtrampolines" >&6; }
6585  if test x"$rra_cv_compiler_c__Wtrampolines" = xyes
6586 then :
6587   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wtrampolines"
6588 fi
6589  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wfloat-equal" >&5
6590 printf %s "checking if $CC supports -Wfloat-equal... " >&6; }
6591  if test ${rra_cv_compiler_c__Wfloat_equal+y}
6592 then :
6593   printf %s "(cached) " >&6
6594 else $as_nop
6595   save_CFLAGS=$CFLAGS
6596      if test x"$CLANG" = xyes
6597 then :
6598   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6599 fi
6600      case -Wfloat-equal in #(
6601   -Wno-*) :
6602     CFLAGS="$CFLAGS `printf "%s\n" "-Wfloat-equal" | sed 's/-Wno-/-W/'`" ;; #(
6603   *) :
6604     CFLAGS="$CFLAGS -Wfloat-equal" ;;
6605 esac
6606      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h.  */
6608
6609 int
6610 main (void)
6611 {
6612 int foo = 0;
6613   ;
6614   return 0;
6615 }
6616 _ACEOF
6617 if ac_fn_c_try_compile "$LINENO"
6618 then :
6619   rra_cv_compiler_c__Wfloat_equal=yes
6620 else $as_nop
6621   rra_cv_compiler_c__Wfloat_equal=no
6622 fi
6623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6624      CFLAGS=$save_CFLAGS
6625 fi
6626
6627  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wfloat_equal" >&5
6628 printf "%s\n" "$rra_cv_compiler_c__Wfloat_equal" >&6; }
6629  if test x"$rra_cv_compiler_c__Wfloat_equal" = xyes
6630 then :
6631   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wfloat-equal"
6632 fi
6633  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
6634 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
6635  if test ${rra_cv_compiler_c__Wdeclaration_after_statement+y}
6636 then :
6637   printf %s "(cached) " >&6
6638 else $as_nop
6639   save_CFLAGS=$CFLAGS
6640      if test x"$CLANG" = xyes
6641 then :
6642   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6643 fi
6644      case -Wdeclaration-after-statement in #(
6645   -Wno-*) :
6646     CFLAGS="$CFLAGS `printf "%s\n" "-Wdeclaration-after-statement" | sed 's/-Wno-/-W/'`" ;; #(
6647   *) :
6648     CFLAGS="$CFLAGS -Wdeclaration-after-statement" ;;
6649 esac
6650      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h.  */
6652
6653 int
6654 main (void)
6655 {
6656 int foo = 0;
6657   ;
6658   return 0;
6659 }
6660 _ACEOF
6661 if ac_fn_c_try_compile "$LINENO"
6662 then :
6663   rra_cv_compiler_c__Wdeclaration_after_statement=yes
6664 else $as_nop
6665   rra_cv_compiler_c__Wdeclaration_after_statement=no
6666 fi
6667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6668      CFLAGS=$save_CFLAGS
6669 fi
6670
6671  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdeclaration_after_statement" >&5
6672 printf "%s\n" "$rra_cv_compiler_c__Wdeclaration_after_statement" >&6; }
6673  if test x"$rra_cv_compiler_c__Wdeclaration_after_statement" = xyes
6674 then :
6675   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdeclaration-after-statement"
6676 fi
6677  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6678 printf %s "checking if $CC supports -Wshadow... " >&6; }
6679  if test ${rra_cv_compiler_c__Wshadow+y}
6680 then :
6681   printf %s "(cached) " >&6
6682 else $as_nop
6683   save_CFLAGS=$CFLAGS
6684      if test x"$CLANG" = xyes
6685 then :
6686   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6687 fi
6688      case -Wshadow in #(
6689   -Wno-*) :
6690     CFLAGS="$CFLAGS `printf "%s\n" "-Wshadow" | sed 's/-Wno-/-W/'`" ;; #(
6691   *) :
6692     CFLAGS="$CFLAGS -Wshadow" ;;
6693 esac
6694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h.  */
6696
6697 int
6698 main (void)
6699 {
6700 int foo = 0;
6701   ;
6702   return 0;
6703 }
6704 _ACEOF
6705 if ac_fn_c_try_compile "$LINENO"
6706 then :
6707   rra_cv_compiler_c__Wshadow=yes
6708 else $as_nop
6709   rra_cv_compiler_c__Wshadow=no
6710 fi
6711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6712      CFLAGS=$save_CFLAGS
6713 fi
6714
6715  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wshadow" >&5
6716 printf "%s\n" "$rra_cv_compiler_c__Wshadow" >&6; }
6717  if test x"$rra_cv_compiler_c__Wshadow" = xyes
6718 then :
6719   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wshadow"
6720 fi
6721  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
6722 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
6723  if test ${rra_cv_compiler_c__Wpointer_arith+y}
6724 then :
6725   printf %s "(cached) " >&6
6726 else $as_nop
6727   save_CFLAGS=$CFLAGS
6728      if test x"$CLANG" = xyes
6729 then :
6730   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6731 fi
6732      case -Wpointer-arith in #(
6733   -Wno-*) :
6734     CFLAGS="$CFLAGS `printf "%s\n" "-Wpointer-arith" | sed 's/-Wno-/-W/'`" ;; #(
6735   *) :
6736     CFLAGS="$CFLAGS -Wpointer-arith" ;;
6737 esac
6738      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h.  */
6740
6741 int
6742 main (void)
6743 {
6744 int foo = 0;
6745   ;
6746   return 0;
6747 }
6748 _ACEOF
6749 if ac_fn_c_try_compile "$LINENO"
6750 then :
6751   rra_cv_compiler_c__Wpointer_arith=yes
6752 else $as_nop
6753   rra_cv_compiler_c__Wpointer_arith=no
6754 fi
6755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6756      CFLAGS=$save_CFLAGS
6757 fi
6758
6759  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpointer_arith" >&5
6760 printf "%s\n" "$rra_cv_compiler_c__Wpointer_arith" >&6; }
6761  if test x"$rra_cv_compiler_c__Wpointer_arith" = xyes
6762 then :
6763   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpointer-arith"
6764 fi
6765  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
6766 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
6767  if test ${rra_cv_compiler_c__Wbad_function_cast+y}
6768 then :
6769   printf %s "(cached) " >&6
6770 else $as_nop
6771   save_CFLAGS=$CFLAGS
6772      if test x"$CLANG" = xyes
6773 then :
6774   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6775 fi
6776      case -Wbad-function-cast in #(
6777   -Wno-*) :
6778     CFLAGS="$CFLAGS `printf "%s\n" "-Wbad-function-cast" | sed 's/-Wno-/-W/'`" ;; #(
6779   *) :
6780     CFLAGS="$CFLAGS -Wbad-function-cast" ;;
6781 esac
6782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h.  */
6784
6785 int
6786 main (void)
6787 {
6788 int foo = 0;
6789   ;
6790   return 0;
6791 }
6792 _ACEOF
6793 if ac_fn_c_try_compile "$LINENO"
6794 then :
6795   rra_cv_compiler_c__Wbad_function_cast=yes
6796 else $as_nop
6797   rra_cv_compiler_c__Wbad_function_cast=no
6798 fi
6799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6800      CFLAGS=$save_CFLAGS
6801 fi
6802
6803  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wbad_function_cast" >&5
6804 printf "%s\n" "$rra_cv_compiler_c__Wbad_function_cast" >&6; }
6805  if test x"$rra_cv_compiler_c__Wbad_function_cast" = xyes
6806 then :
6807   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wbad-function-cast"
6808 fi
6809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-align" >&5
6810 printf %s "checking if $CC supports -Wcast-align... " >&6; }
6811  if test ${rra_cv_compiler_c__Wcast_align+y}
6812 then :
6813   printf %s "(cached) " >&6
6814 else $as_nop
6815   save_CFLAGS=$CFLAGS
6816      if test x"$CLANG" = xyes
6817 then :
6818   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6819 fi
6820      case -Wcast-align in #(
6821   -Wno-*) :
6822     CFLAGS="$CFLAGS `printf "%s\n" "-Wcast-align" | sed 's/-Wno-/-W/'`" ;; #(
6823   *) :
6824     CFLAGS="$CFLAGS -Wcast-align" ;;
6825 esac
6826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h.  */
6828
6829 int
6830 main (void)
6831 {
6832 int foo = 0;
6833   ;
6834   return 0;
6835 }
6836 _ACEOF
6837 if ac_fn_c_try_compile "$LINENO"
6838 then :
6839   rra_cv_compiler_c__Wcast_align=yes
6840 else $as_nop
6841   rra_cv_compiler_c__Wcast_align=no
6842 fi
6843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6844      CFLAGS=$save_CFLAGS
6845 fi
6846
6847  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wcast_align" >&5
6848 printf "%s\n" "$rra_cv_compiler_c__Wcast_align" >&6; }
6849  if test x"$rra_cv_compiler_c__Wcast_align" = xyes
6850 then :
6851   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wcast-align"
6852 fi
6853  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
6854 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
6855  if test ${rra_cv_compiler_c__Wwrite_strings+y}
6856 then :
6857   printf %s "(cached) " >&6
6858 else $as_nop
6859   save_CFLAGS=$CFLAGS
6860      if test x"$CLANG" = xyes
6861 then :
6862   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6863 fi
6864      case -Wwrite-strings in #(
6865   -Wno-*) :
6866     CFLAGS="$CFLAGS `printf "%s\n" "-Wwrite-strings" | sed 's/-Wno-/-W/'`" ;; #(
6867   *) :
6868     CFLAGS="$CFLAGS -Wwrite-strings" ;;
6869 esac
6870      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h.  */
6872
6873 int
6874 main (void)
6875 {
6876 int foo = 0;
6877   ;
6878   return 0;
6879 }
6880 _ACEOF
6881 if ac_fn_c_try_compile "$LINENO"
6882 then :
6883   rra_cv_compiler_c__Wwrite_strings=yes
6884 else $as_nop
6885   rra_cv_compiler_c__Wwrite_strings=no
6886 fi
6887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6888      CFLAGS=$save_CFLAGS
6889 fi
6890
6891  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wwrite_strings" >&5
6892 printf "%s\n" "$rra_cv_compiler_c__Wwrite_strings" >&6; }
6893  if test x"$rra_cv_compiler_c__Wwrite_strings" = xyes
6894 then :
6895   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wwrite-strings"
6896 fi
6897  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wconversion" >&5
6898 printf %s "checking if $CC supports -Wconversion... " >&6; }
6899  if test ${rra_cv_compiler_c__Wconversion+y}
6900 then :
6901   printf %s "(cached) " >&6
6902 else $as_nop
6903   save_CFLAGS=$CFLAGS
6904      if test x"$CLANG" = xyes
6905 then :
6906   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6907 fi
6908      case -Wconversion in #(
6909   -Wno-*) :
6910     CFLAGS="$CFLAGS `printf "%s\n" "-Wconversion" | sed 's/-Wno-/-W/'`" ;; #(
6911   *) :
6912     CFLAGS="$CFLAGS -Wconversion" ;;
6913 esac
6914      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h.  */
6916
6917 int
6918 main (void)
6919 {
6920 int foo = 0;
6921   ;
6922   return 0;
6923 }
6924 _ACEOF
6925 if ac_fn_c_try_compile "$LINENO"
6926 then :
6927   rra_cv_compiler_c__Wconversion=yes
6928 else $as_nop
6929   rra_cv_compiler_c__Wconversion=no
6930 fi
6931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6932      CFLAGS=$save_CFLAGS
6933 fi
6934
6935  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wconversion" >&5
6936 printf "%s\n" "$rra_cv_compiler_c__Wconversion" >&6; }
6937  if test x"$rra_cv_compiler_c__Wconversion" = xyes
6938 then :
6939   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wconversion"
6940 fi
6941  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
6942 printf %s "checking if $CC supports -Wno-sign-conversion... " >&6; }
6943  if test ${rra_cv_compiler_c__Wno_sign_conversion+y}
6944 then :
6945   printf %s "(cached) " >&6
6946 else $as_nop
6947   save_CFLAGS=$CFLAGS
6948      if test x"$CLANG" = xyes
6949 then :
6950   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6951 fi
6952      case -Wno-sign-conversion in #(
6953   -Wno-*) :
6954     CFLAGS="$CFLAGS `printf "%s\n" "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
6955   *) :
6956     CFLAGS="$CFLAGS -Wno-sign-conversion" ;;
6957 esac
6958      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h.  */
6960
6961 int
6962 main (void)
6963 {
6964 int foo = 0;
6965   ;
6966   return 0;
6967 }
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"
6970 then :
6971   rra_cv_compiler_c__Wno_sign_conversion=yes
6972 else $as_nop
6973   rra_cv_compiler_c__Wno_sign_conversion=no
6974 fi
6975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6976      CFLAGS=$save_CFLAGS
6977 fi
6978
6979  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
6980 printf "%s\n" "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
6981  if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes
6982 then :
6983   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
6984 fi
6985  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdate-time" >&5
6986 printf %s "checking if $CC supports -Wdate-time... " >&6; }
6987  if test ${rra_cv_compiler_c__Wdate_time+y}
6988 then :
6989   printf %s "(cached) " >&6
6990 else $as_nop
6991   save_CFLAGS=$CFLAGS
6992      if test x"$CLANG" = xyes
6993 then :
6994   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6995 fi
6996      case -Wdate-time in #(
6997   -Wno-*) :
6998     CFLAGS="$CFLAGS `printf "%s\n" "-Wdate-time" | sed 's/-Wno-/-W/'`" ;; #(
6999   *) :
7000     CFLAGS="$CFLAGS -Wdate-time" ;;
7001 esac
7002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h.  */
7004
7005 int
7006 main (void)
7007 {
7008 int foo = 0;
7009   ;
7010   return 0;
7011 }
7012 _ACEOF
7013 if ac_fn_c_try_compile "$LINENO"
7014 then :
7015   rra_cv_compiler_c__Wdate_time=yes
7016 else $as_nop
7017   rra_cv_compiler_c__Wdate_time=no
7018 fi
7019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7020      CFLAGS=$save_CFLAGS
7021 fi
7022
7023  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdate_time" >&5
7024 printf "%s\n" "$rra_cv_compiler_c__Wdate_time" >&6; }
7025  if test x"$rra_cv_compiler_c__Wdate_time" = xyes
7026 then :
7027   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdate-time"
7028 fi
7029  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wjump-misses-init" >&5
7030 printf %s "checking if $CC supports -Wjump-misses-init... " >&6; }
7031  if test ${rra_cv_compiler_c__Wjump_misses_init+y}
7032 then :
7033   printf %s "(cached) " >&6
7034 else $as_nop
7035   save_CFLAGS=$CFLAGS
7036      if test x"$CLANG" = xyes
7037 then :
7038   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7039 fi
7040      case -Wjump-misses-init in #(
7041   -Wno-*) :
7042     CFLAGS="$CFLAGS `printf "%s\n" "-Wjump-misses-init" | sed 's/-Wno-/-W/'`" ;; #(
7043   *) :
7044     CFLAGS="$CFLAGS -Wjump-misses-init" ;;
7045 esac
7046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h.  */
7048
7049 int
7050 main (void)
7051 {
7052 int foo = 0;
7053   ;
7054   return 0;
7055 }
7056 _ACEOF
7057 if ac_fn_c_try_compile "$LINENO"
7058 then :
7059   rra_cv_compiler_c__Wjump_misses_init=yes
7060 else $as_nop
7061   rra_cv_compiler_c__Wjump_misses_init=no
7062 fi
7063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7064      CFLAGS=$save_CFLAGS
7065 fi
7066
7067  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wjump_misses_init" >&5
7068 printf "%s\n" "$rra_cv_compiler_c__Wjump_misses_init" >&6; }
7069  if test x"$rra_cv_compiler_c__Wjump_misses_init" = xyes
7070 then :
7071   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wjump-misses-init"
7072 fi
7073  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
7074 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
7075  if test ${rra_cv_compiler_c__Wlogical_op+y}
7076 then :
7077   printf %s "(cached) " >&6
7078 else $as_nop
7079   save_CFLAGS=$CFLAGS
7080      if test x"$CLANG" = xyes
7081 then :
7082   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7083 fi
7084      case -Wlogical-op in #(
7085   -Wno-*) :
7086     CFLAGS="$CFLAGS `printf "%s\n" "-Wlogical-op" | sed 's/-Wno-/-W/'`" ;; #(
7087   *) :
7088     CFLAGS="$CFLAGS -Wlogical-op" ;;
7089 esac
7090      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h.  */
7092
7093 int
7094 main (void)
7095 {
7096 int foo = 0;
7097   ;
7098   return 0;
7099 }
7100 _ACEOF
7101 if ac_fn_c_try_compile "$LINENO"
7102 then :
7103   rra_cv_compiler_c__Wlogical_op=yes
7104 else $as_nop
7105   rra_cv_compiler_c__Wlogical_op=no
7106 fi
7107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7108      CFLAGS=$save_CFLAGS
7109 fi
7110
7111  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wlogical_op" >&5
7112 printf "%s\n" "$rra_cv_compiler_c__Wlogical_op" >&6; }
7113  if test x"$rra_cv_compiler_c__Wlogical_op" = xyes
7114 then :
7115   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wlogical-op"
7116 fi
7117  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
7118 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
7119  if test ${rra_cv_compiler_c__Wstrict_prototypes+y}
7120 then :
7121   printf %s "(cached) " >&6
7122 else $as_nop
7123   save_CFLAGS=$CFLAGS
7124      if test x"$CLANG" = xyes
7125 then :
7126   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7127 fi
7128      case -Wstrict-prototypes in #(
7129   -Wno-*) :
7130     CFLAGS="$CFLAGS `printf "%s\n" "-Wstrict-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
7131   *) :
7132     CFLAGS="$CFLAGS -Wstrict-prototypes" ;;
7133 esac
7134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h.  */
7136
7137 int
7138 main (void)
7139 {
7140 int foo = 0;
7141   ;
7142   return 0;
7143 }
7144 _ACEOF
7145 if ac_fn_c_try_compile "$LINENO"
7146 then :
7147   rra_cv_compiler_c__Wstrict_prototypes=yes
7148 else $as_nop
7149   rra_cv_compiler_c__Wstrict_prototypes=no
7150 fi
7151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7152      CFLAGS=$save_CFLAGS
7153 fi
7154
7155  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_prototypes" >&5
7156 printf "%s\n" "$rra_cv_compiler_c__Wstrict_prototypes" >&6; }
7157  if test x"$rra_cv_compiler_c__Wstrict_prototypes" = xyes
7158 then :
7159   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-prototypes"
7160 fi
7161  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
7162 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
7163  if test ${rra_cv_compiler_c__Wold_style_definition+y}
7164 then :
7165   printf %s "(cached) " >&6
7166 else $as_nop
7167   save_CFLAGS=$CFLAGS
7168      if test x"$CLANG" = xyes
7169 then :
7170   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7171 fi
7172      case -Wold-style-definition in #(
7173   -Wno-*) :
7174     CFLAGS="$CFLAGS `printf "%s\n" "-Wold-style-definition" | sed 's/-Wno-/-W/'`" ;; #(
7175   *) :
7176     CFLAGS="$CFLAGS -Wold-style-definition" ;;
7177 esac
7178      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h.  */
7180
7181 int
7182 main (void)
7183 {
7184 int foo = 0;
7185   ;
7186   return 0;
7187 }
7188 _ACEOF
7189 if ac_fn_c_try_compile "$LINENO"
7190 then :
7191   rra_cv_compiler_c__Wold_style_definition=yes
7192 else $as_nop
7193   rra_cv_compiler_c__Wold_style_definition=no
7194 fi
7195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7196      CFLAGS=$save_CFLAGS
7197 fi
7198
7199  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wold_style_definition" >&5
7200 printf "%s\n" "$rra_cv_compiler_c__Wold_style_definition" >&6; }
7201  if test x"$rra_cv_compiler_c__Wold_style_definition" = xyes
7202 then :
7203   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wold-style-definition"
7204 fi
7205  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
7206 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
7207  if test ${rra_cv_compiler_c__Wmissing_prototypes+y}
7208 then :
7209   printf %s "(cached) " >&6
7210 else $as_nop
7211   save_CFLAGS=$CFLAGS
7212      if test x"$CLANG" = xyes
7213 then :
7214   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7215 fi
7216      case -Wmissing-prototypes in #(
7217   -Wno-*) :
7218     CFLAGS="$CFLAGS `printf "%s\n" "-Wmissing-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
7219   *) :
7220     CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
7221 esac
7222      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h.  */
7224
7225 int
7226 main (void)
7227 {
7228 int foo = 0;
7229   ;
7230   return 0;
7231 }
7232 _ACEOF
7233 if ac_fn_c_try_compile "$LINENO"
7234 then :
7235   rra_cv_compiler_c__Wmissing_prototypes=yes
7236 else $as_nop
7237   rra_cv_compiler_c__Wmissing_prototypes=no
7238 fi
7239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7240      CFLAGS=$save_CFLAGS
7241 fi
7242
7243  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_prototypes" >&5
7244 printf "%s\n" "$rra_cv_compiler_c__Wmissing_prototypes" >&6; }
7245  if test x"$rra_cv_compiler_c__Wmissing_prototypes" = xyes
7246 then :
7247   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-prototypes"
7248 fi
7249  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
7250 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
7251  if test ${rra_cv_compiler_c__Wmissing_declarations+y}
7252 then :
7253   printf %s "(cached) " >&6
7254 else $as_nop
7255   save_CFLAGS=$CFLAGS
7256      if test x"$CLANG" = xyes
7257 then :
7258   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7259 fi
7260      case -Wmissing-declarations in #(
7261   -Wno-*) :
7262     CFLAGS="$CFLAGS `printf "%s\n" "-Wmissing-declarations" | sed 's/-Wno-/-W/'`" ;; #(
7263   *) :
7264     CFLAGS="$CFLAGS -Wmissing-declarations" ;;
7265 esac
7266      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h.  */
7268
7269 int
7270 main (void)
7271 {
7272 int foo = 0;
7273   ;
7274   return 0;
7275 }
7276 _ACEOF
7277 if ac_fn_c_try_compile "$LINENO"
7278 then :
7279   rra_cv_compiler_c__Wmissing_declarations=yes
7280 else $as_nop
7281   rra_cv_compiler_c__Wmissing_declarations=no
7282 fi
7283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7284      CFLAGS=$save_CFLAGS
7285 fi
7286
7287  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_declarations" >&5
7288 printf "%s\n" "$rra_cv_compiler_c__Wmissing_declarations" >&6; }
7289  if test x"$rra_cv_compiler_c__Wmissing_declarations" = xyes
7290 then :
7291   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-declarations"
7292 fi
7293  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnormalized=nfc" >&5
7294 printf %s "checking if $CC supports -Wnormalized=nfc... " >&6; }
7295  if test ${rra_cv_compiler_c__Wnormalized_nfc+y}
7296 then :
7297   printf %s "(cached) " >&6
7298 else $as_nop
7299   save_CFLAGS=$CFLAGS
7300      if test x"$CLANG" = xyes
7301 then :
7302   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7303 fi
7304      case -Wnormalized=nfc in #(
7305   -Wno-*) :
7306     CFLAGS="$CFLAGS `printf "%s\n" "-Wnormalized=nfc" | sed 's/-Wno-/-W/'`" ;; #(
7307   *) :
7308     CFLAGS="$CFLAGS -Wnormalized=nfc" ;;
7309 esac
7310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311 /* end confdefs.h.  */
7312
7313 int
7314 main (void)
7315 {
7316 int foo = 0;
7317   ;
7318   return 0;
7319 }
7320 _ACEOF
7321 if ac_fn_c_try_compile "$LINENO"
7322 then :
7323   rra_cv_compiler_c__Wnormalized_nfc=yes
7324 else $as_nop
7325   rra_cv_compiler_c__Wnormalized_nfc=no
7326 fi
7327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7328      CFLAGS=$save_CFLAGS
7329 fi
7330
7331  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnormalized_nfc" >&5
7332 printf "%s\n" "$rra_cv_compiler_c__Wnormalized_nfc" >&6; }
7333  if test x"$rra_cv_compiler_c__Wnormalized_nfc" = xyes
7334 then :
7335   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnormalized=nfc"
7336 fi
7337  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpacked" >&5
7338 printf %s "checking if $CC supports -Wpacked... " >&6; }
7339  if test ${rra_cv_compiler_c__Wpacked+y}
7340 then :
7341   printf %s "(cached) " >&6
7342 else $as_nop
7343   save_CFLAGS=$CFLAGS
7344      if test x"$CLANG" = xyes
7345 then :
7346   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7347 fi
7348      case -Wpacked in #(
7349   -Wno-*) :
7350     CFLAGS="$CFLAGS `printf "%s\n" "-Wpacked" | sed 's/-Wno-/-W/'`" ;; #(
7351   *) :
7352     CFLAGS="$CFLAGS -Wpacked" ;;
7353 esac
7354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h.  */
7356
7357 int
7358 main (void)
7359 {
7360 int foo = 0;
7361   ;
7362   return 0;
7363 }
7364 _ACEOF
7365 if ac_fn_c_try_compile "$LINENO"
7366 then :
7367   rra_cv_compiler_c__Wpacked=yes
7368 else $as_nop
7369   rra_cv_compiler_c__Wpacked=no
7370 fi
7371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7372      CFLAGS=$save_CFLAGS
7373 fi
7374
7375  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpacked" >&5
7376 printf "%s\n" "$rra_cv_compiler_c__Wpacked" >&6; }
7377  if test x"$rra_cv_compiler_c__Wpacked" = xyes
7378 then :
7379   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpacked"
7380 fi
7381  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
7382 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
7383  if test ${rra_cv_compiler_c__Wredundant_decls+y}
7384 then :
7385   printf %s "(cached) " >&6
7386 else $as_nop
7387   save_CFLAGS=$CFLAGS
7388      if test x"$CLANG" = xyes
7389 then :
7390   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7391 fi
7392      case -Wredundant-decls in #(
7393   -Wno-*) :
7394     CFLAGS="$CFLAGS `printf "%s\n" "-Wredundant-decls" | sed 's/-Wno-/-W/'`" ;; #(
7395   *) :
7396     CFLAGS="$CFLAGS -Wredundant-decls" ;;
7397 esac
7398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h.  */
7400
7401 int
7402 main (void)
7403 {
7404 int foo = 0;
7405   ;
7406   return 0;
7407 }
7408 _ACEOF
7409 if ac_fn_c_try_compile "$LINENO"
7410 then :
7411   rra_cv_compiler_c__Wredundant_decls=yes
7412 else $as_nop
7413   rra_cv_compiler_c__Wredundant_decls=no
7414 fi
7415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7416      CFLAGS=$save_CFLAGS
7417 fi
7418
7419  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wredundant_decls" >&5
7420 printf "%s\n" "$rra_cv_compiler_c__Wredundant_decls" >&6; }
7421  if test x"$rra_cv_compiler_c__Wredundant_decls" = xyes
7422 then :
7423   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wredundant-decls"
7424 fi
7425  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wrestrict" >&5
7426 printf %s "checking if $CC supports -Wrestrict... " >&6; }
7427  if test ${rra_cv_compiler_c__Wrestrict+y}
7428 then :
7429   printf %s "(cached) " >&6
7430 else $as_nop
7431   save_CFLAGS=$CFLAGS
7432      if test x"$CLANG" = xyes
7433 then :
7434   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7435 fi
7436      case -Wrestrict in #(
7437   -Wno-*) :
7438     CFLAGS="$CFLAGS `printf "%s\n" "-Wrestrict" | sed 's/-Wno-/-W/'`" ;; #(
7439   *) :
7440     CFLAGS="$CFLAGS -Wrestrict" ;;
7441 esac
7442      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h.  */
7444
7445 int
7446 main (void)
7447 {
7448 int foo = 0;
7449   ;
7450   return 0;
7451 }
7452 _ACEOF
7453 if ac_fn_c_try_compile "$LINENO"
7454 then :
7455   rra_cv_compiler_c__Wrestrict=yes
7456 else $as_nop
7457   rra_cv_compiler_c__Wrestrict=no
7458 fi
7459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7460      CFLAGS=$save_CFLAGS
7461 fi
7462
7463  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wrestrict" >&5
7464 printf "%s\n" "$rra_cv_compiler_c__Wrestrict" >&6; }
7465  if test x"$rra_cv_compiler_c__Wrestrict" = xyes
7466 then :
7467   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wrestrict"
7468 fi
7469  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
7470 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
7471  if test ${rra_cv_compiler_c__Wnested_externs+y}
7472 then :
7473   printf %s "(cached) " >&6
7474 else $as_nop
7475   save_CFLAGS=$CFLAGS
7476      if test x"$CLANG" = xyes
7477 then :
7478   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7479 fi
7480      case -Wnested-externs in #(
7481   -Wno-*) :
7482     CFLAGS="$CFLAGS `printf "%s\n" "-Wnested-externs" | sed 's/-Wno-/-W/'`" ;; #(
7483   *) :
7484     CFLAGS="$CFLAGS -Wnested-externs" ;;
7485 esac
7486      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h.  */
7488
7489 int
7490 main (void)
7491 {
7492 int foo = 0;
7493   ;
7494   return 0;
7495 }
7496 _ACEOF
7497 if ac_fn_c_try_compile "$LINENO"
7498 then :
7499   rra_cv_compiler_c__Wnested_externs=yes
7500 else $as_nop
7501   rra_cv_compiler_c__Wnested_externs=no
7502 fi
7503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7504      CFLAGS=$save_CFLAGS
7505 fi
7506
7507  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnested_externs" >&5
7508 printf "%s\n" "$rra_cv_compiler_c__Wnested_externs" >&6; }
7509  if test x"$rra_cv_compiler_c__Wnested_externs" = xyes
7510 then :
7511   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnested-externs"
7512 fi
7513  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winline" >&5
7514 printf %s "checking if $CC supports -Winline... " >&6; }
7515  if test ${rra_cv_compiler_c__Winline+y}
7516 then :
7517   printf %s "(cached) " >&6
7518 else $as_nop
7519   save_CFLAGS=$CFLAGS
7520      if test x"$CLANG" = xyes
7521 then :
7522   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7523 fi
7524      case -Winline in #(
7525   -Wno-*) :
7526     CFLAGS="$CFLAGS `printf "%s\n" "-Winline" | sed 's/-Wno-/-W/'`" ;; #(
7527   *) :
7528     CFLAGS="$CFLAGS -Winline" ;;
7529 esac
7530      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h.  */
7532
7533 int
7534 main (void)
7535 {
7536 int foo = 0;
7537   ;
7538   return 0;
7539 }
7540 _ACEOF
7541 if ac_fn_c_try_compile "$LINENO"
7542 then :
7543   rra_cv_compiler_c__Winline=yes
7544 else $as_nop
7545   rra_cv_compiler_c__Winline=no
7546 fi
7547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7548      CFLAGS=$save_CFLAGS
7549 fi
7550
7551  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winline" >&5
7552 printf "%s\n" "$rra_cv_compiler_c__Winline" >&6; }
7553  if test x"$rra_cv_compiler_c__Winline" = xyes
7554 then :
7555   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winline"
7556 fi
7557  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wvla" >&5
7558 printf %s "checking if $CC supports -Wvla... " >&6; }
7559  if test ${rra_cv_compiler_c__Wvla+y}
7560 then :
7561   printf %s "(cached) " >&6
7562 else $as_nop
7563   save_CFLAGS=$CFLAGS
7564      if test x"$CLANG" = xyes
7565 then :
7566   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7567 fi
7568      case -Wvla in #(
7569   -Wno-*) :
7570     CFLAGS="$CFLAGS `printf "%s\n" "-Wvla" | sed 's/-Wno-/-W/'`" ;; #(
7571   *) :
7572     CFLAGS="$CFLAGS -Wvla" ;;
7573 esac
7574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h.  */
7576
7577 int
7578 main (void)
7579 {
7580 int foo = 0;
7581   ;
7582   return 0;
7583 }
7584 _ACEOF
7585 if ac_fn_c_try_compile "$LINENO"
7586 then :
7587   rra_cv_compiler_c__Wvla=yes
7588 else $as_nop
7589   rra_cv_compiler_c__Wvla=no
7590 fi
7591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7592      CFLAGS=$save_CFLAGS
7593 fi
7594
7595  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wvla" >&5
7596 printf "%s\n" "$rra_cv_compiler_c__Wvla" >&6; }
7597  if test x"$rra_cv_compiler_c__Wvla" = xyes
7598 then :
7599   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wvla"
7600 fi
7601  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuse-after-free=3" >&5
7602 printf %s "checking if $CC supports -Wuse-after-free=3... " >&6; }
7603  if test ${rra_cv_compiler_c__Wuse_after_free_3+y}
7604 then :
7605   printf %s "(cached) " >&6
7606 else $as_nop
7607   save_CFLAGS=$CFLAGS
7608      if test x"$CLANG" = xyes
7609 then :
7610   CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7611 fi
7612      case -Wuse-after-free=3 in #(
7613   -Wno-*) :
7614     CFLAGS="$CFLAGS `printf "%s\n" "-Wuse-after-free=3" | sed 's/-Wno-/-W/'`" ;; #(
7615   *) :
7616     CFLAGS="$CFLAGS -Wuse-after-free=3" ;;
7617 esac
7618      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h.  */
7620
7621 int
7622 main (void)
7623 {
7624 int foo = 0;
7625   ;
7626   return 0;
7627 }
7628 _ACEOF
7629 if ac_fn_c_try_compile "$LINENO"
7630 then :
7631   rra_cv_compiler_c__Wuse_after_free_3=yes
7632 else $as_nop
7633   rra_cv_compiler_c__Wuse_after_free_3=no
7634 fi
7635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7636      CFLAGS=$save_CFLAGS
7637 fi
7638
7639  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wuse_after_free_3" >&5
7640 printf "%s\n" "$rra_cv_compiler_c__Wuse_after_free_3" >&6; }
7641  if test x"$rra_cv_compiler_c__Wuse_after_free_3" = xyes
7642 then :
7643   WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wuse-after-free=3"
7644 fi
7645 fi
7646
7647 # Check whether --enable-largefile was given.
7648 if test ${enable_largefile+y}
7649 then :
7650   enableval=$enable_largefile;
7651 fi
7652
7653 if test "$enable_largefile" != no; then
7654
7655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7656 printf %s "checking for special C compiler options needed for large files... " >&6; }
7657 if test ${ac_cv_sys_largefile_CC+y}
7658 then :
7659   printf %s "(cached) " >&6
7660 else $as_nop
7661   ac_cv_sys_largefile_CC=no
7662      if test "$GCC" != yes; then
7663        ac_save_CC=$CC
7664        while :; do
7665          # IRIX 6.2 and later do not support large files by default,
7666          # so use the C compiler's -n32 option if that helps.
7667          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h.  */
7669 #include <sys/types.h>
7670  /* Check that off_t can represent 2**63 - 1 correctly.
7671     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7672     since some C++ compilers masquerading as C compilers
7673     incorrectly reject 9223372036854775807.  */
7674 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7675   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7676                        && LARGE_OFF_T % 2147483647 == 1)
7677                       ? 1 : -1];
7678 int
7679 main (void)
7680 {
7681
7682   ;
7683   return 0;
7684 }
7685 _ACEOF
7686          if ac_fn_c_try_compile "$LINENO"
7687 then :
7688   break
7689 fi
7690 rm -f core conftest.err conftest.$ac_objext conftest.beam
7691          CC="$CC -n32"
7692          if ac_fn_c_try_compile "$LINENO"
7693 then :
7694   ac_cv_sys_largefile_CC=' -n32'; break
7695 fi
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam
7697          break
7698        done
7699        CC=$ac_save_CC
7700        rm -f conftest.$ac_ext
7701     fi
7702 fi
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7704 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7705   if test "$ac_cv_sys_largefile_CC" != no; then
7706     CC=$CC$ac_cv_sys_largefile_CC
7707   fi
7708
7709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7710 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7711 if test ${ac_cv_sys_file_offset_bits+y}
7712 then :
7713   printf %s "(cached) " >&6
7714 else $as_nop
7715   while :; do
7716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h.  */
7718 #include <sys/types.h>
7719  /* Check that off_t can represent 2**63 - 1 correctly.
7720     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7721     since some C++ compilers masquerading as C compilers
7722     incorrectly reject 9223372036854775807.  */
7723 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7724   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7725                        && LARGE_OFF_T % 2147483647 == 1)
7726                       ? 1 : -1];
7727 int
7728 main (void)
7729 {
7730
7731   ;
7732   return 0;
7733 }
7734 _ACEOF
7735 if ac_fn_c_try_compile "$LINENO"
7736 then :
7737   ac_cv_sys_file_offset_bits=no; break
7738 fi
7739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h.  */
7742 #define _FILE_OFFSET_BITS 64
7743 #include <sys/types.h>
7744  /* Check that off_t can represent 2**63 - 1 correctly.
7745     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7746     since some C++ compilers masquerading as C compilers
7747     incorrectly reject 9223372036854775807.  */
7748 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7749   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7750                        && LARGE_OFF_T % 2147483647 == 1)
7751                       ? 1 : -1];
7752 int
7753 main (void)
7754 {
7755
7756   ;
7757   return 0;
7758 }
7759 _ACEOF
7760 if ac_fn_c_try_compile "$LINENO"
7761 then :
7762   ac_cv_sys_file_offset_bits=64; break
7763 fi
7764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7765   ac_cv_sys_file_offset_bits=unknown
7766   break
7767 done
7768 fi
7769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7770 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7771 case $ac_cv_sys_file_offset_bits in #(
7772   no | unknown) ;;
7773   *)
7774 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7775 ;;
7776 esac
7777 rm -rf conftest*
7778   if test $ac_cv_sys_file_offset_bits = unknown; then
7779     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7780 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7781 if test ${ac_cv_sys_large_files+y}
7782 then :
7783   printf %s "(cached) " >&6
7784 else $as_nop
7785   while :; do
7786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h.  */
7788 #include <sys/types.h>
7789  /* Check that off_t can represent 2**63 - 1 correctly.
7790     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7791     since some C++ compilers masquerading as C compilers
7792     incorrectly reject 9223372036854775807.  */
7793 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7794   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7795                        && LARGE_OFF_T % 2147483647 == 1)
7796                       ? 1 : -1];
7797 int
7798 main (void)
7799 {
7800
7801   ;
7802   return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_compile "$LINENO"
7806 then :
7807   ac_cv_sys_large_files=no; break
7808 fi
7809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h.  */
7812 #define _LARGE_FILES 1
7813 #include <sys/types.h>
7814  /* Check that off_t can represent 2**63 - 1 correctly.
7815     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7816     since some C++ compilers masquerading as C compilers
7817     incorrectly reject 9223372036854775807.  */
7818 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7819   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7820                        && LARGE_OFF_T % 2147483647 == 1)
7821                       ? 1 : -1];
7822 int
7823 main (void)
7824 {
7825
7826   ;
7827   return 0;
7828 }
7829 _ACEOF
7830 if ac_fn_c_try_compile "$LINENO"
7831 then :
7832   ac_cv_sys_large_files=1; break
7833 fi
7834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7835   ac_cv_sys_large_files=unknown
7836   break
7837 done
7838 fi
7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7840 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7841 case $ac_cv_sys_large_files in #(
7842   no | unknown) ;;
7843   *)
7844 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7845 ;;
7846 esac
7847 rm -rf conftest*
7848   fi
7849 fi
7850
7851
7852
7853   if test -n "$ac_tool_prefix"; then
7854   for ac_prog in ar lib "link -lib"
7855   do
7856     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 printf %s "checking for $ac_word... " >&6; }
7860 if test ${ac_cv_prog_AR+y}
7861 then :
7862   printf %s "(cached) " >&6
7863 else $as_nop
7864   if test -n "$AR"; then
7865   ac_cv_prog_AR="$AR" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7869 do
7870   IFS=$as_save_IFS
7871   case $as_dir in #(((
7872     '') as_dir=./ ;;
7873     */) ;;
7874     *) as_dir=$as_dir/ ;;
7875   esac
7876     for ac_exec_ext in '' $ac_executable_extensions; do
7877   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7878     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7879     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7880     break 2
7881   fi
7882 done
7883   done
7884 IFS=$as_save_IFS
7885
7886 fi
7887 fi
7888 AR=$ac_cv_prog_AR
7889 if test -n "$AR"; then
7890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7891 printf "%s\n" "$AR" >&6; }
7892 else
7893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 printf "%s\n" "no" >&6; }
7895 fi
7896
7897
7898     test -n "$AR" && break
7899   done
7900 fi
7901 if test -z "$AR"; then
7902   ac_ct_AR=$AR
7903   for ac_prog in ar lib "link -lib"
7904 do
7905   # Extract the first word of "$ac_prog", so it can be a program name with args.
7906 set dummy $ac_prog; ac_word=$2
7907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 printf %s "checking for $ac_word... " >&6; }
7909 if test ${ac_cv_prog_ac_ct_AR+y}
7910 then :
7911   printf %s "(cached) " >&6
7912 else $as_nop
7913   if test -n "$ac_ct_AR"; then
7914   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7915 else
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 for as_dir in $PATH
7918 do
7919   IFS=$as_save_IFS
7920   case $as_dir in #(((
7921     '') as_dir=./ ;;
7922     */) ;;
7923     *) as_dir=$as_dir/ ;;
7924   esac
7925     for ac_exec_ext in '' $ac_executable_extensions; do
7926   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7927     ac_cv_prog_ac_ct_AR="$ac_prog"
7928     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7929     break 2
7930   fi
7931 done
7932   done
7933 IFS=$as_save_IFS
7934
7935 fi
7936 fi
7937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7938 if test -n "$ac_ct_AR"; then
7939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7940 printf "%s\n" "$ac_ct_AR" >&6; }
7941 else
7942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 printf "%s\n" "no" >&6; }
7944 fi
7945
7946
7947   test -n "$ac_ct_AR" && break
7948 done
7949
7950   if test "x$ac_ct_AR" = x; then
7951     AR="false"
7952   else
7953     case $cross_compiling:$ac_tool_warned in
7954 yes:)
7955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7957 ac_tool_warned=yes ;;
7958 esac
7959     AR=$ac_ct_AR
7960   fi
7961 fi
7962
7963 : ${AR=ar}
7964
7965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
7966 printf %s "checking the archiver ($AR) interface... " >&6; }
7967 if test ${am_cv_ar_interface+y}
7968 then :
7969   printf %s "(cached) " >&6
7970 else $as_nop
7971   ac_ext=c
7972 ac_cpp='$CPP $CPPFLAGS'
7973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7976
7977    am_cv_ar_interface=ar
7978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h.  */
7980 int some_variable = 0;
7981 _ACEOF
7982 if ac_fn_c_try_compile "$LINENO"
7983 then :
7984   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
7985       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7986   (eval $am_ar_try) 2>&5
7987   ac_status=$?
7988   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7989   test $ac_status = 0; }
7990       if test "$ac_status" -eq 0; then
7991         am_cv_ar_interface=ar
7992       else
7993         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
7994         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7995   (eval $am_ar_try) 2>&5
7996   ac_status=$?
7997   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7998   test $ac_status = 0; }
7999         if test "$ac_status" -eq 0; then
8000           am_cv_ar_interface=lib
8001         else
8002           am_cv_ar_interface=unknown
8003         fi
8004       fi
8005       rm -f conftest.lib libconftest.a
8006
8007 fi
8008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8009    ac_ext=c
8010 ac_cpp='$CPP $CPPFLAGS'
8011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8014
8015 fi
8016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
8017 printf "%s\n" "$am_cv_ar_interface" >&6; }
8018
8019 case $am_cv_ar_interface in
8020 ar)
8021   ;;
8022 lib)
8023   # Microsoft lib, so override with the ar-lib wrapper script.
8024   # FIXME: It is wrong to rewrite AR.
8025   # But if we don't then we get into trouble of one sort or another.
8026   # A longer-term fix would be to have automake use am__AR in this case,
8027   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
8028   # similar.
8029   AR="$am_aux_dir/ar-lib $AR"
8030   ;;
8031 unknown)
8032   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
8033   ;;
8034 esac
8035
8036
8037 # Check whether --enable-static was given.
8038 if test ${enable_static+y}
8039 then :
8040   enableval=$enable_static; p=${PACKAGE-default}
8041     case $enableval in
8042     yes) enable_static=yes ;;
8043     no) enable_static=no ;;
8044     *)
8045      enable_static=no
8046       # Look at the argument we got.  We use all the common list separators.
8047       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8048       for pkg in $enableval; do
8049         IFS=$lt_save_ifs
8050         if test "X$pkg" = "X$p"; then
8051           enable_static=yes
8052         fi
8053       done
8054       IFS=$lt_save_ifs
8055       ;;
8056     esac
8057 else $as_nop
8058   enable_static=no
8059 fi
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069 case `pwd` in
8070   *\ * | *\     *)
8071     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8072 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8073 esac
8074
8075
8076
8077 macro_version='2.4.7'
8078 macro_revision='2.4.7'
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093 ltmain=$ac_aux_dir/ltmain.sh
8094
8095
8096
8097   # Make sure we can run config.sub.
8098 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
8099   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
8100
8101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
8102 printf %s "checking build system type... " >&6; }
8103 if test ${ac_cv_build+y}
8104 then :
8105   printf %s "(cached) " >&6
8106 else $as_nop
8107   ac_build_alias=$build_alias
8108 test "x$ac_build_alias" = x &&
8109   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
8110 test "x$ac_build_alias" = x &&
8111   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
8112 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
8113   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
8114
8115 fi
8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
8117 printf "%s\n" "$ac_cv_build" >&6; }
8118 case $ac_cv_build in
8119 *-*-*) ;;
8120 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
8121 esac
8122 build=$ac_cv_build
8123 ac_save_IFS=$IFS; IFS='-'
8124 set x $ac_cv_build
8125 shift
8126 build_cpu=$1
8127 build_vendor=$2
8128 shift; shift
8129 # Remember, the first character of IFS is used to create $*,
8130 # except with old shells:
8131 build_os=$*
8132 IFS=$ac_save_IFS
8133 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
8134
8135
8136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
8137 printf %s "checking host system type... " >&6; }
8138 if test ${ac_cv_host+y}
8139 then :
8140   printf %s "(cached) " >&6
8141 else $as_nop
8142   if test "x$host_alias" = x; then
8143   ac_cv_host=$ac_cv_build
8144 else
8145   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
8146     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
8147 fi
8148
8149 fi
8150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
8151 printf "%s\n" "$ac_cv_host" >&6; }
8152 case $ac_cv_host in
8153 *-*-*) ;;
8154 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
8155 esac
8156 host=$ac_cv_host
8157 ac_save_IFS=$IFS; IFS='-'
8158 set x $ac_cv_host
8159 shift
8160 host_cpu=$1
8161 host_vendor=$2
8162 shift; shift
8163 # Remember, the first character of IFS is used to create $*,
8164 # except with old shells:
8165 host_os=$*
8166 IFS=$ac_save_IFS
8167 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
8168
8169
8170 # Backslashify metacharacters that are still active within
8171 # double-quoted strings.
8172 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8173
8174 # Same as above, but do not quote variable references.
8175 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8176
8177 # Sed substitution to delay expansion of an escaped shell variable in a
8178 # double_quote_subst'ed string.
8179 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8180
8181 # Sed substitution to delay expansion of an escaped single quote.
8182 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8183
8184 # Sed substitution to avoid accidental globbing in evaled expressions
8185 no_glob_subst='s/\*/\\\*/g'
8186
8187 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8188 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8189 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8190
8191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8192 printf %s "checking how to print strings... " >&6; }
8193 # Test print first, because it will be a builtin if present.
8194 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8195    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8196   ECHO='print -r --'
8197 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8198   ECHO='printf %s\n'
8199 else
8200   # Use this function as a fallback that always works.
8201   func_fallback_echo ()
8202   {
8203     eval 'cat <<_LTECHO_EOF
8204 $1
8205 _LTECHO_EOF'
8206   }
8207   ECHO='func_fallback_echo'
8208 fi
8209
8210 # func_echo_all arg...
8211 # Invoke $ECHO with all args, space-separated.
8212 func_echo_all ()
8213 {
8214     $ECHO ""
8215 }
8216
8217 case $ECHO in
8218   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8219 printf "%s\n" "printf" >&6; } ;;
8220   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8221 printf "%s\n" "print -r" >&6; } ;;
8222   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8223 printf "%s\n" "cat" >&6; } ;;
8224 esac
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8240 printf %s "checking for a sed that does not truncate output... " >&6; }
8241 if test ${ac_cv_path_SED+y}
8242 then :
8243   printf %s "(cached) " >&6
8244 else $as_nop
8245             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8246      for ac_i in 1 2 3 4 5 6 7; do
8247        ac_script="$ac_script$as_nl$ac_script"
8248      done
8249      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8250      { ac_script=; unset ac_script;}
8251      if test -z "$SED"; then
8252   ac_path_SED_found=false
8253   # Loop through the user's path and test for each of PROGNAME-LIST
8254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8256 do
8257   IFS=$as_save_IFS
8258   case $as_dir in #(((
8259     '') as_dir=./ ;;
8260     */) ;;
8261     *) as_dir=$as_dir/ ;;
8262   esac
8263     for ac_prog in sed gsed
8264    do
8265     for ac_exec_ext in '' $ac_executable_extensions; do
8266       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
8267       as_fn_executable_p "$ac_path_SED" || continue
8268 # Check for GNU ac_path_SED and select it if it is found.
8269   # Check for GNU $ac_path_SED
8270 case `"$ac_path_SED" --version 2>&1` in
8271 *GNU*)
8272   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8273 *)
8274   ac_count=0
8275   printf %s 0123456789 >"conftest.in"
8276   while :
8277   do
8278     cat "conftest.in" "conftest.in" >"conftest.tmp"
8279     mv "conftest.tmp" "conftest.in"
8280     cp "conftest.in" "conftest.nl"
8281     printf "%s\n" '' >> "conftest.nl"
8282     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8283     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8284     as_fn_arith $ac_count + 1 && ac_count=$as_val
8285     if test $ac_count -gt ${ac_path_SED_max-0}; then
8286       # Best one so far, save it but keep looking for a better one
8287       ac_cv_path_SED="$ac_path_SED"
8288       ac_path_SED_max=$ac_count
8289     fi
8290     # 10*(2^10) chars as input seems more than enough
8291     test $ac_count -gt 10 && break
8292   done
8293   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8294 esac
8295
8296       $ac_path_SED_found && break 3
8297     done
8298   done
8299   done
8300 IFS=$as_save_IFS
8301   if test -z "$ac_cv_path_SED"; then
8302     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8303   fi
8304 else
8305   ac_cv_path_SED=$SED
8306 fi
8307
8308 fi
8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8310 printf "%s\n" "$ac_cv_path_SED" >&6; }
8311  SED="$ac_cv_path_SED"
8312   rm -f conftest.sed
8313
8314 test -z "$SED" && SED=sed
8315 Xsed="$SED -e 1s/^X//"
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8328 printf %s "checking for grep that handles long lines and -e... " >&6; }
8329 if test ${ac_cv_path_GREP+y}
8330 then :
8331   printf %s "(cached) " >&6
8332 else $as_nop
8333   if test -z "$GREP"; then
8334   ac_path_GREP_found=false
8335   # Loop through the user's path and test for each of PROGNAME-LIST
8336   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8337 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8338 do
8339   IFS=$as_save_IFS
8340   case $as_dir in #(((
8341     '') as_dir=./ ;;
8342     */) ;;
8343     *) as_dir=$as_dir/ ;;
8344   esac
8345     for ac_prog in grep ggrep
8346    do
8347     for ac_exec_ext in '' $ac_executable_extensions; do
8348       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
8349       as_fn_executable_p "$ac_path_GREP" || continue
8350 # Check for GNU ac_path_GREP and select it if it is found.
8351   # Check for GNU $ac_path_GREP
8352 case `"$ac_path_GREP" --version 2>&1` in
8353 *GNU*)
8354   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8355 *)
8356   ac_count=0
8357   printf %s 0123456789 >"conftest.in"
8358   while :
8359   do
8360     cat "conftest.in" "conftest.in" >"conftest.tmp"
8361     mv "conftest.tmp" "conftest.in"
8362     cp "conftest.in" "conftest.nl"
8363     printf "%s\n" 'GREP' >> "conftest.nl"
8364     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8365     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8366     as_fn_arith $ac_count + 1 && ac_count=$as_val
8367     if test $ac_count -gt ${ac_path_GREP_max-0}; then
8368       # Best one so far, save it but keep looking for a better one
8369       ac_cv_path_GREP="$ac_path_GREP"
8370       ac_path_GREP_max=$ac_count
8371     fi
8372     # 10*(2^10) chars as input seems more than enough
8373     test $ac_count -gt 10 && break
8374   done
8375   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8376 esac
8377
8378       $ac_path_GREP_found && break 3
8379     done
8380   done
8381   done
8382 IFS=$as_save_IFS
8383   if test -z "$ac_cv_path_GREP"; then
8384     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8385   fi
8386 else
8387   ac_cv_path_GREP=$GREP
8388 fi
8389
8390 fi
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8392 printf "%s\n" "$ac_cv_path_GREP" >&6; }
8393  GREP="$ac_cv_path_GREP"
8394
8395
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8397 printf %s "checking for egrep... " >&6; }
8398 if test ${ac_cv_path_EGREP+y}
8399 then :
8400   printf %s "(cached) " >&6
8401 else $as_nop
8402   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8403    then ac_cv_path_EGREP="$GREP -E"
8404    else
8405      if test -z "$EGREP"; then
8406   ac_path_EGREP_found=false
8407   # Loop through the user's path and test for each of PROGNAME-LIST
8408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8409 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8410 do
8411   IFS=$as_save_IFS
8412   case $as_dir in #(((
8413     '') as_dir=./ ;;
8414     */) ;;
8415     *) as_dir=$as_dir/ ;;
8416   esac
8417     for ac_prog in egrep
8418    do
8419     for ac_exec_ext in '' $ac_executable_extensions; do
8420       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
8421       as_fn_executable_p "$ac_path_EGREP" || continue
8422 # Check for GNU ac_path_EGREP and select it if it is found.
8423   # Check for GNU $ac_path_EGREP
8424 case `"$ac_path_EGREP" --version 2>&1` in
8425 *GNU*)
8426   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8427 *)
8428   ac_count=0
8429   printf %s 0123456789 >"conftest.in"
8430   while :
8431   do
8432     cat "conftest.in" "conftest.in" >"conftest.tmp"
8433     mv "conftest.tmp" "conftest.in"
8434     cp "conftest.in" "conftest.nl"
8435     printf "%s\n" 'EGREP' >> "conftest.nl"
8436     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8437     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8438     as_fn_arith $ac_count + 1 && ac_count=$as_val
8439     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8440       # Best one so far, save it but keep looking for a better one
8441       ac_cv_path_EGREP="$ac_path_EGREP"
8442       ac_path_EGREP_max=$ac_count
8443     fi
8444     # 10*(2^10) chars as input seems more than enough
8445     test $ac_count -gt 10 && break
8446   done
8447   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8448 esac
8449
8450       $ac_path_EGREP_found && break 3
8451     done
8452   done
8453   done
8454 IFS=$as_save_IFS
8455   if test -z "$ac_cv_path_EGREP"; then
8456     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8457   fi
8458 else
8459   ac_cv_path_EGREP=$EGREP
8460 fi
8461
8462    fi
8463 fi
8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8465 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
8466  EGREP="$ac_cv_path_EGREP"
8467
8468
8469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8470 printf %s "checking for fgrep... " >&6; }
8471 if test ${ac_cv_path_FGREP+y}
8472 then :
8473   printf %s "(cached) " >&6
8474 else $as_nop
8475   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8476    then ac_cv_path_FGREP="$GREP -F"
8477    else
8478      if test -z "$FGREP"; then
8479   ac_path_FGREP_found=false
8480   # Loop through the user's path and test for each of PROGNAME-LIST
8481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8483 do
8484   IFS=$as_save_IFS
8485   case $as_dir in #(((
8486     '') as_dir=./ ;;
8487     */) ;;
8488     *) as_dir=$as_dir/ ;;
8489   esac
8490     for ac_prog in fgrep
8491    do
8492     for ac_exec_ext in '' $ac_executable_extensions; do
8493       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
8494       as_fn_executable_p "$ac_path_FGREP" || continue
8495 # Check for GNU ac_path_FGREP and select it if it is found.
8496   # Check for GNU $ac_path_FGREP
8497 case `"$ac_path_FGREP" --version 2>&1` in
8498 *GNU*)
8499   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8500 *)
8501   ac_count=0
8502   printf %s 0123456789 >"conftest.in"
8503   while :
8504   do
8505     cat "conftest.in" "conftest.in" >"conftest.tmp"
8506     mv "conftest.tmp" "conftest.in"
8507     cp "conftest.in" "conftest.nl"
8508     printf "%s\n" 'FGREP' >> "conftest.nl"
8509     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8510     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8511     as_fn_arith $ac_count + 1 && ac_count=$as_val
8512     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8513       # Best one so far, save it but keep looking for a better one
8514       ac_cv_path_FGREP="$ac_path_FGREP"
8515       ac_path_FGREP_max=$ac_count
8516     fi
8517     # 10*(2^10) chars as input seems more than enough
8518     test $ac_count -gt 10 && break
8519   done
8520   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8521 esac
8522
8523       $ac_path_FGREP_found && break 3
8524     done
8525   done
8526   done
8527 IFS=$as_save_IFS
8528   if test -z "$ac_cv_path_FGREP"; then
8529     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8530   fi
8531 else
8532   ac_cv_path_FGREP=$FGREP
8533 fi
8534
8535    fi
8536 fi
8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8538 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
8539  FGREP="$ac_cv_path_FGREP"
8540
8541
8542 test -z "$GREP" && GREP=grep
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562 # Check whether --with-gnu-ld was given.
8563 if test ${with_gnu_ld+y}
8564 then :
8565   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8566 else $as_nop
8567   with_gnu_ld=no
8568 fi
8569
8570 ac_prog=ld
8571 if test yes = "$GCC"; then
8572   # Check if gcc -print-prog-name=ld gives a path.
8573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8574 printf %s "checking for ld used by $CC... " >&6; }
8575   case $host in
8576   *-*-mingw*)
8577     # gcc leaves a trailing carriage return, which upsets mingw
8578     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8579   *)
8580     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8581   esac
8582   case $ac_prog in
8583     # Accept absolute paths.
8584     [\\/]* | ?:[\\/]*)
8585       re_direlt='/[^/][^/]*/\.\./'
8586       # Canonicalize the pathname of ld
8587       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8588       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
8589         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8590       done
8591       test -z "$LD" && LD=$ac_prog
8592       ;;
8593   "")
8594     # If it fails, then pretend we aren't using GCC.
8595     ac_prog=ld
8596     ;;
8597   *)
8598     # If it is relative, then search for the first ld in PATH.
8599     with_gnu_ld=unknown
8600     ;;
8601   esac
8602 elif test yes = "$with_gnu_ld"; then
8603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8604 printf %s "checking for GNU ld... " >&6; }
8605 else
8606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8607 printf %s "checking for non-GNU ld... " >&6; }
8608 fi
8609 if test ${lt_cv_path_LD+y}
8610 then :
8611   printf %s "(cached) " >&6
8612 else $as_nop
8613   if test -z "$LD"; then
8614   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8615   for ac_dir in $PATH; do
8616     IFS=$lt_save_ifs
8617     test -z "$ac_dir" && ac_dir=.
8618     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8619       lt_cv_path_LD=$ac_dir/$ac_prog
8620       # Check to see if the program is GNU ld.  I'd rather use --version,
8621       # but apparently some variants of GNU ld only accept -v.
8622       # Break only if it was the GNU/non-GNU ld that we prefer.
8623       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8624       *GNU* | *'with BFD'*)
8625         test no != "$with_gnu_ld" && break
8626         ;;
8627       *)
8628         test yes != "$with_gnu_ld" && break
8629         ;;
8630       esac
8631     fi
8632   done
8633   IFS=$lt_save_ifs
8634 else
8635   lt_cv_path_LD=$LD # Let the user override the test with a path.
8636 fi
8637 fi
8638
8639 LD=$lt_cv_path_LD
8640 if test -n "$LD"; then
8641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8642 printf "%s\n" "$LD" >&6; }
8643 else
8644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 printf "%s\n" "no" >&6; }
8646 fi
8647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8649 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
8650 if test ${lt_cv_prog_gnu_ld+y}
8651 then :
8652   printf %s "(cached) " >&6
8653 else $as_nop
8654   # I'd rather use --version here, but apparently some GNU lds only accept -v.
8655 case `$LD -v 2>&1 </dev/null` in
8656 *GNU* | *'with BFD'*)
8657   lt_cv_prog_gnu_ld=yes
8658   ;;
8659 *)
8660   lt_cv_prog_gnu_ld=no
8661   ;;
8662 esac
8663 fi
8664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8665 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
8666 with_gnu_ld=$lt_cv_prog_gnu_ld
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8677 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8678 if test ${lt_cv_path_NM+y}
8679 then :
8680   printf %s "(cached) " >&6
8681 else $as_nop
8682   if test -n "$NM"; then
8683   # Let the user override the test.
8684   lt_cv_path_NM=$NM
8685 else
8686   lt_nm_to_check=${ac_tool_prefix}nm
8687   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8688     lt_nm_to_check="$lt_nm_to_check nm"
8689   fi
8690   for lt_tmp_nm in $lt_nm_to_check; do
8691     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8692     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8693       IFS=$lt_save_ifs
8694       test -z "$ac_dir" && ac_dir=.
8695       tmp_nm=$ac_dir/$lt_tmp_nm
8696       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8697         # Check to see if the nm accepts a BSD-compat flag.
8698         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8699         #   nm: unknown option "B" ignored
8700         # Tru64's nm complains that /dev/null is an invalid object file
8701         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
8702         case $build_os in
8703         mingw*) lt_bad_file=conftest.nm/nofile ;;
8704         *) lt_bad_file=/dev/null ;;
8705         esac
8706         case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8707         *$lt_bad_file* | *'Invalid file or object type'*)
8708           lt_cv_path_NM="$tmp_nm -B"
8709           break 2
8710           ;;
8711         *)
8712           case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8713           */dev/null*)
8714             lt_cv_path_NM="$tmp_nm -p"
8715             break 2
8716             ;;
8717           *)
8718             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8719             continue # so that we can try to find one that supports BSD flags
8720             ;;
8721           esac
8722           ;;
8723         esac
8724       fi
8725     done
8726     IFS=$lt_save_ifs
8727   done
8728   : ${lt_cv_path_NM=no}
8729 fi
8730 fi
8731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8732 printf "%s\n" "$lt_cv_path_NM" >&6; }
8733 if test no != "$lt_cv_path_NM"; then
8734   NM=$lt_cv_path_NM
8735 else
8736   # Didn't find any BSD compatible name lister, look for dumpbin.
8737   if test -n "$DUMPBIN"; then :
8738     # Let the user override the test.
8739   else
8740     if test -n "$ac_tool_prefix"; then
8741   for ac_prog in dumpbin "link -dump"
8742   do
8743     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8746 printf %s "checking for $ac_word... " >&6; }
8747 if test ${ac_cv_prog_DUMPBIN+y}
8748 then :
8749   printf %s "(cached) " >&6
8750 else $as_nop
8751   if test -n "$DUMPBIN"; then
8752   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8753 else
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755 for as_dir in $PATH
8756 do
8757   IFS=$as_save_IFS
8758   case $as_dir in #(((
8759     '') as_dir=./ ;;
8760     */) ;;
8761     *) as_dir=$as_dir/ ;;
8762   esac
8763     for ac_exec_ext in '' $ac_executable_extensions; do
8764   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8765     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8766     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8767     break 2
8768   fi
8769 done
8770   done
8771 IFS=$as_save_IFS
8772
8773 fi
8774 fi
8775 DUMPBIN=$ac_cv_prog_DUMPBIN
8776 if test -n "$DUMPBIN"; then
8777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8778 printf "%s\n" "$DUMPBIN" >&6; }
8779 else
8780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 printf "%s\n" "no" >&6; }
8782 fi
8783
8784
8785     test -n "$DUMPBIN" && break
8786   done
8787 fi
8788 if test -z "$DUMPBIN"; then
8789   ac_ct_DUMPBIN=$DUMPBIN
8790   for ac_prog in dumpbin "link -dump"
8791 do
8792   # Extract the first word of "$ac_prog", so it can be a program name with args.
8793 set dummy $ac_prog; ac_word=$2
8794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795 printf %s "checking for $ac_word... " >&6; }
8796 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
8797 then :
8798   printf %s "(cached) " >&6
8799 else $as_nop
8800   if test -n "$ac_ct_DUMPBIN"; then
8801   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8802 else
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 for as_dir in $PATH
8805 do
8806   IFS=$as_save_IFS
8807   case $as_dir in #(((
8808     '') as_dir=./ ;;
8809     */) ;;
8810     *) as_dir=$as_dir/ ;;
8811   esac
8812     for ac_exec_ext in '' $ac_executable_extensions; do
8813   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8814     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8815     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8816     break 2
8817   fi
8818 done
8819   done
8820 IFS=$as_save_IFS
8821
8822 fi
8823 fi
8824 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8825 if test -n "$ac_ct_DUMPBIN"; then
8826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8827 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
8828 else
8829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 printf "%s\n" "no" >&6; }
8831 fi
8832
8833
8834   test -n "$ac_ct_DUMPBIN" && break
8835 done
8836
8837   if test "x$ac_ct_DUMPBIN" = x; then
8838     DUMPBIN=":"
8839   else
8840     case $cross_compiling:$ac_tool_warned in
8841 yes:)
8842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8843 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8844 ac_tool_warned=yes ;;
8845 esac
8846     DUMPBIN=$ac_ct_DUMPBIN
8847   fi
8848 fi
8849
8850     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
8851     *COFF*)
8852       DUMPBIN="$DUMPBIN -symbols -headers"
8853       ;;
8854     *)
8855       DUMPBIN=:
8856       ;;
8857     esac
8858   fi
8859
8860   if test : != "$DUMPBIN"; then
8861     NM=$DUMPBIN
8862   fi
8863 fi
8864 test -z "$NM" && NM=nm
8865
8866
8867
8868
8869
8870
8871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8872 printf %s "checking the name lister ($NM) interface... " >&6; }
8873 if test ${lt_cv_nm_interface+y}
8874 then :
8875   printf %s "(cached) " >&6
8876 else $as_nop
8877   lt_cv_nm_interface="BSD nm"
8878   echo "int some_variable = 0;" > conftest.$ac_ext
8879   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8880   (eval "$ac_compile" 2>conftest.err)
8881   cat conftest.err >&5
8882   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8883   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8884   cat conftest.err >&5
8885   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8886   cat conftest.out >&5
8887   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8888     lt_cv_nm_interface="MS dumpbin"
8889   fi
8890   rm -f conftest*
8891 fi
8892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8893 printf "%s\n" "$lt_cv_nm_interface" >&6; }
8894
8895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8896 printf %s "checking whether ln -s works... " >&6; }
8897 LN_S=$as_ln_s
8898 if test "$LN_S" = "ln -s"; then
8899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8900 printf "%s\n" "yes" >&6; }
8901 else
8902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8903 printf "%s\n" "no, using $LN_S" >&6; }
8904 fi
8905
8906 # find the maximum length of command line arguments
8907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8908 printf %s "checking the maximum length of command line arguments... " >&6; }
8909 if test ${lt_cv_sys_max_cmd_len+y}
8910 then :
8911   printf %s "(cached) " >&6
8912 else $as_nop
8913     i=0
8914   teststring=ABCD
8915
8916   case $build_os in
8917   msdosdjgpp*)
8918     # On DJGPP, this test can blow up pretty badly due to problems in libc
8919     # (any single argument exceeding 2000 bytes causes a buffer overrun
8920     # during glob expansion).  Even if it were fixed, the result of this
8921     # check would be larger than it should be.
8922     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8923     ;;
8924
8925   gnu*)
8926     # Under GNU Hurd, this test is not required because there is
8927     # no limit to the length of command line arguments.
8928     # Libtool will interpret -1 as no limit whatsoever
8929     lt_cv_sys_max_cmd_len=-1;
8930     ;;
8931
8932   cygwin* | mingw* | cegcc*)
8933     # On Win9x/ME, this test blows up -- it succeeds, but takes
8934     # about 5 minutes as the teststring grows exponentially.
8935     # Worse, since 9x/ME are not pre-emptively multitasking,
8936     # you end up with a "frozen" computer, even though with patience
8937     # the test eventually succeeds (with a max line length of 256k).
8938     # Instead, let's just punt: use the minimum linelength reported by
8939     # all of the supported platforms: 8192 (on NT/2K/XP).
8940     lt_cv_sys_max_cmd_len=8192;
8941     ;;
8942
8943   mint*)
8944     # On MiNT this can take a long time and run out of memory.
8945     lt_cv_sys_max_cmd_len=8192;
8946     ;;
8947
8948   amigaos*)
8949     # On AmigaOS with pdksh, this test takes hours, literally.
8950     # So we just punt and use a minimum line length of 8192.
8951     lt_cv_sys_max_cmd_len=8192;
8952     ;;
8953
8954   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
8955     # This has been around since 386BSD, at least.  Likely further.
8956     if test -x /sbin/sysctl; then
8957       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8958     elif test -x /usr/sbin/sysctl; then
8959       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8960     else
8961       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8962     fi
8963     # And add a safety zone
8964     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8965     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8966     ;;
8967
8968   interix*)
8969     # We know the value 262144 and hardcode it with a safety zone (like BSD)
8970     lt_cv_sys_max_cmd_len=196608
8971     ;;
8972
8973   os2*)
8974     # The test takes a long time on OS/2.
8975     lt_cv_sys_max_cmd_len=8192
8976     ;;
8977
8978   osf*)
8979     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8980     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8981     # nice to cause kernel panics so lets avoid the loop below.
8982     # First set a reasonable default.
8983     lt_cv_sys_max_cmd_len=16384
8984     #
8985     if test -x /sbin/sysconfig; then
8986       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8987         *1*) lt_cv_sys_max_cmd_len=-1 ;;
8988       esac
8989     fi
8990     ;;
8991   sco3.2v5*)
8992     lt_cv_sys_max_cmd_len=102400
8993     ;;
8994   sysv5* | sco5v6* | sysv4.2uw2*)
8995     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8996     if test -n "$kargmax"; then
8997       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[         ]//'`
8998     else
8999       lt_cv_sys_max_cmd_len=32768
9000     fi
9001     ;;
9002   *)
9003     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9004     if test -n "$lt_cv_sys_max_cmd_len" && \
9005        test undefined != "$lt_cv_sys_max_cmd_len"; then
9006       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9007       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9008     else
9009       # Make teststring a little bigger before we do anything with it.
9010       # a 1K string should be a reasonable start.
9011       for i in 1 2 3 4 5 6 7 8; do
9012         teststring=$teststring$teststring
9013       done
9014       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9015       # If test is not a shell built-in, we'll probably end up computing a
9016       # maximum length that is only half of the actual maximum length, but
9017       # we can't tell.
9018       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
9019                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9020               test 17 != "$i" # 1/2 MB should be enough
9021       do
9022         i=`expr $i + 1`
9023         teststring=$teststring$teststring
9024       done
9025       # Only check the string length outside the loop.
9026       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9027       teststring=
9028       # Add a significant safety factor because C++ compilers can tack on
9029       # massive amounts of additional arguments before passing them to the
9030       # linker.  It appears as though 1/2 is a usable value.
9031       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9032     fi
9033     ;;
9034   esac
9035
9036 fi
9037
9038 if test -n "$lt_cv_sys_max_cmd_len"; then
9039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9040 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
9041 else
9042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9043 printf "%s\n" "none" >&6; }
9044 fi
9045 max_cmd_len=$lt_cv_sys_max_cmd_len
9046
9047
9048
9049
9050
9051
9052 : ${CP="cp -f"}
9053 : ${MV="mv -f"}
9054 : ${RM="rm -f"}
9055
9056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9057   lt_unset=unset
9058 else
9059   lt_unset=false
9060 fi
9061
9062
9063
9064
9065
9066 # test EBCDIC or ASCII
9067 case `echo X|tr X '\101'` in
9068  A) # ASCII based system
9069     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9070   lt_SP2NL='tr \040 \012'
9071   lt_NL2SP='tr \015\012 \040\040'
9072   ;;
9073  *) # EBCDIC based system
9074   lt_SP2NL='tr \100 \n'
9075   lt_NL2SP='tr \r\n \100\100'
9076   ;;
9077 esac
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
9088 printf %s "checking how to convert $build file names to $host format... " >&6; }
9089 if test ${lt_cv_to_host_file_cmd+y}
9090 then :
9091   printf %s "(cached) " >&6
9092 else $as_nop
9093   case $host in
9094   *-*-mingw* )
9095     case $build in
9096       *-*-mingw* ) # actually msys
9097         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9098         ;;
9099       *-*-cygwin* )
9100         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9101         ;;
9102       * ) # otherwise, assume *nix
9103         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9104         ;;
9105     esac
9106     ;;
9107   *-*-cygwin* )
9108     case $build in
9109       *-*-mingw* ) # actually msys
9110         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9111         ;;
9112       *-*-cygwin* )
9113         lt_cv_to_host_file_cmd=func_convert_file_noop
9114         ;;
9115       * ) # otherwise, assume *nix
9116         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9117         ;;
9118     esac
9119     ;;
9120   * ) # unhandled hosts (and "normal" native builds)
9121     lt_cv_to_host_file_cmd=func_convert_file_noop
9122     ;;
9123 esac
9124
9125 fi
9126
9127 to_host_file_cmd=$lt_cv_to_host_file_cmd
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9129 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
9130
9131
9132
9133
9134
9135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
9136 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
9137 if test ${lt_cv_to_tool_file_cmd+y}
9138 then :
9139   printf %s "(cached) " >&6
9140 else $as_nop
9141   #assume ordinary cross tools, or native build.
9142 lt_cv_to_tool_file_cmd=func_convert_file_noop
9143 case $host in
9144   *-*-mingw* )
9145     case $build in
9146       *-*-mingw* ) # actually msys
9147         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9148         ;;
9149     esac
9150     ;;
9151 esac
9152
9153 fi
9154
9155 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9157 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
9158
9159
9160
9161
9162
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9164 printf %s "checking for $LD option to reload object files... " >&6; }
9165 if test ${lt_cv_ld_reload_flag+y}
9166 then :
9167   printf %s "(cached) " >&6
9168 else $as_nop
9169   lt_cv_ld_reload_flag='-r'
9170 fi
9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9172 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
9173 reload_flag=$lt_cv_ld_reload_flag
9174 case $reload_flag in
9175 "" | " "*) ;;
9176 *) reload_flag=" $reload_flag" ;;
9177 esac
9178 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9179 case $host_os in
9180   cygwin* | mingw* | pw32* | cegcc*)
9181     if test yes != "$GCC"; then
9182       reload_cmds=false
9183     fi
9184     ;;
9185   darwin*)
9186     if test yes = "$GCC"; then
9187       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9188     else
9189       reload_cmds='$LD$reload_flag -o $output$reload_objs'
9190     fi
9191     ;;
9192 esac
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202 if test -n "$ac_tool_prefix"; then
9203   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
9204 set dummy ${ac_tool_prefix}file; ac_word=$2
9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9206 printf %s "checking for $ac_word... " >&6; }
9207 if test ${ac_cv_prog_FILECMD+y}
9208 then :
9209   printf %s "(cached) " >&6
9210 else $as_nop
9211   if test -n "$FILECMD"; then
9212   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
9213 else
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9215 for as_dir in $PATH
9216 do
9217   IFS=$as_save_IFS
9218   case $as_dir in #(((
9219     '') as_dir=./ ;;
9220     */) ;;
9221     *) as_dir=$as_dir/ ;;
9222   esac
9223     for ac_exec_ext in '' $ac_executable_extensions; do
9224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9225     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
9226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9227     break 2
9228   fi
9229 done
9230   done
9231 IFS=$as_save_IFS
9232
9233 fi
9234 fi
9235 FILECMD=$ac_cv_prog_FILECMD
9236 if test -n "$FILECMD"; then
9237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9238 printf "%s\n" "$FILECMD" >&6; }
9239 else
9240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9241 printf "%s\n" "no" >&6; }
9242 fi
9243
9244
9245 fi
9246 if test -z "$ac_cv_prog_FILECMD"; then
9247   ac_ct_FILECMD=$FILECMD
9248   # Extract the first word of "file", so it can be a program name with args.
9249 set dummy file; ac_word=$2
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9251 printf %s "checking for $ac_word... " >&6; }
9252 if test ${ac_cv_prog_ac_ct_FILECMD+y}
9253 then :
9254   printf %s "(cached) " >&6
9255 else $as_nop
9256   if test -n "$ac_ct_FILECMD"; then
9257   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
9258 else
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 for as_dir in $PATH
9261 do
9262   IFS=$as_save_IFS
9263   case $as_dir in #(((
9264     '') as_dir=./ ;;
9265     */) ;;
9266     *) as_dir=$as_dir/ ;;
9267   esac
9268     for ac_exec_ext in '' $ac_executable_extensions; do
9269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9270     ac_cv_prog_ac_ct_FILECMD="file"
9271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9272     break 2
9273   fi
9274 done
9275   done
9276 IFS=$as_save_IFS
9277
9278 fi
9279 fi
9280 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
9281 if test -n "$ac_ct_FILECMD"; then
9282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9283 printf "%s\n" "$ac_ct_FILECMD" >&6; }
9284 else
9285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9286 printf "%s\n" "no" >&6; }
9287 fi
9288
9289   if test "x$ac_ct_FILECMD" = x; then
9290     FILECMD=":"
9291   else
9292     case $cross_compiling:$ac_tool_warned in
9293 yes:)
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9295 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9296 ac_tool_warned=yes ;;
9297 esac
9298     FILECMD=$ac_ct_FILECMD
9299   fi
9300 else
9301   FILECMD="$ac_cv_prog_FILECMD"
9302 fi
9303
9304
9305
9306
9307
9308
9309
9310 if test -n "$ac_tool_prefix"; then
9311   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9312 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314 printf %s "checking for $ac_word... " >&6; }
9315 if test ${ac_cv_prog_OBJDUMP+y}
9316 then :
9317   printf %s "(cached) " >&6
9318 else $as_nop
9319   if test -n "$OBJDUMP"; then
9320   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9321 else
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 for as_dir in $PATH
9324 do
9325   IFS=$as_save_IFS
9326   case $as_dir in #(((
9327     '') as_dir=./ ;;
9328     */) ;;
9329     *) as_dir=$as_dir/ ;;
9330   esac
9331     for ac_exec_ext in '' $ac_executable_extensions; do
9332   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9333     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9334     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9335     break 2
9336   fi
9337 done
9338   done
9339 IFS=$as_save_IFS
9340
9341 fi
9342 fi
9343 OBJDUMP=$ac_cv_prog_OBJDUMP
9344 if test -n "$OBJDUMP"; then
9345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9346 printf "%s\n" "$OBJDUMP" >&6; }
9347 else
9348   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349 printf "%s\n" "no" >&6; }
9350 fi
9351
9352
9353 fi
9354 if test -z "$ac_cv_prog_OBJDUMP"; then
9355   ac_ct_OBJDUMP=$OBJDUMP
9356   # Extract the first word of "objdump", so it can be a program name with args.
9357 set dummy objdump; ac_word=$2
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9359 printf %s "checking for $ac_word... " >&6; }
9360 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9361 then :
9362   printf %s "(cached) " >&6
9363 else $as_nop
9364   if test -n "$ac_ct_OBJDUMP"; then
9365   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9366 else
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 for as_dir in $PATH
9369 do
9370   IFS=$as_save_IFS
9371   case $as_dir in #(((
9372     '') as_dir=./ ;;
9373     */) ;;
9374     *) as_dir=$as_dir/ ;;
9375   esac
9376     for ac_exec_ext in '' $ac_executable_extensions; do
9377   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9378     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9379     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9380     break 2
9381   fi
9382 done
9383   done
9384 IFS=$as_save_IFS
9385
9386 fi
9387 fi
9388 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9389 if test -n "$ac_ct_OBJDUMP"; then
9390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9391 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9392 else
9393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9394 printf "%s\n" "no" >&6; }
9395 fi
9396
9397   if test "x$ac_ct_OBJDUMP" = x; then
9398     OBJDUMP="false"
9399   else
9400     case $cross_compiling:$ac_tool_warned in
9401 yes:)
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9403 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9404 ac_tool_warned=yes ;;
9405 esac
9406     OBJDUMP=$ac_ct_OBJDUMP
9407   fi
9408 else
9409   OBJDUMP="$ac_cv_prog_OBJDUMP"
9410 fi
9411
9412 test -z "$OBJDUMP" && OBJDUMP=objdump
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9423 printf %s "checking how to recognize dependent libraries... " >&6; }
9424 if test ${lt_cv_deplibs_check_method+y}
9425 then :
9426   printf %s "(cached) " >&6
9427 else $as_nop
9428   lt_cv_file_magic_cmd='$MAGIC_CMD'
9429 lt_cv_file_magic_test_file=
9430 lt_cv_deplibs_check_method='unknown'
9431 # Need to set the preceding variable on all platforms that support
9432 # interlibrary dependencies.
9433 # 'none' -- dependencies not supported.
9434 # 'unknown' -- same as none, but documents that we really don't know.
9435 # 'pass_all' -- all dependencies passed with no checks.
9436 # 'test_compile' -- check by making test program.
9437 # 'file_magic [[regex]]' -- check by looking for files in library path
9438 # that responds to the $file_magic_cmd with a given extended regex.
9439 # If you have 'file' or equivalent on your system and you're not sure
9440 # whether 'pass_all' will *always* work, you probably want this one.
9441
9442 case $host_os in
9443 aix[4-9]*)
9444   lt_cv_deplibs_check_method=pass_all
9445   ;;
9446
9447 beos*)
9448   lt_cv_deplibs_check_method=pass_all
9449   ;;
9450
9451 bsdi[45]*)
9452   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9453   lt_cv_file_magic_cmd='$FILECMD -L'
9454   lt_cv_file_magic_test_file=/shlib/libc.so
9455   ;;
9456
9457 cygwin*)
9458   # func_win32_libid is a shell function defined in ltmain.sh
9459   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9460   lt_cv_file_magic_cmd='func_win32_libid'
9461   ;;
9462
9463 mingw* | pw32*)
9464   # Base MSYS/MinGW do not provide the 'file' command needed by
9465   # func_win32_libid shell function, so use a weaker test based on 'objdump',
9466   # unless we find 'file', for example because we are cross-compiling.
9467   if ( file / ) >/dev/null 2>&1; then
9468     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9469     lt_cv_file_magic_cmd='func_win32_libid'
9470   else
9471     # Keep this pattern in sync with the one in func_win32_libid.
9472     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9473     lt_cv_file_magic_cmd='$OBJDUMP -f'
9474   fi
9475   ;;
9476
9477 cegcc*)
9478   # use the weaker test based on 'objdump'. See mingw*.
9479   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9480   lt_cv_file_magic_cmd='$OBJDUMP -f'
9481   ;;
9482
9483 darwin* | rhapsody*)
9484   lt_cv_deplibs_check_method=pass_all
9485   ;;
9486
9487 freebsd* | dragonfly* | midnightbsd*)
9488   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9489     case $host_cpu in
9490     i*86 )
9491       # Not sure whether the presence of OpenBSD here was a mistake.
9492       # Let's accept both of them until this is cleared up.
9493       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9494       lt_cv_file_magic_cmd=$FILECMD
9495       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9496       ;;
9497     esac
9498   else
9499     lt_cv_deplibs_check_method=pass_all
9500   fi
9501   ;;
9502
9503 haiku*)
9504   lt_cv_deplibs_check_method=pass_all
9505   ;;
9506
9507 hpux10.20* | hpux11*)
9508   lt_cv_file_magic_cmd=$FILECMD
9509   case $host_cpu in
9510   ia64*)
9511     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9512     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9513     ;;
9514   hppa*64*)
9515     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]'
9516     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9517     ;;
9518   *)
9519     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9520     lt_cv_file_magic_test_file=/usr/lib/libc.sl
9521     ;;
9522   esac
9523   ;;
9524
9525 interix[3-9]*)
9526   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9527   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9528   ;;
9529
9530 irix5* | irix6* | nonstopux*)
9531   case $LD in
9532   *-32|*"-32 ") libmagic=32-bit;;
9533   *-n32|*"-n32 ") libmagic=N32;;
9534   *-64|*"-64 ") libmagic=64-bit;;
9535   *) libmagic=never-match;;
9536   esac
9537   lt_cv_deplibs_check_method=pass_all
9538   ;;
9539
9540 # This must be glibc/ELF.
9541 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9542   lt_cv_deplibs_check_method=pass_all
9543   ;;
9544
9545 netbsd* | netbsdelf*-gnu)
9546   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9547     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9548   else
9549     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9550   fi
9551   ;;
9552
9553 newos6*)
9554   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9555   lt_cv_file_magic_cmd=$FILECMD
9556   lt_cv_file_magic_test_file=/usr/lib/libnls.so
9557   ;;
9558
9559 *nto* | *qnx*)
9560   lt_cv_deplibs_check_method=pass_all
9561   ;;
9562
9563 openbsd* | bitrig*)
9564   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9565     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9566   else
9567     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9568   fi
9569   ;;
9570
9571 osf3* | osf4* | osf5*)
9572   lt_cv_deplibs_check_method=pass_all
9573   ;;
9574
9575 rdos*)
9576   lt_cv_deplibs_check_method=pass_all
9577   ;;
9578
9579 solaris*)
9580   lt_cv_deplibs_check_method=pass_all
9581   ;;
9582
9583 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9584   lt_cv_deplibs_check_method=pass_all
9585   ;;
9586
9587 sysv4 | sysv4.3*)
9588   case $host_vendor in
9589   motorola)
9590     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]'
9591     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9592     ;;
9593   ncr)
9594     lt_cv_deplibs_check_method=pass_all
9595     ;;
9596   sequent)
9597     lt_cv_file_magic_cmd='/bin/file'
9598     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9599     ;;
9600   sni)
9601     lt_cv_file_magic_cmd='/bin/file'
9602     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9603     lt_cv_file_magic_test_file=/lib/libc.so
9604     ;;
9605   siemens)
9606     lt_cv_deplibs_check_method=pass_all
9607     ;;
9608   pc)
9609     lt_cv_deplibs_check_method=pass_all
9610     ;;
9611   esac
9612   ;;
9613
9614 tpf*)
9615   lt_cv_deplibs_check_method=pass_all
9616   ;;
9617 os2*)
9618   lt_cv_deplibs_check_method=pass_all
9619   ;;
9620 esac
9621
9622 fi
9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9624 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
9625
9626 file_magic_glob=
9627 want_nocaseglob=no
9628 if test "$build" = "$host"; then
9629   case $host_os in
9630   mingw* | pw32*)
9631     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9632       want_nocaseglob=yes
9633     else
9634       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9635     fi
9636     ;;
9637   esac
9638 fi
9639
9640 file_magic_cmd=$lt_cv_file_magic_cmd
9641 deplibs_check_method=$lt_cv_deplibs_check_method
9642 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665 if test -n "$ac_tool_prefix"; then
9666   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9667 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9669 printf %s "checking for $ac_word... " >&6; }
9670 if test ${ac_cv_prog_DLLTOOL+y}
9671 then :
9672   printf %s "(cached) " >&6
9673 else $as_nop
9674   if test -n "$DLLTOOL"; then
9675   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9676 else
9677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9678 for as_dir in $PATH
9679 do
9680   IFS=$as_save_IFS
9681   case $as_dir in #(((
9682     '') as_dir=./ ;;
9683     */) ;;
9684     *) as_dir=$as_dir/ ;;
9685   esac
9686     for ac_exec_ext in '' $ac_executable_extensions; do
9687   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9688     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9689     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9690     break 2
9691   fi
9692 done
9693   done
9694 IFS=$as_save_IFS
9695
9696 fi
9697 fi
9698 DLLTOOL=$ac_cv_prog_DLLTOOL
9699 if test -n "$DLLTOOL"; then
9700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9701 printf "%s\n" "$DLLTOOL" >&6; }
9702 else
9703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 printf "%s\n" "no" >&6; }
9705 fi
9706
9707
9708 fi
9709 if test -z "$ac_cv_prog_DLLTOOL"; then
9710   ac_ct_DLLTOOL=$DLLTOOL
9711   # Extract the first word of "dlltool", so it can be a program name with args.
9712 set dummy dlltool; ac_word=$2
9713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 printf %s "checking for $ac_word... " >&6; }
9715 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9716 then :
9717   printf %s "(cached) " >&6
9718 else $as_nop
9719   if test -n "$ac_ct_DLLTOOL"; then
9720   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9721 else
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723 for as_dir in $PATH
9724 do
9725   IFS=$as_save_IFS
9726   case $as_dir in #(((
9727     '') as_dir=./ ;;
9728     */) ;;
9729     *) as_dir=$as_dir/ ;;
9730   esac
9731     for ac_exec_ext in '' $ac_executable_extensions; do
9732   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9733     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9734     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9735     break 2
9736   fi
9737 done
9738   done
9739 IFS=$as_save_IFS
9740
9741 fi
9742 fi
9743 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9744 if test -n "$ac_ct_DLLTOOL"; then
9745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9746 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9747 else
9748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 printf "%s\n" "no" >&6; }
9750 fi
9751
9752   if test "x$ac_ct_DLLTOOL" = x; then
9753     DLLTOOL="false"
9754   else
9755     case $cross_compiling:$ac_tool_warned in
9756 yes:)
9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9759 ac_tool_warned=yes ;;
9760 esac
9761     DLLTOOL=$ac_ct_DLLTOOL
9762   fi
9763 else
9764   DLLTOOL="$ac_cv_prog_DLLTOOL"
9765 fi
9766
9767 test -z "$DLLTOOL" && DLLTOOL=dlltool
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9779 printf %s "checking how to associate runtime and link libraries... " >&6; }
9780 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
9781 then :
9782   printf %s "(cached) " >&6
9783 else $as_nop
9784   lt_cv_sharedlib_from_linklib_cmd='unknown'
9785
9786 case $host_os in
9787 cygwin* | mingw* | pw32* | cegcc*)
9788   # two different shell functions defined in ltmain.sh;
9789   # decide which one to use based on capabilities of $DLLTOOL
9790   case `$DLLTOOL --help 2>&1` in
9791   *--identify-strict*)
9792     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9793     ;;
9794   *)
9795     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9796     ;;
9797   esac
9798   ;;
9799 *)
9800   # fallback: assume linklib IS sharedlib
9801   lt_cv_sharedlib_from_linklib_cmd=$ECHO
9802   ;;
9803 esac
9804
9805 fi
9806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9807 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9808 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9809 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9810
9811
9812
9813
9814
9815
9816
9817 if test -n "$ac_tool_prefix"; then
9818   for ac_prog in ar
9819   do
9820     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9823 printf %s "checking for $ac_word... " >&6; }
9824 if test ${ac_cv_prog_AR+y}
9825 then :
9826   printf %s "(cached) " >&6
9827 else $as_nop
9828   if test -n "$AR"; then
9829   ac_cv_prog_AR="$AR" # Let the user override the test.
9830 else
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9832 for as_dir in $PATH
9833 do
9834   IFS=$as_save_IFS
9835   case $as_dir in #(((
9836     '') as_dir=./ ;;
9837     */) ;;
9838     *) as_dir=$as_dir/ ;;
9839   esac
9840     for ac_exec_ext in '' $ac_executable_extensions; do
9841   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9842     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9843     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9844     break 2
9845   fi
9846 done
9847   done
9848 IFS=$as_save_IFS
9849
9850 fi
9851 fi
9852 AR=$ac_cv_prog_AR
9853 if test -n "$AR"; then
9854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9855 printf "%s\n" "$AR" >&6; }
9856 else
9857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9858 printf "%s\n" "no" >&6; }
9859 fi
9860
9861
9862     test -n "$AR" && break
9863   done
9864 fi
9865 if test -z "$AR"; then
9866   ac_ct_AR=$AR
9867   for ac_prog in ar
9868 do
9869   # Extract the first word of "$ac_prog", so it can be a program name with args.
9870 set dummy $ac_prog; ac_word=$2
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9872 printf %s "checking for $ac_word... " >&6; }
9873 if test ${ac_cv_prog_ac_ct_AR+y}
9874 then :
9875   printf %s "(cached) " >&6
9876 else $as_nop
9877   if test -n "$ac_ct_AR"; then
9878   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9879 else
9880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9881 for as_dir in $PATH
9882 do
9883   IFS=$as_save_IFS
9884   case $as_dir in #(((
9885     '') as_dir=./ ;;
9886     */) ;;
9887     *) as_dir=$as_dir/ ;;
9888   esac
9889     for ac_exec_ext in '' $ac_executable_extensions; do
9890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9891     ac_cv_prog_ac_ct_AR="$ac_prog"
9892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9893     break 2
9894   fi
9895 done
9896   done
9897 IFS=$as_save_IFS
9898
9899 fi
9900 fi
9901 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9902 if test -n "$ac_ct_AR"; then
9903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9904 printf "%s\n" "$ac_ct_AR" >&6; }
9905 else
9906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 printf "%s\n" "no" >&6; }
9908 fi
9909
9910
9911   test -n "$ac_ct_AR" && break
9912 done
9913
9914   if test "x$ac_ct_AR" = x; then
9915     AR="false"
9916   else
9917     case $cross_compiling:$ac_tool_warned in
9918 yes:)
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9920 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9921 ac_tool_warned=yes ;;
9922 esac
9923     AR=$ac_ct_AR
9924   fi
9925 fi
9926
9927 : ${AR=ar}
9928
9929
9930
9931
9932
9933
9934 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
9935 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
9936 # higher priority because thats what people were doing historically (setting
9937 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
9938 # variable obsoleted/removed.
9939
9940 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
9941 lt_ar_flags=$AR_FLAGS
9942
9943
9944
9945
9946
9947
9948 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
9949 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
9950
9951
9952
9953
9954
9955
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9957 printf %s "checking for archiver @FILE support... " >&6; }
9958 if test ${lt_cv_ar_at_file+y}
9959 then :
9960   printf %s "(cached) " >&6
9961 else $as_nop
9962   lt_cv_ar_at_file=no
9963    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h.  */
9965
9966 int
9967 main (void)
9968 {
9969
9970   ;
9971   return 0;
9972 }
9973 _ACEOF
9974 if ac_fn_c_try_compile "$LINENO"
9975 then :
9976   echo conftest.$ac_objext > conftest.lst
9977       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9978       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9979   (eval $lt_ar_try) 2>&5
9980   ac_status=$?
9981   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9982   test $ac_status = 0; }
9983       if test 0 -eq "$ac_status"; then
9984         # Ensure the archiver fails upon bogus file names.
9985         rm -f conftest.$ac_objext libconftest.a
9986         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9987   (eval $lt_ar_try) 2>&5
9988   ac_status=$?
9989   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9990   test $ac_status = 0; }
9991         if test 0 -ne "$ac_status"; then
9992           lt_cv_ar_at_file=@
9993         fi
9994       fi
9995       rm -f conftest.* libconftest.a
9996
9997 fi
9998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9999
10000 fi
10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10002 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
10003
10004 if test no = "$lt_cv_ar_at_file"; then
10005   archiver_list_spec=
10006 else
10007   archiver_list_spec=$lt_cv_ar_at_file
10008 fi
10009
10010
10011
10012
10013
10014
10015
10016 if test -n "$ac_tool_prefix"; then
10017   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10018 set dummy ${ac_tool_prefix}strip; ac_word=$2
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 printf %s "checking for $ac_word... " >&6; }
10021 if test ${ac_cv_prog_STRIP+y}
10022 then :
10023   printf %s "(cached) " >&6
10024 else $as_nop
10025   if test -n "$STRIP"; then
10026   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10027 else
10028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10029 for as_dir in $PATH
10030 do
10031   IFS=$as_save_IFS
10032   case $as_dir in #(((
10033     '') as_dir=./ ;;
10034     */) ;;
10035     *) as_dir=$as_dir/ ;;
10036   esac
10037     for ac_exec_ext in '' $ac_executable_extensions; do
10038   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10039     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10040     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10041     break 2
10042   fi
10043 done
10044   done
10045 IFS=$as_save_IFS
10046
10047 fi
10048 fi
10049 STRIP=$ac_cv_prog_STRIP
10050 if test -n "$STRIP"; then
10051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10052 printf "%s\n" "$STRIP" >&6; }
10053 else
10054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10055 printf "%s\n" "no" >&6; }
10056 fi
10057
10058
10059 fi
10060 if test -z "$ac_cv_prog_STRIP"; then
10061   ac_ct_STRIP=$STRIP
10062   # Extract the first word of "strip", so it can be a program name with args.
10063 set dummy strip; ac_word=$2
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10065 printf %s "checking for $ac_word... " >&6; }
10066 if test ${ac_cv_prog_ac_ct_STRIP+y}
10067 then :
10068   printf %s "(cached) " >&6
10069 else $as_nop
10070   if test -n "$ac_ct_STRIP"; then
10071   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10072 else
10073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10074 for as_dir in $PATH
10075 do
10076   IFS=$as_save_IFS
10077   case $as_dir in #(((
10078     '') as_dir=./ ;;
10079     */) ;;
10080     *) as_dir=$as_dir/ ;;
10081   esac
10082     for ac_exec_ext in '' $ac_executable_extensions; do
10083   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10084     ac_cv_prog_ac_ct_STRIP="strip"
10085     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10086     break 2
10087   fi
10088 done
10089   done
10090 IFS=$as_save_IFS
10091
10092 fi
10093 fi
10094 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10095 if test -n "$ac_ct_STRIP"; then
10096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10097 printf "%s\n" "$ac_ct_STRIP" >&6; }
10098 else
10099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 printf "%s\n" "no" >&6; }
10101 fi
10102
10103   if test "x$ac_ct_STRIP" = x; then
10104     STRIP=":"
10105   else
10106     case $cross_compiling:$ac_tool_warned in
10107 yes:)
10108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10109 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10110 ac_tool_warned=yes ;;
10111 esac
10112     STRIP=$ac_ct_STRIP
10113   fi
10114 else
10115   STRIP="$ac_cv_prog_STRIP"
10116 fi
10117
10118 test -z "$STRIP" && STRIP=:
10119
10120
10121
10122
10123
10124
10125 if test -n "$ac_tool_prefix"; then
10126   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10127 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10129 printf %s "checking for $ac_word... " >&6; }
10130 if test ${ac_cv_prog_RANLIB+y}
10131 then :
10132   printf %s "(cached) " >&6
10133 else $as_nop
10134   if test -n "$RANLIB"; then
10135   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10136 else
10137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10138 for as_dir in $PATH
10139 do
10140   IFS=$as_save_IFS
10141   case $as_dir in #(((
10142     '') as_dir=./ ;;
10143     */) ;;
10144     *) as_dir=$as_dir/ ;;
10145   esac
10146     for ac_exec_ext in '' $ac_executable_extensions; do
10147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10148     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10150     break 2
10151   fi
10152 done
10153   done
10154 IFS=$as_save_IFS
10155
10156 fi
10157 fi
10158 RANLIB=$ac_cv_prog_RANLIB
10159 if test -n "$RANLIB"; then
10160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10161 printf "%s\n" "$RANLIB" >&6; }
10162 else
10163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10164 printf "%s\n" "no" >&6; }
10165 fi
10166
10167
10168 fi
10169 if test -z "$ac_cv_prog_RANLIB"; then
10170   ac_ct_RANLIB=$RANLIB
10171   # Extract the first word of "ranlib", so it can be a program name with args.
10172 set dummy ranlib; ac_word=$2
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10174 printf %s "checking for $ac_word... " >&6; }
10175 if test ${ac_cv_prog_ac_ct_RANLIB+y}
10176 then :
10177   printf %s "(cached) " >&6
10178 else $as_nop
10179   if test -n "$ac_ct_RANLIB"; then
10180   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10181 else
10182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10183 for as_dir in $PATH
10184 do
10185   IFS=$as_save_IFS
10186   case $as_dir in #(((
10187     '') as_dir=./ ;;
10188     */) ;;
10189     *) as_dir=$as_dir/ ;;
10190   esac
10191     for ac_exec_ext in '' $ac_executable_extensions; do
10192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10193     ac_cv_prog_ac_ct_RANLIB="ranlib"
10194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10195     break 2
10196   fi
10197 done
10198   done
10199 IFS=$as_save_IFS
10200
10201 fi
10202 fi
10203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10204 if test -n "$ac_ct_RANLIB"; then
10205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10206 printf "%s\n" "$ac_ct_RANLIB" >&6; }
10207 else
10208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10209 printf "%s\n" "no" >&6; }
10210 fi
10211
10212   if test "x$ac_ct_RANLIB" = x; then
10213     RANLIB=":"
10214   else
10215     case $cross_compiling:$ac_tool_warned in
10216 yes:)
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10219 ac_tool_warned=yes ;;
10220 esac
10221     RANLIB=$ac_ct_RANLIB
10222   fi
10223 else
10224   RANLIB="$ac_cv_prog_RANLIB"
10225 fi
10226
10227 test -z "$RANLIB" && RANLIB=:
10228
10229
10230
10231
10232
10233
10234 # Determine commands to create old-style static archives.
10235 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10236 old_postinstall_cmds='chmod 644 $oldlib'
10237 old_postuninstall_cmds=
10238
10239 if test -n "$RANLIB"; then
10240   case $host_os in
10241   bitrig* | openbsd*)
10242     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10243     ;;
10244   *)
10245     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
10246     ;;
10247   esac
10248   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
10249 fi
10250
10251 case $host_os in
10252   darwin*)
10253     lock_old_archive_extraction=yes ;;
10254   *)
10255     lock_old_archive_extraction=no ;;
10256 esac
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296 # If no C compiler was specified, use CC.
10297 LTCC=${LTCC-"$CC"}
10298
10299 # If no C compiler flags were specified, use CFLAGS.
10300 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10301
10302 # Allow CC to be a program name with arguments.
10303 compiler=$CC
10304
10305
10306 # Check for command to grab the raw symbol name followed by C symbol from nm.
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10308 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
10309 if test ${lt_cv_sys_global_symbol_pipe+y}
10310 then :
10311   printf %s "(cached) " >&6
10312 else $as_nop
10313
10314 # These are sane defaults that work on at least a few old systems.
10315 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
10316
10317 # Character class describing NM global symbol codes.
10318 symcode='[BCDEGRST]'
10319
10320 # Regexp to match symbols that can be accessed directly from C.
10321 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10322
10323 # Define system-specific variables.
10324 case $host_os in
10325 aix*)
10326   symcode='[BCDT]'
10327   ;;
10328 cygwin* | mingw* | pw32* | cegcc*)
10329   symcode='[ABCDGISTW]'
10330   ;;
10331 hpux*)
10332   if test ia64 = "$host_cpu"; then
10333     symcode='[ABCDEGRST]'
10334   fi
10335   ;;
10336 irix* | nonstopux*)
10337   symcode='[BCDEGRST]'
10338   ;;
10339 osf*)
10340   symcode='[BCDEGQRST]'
10341   ;;
10342 solaris*)
10343   symcode='[BDRT]'
10344   ;;
10345 sco3.2v5*)
10346   symcode='[DT]'
10347   ;;
10348 sysv4.2uw2*)
10349   symcode='[DT]'
10350   ;;
10351 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10352   symcode='[ABDT]'
10353   ;;
10354 sysv4)
10355   symcode='[DFNSTU]'
10356   ;;
10357 esac
10358
10359 # If we're using GNU nm, then use its standard symbol codes.
10360 case `$NM -V 2>&1` in
10361 *GNU* | *'with BFD'*)
10362   symcode='[ABCDGIRSTW]' ;;
10363 esac
10364
10365 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10366   # Gets list of data symbols to import.
10367   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10368   # Adjust the below global symbol transforms to fixup imported variables.
10369   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10370   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
10371   lt_c_name_lib_hook="\
10372   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
10373   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
10374 else
10375   # Disable hooks by default.
10376   lt_cv_sys_global_symbol_to_import=
10377   lt_cdecl_hook=
10378   lt_c_name_hook=
10379   lt_c_name_lib_hook=
10380 fi
10381
10382 # Transform an extracted symbol line into a proper C declaration.
10383 # Some systems (esp. on ia64) link data and code symbols differently,
10384 # so use this general approach.
10385 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10386 $lt_cdecl_hook\
10387 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10388 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10389
10390 # Transform an extracted symbol line into symbol name and symbol address
10391 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
10392 $lt_c_name_hook\
10393 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
10394 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
10395
10396 # Transform an extracted symbol line into symbol name with lib prefix and
10397 # symbol address.
10398 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
10399 $lt_c_name_lib_hook\
10400 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
10401 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
10402 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
10403
10404 # Handle CRLF in mingw tool chain
10405 opt_cr=
10406 case $build_os in
10407 mingw*)
10408   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10409   ;;
10410 esac
10411
10412 # Try without a prefix underscore, then with it.
10413 for ac_symprfx in "" "_"; do
10414
10415   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10416   symxfrm="\\1 $ac_symprfx\\2 \\2"
10417
10418   # Write the raw and C identifiers.
10419   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10420     # Fake it for dumpbin and say T for any non-static function,
10421     # D for any global variable and I for any imported variable.
10422     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
10423     # which start with @ or ?.
10424     lt_cv_sys_global_symbol_pipe="$AWK '"\
10425 "     {last_section=section; section=\$ 3};"\
10426 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10427 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10428 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
10429 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
10430 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
10431 "     \$ 0!~/External *\|/{next};"\
10432 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10433 "     {if(hide[section]) next};"\
10434 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
10435 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
10436 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
10437 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
10438 "     ' prfx=^$ac_symprfx"
10439   else
10440     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10441   fi
10442   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
10443
10444   # Check to see that the pipe works correctly.
10445   pipe_works=no
10446
10447   rm -f conftest*
10448   cat > conftest.$ac_ext <<_LT_EOF
10449 #ifdef __cplusplus
10450 extern "C" {
10451 #endif
10452 char nm_test_var;
10453 void nm_test_func(void);
10454 void nm_test_func(void){}
10455 #ifdef __cplusplus
10456 }
10457 #endif
10458 int main(){nm_test_var='a';nm_test_func();return(0);}
10459 _LT_EOF
10460
10461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10462   (eval $ac_compile) 2>&5
10463   ac_status=$?
10464   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10465   test $ac_status = 0; }; then
10466     # Now try to grab the symbols.
10467     nlist=conftest.nm
10468     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
10469     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
10470       # Try sorting and uniquifying the output.
10471       if sort "$nlist" | uniq > "$nlist"T; then
10472         mv -f "$nlist"T "$nlist"
10473       else
10474         rm -f "$nlist"T
10475       fi
10476
10477       # Make sure that we snagged all the symbols we need.
10478       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10479         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10480           cat <<_LT_EOF > conftest.$ac_ext
10481 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
10482 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
10483 /* DATA imports from DLLs on WIN32 can't be const, because runtime
10484    relocations are performed -- see ld's documentation on pseudo-relocs.  */
10485 # define LT_DLSYM_CONST
10486 #elif defined __osf__
10487 /* This system does not cope well with relocations in const data.  */
10488 # define LT_DLSYM_CONST
10489 #else
10490 # define LT_DLSYM_CONST const
10491 #endif
10492
10493 #ifdef __cplusplus
10494 extern "C" {
10495 #endif
10496
10497 _LT_EOF
10498           # Now generate the symbol file.
10499           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10500
10501           cat <<_LT_EOF >> conftest.$ac_ext
10502
10503 /* The mapping between symbol names and symbols.  */
10504 LT_DLSYM_CONST struct {
10505   const char *name;
10506   void       *address;
10507 }
10508 lt__PROGRAM__LTX_preloaded_symbols[] =
10509 {
10510   { "@PROGRAM@", (void *) 0 },
10511 _LT_EOF
10512           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10513           cat <<\_LT_EOF >> conftest.$ac_ext
10514   {0, (void *) 0}
10515 };
10516
10517 /* This works around a problem in FreeBSD linker */
10518 #ifdef FREEBSD_WORKAROUND
10519 static const void *lt_preloaded_setup() {
10520   return lt__PROGRAM__LTX_preloaded_symbols;
10521 }
10522 #endif
10523
10524 #ifdef __cplusplus
10525 }
10526 #endif
10527 _LT_EOF
10528           # Now try linking the two files.
10529           mv conftest.$ac_objext conftstm.$ac_objext
10530           lt_globsym_save_LIBS=$LIBS
10531           lt_globsym_save_CFLAGS=$CFLAGS
10532           LIBS=conftstm.$ac_objext
10533           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10534           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10535   (eval $ac_link) 2>&5
10536   ac_status=$?
10537   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10538   test $ac_status = 0; } && test -s conftest$ac_exeext; then
10539             pipe_works=yes
10540           fi
10541           LIBS=$lt_globsym_save_LIBS
10542           CFLAGS=$lt_globsym_save_CFLAGS
10543         else
10544           echo "cannot find nm_test_func in $nlist" >&5
10545         fi
10546       else
10547         echo "cannot find nm_test_var in $nlist" >&5
10548       fi
10549     else
10550       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10551     fi
10552   else
10553     echo "$progname: failed program was:" >&5
10554     cat conftest.$ac_ext >&5
10555   fi
10556   rm -rf conftest* conftst*
10557
10558   # Do not use the global_symbol_pipe unless it works.
10559   if test yes = "$pipe_works"; then
10560     break
10561   else
10562     lt_cv_sys_global_symbol_pipe=
10563   fi
10564 done
10565
10566 fi
10567
10568 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10569   lt_cv_sys_global_symbol_to_cdecl=
10570 fi
10571 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10573 printf "%s\n" "failed" >&6; }
10574 else
10575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10576 printf "%s\n" "ok" >&6; }
10577 fi
10578
10579 # Response file support.
10580 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10581   nm_file_list_spec='@'
10582 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10583   nm_file_list_spec='@'
10584 fi
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10623 printf %s "checking for sysroot... " >&6; }
10624
10625 # Check whether --with-sysroot was given.
10626 if test ${with_sysroot+y}
10627 then :
10628   withval=$with_sysroot;
10629 else $as_nop
10630   with_sysroot=no
10631 fi
10632
10633
10634 lt_sysroot=
10635 case $with_sysroot in #(
10636  yes)
10637    if test yes = "$GCC"; then
10638      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10639    fi
10640    ;; #(
10641  /*)
10642    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10643    ;; #(
10644  no|'')
10645    ;; #(
10646  *)
10647    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10648 printf "%s\n" "$with_sysroot" >&6; }
10649    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
10650    ;;
10651 esac
10652
10653  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10654 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10655
10656
10657
10658
10659
10660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10661 printf %s "checking for a working dd... " >&6; }
10662 if test ${ac_cv_path_lt_DD+y}
10663 then :
10664   printf %s "(cached) " >&6
10665 else $as_nop
10666   printf 0123456789abcdef0123456789abcdef >conftest.i
10667 cat conftest.i conftest.i >conftest2.i
10668 : ${lt_DD:=$DD}
10669 if test -z "$lt_DD"; then
10670   ac_path_lt_DD_found=false
10671   # Loop through the user's path and test for each of PROGNAME-LIST
10672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10674 do
10675   IFS=$as_save_IFS
10676   case $as_dir in #(((
10677     '') as_dir=./ ;;
10678     */) ;;
10679     *) as_dir=$as_dir/ ;;
10680   esac
10681     for ac_prog in dd
10682    do
10683     for ac_exec_ext in '' $ac_executable_extensions; do
10684       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
10685       as_fn_executable_p "$ac_path_lt_DD" || continue
10686 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10687   cmp -s conftest.i conftest.out \
10688   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
10689 fi
10690       $ac_path_lt_DD_found && break 3
10691     done
10692   done
10693   done
10694 IFS=$as_save_IFS
10695   if test -z "$ac_cv_path_lt_DD"; then
10696     :
10697   fi
10698 else
10699   ac_cv_path_lt_DD=$lt_DD
10700 fi
10701
10702 rm -f conftest.i conftest2.i conftest.out
10703 fi
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10705 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
10706
10707
10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10709 printf %s "checking how to truncate binary pipes... " >&6; }
10710 if test ${lt_cv_truncate_bin+y}
10711 then :
10712   printf %s "(cached) " >&6
10713 else $as_nop
10714   printf 0123456789abcdef0123456789abcdef >conftest.i
10715 cat conftest.i conftest.i >conftest2.i
10716 lt_cv_truncate_bin=
10717 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10718   cmp -s conftest.i conftest.out \
10719   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
10720 fi
10721 rm -f conftest.i conftest2.i conftest.out
10722 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10723 fi
10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10725 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
10726
10727
10728
10729
10730
10731
10732
10733 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
10734 func_cc_basename ()
10735 {
10736     for cc_temp in $*""; do
10737       case $cc_temp in
10738         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10739         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10740         \-*) ;;
10741         *) break;;
10742       esac
10743     done
10744     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10745 }
10746
10747 # Check whether --enable-libtool-lock was given.
10748 if test ${enable_libtool_lock+y}
10749 then :
10750   enableval=$enable_libtool_lock;
10751 fi
10752
10753 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
10754
10755 # Some flags need to be propagated to the compiler or linker for good
10756 # libtool support.
10757 case $host in
10758 ia64-*-hpux*)
10759   # Find out what ABI is being produced by ac_compile, and set mode
10760   # options accordingly.
10761   echo 'int i;' > conftest.$ac_ext
10762   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10763   (eval $ac_compile) 2>&5
10764   ac_status=$?
10765   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10766   test $ac_status = 0; }; then
10767     case `$FILECMD conftest.$ac_objext` in
10768       *ELF-32*)
10769         HPUX_IA64_MODE=32
10770         ;;
10771       *ELF-64*)
10772         HPUX_IA64_MODE=64
10773         ;;
10774     esac
10775   fi
10776   rm -rf conftest*
10777   ;;
10778 *-*-irix6*)
10779   # Find out what ABI is being produced by ac_compile, and set linker
10780   # options accordingly.
10781   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10783   (eval $ac_compile) 2>&5
10784   ac_status=$?
10785   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10786   test $ac_status = 0; }; then
10787     if test yes = "$lt_cv_prog_gnu_ld"; then
10788       case `$FILECMD conftest.$ac_objext` in
10789         *32-bit*)
10790           LD="${LD-ld} -melf32bsmip"
10791           ;;
10792         *N32*)
10793           LD="${LD-ld} -melf32bmipn32"
10794           ;;
10795         *64-bit*)
10796           LD="${LD-ld} -melf64bmip"
10797         ;;
10798       esac
10799     else
10800       case `$FILECMD conftest.$ac_objext` in
10801         *32-bit*)
10802           LD="${LD-ld} -32"
10803           ;;
10804         *N32*)
10805           LD="${LD-ld} -n32"
10806           ;;
10807         *64-bit*)
10808           LD="${LD-ld} -64"
10809           ;;
10810       esac
10811     fi
10812   fi
10813   rm -rf conftest*
10814   ;;
10815
10816 mips64*-*linux*)
10817   # Find out what ABI is being produced by ac_compile, and set linker
10818   # options accordingly.
10819   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10820   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10821   (eval $ac_compile) 2>&5
10822   ac_status=$?
10823   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10824   test $ac_status = 0; }; then
10825     emul=elf
10826     case `$FILECMD conftest.$ac_objext` in
10827       *32-bit*)
10828         emul="${emul}32"
10829         ;;
10830       *64-bit*)
10831         emul="${emul}64"
10832         ;;
10833     esac
10834     case `$FILECMD conftest.$ac_objext` in
10835       *MSB*)
10836         emul="${emul}btsmip"
10837         ;;
10838       *LSB*)
10839         emul="${emul}ltsmip"
10840         ;;
10841     esac
10842     case `$FILECMD conftest.$ac_objext` in
10843       *N32*)
10844         emul="${emul}n32"
10845         ;;
10846     esac
10847     LD="${LD-ld} -m $emul"
10848   fi
10849   rm -rf conftest*
10850   ;;
10851
10852 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10853 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10854   # Find out what ABI is being produced by ac_compile, and set linker
10855   # options accordingly.  Note that the listed cases only cover the
10856   # situations where additional linker options are needed (such as when
10857   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
10858   # vice versa); the common cases where no linker options are needed do
10859   # not appear in the list.
10860   echo 'int i;' > conftest.$ac_ext
10861   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10862   (eval $ac_compile) 2>&5
10863   ac_status=$?
10864   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10865   test $ac_status = 0; }; then
10866     case `$FILECMD conftest.o` in
10867       *32-bit*)
10868         case $host in
10869           x86_64-*kfreebsd*-gnu)
10870             LD="${LD-ld} -m elf_i386_fbsd"
10871             ;;
10872           x86_64-*linux*)
10873             case `$FILECMD conftest.o` in
10874               *x86-64*)
10875                 LD="${LD-ld} -m elf32_x86_64"
10876                 ;;
10877               *)
10878                 LD="${LD-ld} -m elf_i386"
10879                 ;;
10880             esac
10881             ;;
10882           powerpc64le-*linux*)
10883             LD="${LD-ld} -m elf32lppclinux"
10884             ;;
10885           powerpc64-*linux*)
10886             LD="${LD-ld} -m elf32ppclinux"
10887             ;;
10888           s390x-*linux*)
10889             LD="${LD-ld} -m elf_s390"
10890             ;;
10891           sparc64-*linux*)
10892             LD="${LD-ld} -m elf32_sparc"
10893             ;;
10894         esac
10895         ;;
10896       *64-bit*)
10897         case $host in
10898           x86_64-*kfreebsd*-gnu)
10899             LD="${LD-ld} -m elf_x86_64_fbsd"
10900             ;;
10901           x86_64-*linux*)
10902             LD="${LD-ld} -m elf_x86_64"
10903             ;;
10904           powerpcle-*linux*)
10905             LD="${LD-ld} -m elf64lppc"
10906             ;;
10907           powerpc-*linux*)
10908             LD="${LD-ld} -m elf64ppc"
10909             ;;
10910           s390*-*linux*|s390*-*tpf*)
10911             LD="${LD-ld} -m elf64_s390"
10912             ;;
10913           sparc*-*linux*)
10914             LD="${LD-ld} -m elf64_sparc"
10915             ;;
10916         esac
10917         ;;
10918     esac
10919   fi
10920   rm -rf conftest*
10921   ;;
10922
10923 *-*-sco3.2v5*)
10924   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10925   SAVE_CFLAGS=$CFLAGS
10926   CFLAGS="$CFLAGS -belf"
10927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10928 printf %s "checking whether the C compiler needs -belf... " >&6; }
10929 if test ${lt_cv_cc_needs_belf+y}
10930 then :
10931   printf %s "(cached) " >&6
10932 else $as_nop
10933   ac_ext=c
10934 ac_cpp='$CPP $CPPFLAGS'
10935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10938
10939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h.  */
10941
10942 int
10943 main (void)
10944 {
10945
10946   ;
10947   return 0;
10948 }
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"
10951 then :
10952   lt_cv_cc_needs_belf=yes
10953 else $as_nop
10954   lt_cv_cc_needs_belf=no
10955 fi
10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10957     conftest$ac_exeext conftest.$ac_ext
10958      ac_ext=c
10959 ac_cpp='$CPP $CPPFLAGS'
10960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10963
10964 fi
10965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10966 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
10967   if test yes != "$lt_cv_cc_needs_belf"; then
10968     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10969     CFLAGS=$SAVE_CFLAGS
10970   fi
10971   ;;
10972 *-*solaris*)
10973   # Find out what ABI is being produced by ac_compile, and set linker
10974   # options accordingly.
10975   echo 'int i;' > conftest.$ac_ext
10976   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10977   (eval $ac_compile) 2>&5
10978   ac_status=$?
10979   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10980   test $ac_status = 0; }; then
10981     case `$FILECMD conftest.o` in
10982     *64-bit*)
10983       case $lt_cv_prog_gnu_ld in
10984       yes*)
10985         case $host in
10986         i?86-*-solaris*|x86_64-*-solaris*)
10987           LD="${LD-ld} -m elf_x86_64"
10988           ;;
10989         sparc*-*-solaris*)
10990           LD="${LD-ld} -m elf64_sparc"
10991           ;;
10992         esac
10993         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
10994         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10995           LD=${LD-ld}_sol2
10996         fi
10997         ;;
10998       *)
10999         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11000           LD="${LD-ld} -64"
11001         fi
11002         ;;
11003       esac
11004       ;;
11005     esac
11006   fi
11007   rm -rf conftest*
11008   ;;
11009 esac
11010
11011 need_locks=$enable_libtool_lock
11012
11013 if test -n "$ac_tool_prefix"; then
11014   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
11015 set dummy ${ac_tool_prefix}mt; ac_word=$2
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 printf %s "checking for $ac_word... " >&6; }
11018 if test ${ac_cv_prog_MANIFEST_TOOL+y}
11019 then :
11020   printf %s "(cached) " >&6
11021 else $as_nop
11022   if test -n "$MANIFEST_TOOL"; then
11023   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
11024 else
11025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11026 for as_dir in $PATH
11027 do
11028   IFS=$as_save_IFS
11029   case $as_dir in #(((
11030     '') as_dir=./ ;;
11031     */) ;;
11032     *) as_dir=$as_dir/ ;;
11033   esac
11034     for ac_exec_ext in '' $ac_executable_extensions; do
11035   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11036     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
11037     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11038     break 2
11039   fi
11040 done
11041   done
11042 IFS=$as_save_IFS
11043
11044 fi
11045 fi
11046 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
11047 if test -n "$MANIFEST_TOOL"; then
11048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11049 printf "%s\n" "$MANIFEST_TOOL" >&6; }
11050 else
11051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 printf "%s\n" "no" >&6; }
11053 fi
11054
11055
11056 fi
11057 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11058   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
11059   # Extract the first word of "mt", so it can be a program name with args.
11060 set dummy mt; ac_word=$2
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11062 printf %s "checking for $ac_word... " >&6; }
11063 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
11064 then :
11065   printf %s "(cached) " >&6
11066 else $as_nop
11067   if test -n "$ac_ct_MANIFEST_TOOL"; then
11068   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
11069 else
11070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11071 for as_dir in $PATH
11072 do
11073   IFS=$as_save_IFS
11074   case $as_dir in #(((
11075     '') as_dir=./ ;;
11076     */) ;;
11077     *) as_dir=$as_dir/ ;;
11078   esac
11079     for ac_exec_ext in '' $ac_executable_extensions; do
11080   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11081     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
11082     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11083     break 2
11084   fi
11085 done
11086   done
11087 IFS=$as_save_IFS
11088
11089 fi
11090 fi
11091 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
11092 if test -n "$ac_ct_MANIFEST_TOOL"; then
11093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11094 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
11095 else
11096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 printf "%s\n" "no" >&6; }
11098 fi
11099
11100   if test "x$ac_ct_MANIFEST_TOOL" = x; then
11101     MANIFEST_TOOL=":"
11102   else
11103     case $cross_compiling:$ac_tool_warned in
11104 yes:)
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11106 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11107 ac_tool_warned=yes ;;
11108 esac
11109     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
11110   fi
11111 else
11112   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
11113 fi
11114
11115 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11117 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
11118 if test ${lt_cv_path_mainfest_tool+y}
11119 then :
11120   printf %s "(cached) " >&6
11121 else $as_nop
11122   lt_cv_path_mainfest_tool=no
11123   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11124   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11125   cat conftest.err >&5
11126   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
11127     lt_cv_path_mainfest_tool=yes
11128   fi
11129   rm -f conftest*
11130 fi
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11132 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
11133 if test yes != "$lt_cv_path_mainfest_tool"; then
11134   MANIFEST_TOOL=:
11135 fi
11136
11137
11138
11139
11140
11141
11142   case $host_os in
11143     rhapsody* | darwin*)
11144     if test -n "$ac_tool_prefix"; then
11145   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
11146 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11148 printf %s "checking for $ac_word... " >&6; }
11149 if test ${ac_cv_prog_DSYMUTIL+y}
11150 then :
11151   printf %s "(cached) " >&6
11152 else $as_nop
11153   if test -n "$DSYMUTIL"; then
11154   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11155 else
11156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157 for as_dir in $PATH
11158 do
11159   IFS=$as_save_IFS
11160   case $as_dir in #(((
11161     '') as_dir=./ ;;
11162     */) ;;
11163     *) as_dir=$as_dir/ ;;
11164   esac
11165     for ac_exec_ext in '' $ac_executable_extensions; do
11166   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11167     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
11168     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11169     break 2
11170   fi
11171 done
11172   done
11173 IFS=$as_save_IFS
11174
11175 fi
11176 fi
11177 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11178 if test -n "$DSYMUTIL"; then
11179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11180 printf "%s\n" "$DSYMUTIL" >&6; }
11181 else
11182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11183 printf "%s\n" "no" >&6; }
11184 fi
11185
11186
11187 fi
11188 if test -z "$ac_cv_prog_DSYMUTIL"; then
11189   ac_ct_DSYMUTIL=$DSYMUTIL
11190   # Extract the first word of "dsymutil", so it can be a program name with args.
11191 set dummy dsymutil; ac_word=$2
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11193 printf %s "checking for $ac_word... " >&6; }
11194 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
11195 then :
11196   printf %s "(cached) " >&6
11197 else $as_nop
11198   if test -n "$ac_ct_DSYMUTIL"; then
11199   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
11200 else
11201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11202 for as_dir in $PATH
11203 do
11204   IFS=$as_save_IFS
11205   case $as_dir in #(((
11206     '') as_dir=./ ;;
11207     */) ;;
11208     *) as_dir=$as_dir/ ;;
11209   esac
11210     for ac_exec_ext in '' $ac_executable_extensions; do
11211   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11212     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
11213     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11214     break 2
11215   fi
11216 done
11217   done
11218 IFS=$as_save_IFS
11219
11220 fi
11221 fi
11222 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
11223 if test -n "$ac_ct_DSYMUTIL"; then
11224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11225 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
11226 else
11227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 printf "%s\n" "no" >&6; }
11229 fi
11230
11231   if test "x$ac_ct_DSYMUTIL" = x; then
11232     DSYMUTIL=":"
11233   else
11234     case $cross_compiling:$ac_tool_warned in
11235 yes:)
11236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11237 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11238 ac_tool_warned=yes ;;
11239 esac
11240     DSYMUTIL=$ac_ct_DSYMUTIL
11241   fi
11242 else
11243   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
11244 fi
11245
11246     if test -n "$ac_tool_prefix"; then
11247   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
11248 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11250 printf %s "checking for $ac_word... " >&6; }
11251 if test ${ac_cv_prog_NMEDIT+y}
11252 then :
11253   printf %s "(cached) " >&6
11254 else $as_nop
11255   if test -n "$NMEDIT"; then
11256   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
11257 else
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11260 do
11261   IFS=$as_save_IFS
11262   case $as_dir in #(((
11263     '') as_dir=./ ;;
11264     */) ;;
11265     *) as_dir=$as_dir/ ;;
11266   esac
11267     for ac_exec_ext in '' $ac_executable_extensions; do
11268   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11269     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
11270     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11271     break 2
11272   fi
11273 done
11274   done
11275 IFS=$as_save_IFS
11276
11277 fi
11278 fi
11279 NMEDIT=$ac_cv_prog_NMEDIT
11280 if test -n "$NMEDIT"; then
11281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11282 printf "%s\n" "$NMEDIT" >&6; }
11283 else
11284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 printf "%s\n" "no" >&6; }
11286 fi
11287
11288
11289 fi
11290 if test -z "$ac_cv_prog_NMEDIT"; then
11291   ac_ct_NMEDIT=$NMEDIT
11292   # Extract the first word of "nmedit", so it can be a program name with args.
11293 set dummy nmedit; ac_word=$2
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11295 printf %s "checking for $ac_word... " >&6; }
11296 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
11297 then :
11298   printf %s "(cached) " >&6
11299 else $as_nop
11300   if test -n "$ac_ct_NMEDIT"; then
11301   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
11302 else
11303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11304 for as_dir in $PATH
11305 do
11306   IFS=$as_save_IFS
11307   case $as_dir in #(((
11308     '') as_dir=./ ;;
11309     */) ;;
11310     *) as_dir=$as_dir/ ;;
11311   esac
11312     for ac_exec_ext in '' $ac_executable_extensions; do
11313   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11314     ac_cv_prog_ac_ct_NMEDIT="nmedit"
11315     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11316     break 2
11317   fi
11318 done
11319   done
11320 IFS=$as_save_IFS
11321
11322 fi
11323 fi
11324 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
11325 if test -n "$ac_ct_NMEDIT"; then
11326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11327 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
11328 else
11329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 printf "%s\n" "no" >&6; }
11331 fi
11332
11333   if test "x$ac_ct_NMEDIT" = x; then
11334     NMEDIT=":"
11335   else
11336     case $cross_compiling:$ac_tool_warned in
11337 yes:)
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11339 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11340 ac_tool_warned=yes ;;
11341 esac
11342     NMEDIT=$ac_ct_NMEDIT
11343   fi
11344 else
11345   NMEDIT="$ac_cv_prog_NMEDIT"
11346 fi
11347
11348     if test -n "$ac_tool_prefix"; then
11349   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
11350 set dummy ${ac_tool_prefix}lipo; ac_word=$2
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11352 printf %s "checking for $ac_word... " >&6; }
11353 if test ${ac_cv_prog_LIPO+y}
11354 then :
11355   printf %s "(cached) " >&6
11356 else $as_nop
11357   if test -n "$LIPO"; then
11358   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11359 else
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11362 do
11363   IFS=$as_save_IFS
11364   case $as_dir in #(((
11365     '') as_dir=./ ;;
11366     */) ;;
11367     *) as_dir=$as_dir/ ;;
11368   esac
11369     for ac_exec_ext in '' $ac_executable_extensions; do
11370   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11371     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
11372     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11373     break 2
11374   fi
11375 done
11376   done
11377 IFS=$as_save_IFS
11378
11379 fi
11380 fi
11381 LIPO=$ac_cv_prog_LIPO
11382 if test -n "$LIPO"; then
11383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11384 printf "%s\n" "$LIPO" >&6; }
11385 else
11386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 printf "%s\n" "no" >&6; }
11388 fi
11389
11390
11391 fi
11392 if test -z "$ac_cv_prog_LIPO"; then
11393   ac_ct_LIPO=$LIPO
11394   # Extract the first word of "lipo", so it can be a program name with args.
11395 set dummy lipo; ac_word=$2
11396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11397 printf %s "checking for $ac_word... " >&6; }
11398 if test ${ac_cv_prog_ac_ct_LIPO+y}
11399 then :
11400   printf %s "(cached) " >&6
11401 else $as_nop
11402   if test -n "$ac_ct_LIPO"; then
11403   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
11404 else
11405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11406 for as_dir in $PATH
11407 do
11408   IFS=$as_save_IFS
11409   case $as_dir in #(((
11410     '') as_dir=./ ;;
11411     */) ;;
11412     *) as_dir=$as_dir/ ;;
11413   esac
11414     for ac_exec_ext in '' $ac_executable_extensions; do
11415   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11416     ac_cv_prog_ac_ct_LIPO="lipo"
11417     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11418     break 2
11419   fi
11420 done
11421   done
11422 IFS=$as_save_IFS
11423
11424 fi
11425 fi
11426 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
11427 if test -n "$ac_ct_LIPO"; then
11428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11429 printf "%s\n" "$ac_ct_LIPO" >&6; }
11430 else
11431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11432 printf "%s\n" "no" >&6; }
11433 fi
11434
11435   if test "x$ac_ct_LIPO" = x; then
11436     LIPO=":"
11437   else
11438     case $cross_compiling:$ac_tool_warned in
11439 yes:)
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11441 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11442 ac_tool_warned=yes ;;
11443 esac
11444     LIPO=$ac_ct_LIPO
11445   fi
11446 else
11447   LIPO="$ac_cv_prog_LIPO"
11448 fi
11449
11450     if test -n "$ac_tool_prefix"; then
11451   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
11452 set dummy ${ac_tool_prefix}otool; ac_word=$2
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 printf %s "checking for $ac_word... " >&6; }
11455 if test ${ac_cv_prog_OTOOL+y}
11456 then :
11457   printf %s "(cached) " >&6
11458 else $as_nop
11459   if test -n "$OTOOL"; then
11460   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11461 else
11462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11464 do
11465   IFS=$as_save_IFS
11466   case $as_dir in #(((
11467     '') as_dir=./ ;;
11468     */) ;;
11469     *) as_dir=$as_dir/ ;;
11470   esac
11471     for ac_exec_ext in '' $ac_executable_extensions; do
11472   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11473     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
11474     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11475     break 2
11476   fi
11477 done
11478   done
11479 IFS=$as_save_IFS
11480
11481 fi
11482 fi
11483 OTOOL=$ac_cv_prog_OTOOL
11484 if test -n "$OTOOL"; then
11485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11486 printf "%s\n" "$OTOOL" >&6; }
11487 else
11488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11489 printf "%s\n" "no" >&6; }
11490 fi
11491
11492
11493 fi
11494 if test -z "$ac_cv_prog_OTOOL"; then
11495   ac_ct_OTOOL=$OTOOL
11496   # Extract the first word of "otool", so it can be a program name with args.
11497 set dummy otool; ac_word=$2
11498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11499 printf %s "checking for $ac_word... " >&6; }
11500 if test ${ac_cv_prog_ac_ct_OTOOL+y}
11501 then :
11502   printf %s "(cached) " >&6
11503 else $as_nop
11504   if test -n "$ac_ct_OTOOL"; then
11505   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11506 else
11507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11508 for as_dir in $PATH
11509 do
11510   IFS=$as_save_IFS
11511   case $as_dir in #(((
11512     '') as_dir=./ ;;
11513     */) ;;
11514     *) as_dir=$as_dir/ ;;
11515   esac
11516     for ac_exec_ext in '' $ac_executable_extensions; do
11517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11518     ac_cv_prog_ac_ct_OTOOL="otool"
11519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11520     break 2
11521   fi
11522 done
11523   done
11524 IFS=$as_save_IFS
11525
11526 fi
11527 fi
11528 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11529 if test -n "$ac_ct_OTOOL"; then
11530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11531 printf "%s\n" "$ac_ct_OTOOL" >&6; }
11532 else
11533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11534 printf "%s\n" "no" >&6; }
11535 fi
11536
11537   if test "x$ac_ct_OTOOL" = x; then
11538     OTOOL=":"
11539   else
11540     case $cross_compiling:$ac_tool_warned in
11541 yes:)
11542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11543 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11544 ac_tool_warned=yes ;;
11545 esac
11546     OTOOL=$ac_ct_OTOOL
11547   fi
11548 else
11549   OTOOL="$ac_cv_prog_OTOOL"
11550 fi
11551
11552     if test -n "$ac_tool_prefix"; then
11553   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11554 set dummy ${ac_tool_prefix}otool64; ac_word=$2
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11556 printf %s "checking for $ac_word... " >&6; }
11557 if test ${ac_cv_prog_OTOOL64+y}
11558 then :
11559   printf %s "(cached) " >&6
11560 else $as_nop
11561   if test -n "$OTOOL64"; then
11562   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11563 else
11564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11565 for as_dir in $PATH
11566 do
11567   IFS=$as_save_IFS
11568   case $as_dir in #(((
11569     '') as_dir=./ ;;
11570     */) ;;
11571     *) as_dir=$as_dir/ ;;
11572   esac
11573     for ac_exec_ext in '' $ac_executable_extensions; do
11574   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11575     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11576     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11577     break 2
11578   fi
11579 done
11580   done
11581 IFS=$as_save_IFS
11582
11583 fi
11584 fi
11585 OTOOL64=$ac_cv_prog_OTOOL64
11586 if test -n "$OTOOL64"; then
11587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11588 printf "%s\n" "$OTOOL64" >&6; }
11589 else
11590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11591 printf "%s\n" "no" >&6; }
11592 fi
11593
11594
11595 fi
11596 if test -z "$ac_cv_prog_OTOOL64"; then
11597   ac_ct_OTOOL64=$OTOOL64
11598   # Extract the first word of "otool64", so it can be a program name with args.
11599 set dummy otool64; ac_word=$2
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 printf %s "checking for $ac_word... " >&6; }
11602 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
11603 then :
11604   printf %s "(cached) " >&6
11605 else $as_nop
11606   if test -n "$ac_ct_OTOOL64"; then
11607   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11608 else
11609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11610 for as_dir in $PATH
11611 do
11612   IFS=$as_save_IFS
11613   case $as_dir in #(((
11614     '') as_dir=./ ;;
11615     */) ;;
11616     *) as_dir=$as_dir/ ;;
11617   esac
11618     for ac_exec_ext in '' $ac_executable_extensions; do
11619   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11620     ac_cv_prog_ac_ct_OTOOL64="otool64"
11621     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11622     break 2
11623   fi
11624 done
11625   done
11626 IFS=$as_save_IFS
11627
11628 fi
11629 fi
11630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11631 if test -n "$ac_ct_OTOOL64"; then
11632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11633 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
11634 else
11635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 printf "%s\n" "no" >&6; }
11637 fi
11638
11639   if test "x$ac_ct_OTOOL64" = x; then
11640     OTOOL64=":"
11641   else
11642     case $cross_compiling:$ac_tool_warned in
11643 yes:)
11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11645 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11646 ac_tool_warned=yes ;;
11647 esac
11648     OTOOL64=$ac_ct_OTOOL64
11649   fi
11650 else
11651   OTOOL64="$ac_cv_prog_OTOOL64"
11652 fi
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11681 printf %s "checking for -single_module linker flag... " >&6; }
11682 if test ${lt_cv_apple_cc_single_mod+y}
11683 then :
11684   printf %s "(cached) " >&6
11685 else $as_nop
11686   lt_cv_apple_cc_single_mod=no
11687       if test -z "$LT_MULTI_MODULE"; then
11688         # By default we will add the -single_module flag. You can override
11689         # by either setting the environment variable LT_MULTI_MODULE
11690         # non-empty at configure time, or by adding -multi_module to the
11691         # link flags.
11692         rm -rf libconftest.dylib*
11693         echo "int foo(void){return 1;}" > conftest.c
11694         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11695 -dynamiclib -Wl,-single_module conftest.c" >&5
11696         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11697           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11698         _lt_result=$?
11699         # If there is a non-empty error log, and "single_module"
11700         # appears in it, assume the flag caused a linker warning
11701         if test -s conftest.err && $GREP single_module conftest.err; then
11702           cat conftest.err >&5
11703         # Otherwise, if the output was created with a 0 exit code from
11704         # the compiler, it worked.
11705         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11706           lt_cv_apple_cc_single_mod=yes
11707         else
11708           cat conftest.err >&5
11709         fi
11710         rm -rf libconftest.dylib*
11711         rm -f conftest.*
11712       fi
11713 fi
11714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11715 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
11716
11717     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11718 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11719 if test ${lt_cv_ld_exported_symbols_list+y}
11720 then :
11721   printf %s "(cached) " >&6
11722 else $as_nop
11723   lt_cv_ld_exported_symbols_list=no
11724       save_LDFLAGS=$LDFLAGS
11725       echo "_main" > conftest.sym
11726       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h.  */
11729
11730 int
11731 main (void)
11732 {
11733
11734   ;
11735   return 0;
11736 }
11737 _ACEOF
11738 if ac_fn_c_try_link "$LINENO"
11739 then :
11740   lt_cv_ld_exported_symbols_list=yes
11741 else $as_nop
11742   lt_cv_ld_exported_symbols_list=no
11743 fi
11744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11745     conftest$ac_exeext conftest.$ac_ext
11746         LDFLAGS=$save_LDFLAGS
11747
11748 fi
11749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11750 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
11751
11752     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11753 printf %s "checking for -force_load linker flag... " >&6; }
11754 if test ${lt_cv_ld_force_load+y}
11755 then :
11756   printf %s "(cached) " >&6
11757 else $as_nop
11758   lt_cv_ld_force_load=no
11759       cat > conftest.c << _LT_EOF
11760 int forced_loaded() { return 2;}
11761 _LT_EOF
11762       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11763       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11764       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
11765       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
11766       echo "$RANLIB libconftest.a" >&5
11767       $RANLIB libconftest.a 2>&5
11768       cat > conftest.c << _LT_EOF
11769 int main() { return 0;}
11770 _LT_EOF
11771       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11772       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11773       _lt_result=$?
11774       if test -s conftest.err && $GREP force_load conftest.err; then
11775         cat conftest.err >&5
11776       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11777         lt_cv_ld_force_load=yes
11778       else
11779         cat conftest.err >&5
11780       fi
11781         rm -f conftest.err libconftest.a conftest conftest.c
11782         rm -rf conftest.dSYM
11783
11784 fi
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11786 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
11787     case $host_os in
11788     rhapsody* | darwin1.[012])
11789       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11790     darwin1.*)
11791       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11792     darwin*)
11793       case $MACOSX_DEPLOYMENT_TARGET,$host in
11794         10.[012],*|,*powerpc*-darwin[5-8]*)
11795           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11796         *)
11797           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11798       esac
11799     ;;
11800   esac
11801     if test yes = "$lt_cv_apple_cc_single_mod"; then
11802       _lt_dar_single_mod='$single_module'
11803     fi
11804     if test yes = "$lt_cv_ld_exported_symbols_list"; then
11805       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11806     else
11807       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11808     fi
11809     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
11810       _lt_dsymutil='~$DSYMUTIL $lib || :'
11811     else
11812       _lt_dsymutil=
11813     fi
11814     ;;
11815   esac
11816
11817 # func_munge_path_list VARIABLE PATH
11818 # -----------------------------------
11819 # VARIABLE is name of variable containing _space_ separated list of
11820 # directories to be munged by the contents of PATH, which is string
11821 # having a format:
11822 # "DIR[:DIR]:"
11823 #       string "DIR[ DIR]" will be prepended to VARIABLE
11824 # ":DIR[:DIR]"
11825 #       string "DIR[ DIR]" will be appended to VARIABLE
11826 # "DIRP[:DIRP]::[DIRA:]DIRA"
11827 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
11828 #       "DIRA[ DIRA]" will be appended to VARIABLE
11829 # "DIR[:DIR]"
11830 #       VARIABLE will be replaced by "DIR[ DIR]"
11831 func_munge_path_list ()
11832 {
11833     case x$2 in
11834     x)
11835         ;;
11836     *:)
11837         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
11838         ;;
11839     x:*)
11840         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
11841         ;;
11842     *::*)
11843         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11844         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11845         ;;
11846     *)
11847         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
11848         ;;
11849     esac
11850 }
11851
11852 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11853 "
11854 if test "x$ac_cv_header_dlfcn_h" = xyes
11855 then :
11856   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
11857
11858 fi
11859
11860
11861
11862
11863
11864 # Set options
11865
11866
11867
11868         enable_dlopen=no
11869
11870
11871   enable_win32_dll=no
11872
11873
11874             # Check whether --enable-shared was given.
11875 if test ${enable_shared+y}
11876 then :
11877   enableval=$enable_shared; p=${PACKAGE-default}
11878     case $enableval in
11879     yes) enable_shared=yes ;;
11880     no) enable_shared=no ;;
11881     *)
11882       enable_shared=no
11883       # Look at the argument we got.  We use all the common list separators.
11884       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11885       for pkg in $enableval; do
11886         IFS=$lt_save_ifs
11887         if test "X$pkg" = "X$p"; then
11888           enable_shared=yes
11889         fi
11890       done
11891       IFS=$lt_save_ifs
11892       ;;
11893     esac
11894 else $as_nop
11895   enable_shared=yes
11896 fi
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908 # Check whether --with-pic was given.
11909 if test ${with_pic+y}
11910 then :
11911   withval=$with_pic; lt_p=${PACKAGE-default}
11912     case $withval in
11913     yes|no) pic_mode=$withval ;;
11914     *)
11915       pic_mode=default
11916       # Look at the argument we got.  We use all the common list separators.
11917       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11918       for lt_pkg in $withval; do
11919         IFS=$lt_save_ifs
11920         if test "X$lt_pkg" = "X$lt_p"; then
11921           pic_mode=yes
11922         fi
11923       done
11924       IFS=$lt_save_ifs
11925       ;;
11926     esac
11927 else $as_nop
11928   pic_mode=default
11929 fi
11930
11931
11932
11933
11934
11935
11936
11937
11938   # Check whether --enable-fast-install was given.
11939 if test ${enable_fast_install+y}
11940 then :
11941   enableval=$enable_fast_install; p=${PACKAGE-default}
11942     case $enableval in
11943     yes) enable_fast_install=yes ;;
11944     no) enable_fast_install=no ;;
11945     *)
11946       enable_fast_install=no
11947       # Look at the argument we got.  We use all the common list separators.
11948       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11949       for pkg in $enableval; do
11950         IFS=$lt_save_ifs
11951         if test "X$pkg" = "X$p"; then
11952           enable_fast_install=yes
11953         fi
11954       done
11955       IFS=$lt_save_ifs
11956       ;;
11957     esac
11958 else $as_nop
11959   enable_fast_install=yes
11960 fi
11961
11962
11963
11964
11965
11966
11967
11968
11969   shared_archive_member_spec=
11970 case $host,$enable_shared in
11971 power*-*-aix[5-9]*,yes)
11972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11973 printf %s "checking which variant of shared library versioning to provide... " >&6; }
11974
11975 # Check whether --with-aix-soname was given.
11976 if test ${with_aix_soname+y}
11977 then :
11978   withval=$with_aix_soname; case $withval in
11979     aix|svr4|both)
11980       ;;
11981     *)
11982       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11983       ;;
11984     esac
11985     lt_cv_with_aix_soname=$with_aix_soname
11986 else $as_nop
11987   if test ${lt_cv_with_aix_soname+y}
11988 then :
11989   printf %s "(cached) " >&6
11990 else $as_nop
11991   lt_cv_with_aix_soname=aix
11992 fi
11993
11994     with_aix_soname=$lt_cv_with_aix_soname
11995 fi
11996
11997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11998 printf "%s\n" "$with_aix_soname" >&6; }
11999   if test aix != "$with_aix_soname"; then
12000     # For the AIX way of multilib, we name the shared archive member
12001     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
12002     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12003     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12004     # the AIX toolchain works better with OBJECT_MODE set (default 32).
12005     if test 64 = "${OBJECT_MODE-32}"; then
12006       shared_archive_member_spec=shr_64
12007     else
12008       shared_archive_member_spec=shr
12009     fi
12010   fi
12011   ;;
12012 *)
12013   with_aix_soname=aix
12014   ;;
12015 esac
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026 # This can be used to rebuild libtool when needed
12027 LIBTOOL_DEPS=$ltmain
12028
12029 # Always use our own libtool.
12030 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061 test -z "$LN_S" && LN_S="ln -s"
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076 if test -n "${ZSH_VERSION+set}"; then
12077    setopt NO_GLOB_SUBST
12078 fi
12079
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12081 printf %s "checking for objdir... " >&6; }
12082 if test ${lt_cv_objdir+y}
12083 then :
12084   printf %s "(cached) " >&6
12085 else $as_nop
12086   rm -f .libs 2>/dev/null
12087 mkdir .libs 2>/dev/null
12088 if test -d .libs; then
12089   lt_cv_objdir=.libs
12090 else
12091   # MS-DOS does not allow filenames that begin with a dot.
12092   lt_cv_objdir=_libs
12093 fi
12094 rmdir .libs 2>/dev/null
12095 fi
12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12097 printf "%s\n" "$lt_cv_objdir" >&6; }
12098 objdir=$lt_cv_objdir
12099
12100
12101
12102
12103
12104 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
12105
12106
12107
12108
12109 case $host_os in
12110 aix3*)
12111   # AIX sometimes has problems with the GCC collect2 program.  For some
12112   # reason, if we set the COLLECT_NAMES environment variable, the problems
12113   # vanish in a puff of smoke.
12114   if test set != "${COLLECT_NAMES+set}"; then
12115     COLLECT_NAMES=
12116     export COLLECT_NAMES
12117   fi
12118   ;;
12119 esac
12120
12121 # Global variables:
12122 ofile=libtool
12123 can_build_shared=yes
12124
12125 # All known linkers require a '.a' archive for static linking (except MSVC and
12126 # ICC, which need '.lib').
12127 libext=a
12128
12129 with_gnu_ld=$lt_cv_prog_gnu_ld
12130
12131 old_CC=$CC
12132 old_CFLAGS=$CFLAGS
12133
12134 # Set sane defaults for various variables
12135 test -z "$CC" && CC=cc
12136 test -z "$LTCC" && LTCC=$CC
12137 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12138 test -z "$LD" && LD=ld
12139 test -z "$ac_objext" && ac_objext=o
12140
12141 func_cc_basename $compiler
12142 cc_basename=$func_cc_basename_result
12143
12144
12145 # Only perform the check for file, if the check method requires it
12146 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12147 case $deplibs_check_method in
12148 file_magic*)
12149   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12150     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12151 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
12152 if test ${lt_cv_path_MAGIC_CMD+y}
12153 then :
12154   printf %s "(cached) " >&6
12155 else $as_nop
12156   case $MAGIC_CMD in
12157 [\\/*] |  ?:[\\/]*)
12158   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12159   ;;
12160 *)
12161   lt_save_MAGIC_CMD=$MAGIC_CMD
12162   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12163   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12164   for ac_dir in $ac_dummy; do
12165     IFS=$lt_save_ifs
12166     test -z "$ac_dir" && ac_dir=.
12167     if test -f "$ac_dir/${ac_tool_prefix}file"; then
12168       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
12169       if test -n "$file_magic_test_file"; then
12170         case $deplibs_check_method in
12171         "file_magic "*)
12172           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12173           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12174           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12175             $EGREP "$file_magic_regex" > /dev/null; then
12176             :
12177           else
12178             cat <<_LT_EOF 1>&2
12179
12180 *** Warning: the command libtool uses to detect shared libraries,
12181 *** $file_magic_cmd, produces output that libtool cannot recognize.
12182 *** The result is that libtool may fail to recognize shared libraries
12183 *** as such.  This will affect the creation of libtool libraries that
12184 *** depend on shared libraries, but programs linked with such libtool
12185 *** libraries will work regardless of this problem.  Nevertheless, you
12186 *** may want to report the problem to your system manager and/or to
12187 *** bug-libtool@gnu.org
12188
12189 _LT_EOF
12190           fi ;;
12191         esac
12192       fi
12193       break
12194     fi
12195   done
12196   IFS=$lt_save_ifs
12197   MAGIC_CMD=$lt_save_MAGIC_CMD
12198   ;;
12199 esac
12200 fi
12201
12202 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12203 if test -n "$MAGIC_CMD"; then
12204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12205 printf "%s\n" "$MAGIC_CMD" >&6; }
12206 else
12207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 printf "%s\n" "no" >&6; }
12209 fi
12210
12211
12212
12213
12214
12215 if test -z "$lt_cv_path_MAGIC_CMD"; then
12216   if test -n "$ac_tool_prefix"; then
12217     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12218 printf %s "checking for file... " >&6; }
12219 if test ${lt_cv_path_MAGIC_CMD+y}
12220 then :
12221   printf %s "(cached) " >&6
12222 else $as_nop
12223   case $MAGIC_CMD in
12224 [\\/*] |  ?:[\\/]*)
12225   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12226   ;;
12227 *)
12228   lt_save_MAGIC_CMD=$MAGIC_CMD
12229   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12230   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12231   for ac_dir in $ac_dummy; do
12232     IFS=$lt_save_ifs
12233     test -z "$ac_dir" && ac_dir=.
12234     if test -f "$ac_dir/file"; then
12235       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
12236       if test -n "$file_magic_test_file"; then
12237         case $deplibs_check_method in
12238         "file_magic "*)
12239           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12240           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12241           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12242             $EGREP "$file_magic_regex" > /dev/null; then
12243             :
12244           else
12245             cat <<_LT_EOF 1>&2
12246
12247 *** Warning: the command libtool uses to detect shared libraries,
12248 *** $file_magic_cmd, produces output that libtool cannot recognize.
12249 *** The result is that libtool may fail to recognize shared libraries
12250 *** as such.  This will affect the creation of libtool libraries that
12251 *** depend on shared libraries, but programs linked with such libtool
12252 *** libraries will work regardless of this problem.  Nevertheless, you
12253 *** may want to report the problem to your system manager and/or to
12254 *** bug-libtool@gnu.org
12255
12256 _LT_EOF
12257           fi ;;
12258         esac
12259       fi
12260       break
12261     fi
12262   done
12263   IFS=$lt_save_ifs
12264   MAGIC_CMD=$lt_save_MAGIC_CMD
12265   ;;
12266 esac
12267 fi
12268
12269 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
12270 if test -n "$MAGIC_CMD"; then
12271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12272 printf "%s\n" "$MAGIC_CMD" >&6; }
12273 else
12274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 printf "%s\n" "no" >&6; }
12276 fi
12277
12278
12279   else
12280     MAGIC_CMD=:
12281   fi
12282 fi
12283
12284   fi
12285   ;;
12286 esac
12287
12288 # Use C for the default configuration in the libtool script
12289
12290 lt_save_CC=$CC
12291 ac_ext=c
12292 ac_cpp='$CPP $CPPFLAGS'
12293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12296
12297
12298 # Source file extension for C test sources.
12299 ac_ext=c
12300
12301 # Object file extension for compiled C test sources.
12302 objext=o
12303 objext=$objext
12304
12305 # Code to be used in simple compile tests
12306 lt_simple_compile_test_code="int some_variable = 0;"
12307
12308 # Code to be used in simple link tests
12309 lt_simple_link_test_code='int main(){return(0);}'
12310
12311
12312
12313
12314
12315
12316
12317 # If no C compiler was specified, use CC.
12318 LTCC=${LTCC-"$CC"}
12319
12320 # If no C compiler flags were specified, use CFLAGS.
12321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12322
12323 # Allow CC to be a program name with arguments.
12324 compiler=$CC
12325
12326 # Save the default compiler, since it gets overwritten when the other
12327 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12328 compiler_DEFAULT=$CC
12329
12330 # save warnings/boilerplate of simple test code
12331 ac_outfile=conftest.$ac_objext
12332 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12333 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12334 _lt_compiler_boilerplate=`cat conftest.err`
12335 $RM conftest*
12336
12337 ac_outfile=conftest.$ac_objext
12338 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12339 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12340 _lt_linker_boilerplate=`cat conftest.err`
12341 $RM -r conftest*
12342
12343
12344 ## CAVEAT EMPTOR:
12345 ## There is no encapsulation within the following macros, do not change
12346 ## the running order or otherwise move them around unless you know exactly
12347 ## what you are doing...
12348 if test -n "$compiler"; then
12349
12350 lt_prog_compiler_no_builtin_flag=
12351
12352 if test yes = "$GCC"; then
12353   case $cc_basename in
12354   nvcc*)
12355     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
12356   *)
12357     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
12358   esac
12359
12360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12361 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12362 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
12363 then :
12364   printf %s "(cached) " >&6
12365 else $as_nop
12366   lt_cv_prog_compiler_rtti_exceptions=no
12367    ac_outfile=conftest.$ac_objext
12368    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12369    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
12370    # Insert the option either (1) after the last *FLAGS variable, or
12371    # (2) before a word containing "conftest.", or (3) at the end.
12372    # Note that $ac_compile itself does not contain backslashes and begins
12373    # with a dollar sign (not a hyphen), so the echo should work correctly.
12374    # The option is referenced via a variable to avoid confusing sed.
12375    lt_compile=`echo "$ac_compile" | $SED \
12376    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12377    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12378    -e 's:$: $lt_compiler_flag:'`
12379    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12380    (eval "$lt_compile" 2>conftest.err)
12381    ac_status=$?
12382    cat conftest.err >&5
12383    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384    if (exit $ac_status) && test -s "$ac_outfile"; then
12385      # The compiler can only warn and ignore the option if not recognized
12386      # So say no if there are warnings other than the usual output.
12387      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12388      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12389      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12390        lt_cv_prog_compiler_rtti_exceptions=yes
12391      fi
12392    fi
12393    $RM conftest*
12394
12395 fi
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12397 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12398
12399 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
12400     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12401 else
12402     :
12403 fi
12404
12405 fi
12406
12407
12408
12409
12410
12411
12412   lt_prog_compiler_wl=
12413 lt_prog_compiler_pic=
12414 lt_prog_compiler_static=
12415
12416
12417   if test yes = "$GCC"; then
12418     lt_prog_compiler_wl='-Wl,'
12419     lt_prog_compiler_static='-static'
12420
12421     case $host_os in
12422       aix*)
12423       # All AIX code is PIC.
12424       if test ia64 = "$host_cpu"; then
12425         # AIX 5 now supports IA64 processor
12426         lt_prog_compiler_static='-Bstatic'
12427       fi
12428       lt_prog_compiler_pic='-fPIC'
12429       ;;
12430
12431     amigaos*)
12432       case $host_cpu in
12433       powerpc)
12434             # see comment about AmigaOS4 .so support
12435             lt_prog_compiler_pic='-fPIC'
12436         ;;
12437       m68k)
12438             # FIXME: we need at least 68020 code to build shared libraries, but
12439             # adding the '-m68020' flag to GCC prevents building anything better,
12440             # like '-m68040'.
12441             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12442         ;;
12443       esac
12444       ;;
12445
12446     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12447       # PIC is the default for these OSes.
12448       ;;
12449
12450     mingw* | cygwin* | pw32* | os2* | cegcc*)
12451       # This hack is so that the source file can tell whether it is being
12452       # built for inclusion in a dll (and should export symbols for example).
12453       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12454       # (--disable-auto-import) libraries
12455       lt_prog_compiler_pic='-DDLL_EXPORT'
12456       case $host_os in
12457       os2*)
12458         lt_prog_compiler_static='$wl-static'
12459         ;;
12460       esac
12461       ;;
12462
12463     darwin* | rhapsody*)
12464       # PIC is the default on this platform
12465       # Common symbols not allowed in MH_DYLIB files
12466       lt_prog_compiler_pic='-fno-common'
12467       ;;
12468
12469     haiku*)
12470       # PIC is the default for Haiku.
12471       # The "-static" flag exists, but is broken.
12472       lt_prog_compiler_static=
12473       ;;
12474
12475     hpux*)
12476       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12477       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12478       # sets the default TLS model and affects inlining.
12479       case $host_cpu in
12480       hppa*64*)
12481         # +Z the default
12482         ;;
12483       *)
12484         lt_prog_compiler_pic='-fPIC'
12485         ;;
12486       esac
12487       ;;
12488
12489     interix[3-9]*)
12490       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12491       # Instead, we relocate shared libraries at runtime.
12492       ;;
12493
12494     msdosdjgpp*)
12495       # Just because we use GCC doesn't mean we suddenly get shared libraries
12496       # on systems that don't support them.
12497       lt_prog_compiler_can_build_shared=no
12498       enable_shared=no
12499       ;;
12500
12501     *nto* | *qnx*)
12502       # QNX uses GNU C++, but need to define -shared option too, otherwise
12503       # it will coredump.
12504       lt_prog_compiler_pic='-fPIC -shared'
12505       ;;
12506
12507     sysv4*MP*)
12508       if test -d /usr/nec; then
12509         lt_prog_compiler_pic=-Kconform_pic
12510       fi
12511       ;;
12512
12513     *)
12514       lt_prog_compiler_pic='-fPIC'
12515       ;;
12516     esac
12517
12518     case $cc_basename in
12519     nvcc*) # Cuda Compiler Driver 2.2
12520       lt_prog_compiler_wl='-Xlinker '
12521       if test -n "$lt_prog_compiler_pic"; then
12522         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
12523       fi
12524       ;;
12525     esac
12526   else
12527     # PORTME Check for flag to pass linker flags through the system compiler.
12528     case $host_os in
12529     aix*)
12530       lt_prog_compiler_wl='-Wl,'
12531       if test ia64 = "$host_cpu"; then
12532         # AIX 5 now supports IA64 processor
12533         lt_prog_compiler_static='-Bstatic'
12534       else
12535         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12536       fi
12537       ;;
12538
12539     darwin* | rhapsody*)
12540       # PIC is the default on this platform
12541       # Common symbols not allowed in MH_DYLIB files
12542       lt_prog_compiler_pic='-fno-common'
12543       case $cc_basename in
12544       nagfor*)
12545         # NAG Fortran compiler
12546         lt_prog_compiler_wl='-Wl,-Wl,,'
12547         lt_prog_compiler_pic='-PIC'
12548         lt_prog_compiler_static='-Bstatic'
12549         ;;
12550       esac
12551       ;;
12552
12553     mingw* | cygwin* | pw32* | os2* | cegcc*)
12554       # This hack is so that the source file can tell whether it is being
12555       # built for inclusion in a dll (and should export symbols for example).
12556       lt_prog_compiler_pic='-DDLL_EXPORT'
12557       case $host_os in
12558       os2*)
12559         lt_prog_compiler_static='$wl-static'
12560         ;;
12561       esac
12562       ;;
12563
12564     hpux9* | hpux10* | hpux11*)
12565       lt_prog_compiler_wl='-Wl,'
12566       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12567       # not for PA HP-UX.
12568       case $host_cpu in
12569       hppa*64*|ia64*)
12570         # +Z the default
12571         ;;
12572       *)
12573         lt_prog_compiler_pic='+Z'
12574         ;;
12575       esac
12576       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12577       lt_prog_compiler_static='$wl-a ${wl}archive'
12578       ;;
12579
12580     irix5* | irix6* | nonstopux*)
12581       lt_prog_compiler_wl='-Wl,'
12582       # PIC (with -KPIC) is the default.
12583       lt_prog_compiler_static='-non_shared'
12584       ;;
12585
12586     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12587       case $cc_basename in
12588       # old Intel for x86_64, which still supported -KPIC.
12589       ecc*)
12590         lt_prog_compiler_wl='-Wl,'
12591         lt_prog_compiler_pic='-KPIC'
12592         lt_prog_compiler_static='-static'
12593         ;;
12594       # flang / f18. f95 an alias for gfortran or flang on Debian
12595       flang* | f18* | f95*)
12596         lt_prog_compiler_wl='-Wl,'
12597         lt_prog_compiler_pic='-fPIC'
12598         lt_prog_compiler_static='-static'
12599         ;;
12600       # icc used to be incompatible with GCC.
12601       # ICC 10 doesn't accept -KPIC any more.
12602       icc* | ifort*)
12603         lt_prog_compiler_wl='-Wl,'
12604         lt_prog_compiler_pic='-fPIC'
12605         lt_prog_compiler_static='-static'
12606         ;;
12607       # Lahey Fortran 8.1.
12608       lf95*)
12609         lt_prog_compiler_wl='-Wl,'
12610         lt_prog_compiler_pic='--shared'
12611         lt_prog_compiler_static='--static'
12612         ;;
12613       nagfor*)
12614         # NAG Fortran compiler
12615         lt_prog_compiler_wl='-Wl,-Wl,,'
12616         lt_prog_compiler_pic='-PIC'
12617         lt_prog_compiler_static='-Bstatic'
12618         ;;
12619       tcc*)
12620         # Fabrice Bellard et al's Tiny C Compiler
12621         lt_prog_compiler_wl='-Wl,'
12622         lt_prog_compiler_pic='-fPIC'
12623         lt_prog_compiler_static='-static'
12624         ;;
12625       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12626         # Portland Group compilers (*not* the Pentium gcc compiler,
12627         # which looks to be a dead project)
12628         lt_prog_compiler_wl='-Wl,'
12629         lt_prog_compiler_pic='-fpic'
12630         lt_prog_compiler_static='-Bstatic'
12631         ;;
12632       ccc*)
12633         lt_prog_compiler_wl='-Wl,'
12634         # All Alpha code is PIC.
12635         lt_prog_compiler_static='-non_shared'
12636         ;;
12637       xl* | bgxl* | bgf* | mpixl*)
12638         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12639         lt_prog_compiler_wl='-Wl,'
12640         lt_prog_compiler_pic='-qpic'
12641         lt_prog_compiler_static='-qstaticlink'
12642         ;;
12643       *)
12644         case `$CC -V 2>&1 | $SED 5q` in
12645         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12646           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12647           lt_prog_compiler_pic='-KPIC'
12648           lt_prog_compiler_static='-Bstatic'
12649           lt_prog_compiler_wl=''
12650           ;;
12651         *Sun\ F* | *Sun*Fortran*)
12652           lt_prog_compiler_pic='-KPIC'
12653           lt_prog_compiler_static='-Bstatic'
12654           lt_prog_compiler_wl='-Qoption ld '
12655           ;;
12656         *Sun\ C*)
12657           # Sun C 5.9
12658           lt_prog_compiler_pic='-KPIC'
12659           lt_prog_compiler_static='-Bstatic'
12660           lt_prog_compiler_wl='-Wl,'
12661           ;;
12662         *Intel*\ [CF]*Compiler*)
12663           lt_prog_compiler_wl='-Wl,'
12664           lt_prog_compiler_pic='-fPIC'
12665           lt_prog_compiler_static='-static'
12666           ;;
12667         *Portland\ Group*)
12668           lt_prog_compiler_wl='-Wl,'
12669           lt_prog_compiler_pic='-fpic'
12670           lt_prog_compiler_static='-Bstatic'
12671           ;;
12672         esac
12673         ;;
12674       esac
12675       ;;
12676
12677     newsos6)
12678       lt_prog_compiler_pic='-KPIC'
12679       lt_prog_compiler_static='-Bstatic'
12680       ;;
12681
12682     *nto* | *qnx*)
12683       # QNX uses GNU C++, but need to define -shared option too, otherwise
12684       # it will coredump.
12685       lt_prog_compiler_pic='-fPIC -shared'
12686       ;;
12687
12688     osf3* | osf4* | osf5*)
12689       lt_prog_compiler_wl='-Wl,'
12690       # All OSF/1 code is PIC.
12691       lt_prog_compiler_static='-non_shared'
12692       ;;
12693
12694     rdos*)
12695       lt_prog_compiler_static='-non_shared'
12696       ;;
12697
12698     solaris*)
12699       lt_prog_compiler_pic='-KPIC'
12700       lt_prog_compiler_static='-Bstatic'
12701       case $cc_basename in
12702       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12703         lt_prog_compiler_wl='-Qoption ld ';;
12704       *)
12705         lt_prog_compiler_wl='-Wl,';;
12706       esac
12707       ;;
12708
12709     sunos4*)
12710       lt_prog_compiler_wl='-Qoption ld '
12711       lt_prog_compiler_pic='-PIC'
12712       lt_prog_compiler_static='-Bstatic'
12713       ;;
12714
12715     sysv4 | sysv4.2uw2* | sysv4.3*)
12716       lt_prog_compiler_wl='-Wl,'
12717       lt_prog_compiler_pic='-KPIC'
12718       lt_prog_compiler_static='-Bstatic'
12719       ;;
12720
12721     sysv4*MP*)
12722       if test -d /usr/nec; then
12723         lt_prog_compiler_pic='-Kconform_pic'
12724         lt_prog_compiler_static='-Bstatic'
12725       fi
12726       ;;
12727
12728     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12729       lt_prog_compiler_wl='-Wl,'
12730       lt_prog_compiler_pic='-KPIC'
12731       lt_prog_compiler_static='-Bstatic'
12732       ;;
12733
12734     unicos*)
12735       lt_prog_compiler_wl='-Wl,'
12736       lt_prog_compiler_can_build_shared=no
12737       ;;
12738
12739     uts4*)
12740       lt_prog_compiler_pic='-pic'
12741       lt_prog_compiler_static='-Bstatic'
12742       ;;
12743
12744     *)
12745       lt_prog_compiler_can_build_shared=no
12746       ;;
12747     esac
12748   fi
12749
12750 case $host_os in
12751   # For platforms that do not support PIC, -DPIC is meaningless:
12752   *djgpp*)
12753     lt_prog_compiler_pic=
12754     ;;
12755   *)
12756     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12757     ;;
12758 esac
12759
12760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12761 printf %s "checking for $compiler option to produce PIC... " >&6; }
12762 if test ${lt_cv_prog_compiler_pic+y}
12763 then :
12764   printf %s "(cached) " >&6
12765 else $as_nop
12766   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12767 fi
12768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12769 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
12770 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12771
12772 #
12773 # Check to make sure the PIC flag actually works.
12774 #
12775 if test -n "$lt_prog_compiler_pic"; then
12776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12777 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12778 if test ${lt_cv_prog_compiler_pic_works+y}
12779 then :
12780   printf %s "(cached) " >&6
12781 else $as_nop
12782   lt_cv_prog_compiler_pic_works=no
12783    ac_outfile=conftest.$ac_objext
12784    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12785    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
12786    # Insert the option either (1) after the last *FLAGS variable, or
12787    # (2) before a word containing "conftest.", or (3) at the end.
12788    # Note that $ac_compile itself does not contain backslashes and begins
12789    # with a dollar sign (not a hyphen), so the echo should work correctly.
12790    # The option is referenced via a variable to avoid confusing sed.
12791    lt_compile=`echo "$ac_compile" | $SED \
12792    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12793    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12794    -e 's:$: $lt_compiler_flag:'`
12795    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12796    (eval "$lt_compile" 2>conftest.err)
12797    ac_status=$?
12798    cat conftest.err >&5
12799    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800    if (exit $ac_status) && test -s "$ac_outfile"; then
12801      # The compiler can only warn and ignore the option if not recognized
12802      # So say no if there are warnings other than the usual output.
12803      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12804      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12805      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12806        lt_cv_prog_compiler_pic_works=yes
12807      fi
12808    fi
12809    $RM conftest*
12810
12811 fi
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12813 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
12814
12815 if test yes = "$lt_cv_prog_compiler_pic_works"; then
12816     case $lt_prog_compiler_pic in
12817      "" | " "*) ;;
12818      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12819      esac
12820 else
12821     lt_prog_compiler_pic=
12822      lt_prog_compiler_can_build_shared=no
12823 fi
12824
12825 fi
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837 #
12838 # Check to make sure the static flag actually works.
12839 #
12840 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12842 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12843 if test ${lt_cv_prog_compiler_static_works+y}
12844 then :
12845   printf %s "(cached) " >&6
12846 else $as_nop
12847   lt_cv_prog_compiler_static_works=no
12848    save_LDFLAGS=$LDFLAGS
12849    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12850    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12851    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12852      # The linker can only warn and ignore the option if not recognized
12853      # So say no if there are warnings
12854      if test -s conftest.err; then
12855        # Append any errors to the config.log.
12856        cat conftest.err 1>&5
12857        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12858        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12859        if diff conftest.exp conftest.er2 >/dev/null; then
12860          lt_cv_prog_compiler_static_works=yes
12861        fi
12862      else
12863        lt_cv_prog_compiler_static_works=yes
12864      fi
12865    fi
12866    $RM -r conftest*
12867    LDFLAGS=$save_LDFLAGS
12868
12869 fi
12870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12871 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
12872
12873 if test yes = "$lt_cv_prog_compiler_static_works"; then
12874     :
12875 else
12876     lt_prog_compiler_static=
12877 fi
12878
12879
12880
12881
12882
12883
12884
12885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12886 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12887 if test ${lt_cv_prog_compiler_c_o+y}
12888 then :
12889   printf %s "(cached) " >&6
12890 else $as_nop
12891   lt_cv_prog_compiler_c_o=no
12892    $RM -r conftest 2>/dev/null
12893    mkdir conftest
12894    cd conftest
12895    mkdir out
12896    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12897
12898    lt_compiler_flag="-o out/conftest2.$ac_objext"
12899    # Insert the option either (1) after the last *FLAGS variable, or
12900    # (2) before a word containing "conftest.", or (3) at the end.
12901    # Note that $ac_compile itself does not contain backslashes and begins
12902    # with a dollar sign (not a hyphen), so the echo should work correctly.
12903    lt_compile=`echo "$ac_compile" | $SED \
12904    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12905    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12906    -e 's:$: $lt_compiler_flag:'`
12907    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12908    (eval "$lt_compile" 2>out/conftest.err)
12909    ac_status=$?
12910    cat out/conftest.err >&5
12911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12913    then
12914      # The compiler can only warn and ignore the option if not recognized
12915      # So say no if there are warnings
12916      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12917      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12918      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12919        lt_cv_prog_compiler_c_o=yes
12920      fi
12921    fi
12922    chmod u+w . 2>&5
12923    $RM conftest*
12924    # SGI C++ compiler will create directory out/ii_files/ for
12925    # template instantiation
12926    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12927    $RM out/* && rmdir out
12928    cd ..
12929    $RM -r conftest
12930    $RM conftest*
12931
12932 fi
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12934 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12935
12936
12937
12938
12939
12940
12941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12942 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12943 if test ${lt_cv_prog_compiler_c_o+y}
12944 then :
12945   printf %s "(cached) " >&6
12946 else $as_nop
12947   lt_cv_prog_compiler_c_o=no
12948    $RM -r conftest 2>/dev/null
12949    mkdir conftest
12950    cd conftest
12951    mkdir out
12952    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12953
12954    lt_compiler_flag="-o out/conftest2.$ac_objext"
12955    # Insert the option either (1) after the last *FLAGS variable, or
12956    # (2) before a word containing "conftest.", or (3) at the end.
12957    # Note that $ac_compile itself does not contain backslashes and begins
12958    # with a dollar sign (not a hyphen), so the echo should work correctly.
12959    lt_compile=`echo "$ac_compile" | $SED \
12960    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12961    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12962    -e 's:$: $lt_compiler_flag:'`
12963    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12964    (eval "$lt_compile" 2>out/conftest.err)
12965    ac_status=$?
12966    cat out/conftest.err >&5
12967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12969    then
12970      # The compiler can only warn and ignore the option if not recognized
12971      # So say no if there are warnings
12972      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12973      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12974      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12975        lt_cv_prog_compiler_c_o=yes
12976      fi
12977    fi
12978    chmod u+w . 2>&5
12979    $RM conftest*
12980    # SGI C++ compiler will create directory out/ii_files/ for
12981    # template instantiation
12982    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12983    $RM out/* && rmdir out
12984    cd ..
12985    $RM -r conftest
12986    $RM conftest*
12987
12988 fi
12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12990 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12991
12992
12993
12994
12995 hard_links=nottested
12996 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12997   # do not overwrite the value of need_locks provided by the user
12998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12999 printf %s "checking if we can lock with hard links... " >&6; }
13000   hard_links=yes
13001   $RM conftest*
13002   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13003   touch conftest.a
13004   ln conftest.a conftest.b 2>&5 || hard_links=no
13005   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13007 printf "%s\n" "$hard_links" >&6; }
13008   if test no = "$hard_links"; then
13009     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
13010 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13011     need_locks=warn
13012   fi
13013 else
13014   need_locks=no
13015 fi
13016
13017
13018
13019
13020
13021
13022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13023 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13024
13025   runpath_var=
13026   allow_undefined_flag=
13027   always_export_symbols=no
13028   archive_cmds=
13029   archive_expsym_cmds=
13030   compiler_needs_object=no
13031   enable_shared_with_static_runtimes=no
13032   export_dynamic_flag_spec=
13033   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13034   hardcode_automatic=no
13035   hardcode_direct=no
13036   hardcode_direct_absolute=no
13037   hardcode_libdir_flag_spec=
13038   hardcode_libdir_separator=
13039   hardcode_minus_L=no
13040   hardcode_shlibpath_var=unsupported
13041   inherit_rpath=no
13042   link_all_deplibs=unknown
13043   module_cmds=
13044   module_expsym_cmds=
13045   old_archive_from_new_cmds=
13046   old_archive_from_expsyms_cmds=
13047   thread_safe_flag_spec=
13048   whole_archive_flag_spec=
13049   # include_expsyms should be a list of space-separated symbols to be *always*
13050   # included in the symbol list
13051   include_expsyms=
13052   # exclude_expsyms can be an extended regexp of symbols to exclude
13053   # it will be wrapped by ' (' and ')$', so one must not match beginning or
13054   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
13055   # as well as any symbol that contains 'd'.
13056   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13057   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13058   # platforms (ab)use it in PIC code, but their linkers get confused if
13059   # the symbol is explicitly referenced.  Since portable code cannot
13060   # rely on this symbol name, it's probably fine to never include it in
13061   # preloaded symbol tables.
13062   # Exclude shared library initialization/finalization symbols.
13063   extract_expsyms_cmds=
13064
13065   case $host_os in
13066   cygwin* | mingw* | pw32* | cegcc*)
13067     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
13068     # When not using gcc, we currently assume that we are using
13069     # Microsoft Visual C++ or Intel C++ Compiler.
13070     if test yes != "$GCC"; then
13071       with_gnu_ld=no
13072     fi
13073     ;;
13074   interix*)
13075     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
13076     with_gnu_ld=yes
13077     ;;
13078   openbsd* | bitrig*)
13079     with_gnu_ld=no
13080     ;;
13081   linux* | k*bsd*-gnu | gnu*)
13082     link_all_deplibs=no
13083     ;;
13084   esac
13085
13086   ld_shlibs=yes
13087
13088   # On some targets, GNU ld is compatible enough with the native linker
13089   # that we're better off using the native interface for both.
13090   lt_use_gnu_ld_interface=no
13091   if test yes = "$with_gnu_ld"; then
13092     case $host_os in
13093       aix*)
13094         # The AIX port of GNU ld has always aspired to compatibility
13095         # with the native linker.  However, as the warning in the GNU ld
13096         # block says, versions before 2.19.5* couldn't really create working
13097         # shared libraries, regardless of the interface used.
13098         case `$LD -v 2>&1` in
13099           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13100           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13101           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13102           *)
13103             lt_use_gnu_ld_interface=yes
13104             ;;
13105         esac
13106         ;;
13107       *)
13108         lt_use_gnu_ld_interface=yes
13109         ;;
13110     esac
13111   fi
13112
13113   if test yes = "$lt_use_gnu_ld_interface"; then
13114     # If archive_cmds runs LD, not CC, wlarc should be empty
13115     wlarc='$wl'
13116
13117     # Set some defaults for GNU ld with shared library support. These
13118     # are reset later if shared libraries are not supported. Putting them
13119     # here allows them to be overridden if necessary.
13120     runpath_var=LD_RUN_PATH
13121     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13122     export_dynamic_flag_spec='$wl--export-dynamic'
13123     # ancient GNU ld didn't support --whole-archive et. al.
13124     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13125       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13126     else
13127       whole_archive_flag_spec=
13128     fi
13129     supports_anon_versioning=no
13130     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
13131       *GNU\ gold*) supports_anon_versioning=yes ;;
13132       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13133       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13134       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13135       *\ 2.11.*) ;; # other 2.11 versions
13136       *) supports_anon_versioning=yes ;;
13137     esac
13138
13139     # See if GNU ld supports shared libraries.
13140     case $host_os in
13141     aix[3-9]*)
13142       # On AIX/PPC, the GNU linker is very broken
13143       if test ia64 != "$host_cpu"; then
13144         ld_shlibs=no
13145         cat <<_LT_EOF 1>&2
13146
13147 *** Warning: the GNU linker, at least up to release 2.19, is reported
13148 *** to be unable to reliably create shared libraries on AIX.
13149 *** Therefore, libtool is disabling shared libraries support.  If you
13150 *** really care for shared libraries, you may want to install binutils
13151 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13152 *** You will then need to restart the configuration process.
13153
13154 _LT_EOF
13155       fi
13156       ;;
13157
13158     amigaos*)
13159       case $host_cpu in
13160       powerpc)
13161             # see comment about AmigaOS4 .so support
13162             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13163             archive_expsym_cmds=''
13164         ;;
13165       m68k)
13166             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)'
13167             hardcode_libdir_flag_spec='-L$libdir'
13168             hardcode_minus_L=yes
13169         ;;
13170       esac
13171       ;;
13172
13173     beos*)
13174       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13175         allow_undefined_flag=unsupported
13176         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13177         # support --undefined.  This deserves some investigation.  FIXME
13178         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13179       else
13180         ld_shlibs=no
13181       fi
13182       ;;
13183
13184     cygwin* | mingw* | pw32* | cegcc*)
13185       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13186       # as there is no search path for DLLs.
13187       hardcode_libdir_flag_spec='-L$libdir'
13188       export_dynamic_flag_spec='$wl--export-all-symbols'
13189       allow_undefined_flag=unsupported
13190       always_export_symbols=no
13191       enable_shared_with_static_runtimes=yes
13192       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'
13193       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13194
13195       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13196         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13197         # If the export-symbols file already is a .def file, use it as
13198         # is; otherwise, prepend EXPORTS...
13199         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13200           cp $export_symbols $output_objdir/$soname.def;
13201         else
13202           echo EXPORTS > $output_objdir/$soname.def;
13203           cat $export_symbols >> $output_objdir/$soname.def;
13204         fi~
13205         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13206       else
13207         ld_shlibs=no
13208       fi
13209       ;;
13210
13211     haiku*)
13212       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13213       link_all_deplibs=yes
13214       ;;
13215
13216     os2*)
13217       hardcode_libdir_flag_spec='-L$libdir'
13218       hardcode_minus_L=yes
13219       allow_undefined_flag=unsupported
13220       shrext_cmds=.dll
13221       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13222         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13223         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13224         $ECHO EXPORTS >> $output_objdir/$libname.def~
13225         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13226         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13227         emximp -o $lib $output_objdir/$libname.def'
13228       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13229         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13230         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13231         $ECHO EXPORTS >> $output_objdir/$libname.def~
13232         prefix_cmds="$SED"~
13233         if test EXPORTS = "`$SED 1q $export_symbols`"; then
13234           prefix_cmds="$prefix_cmds -e 1d";
13235         fi~
13236         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13237         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13238         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13239         emximp -o $lib $output_objdir/$libname.def'
13240       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13241       enable_shared_with_static_runtimes=yes
13242       file_list_spec='@'
13243       ;;
13244
13245     interix[3-9]*)
13246       hardcode_direct=no
13247       hardcode_shlibpath_var=no
13248       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13249       export_dynamic_flag_spec='$wl-E'
13250       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13251       # Instead, shared libraries are loaded at an image base (0x10000000 by
13252       # default) and relocated if they conflict, which is a slow very memory
13253       # consuming and fragmenting process.  To avoid this, we pick a random,
13254       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13255       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13256       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13257       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'
13258       ;;
13259
13260     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13261       tmp_diet=no
13262       if test linux-dietlibc = "$host_os"; then
13263         case $cc_basename in
13264           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13265         esac
13266       fi
13267       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13268          && test no = "$tmp_diet"
13269       then
13270         tmp_addflag=' $pic_flag'
13271         tmp_sharedflag='-shared'
13272         case $cc_basename,$host_cpu in
13273         pgcc*)                          # Portland Group C compiler
13274           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'
13275           tmp_addflag=' $pic_flag'
13276           ;;
13277         pgf77* | pgf90* | pgf95* | pgfortran*)
13278                                         # Portland Group f77 and f90 compilers
13279           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'
13280           tmp_addflag=' $pic_flag -Mnomain' ;;
13281         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13282           tmp_addflag=' -i_dynamic' ;;
13283         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13284           tmp_addflag=' -i_dynamic -nofor_main' ;;
13285         ifc* | ifort*)                  # Intel Fortran compiler
13286           tmp_addflag=' -nofor_main' ;;
13287         lf95*)                          # Lahey Fortran 8.1
13288           whole_archive_flag_spec=
13289           tmp_sharedflag='--shared' ;;
13290         nagfor*)                        # NAGFOR 5.3
13291           tmp_sharedflag='-Wl,-shared' ;;
13292         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13293           tmp_sharedflag='-qmkshrobj'
13294           tmp_addflag= ;;
13295         nvcc*)  # Cuda Compiler Driver 2.2
13296           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'
13297           compiler_needs_object=yes
13298           ;;
13299         esac
13300         case `$CC -V 2>&1 | $SED 5q` in
13301         *Sun\ C*)                       # Sun C 5.9
13302           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'
13303           compiler_needs_object=yes
13304           tmp_sharedflag='-G' ;;
13305         *Sun\ F*)                       # Sun Fortran 8.3
13306           tmp_sharedflag='-G' ;;
13307         esac
13308         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13309
13310         if test yes = "$supports_anon_versioning"; then
13311           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13312             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13313             echo "local: *; };" >> $output_objdir/$libname.ver~
13314             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13315         fi
13316
13317         case $cc_basename in
13318         tcc*)
13319           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13320           export_dynamic_flag_spec='-rdynamic'
13321           ;;
13322         xlf* | bgf* | bgxlf* | mpixlf*)
13323           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13324           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13325           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13326           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13327           if test yes = "$supports_anon_versioning"; then
13328             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13329               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13330               echo "local: *; };" >> $output_objdir/$libname.ver~
13331               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13332           fi
13333           ;;
13334         esac
13335       else
13336         ld_shlibs=no
13337       fi
13338       ;;
13339
13340     netbsd* | netbsdelf*-gnu)
13341       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13342         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13343         wlarc=
13344       else
13345         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13346         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13347       fi
13348       ;;
13349
13350     solaris*)
13351       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13352         ld_shlibs=no
13353         cat <<_LT_EOF 1>&2
13354
13355 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13356 *** create shared libraries on Solaris systems.  Therefore, libtool
13357 *** is disabling shared libraries support.  We urge you to upgrade GNU
13358 *** binutils to release 2.9.1 or newer.  Another option is to modify
13359 *** your PATH or compiler configuration so that the native linker is
13360 *** used, and then restart.
13361
13362 _LT_EOF
13363       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13364         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13365         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13366       else
13367         ld_shlibs=no
13368       fi
13369       ;;
13370
13371     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13372       case `$LD -v 2>&1` in
13373         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13374         ld_shlibs=no
13375         cat <<_LT_EOF 1>&2
13376
13377 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
13378 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13379 *** is disabling shared libraries support.  We urge you to upgrade GNU
13380 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13381 *** your PATH or compiler configuration so that the native linker is
13382 *** used, and then restart.
13383
13384 _LT_EOF
13385         ;;
13386         *)
13387           # For security reasons, it is highly recommended that you always
13388           # use absolute paths for naming shared libraries, and exclude the
13389           # DT_RUNPATH tag from executables and libraries.  But doing so
13390           # requires that you compile everything twice, which is a pain.
13391           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13392             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13393             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13394             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13395           else
13396             ld_shlibs=no
13397           fi
13398         ;;
13399       esac
13400       ;;
13401
13402     sunos4*)
13403       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13404       wlarc=
13405       hardcode_direct=yes
13406       hardcode_shlibpath_var=no
13407       ;;
13408
13409     *)
13410       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13411         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13412         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13413       else
13414         ld_shlibs=no
13415       fi
13416       ;;
13417     esac
13418
13419     if test no = "$ld_shlibs"; then
13420       runpath_var=
13421       hardcode_libdir_flag_spec=
13422       export_dynamic_flag_spec=
13423       whole_archive_flag_spec=
13424     fi
13425   else
13426     # PORTME fill in a description of your system's linker (not GNU ld)
13427     case $host_os in
13428     aix3*)
13429       allow_undefined_flag=unsupported
13430       always_export_symbols=yes
13431       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'
13432       # Note: this linker hardcodes the directories in LIBPATH if there
13433       # are no directories specified by -L.
13434       hardcode_minus_L=yes
13435       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
13436         # Neither direct hardcoding nor static linking is supported with a
13437         # broken collect2.
13438         hardcode_direct=unsupported
13439       fi
13440       ;;
13441
13442     aix[4-9]*)
13443       if test ia64 = "$host_cpu"; then
13444         # On IA64, the linker does run time linking by default, so we don't
13445         # have to do anything special.
13446         aix_use_runtimelinking=no
13447         exp_sym_flag='-Bexport'
13448         no_entry_flag=
13449       else
13450         # If we're using GNU nm, then we don't want the "-C" option.
13451         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
13452         # Without the "-l" option, or with the "-B" option, AIX nm treats
13453         # weak defined symbols like other global defined symbols, whereas
13454         # GNU nm marks them as "W".
13455         # While the 'weak' keyword is ignored in the Export File, we need
13456         # it in the Import File for the 'aix-soname' feature, so we have
13457         # to replace the "-B" option with "-P" for AIX nm.
13458         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13459           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'
13460         else
13461           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 == "L") || (\$ 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'
13462         fi
13463         aix_use_runtimelinking=no
13464
13465         # Test if we are trying to use run time linking or normal
13466         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13467         # have runtime linking enabled, and use it for executables.
13468         # For shared libraries, we enable/disable runtime linking
13469         # depending on the kind of the shared library created -
13470         # when "with_aix_soname,aix_use_runtimelinking" is:
13471         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13472         # "aix,yes"  lib.so          shared, rtl:yes, for executables
13473         #            lib.a           static archive
13474         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13475         #            lib.a(lib.so.V) shared, rtl:no,  for executables
13476         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13477         #            lib.a(lib.so.V) shared, rtl:no
13478         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13479         #            lib.a           static archive
13480         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13481           for ld_flag in $LDFLAGS; do
13482           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
13483             aix_use_runtimelinking=yes
13484             break
13485           fi
13486           done
13487           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13488             # With aix-soname=svr4, we create the lib.so.V shared archives only,
13489             # so we don't have lib.a shared libs to link our executables.
13490             # We have to force runtime linking in this case.
13491             aix_use_runtimelinking=yes
13492             LDFLAGS="$LDFLAGS -Wl,-brtl"
13493           fi
13494           ;;
13495         esac
13496
13497         exp_sym_flag='-bexport'
13498         no_entry_flag='-bnoentry'
13499       fi
13500
13501       # When large executables or shared objects are built, AIX ld can
13502       # have problems creating the table of contents.  If linking a library
13503       # or program results in "error TOC overflow" add -mminimal-toc to
13504       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13505       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13506
13507       archive_cmds=''
13508       hardcode_direct=yes
13509       hardcode_direct_absolute=yes
13510       hardcode_libdir_separator=':'
13511       link_all_deplibs=yes
13512       file_list_spec='$wl-f,'
13513       case $with_aix_soname,$aix_use_runtimelinking in
13514       aix,*) ;; # traditional, no import file
13515       svr4,* | *,yes) # use import file
13516         # The Import File defines what to hardcode.
13517         hardcode_direct=no
13518         hardcode_direct_absolute=no
13519         ;;
13520       esac
13521
13522       if test yes = "$GCC"; then
13523         case $host_os in aix4.[012]|aix4.[012].*)
13524         # We only want to do this on AIX 4.2 and lower, the check
13525         # below for broken collect2 doesn't work under 4.3+
13526           collect2name=`$CC -print-prog-name=collect2`
13527           if test -f "$collect2name" &&
13528            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13529           then
13530           # We have reworked collect2
13531           :
13532           else
13533           # We have old collect2
13534           hardcode_direct=unsupported
13535           # It fails to find uninstalled libraries when the uninstalled
13536           # path is not listed in the libpath.  Setting hardcode_minus_L
13537           # to unsupported forces relinking
13538           hardcode_minus_L=yes
13539           hardcode_libdir_flag_spec='-L$libdir'
13540           hardcode_libdir_separator=
13541           fi
13542           ;;
13543         esac
13544         shared_flag='-shared'
13545         if test yes = "$aix_use_runtimelinking"; then
13546           shared_flag="$shared_flag "'$wl-G'
13547         fi
13548         # Need to ensure runtime linking is disabled for the traditional
13549         # shared library, or the linker may eventually find shared libraries
13550         # /with/ Import File - we do not want to mix them.
13551         shared_flag_aix='-shared'
13552         shared_flag_svr4='-shared $wl-G'
13553       else
13554         # not using gcc
13555         if test ia64 = "$host_cpu"; then
13556         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13557         # chokes on -Wl,-G. The following line is correct:
13558           shared_flag='-G'
13559         else
13560           if test yes = "$aix_use_runtimelinking"; then
13561             shared_flag='$wl-G'
13562           else
13563             shared_flag='$wl-bM:SRE'
13564           fi
13565           shared_flag_aix='$wl-bM:SRE'
13566           shared_flag_svr4='$wl-G'
13567         fi
13568       fi
13569
13570       export_dynamic_flag_spec='$wl-bexpall'
13571       # It seems that -bexpall does not export symbols beginning with
13572       # underscore (_), so it is better to generate a list of symbols to export.
13573       always_export_symbols=yes
13574       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13575         # Warning - without using the other runtime loading flags (-brtl),
13576         # -berok will link without error, but may produce a broken library.
13577         allow_undefined_flag='-berok'
13578         # Determine the default libpath from the value encoded in an
13579         # empty executable.
13580         if test set = "${lt_cv_aix_libpath+set}"; then
13581   aix_libpath=$lt_cv_aix_libpath
13582 else
13583   if test ${lt_cv_aix_libpath_+y}
13584 then :
13585   printf %s "(cached) " >&6
13586 else $as_nop
13587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h.  */
13589
13590 int
13591 main (void)
13592 {
13593
13594   ;
13595   return 0;
13596 }
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"
13599 then :
13600
13601   lt_aix_libpath_sed='
13602       /Import File Strings/,/^$/ {
13603           /^0/ {
13604               s/^0  *\([^ ]*\) *$/\1/
13605               p
13606           }
13607       }'
13608   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13609   # Check for a 64-bit object if we didn't find anything.
13610   if test -z "$lt_cv_aix_libpath_"; then
13611     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13612   fi
13613 fi
13614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13615     conftest$ac_exeext conftest.$ac_ext
13616   if test -z "$lt_cv_aix_libpath_"; then
13617     lt_cv_aix_libpath_=/usr/lib:/lib
13618   fi
13619
13620 fi
13621
13622   aix_libpath=$lt_cv_aix_libpath_
13623 fi
13624
13625         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13626         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
13627       else
13628         if test ia64 = "$host_cpu"; then
13629           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
13630           allow_undefined_flag="-z nodefs"
13631           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"
13632         else
13633          # Determine the default libpath from the value encoded in an
13634          # empty executable.
13635          if test set = "${lt_cv_aix_libpath+set}"; then
13636   aix_libpath=$lt_cv_aix_libpath
13637 else
13638   if test ${lt_cv_aix_libpath_+y}
13639 then :
13640   printf %s "(cached) " >&6
13641 else $as_nop
13642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h.  */
13644
13645 int
13646 main (void)
13647 {
13648
13649   ;
13650   return 0;
13651 }
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"
13654 then :
13655
13656   lt_aix_libpath_sed='
13657       /Import File Strings/,/^$/ {
13658           /^0/ {
13659               s/^0  *\([^ ]*\) *$/\1/
13660               p
13661           }
13662       }'
13663   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13664   # Check for a 64-bit object if we didn't find anything.
13665   if test -z "$lt_cv_aix_libpath_"; then
13666     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13667   fi
13668 fi
13669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13670     conftest$ac_exeext conftest.$ac_ext
13671   if test -z "$lt_cv_aix_libpath_"; then
13672     lt_cv_aix_libpath_=/usr/lib:/lib
13673   fi
13674
13675 fi
13676
13677   aix_libpath=$lt_cv_aix_libpath_
13678 fi
13679
13680          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13681           # Warning - without using the other run time loading flags,
13682           # -berok will link without error, but may produce a broken library.
13683           no_undefined_flag=' $wl-bernotok'
13684           allow_undefined_flag=' $wl-berok'
13685           if test yes = "$with_gnu_ld"; then
13686             # We only use this code for GNU lds that support --whole-archive.
13687             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
13688           else
13689             # Exported symbols can be pulled into shared objects from archives
13690             whole_archive_flag_spec='$convenience'
13691           fi
13692           archive_cmds_need_lc=yes
13693           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13694           # -brtl affects multiple linker settings, -berok does not and is overridden later
13695           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13696           if test svr4 != "$with_aix_soname"; then
13697             # This is similar to how AIX traditionally builds its shared libraries.
13698             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'
13699           fi
13700           if test aix != "$with_aix_soname"; then
13701             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'
13702           else
13703             # used by -dlpreopen to get the symbols
13704             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13705           fi
13706           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13707         fi
13708       fi
13709       ;;
13710
13711     amigaos*)
13712       case $host_cpu in
13713       powerpc)
13714             # see comment about AmigaOS4 .so support
13715             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13716             archive_expsym_cmds=''
13717         ;;
13718       m68k)
13719             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)'
13720             hardcode_libdir_flag_spec='-L$libdir'
13721             hardcode_minus_L=yes
13722         ;;
13723       esac
13724       ;;
13725
13726     bsdi[45]*)
13727       export_dynamic_flag_spec=-rdynamic
13728       ;;
13729
13730     cygwin* | mingw* | pw32* | cegcc*)
13731       # When not using gcc, we currently assume that we are using
13732       # Microsoft Visual C++ or Intel C++ Compiler.
13733       # hardcode_libdir_flag_spec is actually meaningless, as there is
13734       # no search path for DLLs.
13735       case $cc_basename in
13736       cl* | icl*)
13737         # Native MSVC or ICC
13738         hardcode_libdir_flag_spec=' '
13739         allow_undefined_flag=unsupported
13740         always_export_symbols=yes
13741         file_list_spec='@'
13742         # Tell ltmain to make .lib files, not .a files.
13743         libext=lib
13744         # Tell ltmain to make .dll files, not .so files.
13745         shrext_cmds=.dll
13746         # FIXME: Setting linknames here is a bad hack.
13747         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13748         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13749             cp "$export_symbols" "$output_objdir/$soname.def";
13750             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13751           else
13752             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13753           fi~
13754           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13755           linknames='
13756         # The linker will not automatically build a static lib if we build a DLL.
13757         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13758         enable_shared_with_static_runtimes=yes
13759         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13760         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13761         # Don't use ranlib
13762         old_postinstall_cmds='chmod 644 $oldlib'
13763         postlink_cmds='lt_outputfile="@OUTPUT@"~
13764           lt_tool_outputfile="@TOOL_OUTPUT@"~
13765           case $lt_outputfile in
13766             *.exe|*.EXE) ;;
13767             *)
13768               lt_outputfile=$lt_outputfile.exe
13769               lt_tool_outputfile=$lt_tool_outputfile.exe
13770               ;;
13771           esac~
13772           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13773             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13774             $RM "$lt_outputfile.manifest";
13775           fi'
13776         ;;
13777       *)
13778         # Assume MSVC and ICC wrapper
13779         hardcode_libdir_flag_spec=' '
13780         allow_undefined_flag=unsupported
13781         # Tell ltmain to make .lib files, not .a files.
13782         libext=lib
13783         # Tell ltmain to make .dll files, not .so files.
13784         shrext_cmds=.dll
13785         # FIXME: Setting linknames here is a bad hack.
13786         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13787         # The linker will automatically build a .lib file if we build a DLL.
13788         old_archive_from_new_cmds='true'
13789         # FIXME: Should let the user specify the lib program.
13790         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13791         enable_shared_with_static_runtimes=yes
13792         ;;
13793       esac
13794       ;;
13795
13796     darwin* | rhapsody*)
13797
13798
13799   archive_cmds_need_lc=no
13800   hardcode_direct=no
13801   hardcode_automatic=yes
13802   hardcode_shlibpath_var=unsupported
13803   if test yes = "$lt_cv_ld_force_load"; then
13804     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\"`'
13805
13806   else
13807     whole_archive_flag_spec=''
13808   fi
13809   link_all_deplibs=yes
13810   allow_undefined_flag=$_lt_dar_allow_undefined
13811   case $cc_basename in
13812      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13813      *) _lt_dar_can_shared=$GCC ;;
13814   esac
13815   if test yes = "$_lt_dar_can_shared"; then
13816     output_verbose_link_cmd=func_echo_all
13817     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13818     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13819     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"
13820     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"
13821
13822   else
13823   ld_shlibs=no
13824   fi
13825
13826       ;;
13827
13828     dgux*)
13829       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13830       hardcode_libdir_flag_spec='-L$libdir'
13831       hardcode_shlibpath_var=no
13832       ;;
13833
13834     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13835     # support.  Future versions do this automatically, but an explicit c++rt0.o
13836     # does not break anything, and helps significantly (at the cost of a little
13837     # extra space).
13838     freebsd2.2*)
13839       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13840       hardcode_libdir_flag_spec='-R$libdir'
13841       hardcode_direct=yes
13842       hardcode_shlibpath_var=no
13843       ;;
13844
13845     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13846     freebsd2.*)
13847       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13848       hardcode_direct=yes
13849       hardcode_minus_L=yes
13850       hardcode_shlibpath_var=no
13851       ;;
13852
13853     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13854     freebsd* | dragonfly* | midnightbsd*)
13855       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13856       hardcode_libdir_flag_spec='-R$libdir'
13857       hardcode_direct=yes
13858       hardcode_shlibpath_var=no
13859       ;;
13860
13861     hpux9*)
13862       if test yes = "$GCC"; then
13863         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'
13864       else
13865         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'
13866       fi
13867       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13868       hardcode_libdir_separator=:
13869       hardcode_direct=yes
13870
13871       # hardcode_minus_L: Not really in the search PATH,
13872       # but as the default location of the library.
13873       hardcode_minus_L=yes
13874       export_dynamic_flag_spec='$wl-E'
13875       ;;
13876
13877     hpux10*)
13878       if test yes,no = "$GCC,$with_gnu_ld"; then
13879         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13880       else
13881         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13882       fi
13883       if test no = "$with_gnu_ld"; then
13884         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13885         hardcode_libdir_separator=:
13886         hardcode_direct=yes
13887         hardcode_direct_absolute=yes
13888         export_dynamic_flag_spec='$wl-E'
13889         # hardcode_minus_L: Not really in the search PATH,
13890         # but as the default location of the library.
13891         hardcode_minus_L=yes
13892       fi
13893       ;;
13894
13895     hpux11*)
13896       if test yes,no = "$GCC,$with_gnu_ld"; then
13897         case $host_cpu in
13898         hppa*64*)
13899           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13900           ;;
13901         ia64*)
13902           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13903           ;;
13904         *)
13905           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13906           ;;
13907         esac
13908       else
13909         case $host_cpu in
13910         hppa*64*)
13911           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13912           ;;
13913         ia64*)
13914           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13915           ;;
13916         *)
13917
13918           # Older versions of the 11.00 compiler do not understand -b yet
13919           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13920           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13921 printf %s "checking if $CC understands -b... " >&6; }
13922 if test ${lt_cv_prog_compiler__b+y}
13923 then :
13924   printf %s "(cached) " >&6
13925 else $as_nop
13926   lt_cv_prog_compiler__b=no
13927    save_LDFLAGS=$LDFLAGS
13928    LDFLAGS="$LDFLAGS -b"
13929    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13930    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13931      # The linker can only warn and ignore the option if not recognized
13932      # So say no if there are warnings
13933      if test -s conftest.err; then
13934        # Append any errors to the config.log.
13935        cat conftest.err 1>&5
13936        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13937        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13938        if diff conftest.exp conftest.er2 >/dev/null; then
13939          lt_cv_prog_compiler__b=yes
13940        fi
13941      else
13942        lt_cv_prog_compiler__b=yes
13943      fi
13944    fi
13945    $RM -r conftest*
13946    LDFLAGS=$save_LDFLAGS
13947
13948 fi
13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13950 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
13951
13952 if test yes = "$lt_cv_prog_compiler__b"; then
13953     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13954 else
13955     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13956 fi
13957
13958           ;;
13959         esac
13960       fi
13961       if test no = "$with_gnu_ld"; then
13962         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13963         hardcode_libdir_separator=:
13964
13965         case $host_cpu in
13966         hppa*64*|ia64*)
13967           hardcode_direct=no
13968           hardcode_shlibpath_var=no
13969           ;;
13970         *)
13971           hardcode_direct=yes
13972           hardcode_direct_absolute=yes
13973           export_dynamic_flag_spec='$wl-E'
13974
13975           # hardcode_minus_L: Not really in the search PATH,
13976           # but as the default location of the library.
13977           hardcode_minus_L=yes
13978           ;;
13979         esac
13980       fi
13981       ;;
13982
13983     irix5* | irix6* | nonstopux*)
13984       if test yes = "$GCC"; then
13985         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'
13986         # Try to use the -exported_symbol ld option, if it does not
13987         # work, assume that -exports_file does not work either and
13988         # implicitly export all symbols.
13989         # This should be the same for all languages, so no per-tag cache variable.
13990         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13991 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13992 if test ${lt_cv_irix_exported_symbol+y}
13993 then :
13994   printf %s "(cached) " >&6
13995 else $as_nop
13996   save_LDFLAGS=$LDFLAGS
13997            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13998            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h.  */
14000 int foo (void) { return 0; }
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"
14003 then :
14004   lt_cv_irix_exported_symbol=yes
14005 else $as_nop
14006   lt_cv_irix_exported_symbol=no
14007 fi
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14009     conftest$ac_exeext conftest.$ac_ext
14010            LDFLAGS=$save_LDFLAGS
14011 fi
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14013 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
14014         if test yes = "$lt_cv_irix_exported_symbol"; then
14015           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'
14016         fi
14017         link_all_deplibs=no
14018       else
14019         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'
14020         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'
14021       fi
14022       archive_cmds_need_lc='no'
14023       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14024       hardcode_libdir_separator=:
14025       inherit_rpath=yes
14026       link_all_deplibs=yes
14027       ;;
14028
14029     linux*)
14030       case $cc_basename in
14031       tcc*)
14032         # Fabrice Bellard et al's Tiny C Compiler
14033         ld_shlibs=yes
14034         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14035         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14036         ;;
14037       esac
14038       ;;
14039
14040     netbsd* | netbsdelf*-gnu)
14041       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14042         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14043       else
14044         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14045       fi
14046       hardcode_libdir_flag_spec='-R$libdir'
14047       hardcode_direct=yes
14048       hardcode_shlibpath_var=no
14049       ;;
14050
14051     newsos6)
14052       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14053       hardcode_direct=yes
14054       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14055       hardcode_libdir_separator=:
14056       hardcode_shlibpath_var=no
14057       ;;
14058
14059     *nto* | *qnx*)
14060       ;;
14061
14062     openbsd* | bitrig*)
14063       if test -f /usr/libexec/ld.so; then
14064         hardcode_direct=yes
14065         hardcode_shlibpath_var=no
14066         hardcode_direct_absolute=yes
14067         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14068           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14069           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
14070           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14071           export_dynamic_flag_spec='$wl-E'
14072         else
14073           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14074           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14075         fi
14076       else
14077         ld_shlibs=no
14078       fi
14079       ;;
14080
14081     os2*)
14082       hardcode_libdir_flag_spec='-L$libdir'
14083       hardcode_minus_L=yes
14084       allow_undefined_flag=unsupported
14085       shrext_cmds=.dll
14086       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14087         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14088         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14089         $ECHO EXPORTS >> $output_objdir/$libname.def~
14090         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14091         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14092         emximp -o $lib $output_objdir/$libname.def'
14093       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14094         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14095         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14096         $ECHO EXPORTS >> $output_objdir/$libname.def~
14097         prefix_cmds="$SED"~
14098         if test EXPORTS = "`$SED 1q $export_symbols`"; then
14099           prefix_cmds="$prefix_cmds -e 1d";
14100         fi~
14101         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14102         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14103         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14104         emximp -o $lib $output_objdir/$libname.def'
14105       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14106       enable_shared_with_static_runtimes=yes
14107       file_list_spec='@'
14108       ;;
14109
14110     osf3*)
14111       if test yes = "$GCC"; then
14112         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14113         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'
14114       else
14115         allow_undefined_flag=' -expect_unresolved \*'
14116         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'
14117       fi
14118       archive_cmds_need_lc='no'
14119       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14120       hardcode_libdir_separator=:
14121       ;;
14122
14123     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14124       if test yes = "$GCC"; then
14125         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14126         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'
14127         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14128       else
14129         allow_undefined_flag=' -expect_unresolved \*'
14130         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'
14131         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~
14132           $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'
14133
14134         # Both c and cxx compiler support -rpath directly
14135         hardcode_libdir_flag_spec='-rpath $libdir'
14136       fi
14137       archive_cmds_need_lc='no'
14138       hardcode_libdir_separator=:
14139       ;;
14140
14141     solaris*)
14142       no_undefined_flag=' -z defs'
14143       if test yes = "$GCC"; then
14144         wlarc='$wl'
14145         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14146         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14147           $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'
14148       else
14149         case `$CC -V 2>&1` in
14150         *"Compilers 5.0"*)
14151           wlarc=''
14152           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14153           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14154             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14155           ;;
14156         *)
14157           wlarc='$wl'
14158           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14159           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14160             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14161           ;;
14162         esac
14163       fi
14164       hardcode_libdir_flag_spec='-R$libdir'
14165       hardcode_shlibpath_var=no
14166       case $host_os in
14167       solaris2.[0-5] | solaris2.[0-5].*) ;;
14168       *)
14169         # The compiler driver will combine and reorder linker options,
14170         # but understands '-z linker_flag'.  GCC discards it without '$wl',
14171         # but is careful enough not to reorder.
14172         # Supported since Solaris 2.6 (maybe 2.5.1?)
14173         if test yes = "$GCC"; then
14174           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14175         else
14176           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14177         fi
14178         ;;
14179       esac
14180       link_all_deplibs=yes
14181       ;;
14182
14183     sunos4*)
14184       if test sequent = "$host_vendor"; then
14185         # Use $CC to link under sequent, because it throws in some extra .o
14186         # files that make .init and .fini sections work.
14187         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14188       else
14189         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14190       fi
14191       hardcode_libdir_flag_spec='-L$libdir'
14192       hardcode_direct=yes
14193       hardcode_minus_L=yes
14194       hardcode_shlibpath_var=no
14195       ;;
14196
14197     sysv4)
14198       case $host_vendor in
14199         sni)
14200           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14201           hardcode_direct=yes # is this really true???
14202         ;;
14203         siemens)
14204           ## LD is ld it makes a PLAMLIB
14205           ## CC just makes a GrossModule.
14206           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14207           reload_cmds='$CC -r -o $output$reload_objs'
14208           hardcode_direct=no
14209         ;;
14210         motorola)
14211           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14212           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14213         ;;
14214       esac
14215       runpath_var='LD_RUN_PATH'
14216       hardcode_shlibpath_var=no
14217       ;;
14218
14219     sysv4.3*)
14220       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14221       hardcode_shlibpath_var=no
14222       export_dynamic_flag_spec='-Bexport'
14223       ;;
14224
14225     sysv4*MP*)
14226       if test -d /usr/nec; then
14227         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14228         hardcode_shlibpath_var=no
14229         runpath_var=LD_RUN_PATH
14230         hardcode_runpath_var=yes
14231         ld_shlibs=yes
14232       fi
14233       ;;
14234
14235     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14236       no_undefined_flag='$wl-z,text'
14237       archive_cmds_need_lc=no
14238       hardcode_shlibpath_var=no
14239       runpath_var='LD_RUN_PATH'
14240
14241       if test yes = "$GCC"; then
14242         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14243         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14244       else
14245         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14246         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14247       fi
14248       ;;
14249
14250     sysv5* | sco3.2v5* | sco5v6*)
14251       # Note: We CANNOT use -z defs as we might desire, because we do not
14252       # link with -lc, and that would cause any symbols used from libc to
14253       # always be unresolved, which means just about no library would
14254       # ever link correctly.  If we're not using GNU ld we use -z text
14255       # though, which does catch some bad symbols but isn't as heavy-handed
14256       # as -z defs.
14257       no_undefined_flag='$wl-z,text'
14258       allow_undefined_flag='$wl-z,nodefs'
14259       archive_cmds_need_lc=no
14260       hardcode_shlibpath_var=no
14261       hardcode_libdir_flag_spec='$wl-R,$libdir'
14262       hardcode_libdir_separator=':'
14263       link_all_deplibs=yes
14264       export_dynamic_flag_spec='$wl-Bexport'
14265       runpath_var='LD_RUN_PATH'
14266
14267       if test yes = "$GCC"; then
14268         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14269         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14270       else
14271         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14272         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14273       fi
14274       ;;
14275
14276     uts4*)
14277       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14278       hardcode_libdir_flag_spec='-L$libdir'
14279       hardcode_shlibpath_var=no
14280       ;;
14281
14282     *)
14283       ld_shlibs=no
14284       ;;
14285     esac
14286
14287     if test sni = "$host_vendor"; then
14288       case $host in
14289       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14290         export_dynamic_flag_spec='$wl-Blargedynsym'
14291         ;;
14292       esac
14293     fi
14294   fi
14295
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14297 printf "%s\n" "$ld_shlibs" >&6; }
14298 test no = "$ld_shlibs" && can_build_shared=no
14299
14300 with_gnu_ld=$with_gnu_ld
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316 #
14317 # Do we need to explicitly link libc?
14318 #
14319 case "x$archive_cmds_need_lc" in
14320 x|xyes)
14321   # Assume -lc should be added
14322   archive_cmds_need_lc=yes
14323
14324   if test yes,yes = "$GCC,$enable_shared"; then
14325     case $archive_cmds in
14326     *'~'*)
14327       # FIXME: we may have to deal with multi-command sequences.
14328       ;;
14329     '$CC '*)
14330       # Test whether the compiler implicitly links with -lc since on some
14331       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14332       # to ld, don't add -lc before -lgcc.
14333       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14334 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
14335 if test ${lt_cv_archive_cmds_need_lc+y}
14336 then :
14337   printf %s "(cached) " >&6
14338 else $as_nop
14339   $RM conftest*
14340         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14341
14342         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14343   (eval $ac_compile) 2>&5
14344   ac_status=$?
14345   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14346   test $ac_status = 0; } 2>conftest.err; then
14347           soname=conftest
14348           lib=conftest
14349           libobjs=conftest.$ac_objext
14350           deplibs=
14351           wl=$lt_prog_compiler_wl
14352           pic_flag=$lt_prog_compiler_pic
14353           compiler_flags=-v
14354           linker_flags=-v
14355           verstring=
14356           output_objdir=.
14357           libname=conftest
14358           lt_save_allow_undefined_flag=$allow_undefined_flag
14359           allow_undefined_flag=
14360           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14361   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14362   ac_status=$?
14363   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364   test $ac_status = 0; }
14365           then
14366             lt_cv_archive_cmds_need_lc=no
14367           else
14368             lt_cv_archive_cmds_need_lc=yes
14369           fi
14370           allow_undefined_flag=$lt_save_allow_undefined_flag
14371         else
14372           cat conftest.err 1>&5
14373         fi
14374         $RM conftest*
14375
14376 fi
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
14378 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
14379       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
14380       ;;
14381     esac
14382   fi
14383   ;;
14384 esac
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14538 printf %s "checking dynamic linker characteristics... " >&6; }
14539
14540 if test yes = "$GCC"; then
14541   case $host_os in
14542     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
14543     *) lt_awk_arg='/^libraries:/' ;;
14544   esac
14545   case $host_os in
14546     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
14547     *) lt_sed_strip_eq='s|=/|/|g' ;;
14548   esac
14549   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
14550   case $lt_search_path_spec in
14551   *\;*)
14552     # if the path contains ";" then we assume it to be the separator
14553     # otherwise default to the standard path separator (i.e. ":") - it is
14554     # assumed that no part of a normal pathname contains ";" but that should
14555     # okay in the real world where ";" in dirpaths is itself problematic.
14556     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14557     ;;
14558   *)
14559     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14560     ;;
14561   esac
14562   # Ok, now we have the path, separated by spaces, we can step through it
14563   # and add multilib dir if necessary...
14564   lt_tmp_lt_search_path_spec=
14565   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14566   # ...but if some path component already ends with the multilib dir we assume
14567   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
14568   case "$lt_multi_os_dir; $lt_search_path_spec " in
14569   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
14570     lt_multi_os_dir=
14571     ;;
14572   esac
14573   for lt_sys_path in $lt_search_path_spec; do
14574     if test -d "$lt_sys_path$lt_multi_os_dir"; then
14575       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
14576     elif test -n "$lt_multi_os_dir"; then
14577       test -d "$lt_sys_path" && \
14578         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14579     fi
14580   done
14581   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
14582 BEGIN {RS = " "; FS = "/|\n";} {
14583   lt_foo = "";
14584   lt_count = 0;
14585   for (lt_i = NF; lt_i > 0; lt_i--) {
14586     if ($lt_i != "" && $lt_i != ".") {
14587       if ($lt_i == "..") {
14588         lt_count++;
14589       } else {
14590         if (lt_count == 0) {
14591           lt_foo = "/" $lt_i lt_foo;
14592         } else {
14593           lt_count--;
14594         }
14595       }
14596     }
14597   }
14598   if (lt_foo != "") { lt_freq[lt_foo]++; }
14599   if (lt_freq[lt_foo] == 1) { print lt_foo; }
14600 }'`
14601   # AWK program above erroneously prepends '/' to C:/dos/paths
14602   # for these hosts.
14603   case $host_os in
14604     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
14605       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
14606   esac
14607   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
14608 else
14609   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14610 fi
14611 library_names_spec=
14612 libname_spec='lib$name'
14613 soname_spec=
14614 shrext_cmds=.so
14615 postinstall_cmds=
14616 postuninstall_cmds=
14617 finish_cmds=
14618 finish_eval=
14619 shlibpath_var=
14620 shlibpath_overrides_runpath=unknown
14621 version_type=none
14622 dynamic_linker="$host_os ld.so"
14623 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14624 need_lib_prefix=unknown
14625 hardcode_into_libs=no
14626
14627 # when you set need_version to no, make sure it does not cause -set_version
14628 # flags to be left without arguments
14629 need_version=unknown
14630
14631
14632
14633 case $host_os in
14634 aix3*)
14635   version_type=linux # correct to gnu/linux during the next big refactor
14636   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
14637   shlibpath_var=LIBPATH
14638
14639   # AIX 3 has no versioning support, so we append a major version to the name.
14640   soname_spec='$libname$release$shared_ext$major'
14641   ;;
14642
14643 aix[4-9]*)
14644   version_type=linux # correct to gnu/linux during the next big refactor
14645   need_lib_prefix=no
14646   need_version=no
14647   hardcode_into_libs=yes
14648   if test ia64 = "$host_cpu"; then
14649     # AIX 5 supports IA64
14650     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
14651     shlibpath_var=LD_LIBRARY_PATH
14652   else
14653     # With GCC up to 2.95.x, collect2 would create an import file
14654     # for dependence libraries.  The import file would start with
14655     # the line '#! .'.  This would cause the generated library to
14656     # depend on '.', always an invalid library.  This was fixed in
14657     # development snapshots of GCC prior to 3.0.
14658     case $host_os in
14659       aix4 | aix4.[01] | aix4.[01].*)
14660       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14661            echo ' yes '
14662            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
14663         :
14664       else
14665         can_build_shared=no
14666       fi
14667       ;;
14668     esac
14669     # Using Import Files as archive members, it is possible to support
14670     # filename-based versioning of shared library archives on AIX. While
14671     # this would work for both with and without runtime linking, it will
14672     # prevent static linking of such archives. So we do filename-based
14673     # shared library versioning with .so extension only, which is used
14674     # when both runtime linking and shared linking is enabled.
14675     # Unfortunately, runtime linking may impact performance, so we do
14676     # not want this to be the default eventually. Also, we use the
14677     # versioned .so libs for executables only if there is the -brtl
14678     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
14679     # To allow for filename-based versioning support, we need to create
14680     # libNAME.so.V as an archive file, containing:
14681     # *) an Import File, referring to the versioned filename of the
14682     #    archive as well as the shared archive member, telling the
14683     #    bitwidth (32 or 64) of that shared object, and providing the
14684     #    list of exported symbols of that shared object, eventually
14685     #    decorated with the 'weak' keyword
14686     # *) the shared object with the F_LOADONLY flag set, to really avoid
14687     #    it being seen by the linker.
14688     # At run time we better use the real file rather than another symlink,
14689     # but for link time we create the symlink libNAME.so -> libNAME.so.V
14690
14691     case $with_aix_soname,$aix_use_runtimelinking in
14692     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
14693     # soname into executable. Probably we can add versioning support to
14694     # collect2, so additional links can be useful in future.
14695     aix,yes) # traditional libtool
14696       dynamic_linker='AIX unversionable lib.so'
14697       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14698       # instead of lib<name>.a to let people know that these are not
14699       # typical AIX shared libraries.
14700       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14701       ;;
14702     aix,no) # traditional AIX only
14703       dynamic_linker='AIX lib.a(lib.so.V)'
14704       # We preserve .a as extension for shared libraries through AIX4.2
14705       # and later when we are not doing run time linking.
14706       library_names_spec='$libname$release.a $libname.a'
14707       soname_spec='$libname$release$shared_ext$major'
14708       ;;
14709     svr4,*) # full svr4 only
14710       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
14711       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14712       # We do not specify a path in Import Files, so LIBPATH fires.
14713       shlibpath_overrides_runpath=yes
14714       ;;
14715     *,yes) # both, prefer svr4
14716       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
14717       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14718       # unpreferred sharedlib libNAME.a needs extra handling
14719       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"'
14720       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"'
14721       # We do not specify a path in Import Files, so LIBPATH fires.
14722       shlibpath_overrides_runpath=yes
14723       ;;
14724     *,no) # both, prefer aix
14725       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
14726       library_names_spec='$libname$release.a $libname.a'
14727       soname_spec='$libname$release$shared_ext$major'
14728       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
14729       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)'
14730       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"'
14731       ;;
14732     esac
14733     shlibpath_var=LIBPATH
14734   fi
14735   ;;
14736
14737 amigaos*)
14738   case $host_cpu in
14739   powerpc)
14740     # Since July 2007 AmigaOS4 officially supports .so libraries.
14741     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14742     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14743     ;;
14744   m68k)
14745     library_names_spec='$libname.ixlibrary $libname.a'
14746     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14747     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'
14748     ;;
14749   esac
14750   ;;
14751
14752 beos*)
14753   library_names_spec='$libname$shared_ext'
14754   dynamic_linker="$host_os ld.so"
14755   shlibpath_var=LIBRARY_PATH
14756   ;;
14757
14758 bsdi[45]*)
14759   version_type=linux # correct to gnu/linux during the next big refactor
14760   need_version=no
14761   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14762   soname_spec='$libname$release$shared_ext$major'
14763   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14764   shlibpath_var=LD_LIBRARY_PATH
14765   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14766   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14767   # the default ld.so.conf also contains /usr/contrib/lib and
14768   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14769   # libtool to hard-code these into programs
14770   ;;
14771
14772 cygwin* | mingw* | pw32* | cegcc*)
14773   version_type=windows
14774   shrext_cmds=.dll
14775   need_version=no
14776   need_lib_prefix=no
14777
14778   case $GCC,$cc_basename in
14779   yes,*)
14780     # gcc
14781     library_names_spec='$libname.dll.a'
14782     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14783     postinstall_cmds='base_file=`basename \$file`~
14784       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14785       dldir=$destdir/`dirname \$dlpath`~
14786       test -d \$dldir || mkdir -p \$dldir~
14787       $install_prog $dir/$dlname \$dldir/$dlname~
14788       chmod a+x \$dldir/$dlname~
14789       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14790         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14791       fi'
14792     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14793       dlpath=$dir/\$dldll~
14794        $RM \$dlpath'
14795     shlibpath_overrides_runpath=yes
14796
14797     case $host_os in
14798     cygwin*)
14799       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14800       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14801
14802       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14803       ;;
14804     mingw* | cegcc*)
14805       # MinGW DLLs use traditional 'lib' prefix
14806       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14807       ;;
14808     pw32*)
14809       # pw32 DLLs use 'pw' prefix rather than 'lib'
14810       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14811       ;;
14812     esac
14813     dynamic_linker='Win32 ld.exe'
14814     ;;
14815
14816   *,cl* | *,icl*)
14817     # Native MSVC or ICC
14818     libname_spec='$name'
14819     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14820     library_names_spec='$libname.dll.lib'
14821
14822     case $build_os in
14823     mingw*)
14824       sys_lib_search_path_spec=
14825       lt_save_ifs=$IFS
14826       IFS=';'
14827       for lt_path in $LIB
14828       do
14829         IFS=$lt_save_ifs
14830         # Let DOS variable expansion print the short 8.3 style file name.
14831         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14832         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14833       done
14834       IFS=$lt_save_ifs
14835       # Convert to MSYS style.
14836       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14837       ;;
14838     cygwin*)
14839       # Convert to unix form, then to dos form, then back to unix form
14840       # but this time dos style (no spaces!) so that the unix form looks
14841       # like /cygdrive/c/PROGRA~1:/cygdr...
14842       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14843       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14844       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14845       ;;
14846     *)
14847       sys_lib_search_path_spec=$LIB
14848       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14849         # It is most probably a Windows format PATH.
14850         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14851       else
14852         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14853       fi
14854       # FIXME: find the short name or the path components, as spaces are
14855       # common. (e.g. "Program Files" -> "PROGRA~1")
14856       ;;
14857     esac
14858
14859     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14860     postinstall_cmds='base_file=`basename \$file`~
14861       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14862       dldir=$destdir/`dirname \$dlpath`~
14863       test -d \$dldir || mkdir -p \$dldir~
14864       $install_prog $dir/$dlname \$dldir/$dlname'
14865     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14866       dlpath=$dir/\$dldll~
14867        $RM \$dlpath'
14868     shlibpath_overrides_runpath=yes
14869     dynamic_linker='Win32 link.exe'
14870     ;;
14871
14872   *)
14873     # Assume MSVC and ICC wrapper
14874     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14875     dynamic_linker='Win32 ld.exe'
14876     ;;
14877   esac
14878   # FIXME: first we should search . and the directory the executable is in
14879   shlibpath_var=PATH
14880   ;;
14881
14882 darwin* | rhapsody*)
14883   dynamic_linker="$host_os dyld"
14884   version_type=darwin
14885   need_lib_prefix=no
14886   need_version=no
14887   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
14888   soname_spec='$libname$release$major$shared_ext'
14889   shlibpath_overrides_runpath=yes
14890   shlibpath_var=DYLD_LIBRARY_PATH
14891   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14892
14893   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14894   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14895   ;;
14896
14897 dgux*)
14898   version_type=linux # correct to gnu/linux during the next big refactor
14899   need_lib_prefix=no
14900   need_version=no
14901   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14902   soname_spec='$libname$release$shared_ext$major'
14903   shlibpath_var=LD_LIBRARY_PATH
14904   ;;
14905
14906 freebsd* | dragonfly* | midnightbsd*)
14907   # DragonFly does not have aout.  When/if they implement a new
14908   # versioning mechanism, adjust this.
14909   if test -x /usr/bin/objformat; then
14910     objformat=`/usr/bin/objformat`
14911   else
14912     case $host_os in
14913     freebsd[23].*) objformat=aout ;;
14914     *) objformat=elf ;;
14915     esac
14916   fi
14917   version_type=freebsd-$objformat
14918   case $version_type in
14919     freebsd-elf*)
14920       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14921       soname_spec='$libname$release$shared_ext$major'
14922       need_version=no
14923       need_lib_prefix=no
14924       ;;
14925     freebsd-*)
14926       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14927       need_version=yes
14928       ;;
14929   esac
14930   shlibpath_var=LD_LIBRARY_PATH
14931   case $host_os in
14932   freebsd2.*)
14933     shlibpath_overrides_runpath=yes
14934     ;;
14935   freebsd3.[01]* | freebsdelf3.[01]*)
14936     shlibpath_overrides_runpath=yes
14937     hardcode_into_libs=yes
14938     ;;
14939   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14940   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14941     shlibpath_overrides_runpath=no
14942     hardcode_into_libs=yes
14943     ;;
14944   *) # from 4.6 on, and DragonFly
14945     shlibpath_overrides_runpath=yes
14946     hardcode_into_libs=yes
14947     ;;
14948   esac
14949   ;;
14950
14951 haiku*)
14952   version_type=linux # correct to gnu/linux during the next big refactor
14953   need_lib_prefix=no
14954   need_version=no
14955   dynamic_linker="$host_os runtime_loader"
14956   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14957   soname_spec='$libname$release$shared_ext$major'
14958   shlibpath_var=LIBRARY_PATH
14959   shlibpath_overrides_runpath=no
14960   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14961   hardcode_into_libs=yes
14962   ;;
14963
14964 hpux9* | hpux10* | hpux11*)
14965   # Give a soname corresponding to the major version so that dld.sl refuses to
14966   # link against other versions.
14967   version_type=sunos
14968   need_lib_prefix=no
14969   need_version=no
14970   case $host_cpu in
14971   ia64*)
14972     shrext_cmds='.so'
14973     hardcode_into_libs=yes
14974     dynamic_linker="$host_os dld.so"
14975     shlibpath_var=LD_LIBRARY_PATH
14976     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14977     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14978     soname_spec='$libname$release$shared_ext$major'
14979     if test 32 = "$HPUX_IA64_MODE"; then
14980       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14981       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
14982     else
14983       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14984       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
14985     fi
14986     ;;
14987   hppa*64*)
14988     shrext_cmds='.sl'
14989     hardcode_into_libs=yes
14990     dynamic_linker="$host_os dld.sl"
14991     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14992     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14993     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14994     soname_spec='$libname$release$shared_ext$major'
14995     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14996     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14997     ;;
14998   *)
14999     shrext_cmds='.sl'
15000     dynamic_linker="$host_os dld.sl"
15001     shlibpath_var=SHLIB_PATH
15002     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15003     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15004     soname_spec='$libname$release$shared_ext$major'
15005     ;;
15006   esac
15007   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15008   postinstall_cmds='chmod 555 $lib'
15009   # or fails outright, so override atomically:
15010   install_override_mode=555
15011   ;;
15012
15013 interix[3-9]*)
15014   version_type=linux # correct to gnu/linux during the next big refactor
15015   need_lib_prefix=no
15016   need_version=no
15017   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15018   soname_spec='$libname$release$shared_ext$major'
15019   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15020   shlibpath_var=LD_LIBRARY_PATH
15021   shlibpath_overrides_runpath=no
15022   hardcode_into_libs=yes
15023   ;;
15024
15025 irix5* | irix6* | nonstopux*)
15026   case $host_os in
15027     nonstopux*) version_type=nonstopux ;;
15028     *)
15029         if test yes = "$lt_cv_prog_gnu_ld"; then
15030                 version_type=linux # correct to gnu/linux during the next big refactor
15031         else
15032                 version_type=irix
15033         fi ;;
15034   esac
15035   need_lib_prefix=no
15036   need_version=no
15037   soname_spec='$libname$release$shared_ext$major'
15038   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15039   case $host_os in
15040   irix5* | nonstopux*)
15041     libsuff= shlibsuff=
15042     ;;
15043   *)
15044     case $LD in # libtool.m4 will add one of these switches to LD
15045     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15046       libsuff= shlibsuff= libmagic=32-bit;;
15047     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15048       libsuff=32 shlibsuff=N32 libmagic=N32;;
15049     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15050       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15051     *) libsuff= shlibsuff= libmagic=never-match;;
15052     esac
15053     ;;
15054   esac
15055   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15056   shlibpath_overrides_runpath=no
15057   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15058   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15059   hardcode_into_libs=yes
15060   ;;
15061
15062 # No shared lib support for Linux oldld, aout, or coff.
15063 linux*oldld* | linux*aout* | linux*coff*)
15064   dynamic_linker=no
15065   ;;
15066
15067 linux*android*)
15068   version_type=none # Android doesn't support versioned libraries.
15069   need_lib_prefix=no
15070   need_version=no
15071   library_names_spec='$libname$release$shared_ext'
15072   soname_spec='$libname$release$shared_ext'
15073   finish_cmds=
15074   shlibpath_var=LD_LIBRARY_PATH
15075   shlibpath_overrides_runpath=yes
15076
15077   # This implies no fast_install, which is unacceptable.
15078   # Some rework will be needed to allow for fast_install
15079   # before this can be enabled.
15080   hardcode_into_libs=yes
15081
15082   dynamic_linker='Android linker'
15083   # Don't embed -rpath directories since the linker doesn't support them.
15084   hardcode_libdir_flag_spec='-L$libdir'
15085   ;;
15086
15087 # This must be glibc/ELF.
15088 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15089   version_type=linux # correct to gnu/linux during the next big refactor
15090   need_lib_prefix=no
15091   need_version=no
15092   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15093   soname_spec='$libname$release$shared_ext$major'
15094   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15095   shlibpath_var=LD_LIBRARY_PATH
15096   shlibpath_overrides_runpath=no
15097
15098   # Some binutils ld are patched to set DT_RUNPATH
15099   if test ${lt_cv_shlibpath_overrides_runpath+y}
15100 then :
15101   printf %s "(cached) " >&6
15102 else $as_nop
15103   lt_cv_shlibpath_overrides_runpath=no
15104     save_LDFLAGS=$LDFLAGS
15105     save_libdir=$libdir
15106     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
15107          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
15108     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h.  */
15110
15111 int
15112 main (void)
15113 {
15114
15115   ;
15116   return 0;
15117 }
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"
15120 then :
15121   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
15122 then :
15123   lt_cv_shlibpath_overrides_runpath=yes
15124 fi
15125 fi
15126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15127     conftest$ac_exeext conftest.$ac_ext
15128     LDFLAGS=$save_LDFLAGS
15129     libdir=$save_libdir
15130
15131 fi
15132
15133   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15134
15135   # This implies no fast_install, which is unacceptable.
15136   # Some rework will be needed to allow for fast_install
15137   # before this can be enabled.
15138   hardcode_into_libs=yes
15139
15140   # Ideally, we could use ldconfig to report *all* directores which are
15141   # searched for libraries, however this is still not possible.  Aside from not
15142   # being certain /sbin/ldconfig is available, command
15143   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15144   # even though it is searched at run-time.  Try to do the best guess by
15145   # appending ld.so.conf contents (and includes) to the search path.
15146   if test -f /etc/ld.so.conf; then
15147     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' ' '`
15148     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15149   fi
15150
15151   # We used to test for /lib/ld.so.1 and disable shared libraries on
15152   # powerpc, because MkLinux only supported shared libraries with the
15153   # GNU dynamic linker.  Since this was broken with cross compilers,
15154   # most powerpc-linux boxes support dynamic linking these days and
15155   # people can always --disable-shared, the test was removed, and we
15156   # assume the GNU/Linux dynamic linker is in use.
15157   dynamic_linker='GNU/Linux ld.so'
15158   ;;
15159
15160 netbsdelf*-gnu)
15161   version_type=linux
15162   need_lib_prefix=no
15163   need_version=no
15164   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15165   soname_spec='${libname}${release}${shared_ext}$major'
15166   shlibpath_var=LD_LIBRARY_PATH
15167   shlibpath_overrides_runpath=no
15168   hardcode_into_libs=yes
15169   dynamic_linker='NetBSD ld.elf_so'
15170   ;;
15171
15172 netbsd*)
15173   version_type=sunos
15174   need_lib_prefix=no
15175   need_version=no
15176   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15177     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15178     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15179     dynamic_linker='NetBSD (a.out) ld.so'
15180   else
15181     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15182     soname_spec='$libname$release$shared_ext$major'
15183     dynamic_linker='NetBSD ld.elf_so'
15184   fi
15185   shlibpath_var=LD_LIBRARY_PATH
15186   shlibpath_overrides_runpath=yes
15187   hardcode_into_libs=yes
15188   ;;
15189
15190 newsos6)
15191   version_type=linux # correct to gnu/linux during the next big refactor
15192   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15193   shlibpath_var=LD_LIBRARY_PATH
15194   shlibpath_overrides_runpath=yes
15195   ;;
15196
15197 *nto* | *qnx*)
15198   version_type=qnx
15199   need_lib_prefix=no
15200   need_version=no
15201   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15202   soname_spec='$libname$release$shared_ext$major'
15203   shlibpath_var=LD_LIBRARY_PATH
15204   shlibpath_overrides_runpath=no
15205   hardcode_into_libs=yes
15206   dynamic_linker='ldqnx.so'
15207   ;;
15208
15209 openbsd* | bitrig*)
15210   version_type=sunos
15211   sys_lib_dlsearch_path_spec=/usr/lib
15212   need_lib_prefix=no
15213   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15214     need_version=no
15215   else
15216     need_version=yes
15217   fi
15218   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15219   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15220   shlibpath_var=LD_LIBRARY_PATH
15221   shlibpath_overrides_runpath=yes
15222   ;;
15223
15224 os2*)
15225   libname_spec='$name'
15226   version_type=windows
15227   shrext_cmds=.dll
15228   need_version=no
15229   need_lib_prefix=no
15230   # OS/2 can only load a DLL with a base name of 8 characters or less.
15231   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15232     v=$($ECHO $release$versuffix | tr -d .-);
15233     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15234     $ECHO $n$v`$shared_ext'
15235   library_names_spec='${libname}_dll.$libext'
15236   dynamic_linker='OS/2 ld.exe'
15237   shlibpath_var=BEGINLIBPATH
15238   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15239   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15240   postinstall_cmds='base_file=`basename \$file`~
15241     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15242     dldir=$destdir/`dirname \$dlpath`~
15243     test -d \$dldir || mkdir -p \$dldir~
15244     $install_prog $dir/$dlname \$dldir/$dlname~
15245     chmod a+x \$dldir/$dlname~
15246     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15247       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15248     fi'
15249   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15250     dlpath=$dir/\$dldll~
15251     $RM \$dlpath'
15252   ;;
15253
15254 osf3* | osf4* | osf5*)
15255   version_type=osf
15256   need_lib_prefix=no
15257   need_version=no
15258   soname_spec='$libname$release$shared_ext$major'
15259   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15260   shlibpath_var=LD_LIBRARY_PATH
15261   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15262   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15263   ;;
15264
15265 rdos*)
15266   dynamic_linker=no
15267   ;;
15268
15269 solaris*)
15270   version_type=linux # correct to gnu/linux during the next big refactor
15271   need_lib_prefix=no
15272   need_version=no
15273   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15274   soname_spec='$libname$release$shared_ext$major'
15275   shlibpath_var=LD_LIBRARY_PATH
15276   shlibpath_overrides_runpath=yes
15277   hardcode_into_libs=yes
15278   # ldd complains unless libraries are executable
15279   postinstall_cmds='chmod +x $lib'
15280   ;;
15281
15282 sunos4*)
15283   version_type=sunos
15284   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15285   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15286   shlibpath_var=LD_LIBRARY_PATH
15287   shlibpath_overrides_runpath=yes
15288   if test yes = "$with_gnu_ld"; then
15289     need_lib_prefix=no
15290   fi
15291   need_version=yes
15292   ;;
15293
15294 sysv4 | sysv4.3*)
15295   version_type=linux # correct to gnu/linux during the next big refactor
15296   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15297   soname_spec='$libname$release$shared_ext$major'
15298   shlibpath_var=LD_LIBRARY_PATH
15299   case $host_vendor in
15300     sni)
15301       shlibpath_overrides_runpath=no
15302       need_lib_prefix=no
15303       runpath_var=LD_RUN_PATH
15304       ;;
15305     siemens)
15306       need_lib_prefix=no
15307       ;;
15308     motorola)
15309       need_lib_prefix=no
15310       need_version=no
15311       shlibpath_overrides_runpath=no
15312       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15313       ;;
15314   esac
15315   ;;
15316
15317 sysv4*MP*)
15318   if test -d /usr/nec; then
15319     version_type=linux # correct to gnu/linux during the next big refactor
15320     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15321     soname_spec='$libname$shared_ext.$major'
15322     shlibpath_var=LD_LIBRARY_PATH
15323   fi
15324   ;;
15325
15326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15327   version_type=sco
15328   need_lib_prefix=no
15329   need_version=no
15330   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15331   soname_spec='$libname$release$shared_ext$major'
15332   shlibpath_var=LD_LIBRARY_PATH
15333   shlibpath_overrides_runpath=yes
15334   hardcode_into_libs=yes
15335   if test yes = "$with_gnu_ld"; then
15336     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15337   else
15338     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15339     case $host_os in
15340       sco3.2v5*)
15341         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15342         ;;
15343     esac
15344   fi
15345   sys_lib_dlsearch_path_spec='/usr/lib'
15346   ;;
15347
15348 tpf*)
15349   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15350   version_type=linux # correct to gnu/linux during the next big refactor
15351   need_lib_prefix=no
15352   need_version=no
15353   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15354   shlibpath_var=LD_LIBRARY_PATH
15355   shlibpath_overrides_runpath=no
15356   hardcode_into_libs=yes
15357   ;;
15358
15359 uts4*)
15360   version_type=linux # correct to gnu/linux during the next big refactor
15361   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15362   soname_spec='$libname$release$shared_ext$major'
15363   shlibpath_var=LD_LIBRARY_PATH
15364   ;;
15365
15366 *)
15367   dynamic_linker=no
15368   ;;
15369 esac
15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15371 printf "%s\n" "$dynamic_linker" >&6; }
15372 test no = "$dynamic_linker" && can_build_shared=no
15373
15374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15375 if test yes = "$GCC"; then
15376   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15377 fi
15378
15379 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15380   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15381 fi
15382
15383 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15384   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15385 fi
15386
15387 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15388 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15389
15390 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15391 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15392
15393 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15394 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15493 printf %s "checking how to hardcode library paths into programs... " >&6; }
15494 hardcode_action=
15495 if test -n "$hardcode_libdir_flag_spec" ||
15496    test -n "$runpath_var" ||
15497    test yes = "$hardcode_automatic"; then
15498
15499   # We can hardcode non-existent directories.
15500   if test no != "$hardcode_direct" &&
15501      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15502      # have to relink, otherwise we might link with an installed library
15503      # when we should be linking with a yet-to-be-installed one
15504      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
15505      test no != "$hardcode_minus_L"; then
15506     # Linking always hardcodes the temporary library directory.
15507     hardcode_action=relink
15508   else
15509     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15510     hardcode_action=immediate
15511   fi
15512 else
15513   # We cannot hardcode anything, or else we can only hardcode existing
15514   # directories.
15515   hardcode_action=unsupported
15516 fi
15517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
15518 printf "%s\n" "$hardcode_action" >&6; }
15519
15520 if test relink = "$hardcode_action" ||
15521    test yes = "$inherit_rpath"; then
15522   # Fast installation is not supported
15523   enable_fast_install=no
15524 elif test yes = "$shlibpath_overrides_runpath" ||
15525      test no = "$enable_shared"; then
15526   # Fast installation is not necessary
15527   enable_fast_install=needless
15528 fi
15529
15530
15531
15532
15533
15534
15535   if test yes != "$enable_dlopen"; then
15536   enable_dlopen=unknown
15537   enable_dlopen_self=unknown
15538   enable_dlopen_self_static=unknown
15539 else
15540   lt_cv_dlopen=no
15541   lt_cv_dlopen_libs=
15542
15543   case $host_os in
15544   beos*)
15545     lt_cv_dlopen=load_add_on
15546     lt_cv_dlopen_libs=
15547     lt_cv_dlopen_self=yes
15548     ;;
15549
15550   mingw* | pw32* | cegcc*)
15551     lt_cv_dlopen=LoadLibrary
15552     lt_cv_dlopen_libs=
15553     ;;
15554
15555   cygwin*)
15556     lt_cv_dlopen=dlopen
15557     lt_cv_dlopen_libs=
15558     ;;
15559
15560   darwin*)
15561     # if libdl is installed we need to link against it
15562     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15563 printf %s "checking for dlopen in -ldl... " >&6; }
15564 if test ${ac_cv_lib_dl_dlopen+y}
15565 then :
15566   printf %s "(cached) " >&6
15567 else $as_nop
15568   ac_check_lib_save_LIBS=$LIBS
15569 LIBS="-ldl  $LIBS"
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h.  */
15572
15573 /* Override any GCC internal prototype to avoid an error.
15574    Use char because int might match the return type of a GCC
15575    builtin and then its argument prototype would still apply.  */
15576 char dlopen ();
15577 int
15578 main (void)
15579 {
15580 return dlopen ();
15581   ;
15582   return 0;
15583 }
15584 _ACEOF
15585 if ac_fn_c_try_link "$LINENO"
15586 then :
15587   ac_cv_lib_dl_dlopen=yes
15588 else $as_nop
15589   ac_cv_lib_dl_dlopen=no
15590 fi
15591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15592     conftest$ac_exeext conftest.$ac_ext
15593 LIBS=$ac_check_lib_save_LIBS
15594 fi
15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15596 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15597 if test "x$ac_cv_lib_dl_dlopen" = xyes
15598 then :
15599   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15600 else $as_nop
15601
15602     lt_cv_dlopen=dyld
15603     lt_cv_dlopen_libs=
15604     lt_cv_dlopen_self=yes
15605
15606 fi
15607
15608     ;;
15609
15610   tpf*)
15611     # Don't try to run any link tests for TPF.  We know it's impossible
15612     # because TPF is a cross-compiler, and we know how we open DSOs.
15613     lt_cv_dlopen=dlopen
15614     lt_cv_dlopen_libs=
15615     lt_cv_dlopen_self=no
15616     ;;
15617
15618   *)
15619     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
15620 if test "x$ac_cv_func_shl_load" = xyes
15621 then :
15622   lt_cv_dlopen=shl_load
15623 else $as_nop
15624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15625 printf %s "checking for shl_load in -ldld... " >&6; }
15626 if test ${ac_cv_lib_dld_shl_load+y}
15627 then :
15628   printf %s "(cached) " >&6
15629 else $as_nop
15630   ac_check_lib_save_LIBS=$LIBS
15631 LIBS="-ldld  $LIBS"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h.  */
15634
15635 /* Override any GCC internal prototype to avoid an error.
15636    Use char because int might match the return type of a GCC
15637    builtin and then its argument prototype would still apply.  */
15638 char shl_load ();
15639 int
15640 main (void)
15641 {
15642 return shl_load ();
15643   ;
15644   return 0;
15645 }
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"
15648 then :
15649   ac_cv_lib_dld_shl_load=yes
15650 else $as_nop
15651   ac_cv_lib_dld_shl_load=no
15652 fi
15653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15654     conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_lib_save_LIBS
15656 fi
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15658 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
15659 if test "x$ac_cv_lib_dld_shl_load" = xyes
15660 then :
15661   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15662 else $as_nop
15663   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
15664 if test "x$ac_cv_func_dlopen" = xyes
15665 then :
15666   lt_cv_dlopen=dlopen
15667 else $as_nop
15668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15669 printf %s "checking for dlopen in -ldl... " >&6; }
15670 if test ${ac_cv_lib_dl_dlopen+y}
15671 then :
15672   printf %s "(cached) " >&6
15673 else $as_nop
15674   ac_check_lib_save_LIBS=$LIBS
15675 LIBS="-ldl  $LIBS"
15676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h.  */
15678
15679 /* Override any GCC internal prototype to avoid an error.
15680    Use char because int might match the return type of a GCC
15681    builtin and then its argument prototype would still apply.  */
15682 char dlopen ();
15683 int
15684 main (void)
15685 {
15686 return dlopen ();
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"
15692 then :
15693   ac_cv_lib_dl_dlopen=yes
15694 else $as_nop
15695   ac_cv_lib_dl_dlopen=no
15696 fi
15697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15698     conftest$ac_exeext conftest.$ac_ext
15699 LIBS=$ac_check_lib_save_LIBS
15700 fi
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15702 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
15703 if test "x$ac_cv_lib_dl_dlopen" = xyes
15704 then :
15705   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15706 else $as_nop
15707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15708 printf %s "checking for dlopen in -lsvld... " >&6; }
15709 if test ${ac_cv_lib_svld_dlopen+y}
15710 then :
15711   printf %s "(cached) " >&6
15712 else $as_nop
15713   ac_check_lib_save_LIBS=$LIBS
15714 LIBS="-lsvld  $LIBS"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h.  */
15717
15718 /* Override any GCC internal prototype to avoid an error.
15719    Use char because int might match the return type of a GCC
15720    builtin and then its argument prototype would still apply.  */
15721 char dlopen ();
15722 int
15723 main (void)
15724 {
15725 return dlopen ();
15726   ;
15727   return 0;
15728 }
15729 _ACEOF
15730 if ac_fn_c_try_link "$LINENO"
15731 then :
15732   ac_cv_lib_svld_dlopen=yes
15733 else $as_nop
15734   ac_cv_lib_svld_dlopen=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15737     conftest$ac_exeext conftest.$ac_ext
15738 LIBS=$ac_check_lib_save_LIBS
15739 fi
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15741 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
15742 if test "x$ac_cv_lib_svld_dlopen" = xyes
15743 then :
15744   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15745 else $as_nop
15746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15747 printf %s "checking for dld_link in -ldld... " >&6; }
15748 if test ${ac_cv_lib_dld_dld_link+y}
15749 then :
15750   printf %s "(cached) " >&6
15751 else $as_nop
15752   ac_check_lib_save_LIBS=$LIBS
15753 LIBS="-ldld  $LIBS"
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h.  */
15756
15757 /* Override any GCC internal prototype to avoid an error.
15758    Use char because int might match the return type of a GCC
15759    builtin and then its argument prototype would still apply.  */
15760 char dld_link ();
15761 int
15762 main (void)
15763 {
15764 return dld_link ();
15765   ;
15766   return 0;
15767 }
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"
15770 then :
15771   ac_cv_lib_dld_dld_link=yes
15772 else $as_nop
15773   ac_cv_lib_dld_dld_link=no
15774 fi
15775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15776     conftest$ac_exeext conftest.$ac_ext
15777 LIBS=$ac_check_lib_save_LIBS
15778 fi
15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15780 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
15781 if test "x$ac_cv_lib_dld_dld_link" = xyes
15782 then :
15783   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15784 fi
15785
15786
15787 fi
15788
15789
15790 fi
15791
15792
15793 fi
15794
15795
15796 fi
15797
15798
15799 fi
15800
15801     ;;
15802   esac
15803
15804   if test no = "$lt_cv_dlopen"; then
15805     enable_dlopen=no
15806   else
15807     enable_dlopen=yes
15808   fi
15809
15810   case $lt_cv_dlopen in
15811   dlopen)
15812     save_CPPFLAGS=$CPPFLAGS
15813     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15814
15815     save_LDFLAGS=$LDFLAGS
15816     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15817
15818     save_LIBS=$LIBS
15819     LIBS="$lt_cv_dlopen_libs $LIBS"
15820
15821     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15822 printf %s "checking whether a program can dlopen itself... " >&6; }
15823 if test ${lt_cv_dlopen_self+y}
15824 then :
15825   printf %s "(cached) " >&6
15826 else $as_nop
15827           if test yes = "$cross_compiling"; then :
15828   lt_cv_dlopen_self=cross
15829 else
15830   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15831   lt_status=$lt_dlunknown
15832   cat > conftest.$ac_ext <<_LT_EOF
15833 #line $LINENO "configure"
15834 #include "confdefs.h"
15835
15836 #if HAVE_DLFCN_H
15837 #include <dlfcn.h>
15838 #endif
15839
15840 #include <stdio.h>
15841
15842 #ifdef RTLD_GLOBAL
15843 #  define LT_DLGLOBAL           RTLD_GLOBAL
15844 #else
15845 #  ifdef DL_GLOBAL
15846 #    define LT_DLGLOBAL         DL_GLOBAL
15847 #  else
15848 #    define LT_DLGLOBAL         0
15849 #  endif
15850 #endif
15851
15852 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15853    find out it does not work in some platform. */
15854 #ifndef LT_DLLAZY_OR_NOW
15855 #  ifdef RTLD_LAZY
15856 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15857 #  else
15858 #    ifdef DL_LAZY
15859 #      define LT_DLLAZY_OR_NOW          DL_LAZY
15860 #    else
15861 #      ifdef RTLD_NOW
15862 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
15863 #      else
15864 #        ifdef DL_NOW
15865 #          define LT_DLLAZY_OR_NOW      DL_NOW
15866 #        else
15867 #          define LT_DLLAZY_OR_NOW      0
15868 #        endif
15869 #      endif
15870 #    endif
15871 #  endif
15872 #endif
15873
15874 /* When -fvisibility=hidden is used, assume the code has been annotated
15875    correspondingly for the symbols needed.  */
15876 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15877 int fnord () __attribute__((visibility("default")));
15878 #endif
15879
15880 int fnord () { return 42; }
15881 int main ()
15882 {
15883   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15884   int status = $lt_dlunknown;
15885
15886   if (self)
15887     {
15888       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15889       else
15890         {
15891           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15892           else puts (dlerror ());
15893         }
15894       /* dlclose (self); */
15895     }
15896   else
15897     puts (dlerror ());
15898
15899   return status;
15900 }
15901 _LT_EOF
15902   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15903   (eval $ac_link) 2>&5
15904   ac_status=$?
15905   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15906   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15907     (./conftest; exit; ) >&5 2>/dev/null
15908     lt_status=$?
15909     case x$lt_status in
15910       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15911       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15912       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15913     esac
15914   else :
15915     # compilation failed
15916     lt_cv_dlopen_self=no
15917   fi
15918 fi
15919 rm -fr conftest*
15920
15921
15922 fi
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15924 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
15925
15926     if test yes = "$lt_cv_dlopen_self"; then
15927       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15928       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15929 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
15930 if test ${lt_cv_dlopen_self_static+y}
15931 then :
15932   printf %s "(cached) " >&6
15933 else $as_nop
15934           if test yes = "$cross_compiling"; then :
15935   lt_cv_dlopen_self_static=cross
15936 else
15937   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15938   lt_status=$lt_dlunknown
15939   cat > conftest.$ac_ext <<_LT_EOF
15940 #line $LINENO "configure"
15941 #include "confdefs.h"
15942
15943 #if HAVE_DLFCN_H
15944 #include <dlfcn.h>
15945 #endif
15946
15947 #include <stdio.h>
15948
15949 #ifdef RTLD_GLOBAL
15950 #  define LT_DLGLOBAL           RTLD_GLOBAL
15951 #else
15952 #  ifdef DL_GLOBAL
15953 #    define LT_DLGLOBAL         DL_GLOBAL
15954 #  else
15955 #    define LT_DLGLOBAL         0
15956 #  endif
15957 #endif
15958
15959 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15960    find out it does not work in some platform. */
15961 #ifndef LT_DLLAZY_OR_NOW
15962 #  ifdef RTLD_LAZY
15963 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15964 #  else
15965 #    ifdef DL_LAZY
15966 #      define LT_DLLAZY_OR_NOW          DL_LAZY
15967 #    else
15968 #      ifdef RTLD_NOW
15969 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
15970 #      else
15971 #        ifdef DL_NOW
15972 #          define LT_DLLAZY_OR_NOW      DL_NOW
15973 #        else
15974 #          define LT_DLLAZY_OR_NOW      0
15975 #        endif
15976 #      endif
15977 #    endif
15978 #  endif
15979 #endif
15980
15981 /* When -fvisibility=hidden is used, assume the code has been annotated
15982    correspondingly for the symbols needed.  */
15983 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15984 int fnord () __attribute__((visibility("default")));
15985 #endif
15986
15987 int fnord () { return 42; }
15988 int main ()
15989 {
15990   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15991   int status = $lt_dlunknown;
15992
15993   if (self)
15994     {
15995       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15996       else
15997         {
15998           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15999           else puts (dlerror ());
16000         }
16001       /* dlclose (self); */
16002     }
16003   else
16004     puts (dlerror ());
16005
16006   return status;
16007 }
16008 _LT_EOF
16009   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16010   (eval $ac_link) 2>&5
16011   ac_status=$?
16012   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16013   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16014     (./conftest; exit; ) >&5 2>/dev/null
16015     lt_status=$?
16016     case x$lt_status in
16017       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16018       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16019       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16020     esac
16021   else :
16022     # compilation failed
16023     lt_cv_dlopen_self_static=no
16024   fi
16025 fi
16026 rm -fr conftest*
16027
16028
16029 fi
16030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16031 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
16032     fi
16033
16034     CPPFLAGS=$save_CPPFLAGS
16035     LDFLAGS=$save_LDFLAGS
16036     LIBS=$save_LIBS
16037     ;;
16038   esac
16039
16040   case $lt_cv_dlopen_self in
16041   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16042   *) enable_dlopen_self=unknown ;;
16043   esac
16044
16045   case $lt_cv_dlopen_self_static in
16046   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16047   *) enable_dlopen_self_static=unknown ;;
16048   esac
16049 fi
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067 striplib=
16068 old_striplib=
16069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16070 printf %s "checking whether stripping libraries is possible... " >&6; }
16071 if test -z "$STRIP"; then
16072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16073 printf "%s\n" "no" >&6; }
16074 else
16075   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16076     old_striplib="$STRIP --strip-debug"
16077     striplib="$STRIP --strip-unneeded"
16078     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16079 printf "%s\n" "yes" >&6; }
16080   else
16081     case $host_os in
16082     darwin*)
16083       # FIXME - insert some real tests, host_os isn't really good enough
16084       striplib="$STRIP -x"
16085       old_striplib="$STRIP -S"
16086       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16087 printf "%s\n" "yes" >&6; }
16088       ;;
16089     freebsd*)
16090       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16091         old_striplib="$STRIP --strip-debug"
16092         striplib="$STRIP --strip-unneeded"
16093         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16094 printf "%s\n" "yes" >&6; }
16095       else
16096         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16097 printf "%s\n" "no" >&6; }
16098       fi
16099       ;;
16100     *)
16101       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16102 printf "%s\n" "no" >&6; }
16103       ;;
16104     esac
16105   fi
16106 fi
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119   # Report what library types will actually be built
16120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16121 printf %s "checking if libtool supports shared libraries... " >&6; }
16122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16123 printf "%s\n" "$can_build_shared" >&6; }
16124
16125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16126 printf %s "checking whether to build shared libraries... " >&6; }
16127   test no = "$can_build_shared" && enable_shared=no
16128
16129   # On AIX, shared libraries and static libraries use the same namespace, and
16130   # are all built from PIC.
16131   case $host_os in
16132   aix3*)
16133     test yes = "$enable_shared" && enable_static=no
16134     if test -n "$RANLIB"; then
16135       archive_cmds="$archive_cmds~\$RANLIB \$lib"
16136       postinstall_cmds='$RANLIB $lib'
16137     fi
16138     ;;
16139
16140   aix[4-9]*)
16141     if test ia64 != "$host_cpu"; then
16142       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
16143       yes,aix,yes) ;;                   # shared object as lib.so file only
16144       yes,svr4,*) ;;                    # shared object as lib.so archive member only
16145       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
16146       esac
16147     fi
16148     ;;
16149   esac
16150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16151 printf "%s\n" "$enable_shared" >&6; }
16152
16153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16154 printf %s "checking whether to build static libraries... " >&6; }
16155   # Make sure either enable_shared or enable_static is yes.
16156   test yes = "$enable_shared" || enable_static=yes
16157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16158 printf "%s\n" "$enable_static" >&6; }
16159
16160
16161
16162
16163 fi
16164 ac_ext=c
16165 ac_cpp='$CPP $CPPFLAGS'
16166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16169
16170 CC=$lt_save_CC
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186         ac_config_commands="$ac_config_commands libtool"
16187
16188
16189
16190
16191 # Only expand once:
16192
16193
16194
16195 # Extract the first word of "valgrind", so it can be a program name with args.
16196 set dummy valgrind; ac_word=$2
16197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16198 printf %s "checking for $ac_word... " >&6; }
16199 if test ${ac_cv_path_PATH_VALGRIND+y}
16200 then :
16201   printf %s "(cached) " >&6
16202 else $as_nop
16203   case $PATH_VALGRIND in
16204   [\\/]* | ?:[\\/]*)
16205   ac_cv_path_PATH_VALGRIND="$PATH_VALGRIND" # Let the user override the test with a path.
16206   ;;
16207   *)
16208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16209 for as_dir in $PATH
16210 do
16211   IFS=$as_save_IFS
16212   case $as_dir in #(((
16213     '') as_dir=./ ;;
16214     */) ;;
16215     *) as_dir=$as_dir/ ;;
16216   esac
16217     for ac_exec_ext in '' $ac_executable_extensions; do
16218   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16219     ac_cv_path_PATH_VALGRIND="$as_dir$ac_word$ac_exec_ext"
16220     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16221     break 2
16222   fi
16223 done
16224   done
16225 IFS=$as_save_IFS
16226
16227   ;;
16228 esac
16229 fi
16230 PATH_VALGRIND=$ac_cv_path_PATH_VALGRIND
16231 if test -n "$PATH_VALGRIND"; then
16232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_VALGRIND" >&5
16233 printf "%s\n" "$PATH_VALGRIND" >&6; }
16234 else
16235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236 printf "%s\n" "no" >&6; }
16237 fi
16238
16239
16240
16241 rra_lib_arch_name=lib
16242  # The cast to long int works around a bug in the HP C Compiler
16243 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16244 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16245 # This bug is HP SR number 8606223364.
16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16247 printf %s "checking size of long... " >&6; }
16248 if test ${ac_cv_sizeof_long+y}
16249 then :
16250   printf %s "(cached) " >&6
16251 else $as_nop
16252   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
16253 then :
16254
16255 else $as_nop
16256   if test "$ac_cv_type_long" = yes; then
16257      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16258 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16259 as_fn_error 77 "cannot compute sizeof (long)
16260 See \`config.log' for more details" "$LINENO" 5; }
16261    else
16262      ac_cv_sizeof_long=0
16263    fi
16264 fi
16265
16266 fi
16267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16268 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
16269
16270
16271
16272 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
16273
16274
16275  if test "$ac_cv_sizeof_long" -eq 4
16276 then :
16277   rra_lib_arch_name=lib32
16278 else $as_nop
16279   if test "$ac_cv_sizeof_long" -eq 8
16280 then :
16281   rra_lib_arch_name=lib64
16282 fi
16283 fi
16284 rra_CDB_root=
16285  rra_CDB_libdir=
16286  rra_CDB_includedir=
16287  rra_use_CDB=
16288  CDB_CPPFLAGS=
16289  CDB_LDFLAGS=
16290  CDB_LIBS=
16291
16292
16293
16294
16295 # Check whether --with-tinycdb was given.
16296 if test ${with_tinycdb+y}
16297 then :
16298   withval=$with_tinycdb; if test x"$withval" = xno
16299 then :
16300   rra_use_CDB=false
16301 else $as_nop
16302   if test x"$withval" != xyes
16303 then :
16304   rra_CDB_root="$withval"
16305 fi
16306          rra_use_CDB=true
16307 fi
16308 fi
16309
16310
16311 # Check whether --with-tinycdb-include was given.
16312 if test ${with_tinycdb_include+y}
16313 then :
16314   withval=$with_tinycdb_include; if test x"$withval" != xyes && test x"$withval" != xno
16315 then :
16316   rra_CDB_includedir="$withval"
16317 fi
16318 fi
16319
16320
16321 # Check whether --with-tinycdb-lib was given.
16322 if test ${with_tinycdb_lib+y}
16323 then :
16324   withval=$with_tinycdb_lib; if test x"$withval" != xyes && test x"$withval" != xno
16325 then :
16326   rra_CDB_libdir="$withval"
16327 fi
16328 fi
16329
16330  if test x"$rra_use_CDB" != xfalse
16331 then :
16332   if test x"$rra_use_CDB" = xtrue
16333 then :
16334   if test x"$rra_CDB_libdir" != x
16335 then :
16336   CDB_LDFLAGS="-L$rra_CDB_libdir"
16337 else $as_nop
16338   if test x"$rra_CDB_root" != x
16339 then :
16340
16341  if test -d "${rra_CDB_root}/$rra_lib_arch_name"
16342 then :
16343   if test x"" = x
16344 then :
16345   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
16346 else $as_nop
16347   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
16348 fi
16349 else $as_nop
16350   if test x"" = x
16351 then :
16352   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
16353 else $as_nop
16354   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
16355 fi
16356 fi
16357  CDB_LDFLAGS=`printf "%s\n" "$CDB_LDFLAGS" | sed -e 's/^ *//'`
16358 fi
16359 fi
16360  if test x"$rra_CDB_includedir" != x
16361 then :
16362   CDB_CPPFLAGS="-I$rra_CDB_includedir"
16363 else $as_nop
16364   if test x"$rra_CDB_root" != x
16365 then :
16366   if test x"$rra_CDB_root" != x/usr
16367 then :
16368   CDB_CPPFLAGS="-I${rra_CDB_root}/include"
16369 fi
16370 fi
16371 fi
16372  rra_CDB_save_CPPFLAGS="$CPPFLAGS"
16373  rra_CDB_save_LDFLAGS="$LDFLAGS"
16374  rra_CDB_save_LIBS="$LIBS"
16375  CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
16376  LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
16377  LIBS="$CDB_LIBS $LIBS"
16378  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
16379 printf %s "checking for cdb_init in -lcdb... " >&6; }
16380 if test ${ac_cv_lib_cdb_cdb_init+y}
16381 then :
16382   printf %s "(cached) " >&6
16383 else $as_nop
16384   ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-lcdb  $LIBS"
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h.  */
16388
16389 /* Override any GCC internal prototype to avoid an error.
16390    Use char because int might match the return type of a GCC
16391    builtin and then its argument prototype would still apply.  */
16392 char cdb_init ();
16393 int
16394 main (void)
16395 {
16396 return cdb_init ();
16397   ;
16398   return 0;
16399 }
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"
16402 then :
16403   ac_cv_lib_cdb_cdb_init=yes
16404 else $as_nop
16405   ac_cv_lib_cdb_cdb_init=no
16406 fi
16407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16408     conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16410 fi
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
16412 printf "%s\n" "$ac_cv_lib_cdb_cdb_init" >&6; }
16413 if test "x$ac_cv_lib_cdb_cdb_init" = xyes
16414 then :
16415   CDB_LIBS=-lcdb
16416 else $as_nop
16417   if test x"true" = xtrue
16418 then :
16419   as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
16420 fi
16421 fi
16422
16423  ac_fn_c_check_header_compile "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
16424 if test "x$ac_cv_header_cdb_h" = xyes
16425 then :
16426   printf "%s\n" "#define HAVE_CDB_H 1" >>confdefs.h
16427
16428 fi
16429
16430  CPPFLAGS="$rra_CDB_save_CPPFLAGS"
16431  LDFLAGS="$rra_CDB_save_LDFLAGS"
16432  LIBS="$rra_CDB_save_LIBS"
16433 else $as_nop
16434   if test x"$rra_CDB_libdir" != x
16435 then :
16436   CDB_LDFLAGS="-L$rra_CDB_libdir"
16437 else $as_nop
16438   if test x"$rra_CDB_root" != x
16439 then :
16440
16441  if test -d "${rra_CDB_root}/$rra_lib_arch_name"
16442 then :
16443   if test x"" = x
16444 then :
16445   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
16446 else $as_nop
16447   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
16448 fi
16449 else $as_nop
16450   if test x"" = x
16451 then :
16452   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
16453 else $as_nop
16454   CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
16455 fi
16456 fi
16457  CDB_LDFLAGS=`printf "%s\n" "$CDB_LDFLAGS" | sed -e 's/^ *//'`
16458 fi
16459 fi
16460  if test x"$rra_CDB_includedir" != x
16461 then :
16462   CDB_CPPFLAGS="-I$rra_CDB_includedir"
16463 else $as_nop
16464   if test x"$rra_CDB_root" != x
16465 then :
16466   if test x"$rra_CDB_root" != x/usr
16467 then :
16468   CDB_CPPFLAGS="-I${rra_CDB_root}/include"
16469 fi
16470 fi
16471 fi
16472  rra_CDB_save_CPPFLAGS="$CPPFLAGS"
16473  rra_CDB_save_LDFLAGS="$LDFLAGS"
16474  rra_CDB_save_LIBS="$LIBS"
16475  CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
16476  LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
16477  LIBS="$CDB_LIBS $LIBS"
16478  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
16479 printf %s "checking for cdb_init in -lcdb... " >&6; }
16480 if test ${ac_cv_lib_cdb_cdb_init+y}
16481 then :
16482   printf %s "(cached) " >&6
16483 else $as_nop
16484   ac_check_lib_save_LIBS=$LIBS
16485 LIBS="-lcdb  $LIBS"
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h.  */
16488
16489 /* Override any GCC internal prototype to avoid an error.
16490    Use char because int might match the return type of a GCC
16491    builtin and then its argument prototype would still apply.  */
16492 char cdb_init ();
16493 int
16494 main (void)
16495 {
16496 return cdb_init ();
16497   ;
16498   return 0;
16499 }
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"
16502 then :
16503   ac_cv_lib_cdb_cdb_init=yes
16504 else $as_nop
16505   ac_cv_lib_cdb_cdb_init=no
16506 fi
16507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16508     conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_lib_save_LIBS
16510 fi
16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
16512 printf "%s\n" "$ac_cv_lib_cdb_cdb_init" >&6; }
16513 if test "x$ac_cv_lib_cdb_cdb_init" = xyes
16514 then :
16515   CDB_LIBS=-lcdb
16516 else $as_nop
16517   if test x"false" = xtrue
16518 then :
16519   as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
16520 fi
16521 fi
16522
16523  ac_fn_c_check_header_compile "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
16524 if test "x$ac_cv_header_cdb_h" = xyes
16525 then :
16526   printf "%s\n" "#define HAVE_CDB_H 1" >>confdefs.h
16527
16528 fi
16529
16530  CPPFLAGS="$rra_CDB_save_CPPFLAGS"
16531  LDFLAGS="$rra_CDB_save_LDFLAGS"
16532  LIBS="$rra_CDB_save_LIBS"
16533 fi
16534 fi
16535  if test x"$CDB_LIBS" != x
16536 then :
16537   rra_use_CDB=true
16538
16539 printf "%s\n" "#define HAVE_CDB 1" >>confdefs.h
16540
16541 fi
16542 rra_CRACKLIB_root=
16543  rra_CRACKLIB_libdir=
16544  rra_CRACKLIB_includedir=
16545  rra_use_CRACKLIB=
16546  CRACKLIB_CPPFLAGS=
16547  CRACKLIB_LDFLAGS=
16548  CRACKLIB_LIBS=
16549
16550
16551
16552
16553
16554 # Check whether --with-cracklib was given.
16555 if test ${with_cracklib+y}
16556 then :
16557   withval=$with_cracklib; if test x"$withval" = xno
16558 then :
16559   rra_use_CRACKLIB=false
16560 else $as_nop
16561   rra_use_CRACKLIB=true
16562          if test x"$withval" != xyes
16563 then :
16564   rra_CRACKLIB_root="$withval"
16565 fi
16566 fi
16567 fi
16568
16569
16570 # Check whether --with-cracklib-include was given.
16571 if test ${with_cracklib_include+y}
16572 then :
16573   withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno
16574 then :
16575   rra_CRACKLIB_includedir="$withval"
16576 fi
16577 fi
16578
16579
16580 # Check whether --with-cracklib-lib was given.
16581 if test ${with_cracklib_lib+y}
16582 then :
16583   withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno
16584 then :
16585   rra_CRACKLIB_libdir="$withval"
16586 fi
16587 fi
16588
16589
16590   if test x"$rra_use_CRACKLIB" != xfalse
16591 then :
16592   if test x"$rra_use_CRACKLIB" != x
16593 then :
16594   if test x"$rra_CRACKLIB_libdir" != x
16595 then :
16596   CRACKLIB_LDFLAGS="-L$rra_CRACKLIB_libdir"
16597 else $as_nop
16598   if test x"$rra_CRACKLIB_root" != x
16599 then :
16600
16601  if test -d "${rra_CRACKLIB_root}/$rra_lib_arch_name"
16602 then :
16603   if test x"" = x
16604 then :
16605   CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}"
16606 else $as_nop
16607   CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}/"
16608 fi
16609 else $as_nop
16610   if test x"" = x
16611 then :
16612   CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib"
16613 else $as_nop
16614   CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib/"
16615 fi
16616 fi
16617  CRACKLIB_LDFLAGS=`printf "%s\n" "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
16618 fi
16619 fi
16620  if test x"$rra_CRACKLIB_includedir" != x
16621 then :
16622   CRACKLIB_CPPFLAGS="-I$rra_CRACKLIB_includedir"
16623 else $as_nop
16624   if test x"$rra_CRACKLIB_root" != x
16625 then :
16626   if test x"$rra_CRACKLIB_root" != x/usr
16627 then :
16628   CRACKLIB_CPPFLAGS="-I${rra_CRACKLIB_root}/include"
16629 fi
16630 fi
16631 fi
16632  rra_CRACKLIB_save_CPPFLAGS="$CPPFLAGS"
16633  rra_CRACKLIB_save_LDFLAGS="$LDFLAGS"
16634  rra_CRACKLIB_save_LIBS="$LIBS"
16635  CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
16636  LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
16637  LIBS="$CRACKLIB_LIBS $LIBS"
16638  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FascistCheck in -lcrack" >&5
16639 printf %s "checking for FascistCheck in -lcrack... " >&6; }
16640 if test ${ac_cv_lib_crack_FascistCheck+y}
16641 then :
16642   printf %s "(cached) " >&6
16643 else $as_nop
16644   ac_check_lib_save_LIBS=$LIBS
16645 LIBS="-lcrack  $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h.  */
16648
16649 /* Override any GCC internal prototype to avoid an error.
16650    Use char because int might match the return type of a GCC
16651    builtin and then its argument prototype would still apply.  */
16652 char FascistCheck ();
16653 int
16654 main (void)
16655 {
16656 return FascistCheck ();
16657   ;
16658   return 0;
16659 }
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"
16662 then :
16663   ac_cv_lib_crack_FascistCheck=yes
16664 else $as_nop
16665   ac_cv_lib_crack_FascistCheck=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16668     conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_lib_save_LIBS
16670 fi
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crack_FascistCheck" >&5
16672 printf "%s\n" "$ac_cv_lib_crack_FascistCheck" >&6; }
16673 if test "x$ac_cv_lib_crack_FascistCheck" = xyes
16674 then :
16675   CRACKLIB_LIBS=-lcrack
16676 else $as_nop
16677   as_fn_error $? "cannot find usable CrackLib library" "$LINENO" 5
16678 fi
16679
16680  ac_fn_c_check_header_compile "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
16681 if test "x$ac_cv_header_crack_h" = xyes
16682 then :
16683   printf "%s\n" "#define HAVE_CRACK_H 1" >>confdefs.h
16684
16685 fi
16686
16687
16688 printf "%s\n" "#define HAVE_SYSTEM_CRACKLIB 1" >>confdefs.h
16689
16690  CPPFLAGS="$rra_CRACKLIB_save_CPPFLAGS"
16691  LDFLAGS="$rra_CRACKLIB_save_LDFLAGS"
16692  LIBS="$rra_CRACKLIB_save_LIBS"
16693 fi
16694
16695 printf "%s\n" "#define HAVE_CRACKLIB 1" >>confdefs.h
16696
16697 fi
16698   if test x"$rra_use_CRACKLIB" = x; then
16699   EMBEDDED_CRACKLIB_TRUE=
16700   EMBEDDED_CRACKLIB_FALSE='#'
16701 else
16702   EMBEDDED_CRACKLIB_TRUE='#'
16703   EMBEDDED_CRACKLIB_FALSE=
16704 fi
16705
16706 rra_reduced_depends=false
16707  # Check whether --enable-reduced-depends was given.
16708 if test ${enable_reduced_depends+y}
16709 then :
16710   enableval=$enable_reduced_depends; if test x"$enableval" = xyes
16711 then :
16712   rra_reduced_depends=true
16713 fi
16714 fi
16715
16716 rra_krb5_root=
16717  rra_krb5_libdir=
16718  rra_krb5_includedir=
16719  rra_use_KRB5=true
16720
16721
16722 # Check whether --with-krb5 was given.
16723 if test ${with_krb5+y}
16724 then :
16725   withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno
16726 then :
16727   rra_krb5_root="$withval"
16728 fi
16729 fi
16730
16731
16732 # Check whether --with-krb5-include was given.
16733 if test ${with_krb5_include+y}
16734 then :
16735   withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno
16736 then :
16737   rra_krb5_includedir="$withval"
16738 fi
16739 fi
16740
16741
16742 # Check whether --with-krb5-lib was given.
16743 if test ${with_krb5_lib+y}
16744 then :
16745   withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno
16746 then :
16747   rra_krb5_libdir="$withval"
16748 fi
16749 fi
16750
16751
16752  rra_krb5_incroot=
16753
16754
16755
16756
16757  if test x"$rra_krb5_includedir" != x
16758 then :
16759   rra_krb5_incroot="$rra_krb5_includedir"
16760 else $as_nop
16761   if test x"$rra_krb5_root" != x
16762 then :
16763   rra_krb5_incroot="${rra_krb5_root}/include"
16764 fi
16765 fi
16766  if test x"$rra_reduced_depends" = xtrue
16767 then :
16768   if test x"$rra_krb5_libdir" != x
16769 then :
16770   KRB5_LDFLAGS="-L$rra_krb5_libdir"
16771 else $as_nop
16772   if test x"$rra_krb5_root" != x
16773 then :
16774
16775  if test -d "$rra_krb5_root/$rra_lib_arch_name"
16776 then :
16777   if test x"" = x
16778 then :
16779   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
16780 else $as_nop
16781   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
16782 fi
16783 else $as_nop
16784   if test x"" = x
16785 then :
16786   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
16787 else $as_nop
16788   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
16789 fi
16790 fi
16791  KRB5_LDFLAGS=`printf "%s\n" "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
16792 fi
16793 fi
16794  if test x"$rra_krb5_includedir" != x
16795 then :
16796   KRB5_CPPFLAGS="-I$rra_krb5_includedir"
16797 else $as_nop
16798   if test x"$rra_krb5_root" != x
16799 then :
16800   if test x"$rra_krb5_root" != x/usr
16801 then :
16802   KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
16803 fi
16804 fi
16805 fi
16806      rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16807  rra_krb5_save_LDFLAGS="$LDFLAGS"
16808  rra_krb5_save_LIBS="$LIBS"
16809  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16810  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16811  LIBS="$KRB5_LIBS $LIBS"
16812  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
16813 printf %s "checking for krb5_init_context in -lkrb5... " >&6; }
16814 if test ${ac_cv_lib_krb5_krb5_init_context+y}
16815 then :
16816   printf %s "(cached) " >&6
16817 else $as_nop
16818   ac_check_lib_save_LIBS=$LIBS
16819 LIBS="-lkrb5  $LIBS"
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h.  */
16822
16823 /* Override any GCC internal prototype to avoid an error.
16824    Use char because int might match the return type of a GCC
16825    builtin and then its argument prototype would still apply.  */
16826 char krb5_init_context ();
16827 int
16828 main (void)
16829 {
16830 return krb5_init_context ();
16831   ;
16832   return 0;
16833 }
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"
16836 then :
16837   ac_cv_lib_krb5_krb5_init_context=yes
16838 else $as_nop
16839   ac_cv_lib_krb5_krb5_init_context=no
16840 fi
16841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16842     conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_lib_save_LIBS
16844 fi
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
16846 printf "%s\n" "$ac_cv_lib_krb5_krb5_init_context" >&6; }
16847 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes
16848 then :
16849   KRB5_LIBS="-lkrb5"
16850      LIBS="$KRB5_LIBS $LIBS"
16851
16852   for ac_func in krb5_get_error_message
16853 do :
16854   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16855 if test "x$ac_cv_func_krb5_get_error_message" = xyes
16856 then :
16857   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
16858  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16859 if test "x$ac_cv_func_krb5_free_error_message" = xyes
16860 then :
16861   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
16862
16863 fi
16864
16865 else $as_nop
16866
16867   for ac_func in krb5_get_error_string
16868 do :
16869   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16870 if test "x$ac_cv_func_krb5_get_error_string" = xyes
16871 then :
16872   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
16873
16874 else $as_nop
16875
16876   for ac_func in krb5_get_err_txt
16877 do :
16878   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16879 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
16880 then :
16881   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
16882
16883 else $as_nop
16884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
16885 printf %s "checking for krb5_svc_get_msg in -lksvc... " >&6; }
16886 if test ${ac_cv_lib_ksvc_krb5_svc_get_msg+y}
16887 then :
16888   printf %s "(cached) " >&6
16889 else $as_nop
16890   ac_check_lib_save_LIBS=$LIBS
16891 LIBS="-lksvc  $LIBS"
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h.  */
16894
16895 /* Override any GCC internal prototype to avoid an error.
16896    Use char because int might match the return type of a GCC
16897    builtin and then its argument prototype would still apply.  */
16898 char krb5_svc_get_msg ();
16899 int
16900 main (void)
16901 {
16902 return krb5_svc_get_msg ();
16903   ;
16904   return 0;
16905 }
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"
16908 then :
16909   ac_cv_lib_ksvc_krb5_svc_get_msg=yes
16910 else $as_nop
16911   ac_cv_lib_ksvc_krb5_svc_get_msg=no
16912 fi
16913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16914     conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16916 fi
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
16918 printf "%s\n" "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
16919 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes
16920 then :
16921   KRB5_LIBS="$KRB5_LIBS -lksvc"
16922                      printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
16923
16924                      ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16925 #if HAVE_KRB5_H
16926 # include <krb5.h>
16927 #elif HAVE_KERBEROSV5_KRB5_H
16928 # include <kerberosv5/krb5.h>
16929 #else
16930 # include <krb5/krb5.h>
16931 #endif
16932
16933 "
16934 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
16935 then :
16936   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
16937
16938 fi
16939
16940 else $as_nop
16941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
16942 printf %s "checking for com_err in -lcom_err... " >&6; }
16943 if test ${ac_cv_lib_com_err_com_err+y}
16944 then :
16945   printf %s "(cached) " >&6
16946 else $as_nop
16947   ac_check_lib_save_LIBS=$LIBS
16948 LIBS="-lcom_err  $LIBS"
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h.  */
16951
16952 /* Override any GCC internal prototype to avoid an error.
16953    Use char because int might match the return type of a GCC
16954    builtin and then its argument prototype would still apply.  */
16955 char com_err ();
16956 int
16957 main (void)
16958 {
16959 return com_err ();
16960   ;
16961   return 0;
16962 }
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"
16965 then :
16966   ac_cv_lib_com_err_com_err=yes
16967 else $as_nop
16968   ac_cv_lib_com_err_com_err=no
16969 fi
16970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16971     conftest$ac_exeext conftest.$ac_ext
16972 LIBS=$ac_check_lib_save_LIBS
16973 fi
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
16975 printf "%s\n" "$ac_cv_lib_com_err_com_err" >&6; }
16976 if test "x$ac_cv_lib_com_err_com_err" = xyes
16977 then :
16978   KRB5_LIBS="$KRB5_LIBS -lcom_err"
16979 else $as_nop
16980   if test x"true" = xtrue
16981 then :
16982   as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
16983 else $as_nop
16984   KRB5_LIBS=""
16985 fi
16986 fi
16987
16988                      if test x"$rra_krb5_incroot" = x
16989 then :
16990   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
16991 if test "x$ac_cv_header_et_com_err_h" = xyes
16992 then :
16993   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
16994
16995 fi
16996 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
16997 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
16998 then :
16999   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
17000
17001 fi
17002
17003 else $as_nop
17004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
17005 printf %s "checking for et/com_err.h... " >&6; }
17006  if test -f "${rra_krb5_incroot}/et/com_err.h"
17007 then :
17008
17009 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
17010
17011      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17012 printf "%s\n" "yes" >&6; }
17013
17014 else $as_nop
17015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17016 printf "%s\n" "no" >&6; }
17017 fi
17018          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
17019 printf %s "checking for kerberosv5/com_err.h... " >&6; }
17020  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
17021 then :
17022
17023 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
17024
17025      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17026 printf "%s\n" "yes" >&6; }
17027
17028 else $as_nop
17029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17030 printf "%s\n" "no" >&6; }
17031 fi
17032 fi
17033 fi
17034
17035 fi
17036
17037 done
17038 fi
17039
17040 done
17041 fi
17042
17043 done
17044      rra_krb5_found_header=
17045  if test x"$rra_krb5_incroot" = x
17046 then :
17047          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
17048 do :
17049   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
17050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17051 if eval test \"x\$"$as_ac_Header"\" = x"yes"
17052 then :
17053   cat >>confdefs.h <<_ACEOF
17054 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
17055 _ACEOF
17056  rra_krb5_found_header=true
17057 fi
17058
17059 done
17060 else $as_nop
17061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
17062 printf %s "checking for krb5.h... " >&6; }
17063  if test -f "${rra_krb5_incroot}/krb5.h"
17064 then :
17065
17066 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
17067
17068      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17069 printf "%s\n" "yes" >&6; }
17070      rra_krb5_found_header=true
17071 else $as_nop
17072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073 printf "%s\n" "no" >&6; }
17074 fi
17075      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
17076 printf %s "checking for kerberosv5/krb5.h... " >&6; }
17077  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
17078 then :
17079
17080 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
17081
17082      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17083 printf "%s\n" "yes" >&6; }
17084      rra_krb5_found_header=true
17085 else $as_nop
17086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17087 printf "%s\n" "no" >&6; }
17088 fi
17089      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
17090 printf %s "checking for krb5/krb5.h... " >&6; }
17091  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
17092 then :
17093
17094 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17095
17096      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17097 printf "%s\n" "yes" >&6; }
17098      rra_krb5_found_header=true
17099 else $as_nop
17100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17101 printf "%s\n" "no" >&6; }
17102 fi
17103 fi
17104  if test x"$rra_krb5_found_header" = xtrue
17105 then :
17106
17107 else $as_nop
17108   KRB5_CPPFLAGS=
17109          KRB5_LIBS=
17110          if test x"true" = xtrue
17111 then :
17112   as_fn_error $? "cannot find usable Kerberos header" "$LINENO" 5
17113 fi
17114 fi
17115 else $as_nop
17116   if test x"true" = xtrue
17117 then :
17118   as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
17119 fi
17120 fi
17121
17122  CPPFLAGS="$rra_krb5_save_CPPFLAGS"
17123  LDFLAGS="$rra_krb5_save_LDFLAGS"
17124  LIBS="$rra_krb5_save_LIBS"
17125 else $as_nop
17126   if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x
17127 then :
17128   rra_krb5_config_KRB5=
17129  rra_krb5_config_KRB5_ok=
17130  if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"
17131 then :
17132   rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
17133 else $as_nop
17134
17135  # Extract the first word of "krb5-config", so it can be a program name with args.
17136 set dummy krb5-config; ac_word=$2
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17138 printf %s "checking for $ac_word... " >&6; }
17139 if test ${ac_cv_path_PATH_KRB5_CONFIG+y}
17140 then :
17141   printf %s "(cached) " >&6
17142 else $as_nop
17143   case $PATH_KRB5_CONFIG in
17144   [\\/]* | ?:[\\/]*)
17145   ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
17146   ;;
17147   *)
17148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17149 as_dummy="${PATH}:/usr/kerberos/bin"
17150 for as_dir in $as_dummy
17151 do
17152   IFS=$as_save_IFS
17153   case $as_dir in #(((
17154     '') as_dir=./ ;;
17155     */) ;;
17156     *) as_dir=$as_dir/ ;;
17157   esac
17158     for ac_exec_ext in '' $ac_executable_extensions; do
17159   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17160     ac_cv_path_PATH_KRB5_CONFIG="$as_dir$ac_word$ac_exec_ext"
17161     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17162     break 2
17163   fi
17164 done
17165   done
17166 IFS=$as_save_IFS
17167
17168   ;;
17169 esac
17170 fi
17171 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
17172 if test -n "$PATH_KRB5_CONFIG"; then
17173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
17174 printf "%s\n" "$PATH_KRB5_CONFIG" >&6; }
17175 else
17176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17177 printf "%s\n" "no" >&6; }
17178 fi
17179
17180
17181      rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
17182 fi
17183  if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"
17184 then :
17185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
17186 printf %s "checking for krb5 support in krb5-config... " >&6; }
17187 if test ${rra_cv_lib_KRB5_config+y}
17188 then :
17189   printf %s "(cached) " >&6
17190 else $as_nop
17191   if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1
17192 then :
17193   rra_cv_lib_KRB5_config=yes
17194 else $as_nop
17195   rra_cv_lib_KRB5_config=no
17196 fi
17197 fi
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
17199 printf "%s\n" "$rra_cv_lib_KRB5_config" >&6; }
17200      if test "$rra_cv_lib_KRB5_config" = yes
17201 then :
17202   KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
17203
17204
17205
17206  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
17207 printf %s "checking for --deps support in krb5-config... " >&6; }
17208 if test ${rra_cv_krb5_config_deps+y}
17209 then :
17210   printf %s "(cached) " >&6
17211 else $as_nop
17212   if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1
17213 then :
17214   rra_cv_krb5_config_deps=yes
17215 else $as_nop
17216   rra_cv_krb5_config_deps=no
17217 fi
17218 fi
17219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
17220 printf "%s\n" "$rra_cv_krb5_config_deps" >&6; }
17221  if test x"$rra_reduced_depends" = xfalse \
17222         && test x"$rra_cv_krb5_config_deps" = xyes
17223 then :
17224   KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
17225 else $as_nop
17226   KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
17227 fi
17228          rra_krb5_config_KRB5_ok=yes
17229 else $as_nop
17230   if test x"krb5" = xkrb5
17231 then :
17232   KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
17233              KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
17234              rra_krb5_config_KRB5_ok=yes
17235 fi
17236 fi
17237 fi
17238  if test x"$rra_krb5_config_KRB5_ok" = xyes
17239 then :
17240   KRB5_CPPFLAGS=`printf "%s\n" "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
17241      KRB5_CPPFLAGS=`printf "%s\n" "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
17242      rra_krb5_save_CPPFLAGS="$CPPFLAGS"
17243  rra_krb5_save_LDFLAGS="$LDFLAGS"
17244  rra_krb5_save_LIBS="$LIBS"
17245  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
17246  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
17247  LIBS="$KRB5_LIBS $LIBS"
17248  ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
17249 if test "x$ac_cv_func_krb5_init_context" = xyes
17250 then :
17251   rra_krb5_found_header=
17252  if test x"$rra_krb5_incroot" = x
17253 then :
17254          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
17255 do :
17256   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
17257 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17258 if eval test \"x\$"$as_ac_Header"\" = x"yes"
17259 then :
17260   cat >>confdefs.h <<_ACEOF
17261 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
17262 _ACEOF
17263  rra_krb5_found_header=true
17264 fi
17265
17266 done
17267 else $as_nop
17268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
17269 printf %s "checking for krb5.h... " >&6; }
17270  if test -f "${rra_krb5_incroot}/krb5.h"
17271 then :
17272
17273 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
17274
17275      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17276 printf "%s\n" "yes" >&6; }
17277      rra_krb5_found_header=true
17278 else $as_nop
17279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17280 printf "%s\n" "no" >&6; }
17281 fi
17282      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
17283 printf %s "checking for kerberosv5/krb5.h... " >&6; }
17284  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
17285 then :
17286
17287 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
17288
17289      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17290 printf "%s\n" "yes" >&6; }
17291      rra_krb5_found_header=true
17292 else $as_nop
17293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17294 printf "%s\n" "no" >&6; }
17295 fi
17296      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
17297 printf %s "checking for krb5/krb5.h... " >&6; }
17298  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
17299 then :
17300
17301 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17302
17303      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17304 printf "%s\n" "yes" >&6; }
17305      rra_krb5_found_header=true
17306 else $as_nop
17307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17308 printf "%s\n" "no" >&6; }
17309 fi
17310 fi
17311  if test x"$rra_krb5_found_header" = xtrue
17312 then :
17313   CPPFLAGS="$rra_krb5_save_CPPFLAGS"
17314  LDFLAGS="$rra_krb5_save_LDFLAGS"
17315  LIBS="$rra_krb5_save_LIBS"
17316 else $as_nop
17317   CPPFLAGS="$rra_krb5_save_CPPFLAGS"
17318  LDFLAGS="$rra_krb5_save_LDFLAGS"
17319  LIBS="$rra_krb5_save_LIBS"
17320          KRB5_CPPFLAGS=
17321          KRB5_LIBS=
17322          if test x"$rra_krb5_libdir" != x
17323 then :
17324   KRB5_LDFLAGS="-L$rra_krb5_libdir"
17325 else $as_nop
17326   if test x"$rra_krb5_root" != x
17327 then :
17328
17329  if test -d "$rra_krb5_root/$rra_lib_arch_name"
17330 then :
17331   if test x"" = x
17332 then :
17333   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
17334 else $as_nop
17335   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
17336 fi
17337 else $as_nop
17338   if test x"" = x
17339 then :
17340   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
17341 else $as_nop
17342   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
17343 fi
17344 fi
17345  KRB5_LDFLAGS=`printf "%s\n" "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
17346 fi
17347 fi
17348  if test x"$rra_krb5_includedir" != x
17349 then :
17350   KRB5_CPPFLAGS="-I$rra_krb5_includedir"
17351 else $as_nop
17352   if test x"$rra_krb5_root" != x
17353 then :
17354   if test x"$rra_krb5_root" != x/usr
17355 then :
17356   KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
17357 fi
17358 fi
17359 fi
17360          rra_krb5_save_CPPFLAGS="$CPPFLAGS"
17361  rra_krb5_save_LDFLAGS="$LDFLAGS"
17362  rra_krb5_save_LIBS="$LIBS"
17363  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
17364  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
17365  LIBS="$KRB5_LIBS $LIBS"
17366  rra_krb5_extra=
17367  LIBS=
17368  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
17369 printf %s "checking for library containing res_search... " >&6; }
17370 if test ${ac_cv_search_res_search+y}
17371 then :
17372   printf %s "(cached) " >&6
17373 else $as_nop
17374   ac_func_search_save_LIBS=$LIBS
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h.  */
17377
17378 /* Override any GCC internal prototype to avoid an error.
17379    Use char because int might match the return type of a GCC
17380    builtin and then its argument prototype would still apply.  */
17381 char res_search ();
17382 int
17383 main (void)
17384 {
17385 return res_search ();
17386   ;
17387   return 0;
17388 }
17389 _ACEOF
17390 for ac_lib in '' resolv
17391 do
17392   if test -z "$ac_lib"; then
17393     ac_res="none required"
17394   else
17395     ac_res=-l$ac_lib
17396     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17397   fi
17398   if ac_fn_c_try_link "$LINENO"
17399 then :
17400   ac_cv_search_res_search=$ac_res
17401 fi
17402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17403     conftest$ac_exeext
17404   if test ${ac_cv_search_res_search+y}
17405 then :
17406   break
17407 fi
17408 done
17409 if test ${ac_cv_search_res_search+y}
17410 then :
17411
17412 else $as_nop
17413   ac_cv_search_res_search=no
17414 fi
17415 rm conftest.$ac_ext
17416 LIBS=$ac_func_search_save_LIBS
17417 fi
17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
17419 printf "%s\n" "$ac_cv_search_res_search" >&6; }
17420 ac_res=$ac_cv_search_res_search
17421 if test "$ac_res" != no
17422 then :
17423   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17424
17425 else $as_nop
17426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
17427 printf %s "checking for library containing __res_search... " >&6; }
17428 if test ${ac_cv_search___res_search+y}
17429 then :
17430   printf %s "(cached) " >&6
17431 else $as_nop
17432   ac_func_search_save_LIBS=$LIBS
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h.  */
17435
17436 /* Override any GCC internal prototype to avoid an error.
17437    Use char because int might match the return type of a GCC
17438    builtin and then its argument prototype would still apply.  */
17439 char __res_search ();
17440 int
17441 main (void)
17442 {
17443 return __res_search ();
17444   ;
17445   return 0;
17446 }
17447 _ACEOF
17448 for ac_lib in '' resolv
17449 do
17450   if test -z "$ac_lib"; then
17451     ac_res="none required"
17452   else
17453     ac_res=-l$ac_lib
17454     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17455   fi
17456   if ac_fn_c_try_link "$LINENO"
17457 then :
17458   ac_cv_search___res_search=$ac_res
17459 fi
17460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17461     conftest$ac_exeext
17462   if test ${ac_cv_search___res_search+y}
17463 then :
17464   break
17465 fi
17466 done
17467 if test ${ac_cv_search___res_search+y}
17468 then :
17469
17470 else $as_nop
17471   ac_cv_search___res_search=no
17472 fi
17473 rm conftest.$ac_ext
17474 LIBS=$ac_func_search_save_LIBS
17475 fi
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
17477 printf "%s\n" "$ac_cv_search___res_search" >&6; }
17478 ac_res=$ac_cv_search___res_search
17479 if test "$ac_res" != no
17480 then :
17481   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17482
17483 fi
17484
17485 fi
17486
17487  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17488 printf %s "checking for library containing gethostbyname... " >&6; }
17489 if test ${ac_cv_search_gethostbyname+y}
17490 then :
17491   printf %s "(cached) " >&6
17492 else $as_nop
17493   ac_func_search_save_LIBS=$LIBS
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h.  */
17496
17497 /* Override any GCC internal prototype to avoid an error.
17498    Use char because int might match the return type of a GCC
17499    builtin and then its argument prototype would still apply.  */
17500 char gethostbyname ();
17501 int
17502 main (void)
17503 {
17504 return gethostbyname ();
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 for ac_lib in '' nsl
17510 do
17511   if test -z "$ac_lib"; then
17512     ac_res="none required"
17513   else
17514     ac_res=-l$ac_lib
17515     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17516   fi
17517   if ac_fn_c_try_link "$LINENO"
17518 then :
17519   ac_cv_search_gethostbyname=$ac_res
17520 fi
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17522     conftest$ac_exeext
17523   if test ${ac_cv_search_gethostbyname+y}
17524 then :
17525   break
17526 fi
17527 done
17528 if test ${ac_cv_search_gethostbyname+y}
17529 then :
17530
17531 else $as_nop
17532   ac_cv_search_gethostbyname=no
17533 fi
17534 rm conftest.$ac_ext
17535 LIBS=$ac_func_search_save_LIBS
17536 fi
17537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17538 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
17539 ac_res=$ac_cv_search_gethostbyname
17540 if test "$ac_res" != no
17541 then :
17542   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17543
17544 fi
17545
17546  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
17547 printf %s "checking for library containing socket... " >&6; }
17548 if test ${ac_cv_search_socket+y}
17549 then :
17550   printf %s "(cached) " >&6
17551 else $as_nop
17552   ac_func_search_save_LIBS=$LIBS
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h.  */
17555
17556 /* Override any GCC internal prototype to avoid an error.
17557    Use char because int might match the return type of a GCC
17558    builtin and then its argument prototype would still apply.  */
17559 char socket ();
17560 int
17561 main (void)
17562 {
17563 return socket ();
17564   ;
17565   return 0;
17566 }
17567 _ACEOF
17568 for ac_lib in '' socket
17569 do
17570   if test -z "$ac_lib"; then
17571     ac_res="none required"
17572   else
17573     ac_res=-l$ac_lib
17574     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17575   fi
17576   if ac_fn_c_try_link "$LINENO"
17577 then :
17578   ac_cv_search_socket=$ac_res
17579 fi
17580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17581     conftest$ac_exeext
17582   if test ${ac_cv_search_socket+y}
17583 then :
17584   break
17585 fi
17586 done
17587 if test ${ac_cv_search_socket+y}
17588 then :
17589
17590 else $as_nop
17591   ac_cv_search_socket=no
17592 fi
17593 rm conftest.$ac_ext
17594 LIBS=$ac_func_search_save_LIBS
17595 fi
17596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
17597 printf "%s\n" "$ac_cv_search_socket" >&6; }
17598 ac_res=$ac_cv_search_socket
17599 if test "$ac_res" != no
17600 then :
17601   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17602
17603 else $as_nop
17604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
17605 printf %s "checking for socket in -lnsl... " >&6; }
17606 if test ${ac_cv_lib_nsl_socket+y}
17607 then :
17608   printf %s "(cached) " >&6
17609 else $as_nop
17610   ac_check_lib_save_LIBS=$LIBS
17611 LIBS="-lnsl -lsocket $LIBS"
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h.  */
17614
17615 /* Override any GCC internal prototype to avoid an error.
17616    Use char because int might match the return type of a GCC
17617    builtin and then its argument prototype would still apply.  */
17618 char socket ();
17619 int
17620 main (void)
17621 {
17622 return socket ();
17623   ;
17624   return 0;
17625 }
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"
17628 then :
17629   ac_cv_lib_nsl_socket=yes
17630 else $as_nop
17631   ac_cv_lib_nsl_socket=no
17632 fi
17633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17634     conftest$ac_exeext conftest.$ac_ext
17635 LIBS=$ac_check_lib_save_LIBS
17636 fi
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
17638 printf "%s\n" "$ac_cv_lib_nsl_socket" >&6; }
17639 if test "x$ac_cv_lib_nsl_socket" = xyes
17640 then :
17641   LIBS="-lnsl -lsocket $LIBS"
17642 fi
17643
17644 fi
17645
17646  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
17647 printf %s "checking for library containing crypt... " >&6; }
17648 if test ${ac_cv_search_crypt+y}
17649 then :
17650   printf %s "(cached) " >&6
17651 else $as_nop
17652   ac_func_search_save_LIBS=$LIBS
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h.  */
17655
17656 /* Override any GCC internal prototype to avoid an error.
17657    Use char because int might match the return type of a GCC
17658    builtin and then its argument prototype would still apply.  */
17659 char crypt ();
17660 int
17661 main (void)
17662 {
17663 return crypt ();
17664   ;
17665   return 0;
17666 }
17667 _ACEOF
17668 for ac_lib in '' crypt
17669 do
17670   if test -z "$ac_lib"; then
17671     ac_res="none required"
17672   else
17673     ac_res=-l$ac_lib
17674     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17675   fi
17676   if ac_fn_c_try_link "$LINENO"
17677 then :
17678   ac_cv_search_crypt=$ac_res
17679 fi
17680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17681     conftest$ac_exeext
17682   if test ${ac_cv_search_crypt+y}
17683 then :
17684   break
17685 fi
17686 done
17687 if test ${ac_cv_search_crypt+y}
17688 then :
17689
17690 else $as_nop
17691   ac_cv_search_crypt=no
17692 fi
17693 rm conftest.$ac_ext
17694 LIBS=$ac_func_search_save_LIBS
17695 fi
17696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
17697 printf "%s\n" "$ac_cv_search_crypt" >&6; }
17698 ac_res=$ac_cv_search_crypt
17699 if test "$ac_res" != no
17700 then :
17701   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17702
17703 fi
17704
17705  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
17706 printf %s "checking for library containing roken_concat... " >&6; }
17707 if test ${ac_cv_search_roken_concat+y}
17708 then :
17709   printf %s "(cached) " >&6
17710 else $as_nop
17711   ac_func_search_save_LIBS=$LIBS
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h.  */
17714
17715 /* Override any GCC internal prototype to avoid an error.
17716    Use char because int might match the return type of a GCC
17717    builtin and then its argument prototype would still apply.  */
17718 char roken_concat ();
17719 int
17720 main (void)
17721 {
17722 return roken_concat ();
17723   ;
17724   return 0;
17725 }
17726 _ACEOF
17727 for ac_lib in '' roken
17728 do
17729   if test -z "$ac_lib"; then
17730     ac_res="none required"
17731   else
17732     ac_res=-l$ac_lib
17733     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17734   fi
17735   if ac_fn_c_try_link "$LINENO"
17736 then :
17737   ac_cv_search_roken_concat=$ac_res
17738 fi
17739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17740     conftest$ac_exeext
17741   if test ${ac_cv_search_roken_concat+y}
17742 then :
17743   break
17744 fi
17745 done
17746 if test ${ac_cv_search_roken_concat+y}
17747 then :
17748
17749 else $as_nop
17750   ac_cv_search_roken_concat=no
17751 fi
17752 rm conftest.$ac_ext
17753 LIBS=$ac_func_search_save_LIBS
17754 fi
17755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
17756 printf "%s\n" "$ac_cv_search_roken_concat" >&6; }
17757 ac_res=$ac_cv_search_roken_concat
17758 if test "$ac_res" != no
17759 then :
17760   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17761
17762 fi
17763
17764  rra_krb5_extra="$LIBS"
17765  LIBS="$rra_krb5_save_LIBS"
17766  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
17767 printf %s "checking for krb5_init_context in -lkrb5... " >&6; }
17768 if test ${ac_cv_lib_krb5_krb5_init_context+y}
17769 then :
17770   printf %s "(cached) " >&6
17771 else $as_nop
17772   ac_check_lib_save_LIBS=$LIBS
17773 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h.  */
17776
17777 /* Override any GCC internal prototype to avoid an error.
17778    Use char because int might match the return type of a GCC
17779    builtin and then its argument prototype would still apply.  */
17780 char krb5_init_context ();
17781 int
17782 main (void)
17783 {
17784 return krb5_init_context ();
17785   ;
17786   return 0;
17787 }
17788 _ACEOF
17789 if ac_fn_c_try_link "$LINENO"
17790 then :
17791   ac_cv_lib_krb5_krb5_init_context=yes
17792 else $as_nop
17793   ac_cv_lib_krb5_krb5_init_context=no
17794 fi
17795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17796     conftest$ac_exeext conftest.$ac_ext
17797 LIBS=$ac_check_lib_save_LIBS
17798 fi
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17800 printf "%s\n" "$ac_cv_lib_krb5_krb5_init_context" >&6; }
17801 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes
17802 then :
17803   KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
17804 else $as_nop
17805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
17806 printf %s "checking for krb5int_getspecific in -lkrb5support... " >&6; }
17807 if test ${ac_cv_lib_krb5support_krb5int_getspecific+y}
17808 then :
17809   printf %s "(cached) " >&6
17810 else $as_nop
17811   ac_check_lib_save_LIBS=$LIBS
17812 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815
17816 /* Override any GCC internal prototype to avoid an error.
17817    Use char because int might match the return type of a GCC
17818    builtin and then its argument prototype would still apply.  */
17819 char krb5int_getspecific ();
17820 int
17821 main (void)
17822 {
17823 return krb5int_getspecific ();
17824   ;
17825   return 0;
17826 }
17827 _ACEOF
17828 if ac_fn_c_try_link "$LINENO"
17829 then :
17830   ac_cv_lib_krb5support_krb5int_getspecific=yes
17831 else $as_nop
17832   ac_cv_lib_krb5support_krb5int_getspecific=no
17833 fi
17834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17835     conftest$ac_exeext conftest.$ac_ext
17836 LIBS=$ac_check_lib_save_LIBS
17837 fi
17838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
17839 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
17840 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes
17841 then :
17842   rra_krb5_extra="-lkrb5support $rra_krb5_extra"
17843 else $as_nop
17844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
17845 printf %s "checking for pthread_setspecific in -lpthreads... " >&6; }
17846 if test ${ac_cv_lib_pthreads_pthread_setspecific+y}
17847 then :
17848   printf %s "(cached) " >&6
17849 else $as_nop
17850   ac_check_lib_save_LIBS=$LIBS
17851 LIBS="-lpthreads  $LIBS"
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h.  */
17854
17855 /* Override any GCC internal prototype to avoid an error.
17856    Use char because int might match the return type of a GCC
17857    builtin and then its argument prototype would still apply.  */
17858 char pthread_setspecific ();
17859 int
17860 main (void)
17861 {
17862 return pthread_setspecific ();
17863   ;
17864   return 0;
17865 }
17866 _ACEOF
17867 if ac_fn_c_try_link "$LINENO"
17868 then :
17869   ac_cv_lib_pthreads_pthread_setspecific=yes
17870 else $as_nop
17871   ac_cv_lib_pthreads_pthread_setspecific=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17874     conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_check_lib_save_LIBS
17876 fi
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
17878 printf "%s\n" "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
17879 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes
17880 then :
17881   rra_krb5_pthread="-lpthreads"
17882 else $as_nop
17883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
17884 printf %s "checking for pthread_setspecific in -lpthread... " >&6; }
17885 if test ${ac_cv_lib_pthread_pthread_setspecific+y}
17886 then :
17887   printf %s "(cached) " >&6
17888 else $as_nop
17889   ac_check_lib_save_LIBS=$LIBS
17890 LIBS="-lpthread  $LIBS"
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h.  */
17893
17894 /* Override any GCC internal prototype to avoid an error.
17895    Use char because int might match the return type of a GCC
17896    builtin and then its argument prototype would still apply.  */
17897 char pthread_setspecific ();
17898 int
17899 main (void)
17900 {
17901 return pthread_setspecific ();
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"
17907 then :
17908   ac_cv_lib_pthread_pthread_setspecific=yes
17909 else $as_nop
17910   ac_cv_lib_pthread_pthread_setspecific=no
17911 fi
17912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17913     conftest$ac_exeext conftest.$ac_ext
17914 LIBS=$ac_check_lib_save_LIBS
17915 fi
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
17917 printf "%s\n" "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
17918 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes
17919 then :
17920   rra_krb5_pthread="-lpthread"
17921 fi
17922
17923 fi
17924
17925          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
17926 printf %s "checking for krb5int_setspecific in -lkrb5support... " >&6; }
17927 if test ${ac_cv_lib_krb5support_krb5int_setspecific+y}
17928 then :
17929   printf %s "(cached) " >&6
17930 else $as_nop
17931   ac_check_lib_save_LIBS=$LIBS
17932 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h.  */
17935
17936 /* Override any GCC internal prototype to avoid an error.
17937    Use char because int might match the return type of a GCC
17938    builtin and then its argument prototype would still apply.  */
17939 char krb5int_setspecific ();
17940 int
17941 main (void)
17942 {
17943 return krb5int_setspecific ();
17944   ;
17945   return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_c_try_link "$LINENO"
17949 then :
17950   ac_cv_lib_krb5support_krb5int_setspecific=yes
17951 else $as_nop
17952   ac_cv_lib_krb5support_krb5int_setspecific=no
17953 fi
17954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17955     conftest$ac_exeext conftest.$ac_ext
17956 LIBS=$ac_check_lib_save_LIBS
17957 fi
17958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
17959 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
17960 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes
17961 then :
17962   rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
17963 fi
17964
17965 fi
17966
17967      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
17968 printf %s "checking for error_message in -lcom_err... " >&6; }
17969 if test ${ac_cv_lib_com_err_error_message+y}
17970 then :
17971   printf %s "(cached) " >&6
17972 else $as_nop
17973   ac_check_lib_save_LIBS=$LIBS
17974 LIBS="-lcom_err $rra_krb5_extra $LIBS"
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h.  */
17977
17978 /* Override any GCC internal prototype to avoid an error.
17979    Use char because int might match the return type of a GCC
17980    builtin and then its argument prototype would still apply.  */
17981 char error_message ();
17982 int
17983 main (void)
17984 {
17985 return error_message ();
17986   ;
17987   return 0;
17988 }
17989 _ACEOF
17990 if ac_fn_c_try_link "$LINENO"
17991 then :
17992   ac_cv_lib_com_err_error_message=yes
17993 else $as_nop
17994   ac_cv_lib_com_err_error_message=no
17995 fi
17996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17997     conftest$ac_exeext conftest.$ac_ext
17998 LIBS=$ac_check_lib_save_LIBS
17999 fi
18000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
18001 printf "%s\n" "$ac_cv_lib_com_err_error_message" >&6; }
18002 if test "x$ac_cv_lib_com_err_error_message" = xyes
18003 then :
18004   rra_krb5_extra="-lcom_err $rra_krb5_extra"
18005 fi
18006
18007      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
18008 printf %s "checking for krb5_svc_get_msg in -lksvc... " >&6; }
18009 if test ${ac_cv_lib_ksvc_krb5_svc_get_msg+y}
18010 then :
18011   printf %s "(cached) " >&6
18012 else $as_nop
18013   ac_check_lib_save_LIBS=$LIBS
18014 LIBS="-lksvc $rra_krb5_extra $LIBS"
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h.  */
18017
18018 /* Override any GCC internal prototype to avoid an error.
18019    Use char because int might match the return type of a GCC
18020    builtin and then its argument prototype would still apply.  */
18021 char krb5_svc_get_msg ();
18022 int
18023 main (void)
18024 {
18025 return krb5_svc_get_msg ();
18026   ;
18027   return 0;
18028 }
18029 _ACEOF
18030 if ac_fn_c_try_link "$LINENO"
18031 then :
18032   ac_cv_lib_ksvc_krb5_svc_get_msg=yes
18033 else $as_nop
18034   ac_cv_lib_ksvc_krb5_svc_get_msg=no
18035 fi
18036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18037     conftest$ac_exeext conftest.$ac_ext
18038 LIBS=$ac_check_lib_save_LIBS
18039 fi
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
18041 printf "%s\n" "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
18042 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes
18043 then :
18044   rra_krb5_extra="-lksvc $rra_krb5_extra"
18045 fi
18046
18047      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
18048 printf %s "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
18049 if test ${ac_cv_lib_k5crypto_krb5int_hash_md5+y}
18050 then :
18051   printf %s "(cached) " >&6
18052 else $as_nop
18053   ac_check_lib_save_LIBS=$LIBS
18054 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h.  */
18057
18058 /* Override any GCC internal prototype to avoid an error.
18059    Use char because int might match the return type of a GCC
18060    builtin and then its argument prototype would still apply.  */
18061 char krb5int_hash_md5 ();
18062 int
18063 main (void)
18064 {
18065 return krb5int_hash_md5 ();
18066   ;
18067   return 0;
18068 }
18069 _ACEOF
18070 if ac_fn_c_try_link "$LINENO"
18071 then :
18072   ac_cv_lib_k5crypto_krb5int_hash_md5=yes
18073 else $as_nop
18074   ac_cv_lib_k5crypto_krb5int_hash_md5=no
18075 fi
18076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18077     conftest$ac_exeext conftest.$ac_ext
18078 LIBS=$ac_check_lib_save_LIBS
18079 fi
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
18081 printf "%s\n" "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
18082 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes
18083 then :
18084   rra_krb5_extra="-lk5crypto $rra_krb5_extra"
18085 fi
18086
18087      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
18088 printf %s "checking for profile_get_values in -lk5profile... " >&6; }
18089 if test ${ac_cv_lib_k5profile_profile_get_values+y}
18090 then :
18091   printf %s "(cached) " >&6
18092 else $as_nop
18093   ac_check_lib_save_LIBS=$LIBS
18094 LIBS="-lk5profile $rra_krb5_extra $LIBS"
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h.  */
18097
18098 /* Override any GCC internal prototype to avoid an error.
18099    Use char because int might match the return type of a GCC
18100    builtin and then its argument prototype would still apply.  */
18101 char profile_get_values ();
18102 int
18103 main (void)
18104 {
18105 return profile_get_values ();
18106   ;
18107   return 0;
18108 }
18109 _ACEOF
18110 if ac_fn_c_try_link "$LINENO"
18111 then :
18112   ac_cv_lib_k5profile_profile_get_values=yes
18113 else $as_nop
18114   ac_cv_lib_k5profile_profile_get_values=no
18115 fi
18116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18117     conftest$ac_exeext conftest.$ac_ext
18118 LIBS=$ac_check_lib_save_LIBS
18119 fi
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
18121 printf "%s\n" "$ac_cv_lib_k5profile_profile_get_values" >&6; }
18122 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes
18123 then :
18124   rra_krb5_extra="-lk5profile $rra_krb5_extra"
18125 fi
18126
18127      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
18128 printf %s "checking for krb5_cc_default in -lkrb5... " >&6; }
18129 if test ${ac_cv_lib_krb5_krb5_cc_default+y}
18130 then :
18131   printf %s "(cached) " >&6
18132 else $as_nop
18133   ac_check_lib_save_LIBS=$LIBS
18134 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h.  */
18137
18138 /* Override any GCC internal prototype to avoid an error.
18139    Use char because int might match the return type of a GCC
18140    builtin and then its argument prototype would still apply.  */
18141 char krb5_cc_default ();
18142 int
18143 main (void)
18144 {
18145 return krb5_cc_default ();
18146   ;
18147   return 0;
18148 }
18149 _ACEOF
18150 if ac_fn_c_try_link "$LINENO"
18151 then :
18152   ac_cv_lib_krb5_krb5_cc_default=yes
18153 else $as_nop
18154   ac_cv_lib_krb5_krb5_cc_default=no
18155 fi
18156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18157     conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18159 fi
18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
18161 printf "%s\n" "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
18162 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes
18163 then :
18164   KRB5_LIBS="-lkrb5 $rra_krb5_extra"
18165 else $as_nop
18166   if test x"true" = xtrue
18167 then :
18168   as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
18169 fi
18170 fi
18171
18172 fi
18173
18174  LIBS="$KRB5_LIBS $LIBS"
18175
18176   for ac_func in krb5_get_error_message
18177 do :
18178   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
18179 if test "x$ac_cv_func_krb5_get_error_message" = xyes
18180 then :
18181   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
18182  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
18183 if test "x$ac_cv_func_krb5_free_error_message" = xyes
18184 then :
18185   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
18186
18187 fi
18188
18189 else $as_nop
18190
18191   for ac_func in krb5_get_error_string
18192 do :
18193   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
18194 if test "x$ac_cv_func_krb5_get_error_string" = xyes
18195 then :
18196   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
18197
18198 else $as_nop
18199
18200   for ac_func in krb5_get_err_txt
18201 do :
18202   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
18203 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
18204 then :
18205   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
18206
18207 else $as_nop
18208
18209   for ac_func in krb5_svc_get_msg
18210 do :
18211   ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
18212 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes
18213 then :
18214   printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
18215  ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
18216 #if HAVE_KRB5_H
18217 # include <krb5.h>
18218 #elif HAVE_KERBEROSV5_KRB5_H
18219 # include <kerberosv5/krb5.h>
18220 #else
18221 # include <krb5/krb5.h>
18222 #endif
18223
18224 "
18225 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
18226 then :
18227   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
18228
18229 fi
18230
18231 else $as_nop
18232   if test x"$rra_krb5_incroot" = x
18233 then :
18234   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
18235 if test "x$ac_cv_header_et_com_err_h" = xyes
18236 then :
18237   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
18238
18239 fi
18240 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
18241 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
18242 then :
18243   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
18244
18245 fi
18246
18247 else $as_nop
18248   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
18249 printf %s "checking for et/com_err.h... " >&6; }
18250  if test -f "${rra_krb5_incroot}/et/com_err.h"
18251 then :
18252
18253 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
18254
18255      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18256 printf "%s\n" "yes" >&6; }
18257
18258 else $as_nop
18259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18260 printf "%s\n" "no" >&6; }
18261 fi
18262          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
18263 printf %s "checking for kerberosv5/com_err.h... " >&6; }
18264  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
18265 then :
18266
18267 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
18268
18269      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18270 printf "%s\n" "yes" >&6; }
18271
18272 else $as_nop
18273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18274 printf "%s\n" "no" >&6; }
18275 fi
18276 fi
18277 fi
18278
18279 done
18280 fi
18281
18282 done
18283 fi
18284
18285 done
18286 fi
18287
18288 done
18289  rra_krb5_found_header=
18290  if test x"$rra_krb5_incroot" = x
18291 then :
18292          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
18293 do :
18294   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
18295 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18296 if eval test \"x\$"$as_ac_Header"\" = x"yes"
18297 then :
18298   cat >>confdefs.h <<_ACEOF
18299 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
18300 _ACEOF
18301  rra_krb5_found_header=true
18302 fi
18303
18304 done
18305 else $as_nop
18306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
18307 printf %s "checking for krb5.h... " >&6; }
18308  if test -f "${rra_krb5_incroot}/krb5.h"
18309 then :
18310
18311 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
18312
18313      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18314 printf "%s\n" "yes" >&6; }
18315      rra_krb5_found_header=true
18316 else $as_nop
18317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18318 printf "%s\n" "no" >&6; }
18319 fi
18320      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
18321 printf %s "checking for kerberosv5/krb5.h... " >&6; }
18322  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
18323 then :
18324
18325 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
18326
18327      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18328 printf "%s\n" "yes" >&6; }
18329      rra_krb5_found_header=true
18330 else $as_nop
18331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18332 printf "%s\n" "no" >&6; }
18333 fi
18334      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
18335 printf %s "checking for krb5/krb5.h... " >&6; }
18336  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
18337 then :
18338
18339 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18340
18341      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18342 printf "%s\n" "yes" >&6; }
18343      rra_krb5_found_header=true
18344 else $as_nop
18345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18346 printf "%s\n" "no" >&6; }
18347 fi
18348 fi
18349  if test x"$rra_krb5_found_header" = xtrue
18350 then :
18351
18352 else $as_nop
18353   KRB5_CPPFLAGS=
18354      KRB5_LIBS=
18355      if test x"true" = xtrue
18356 then :
18357   as_fn_error $? "cannot find usable Kerberos header" "$LINENO" 5
18358 fi
18359 fi
18360  CPPFLAGS="$rra_krb5_save_CPPFLAGS"
18361  LDFLAGS="$rra_krb5_save_LDFLAGS"
18362  LIBS="$rra_krb5_save_LIBS"
18363 fi
18364 else $as_nop
18365   CPPFLAGS="$rra_krb5_save_CPPFLAGS"
18366  LDFLAGS="$rra_krb5_save_LDFLAGS"
18367  LIBS="$rra_krb5_save_LIBS"
18368      KRB5_CPPFLAGS=
18369      KRB5_LIBS=
18370      if test x"$rra_krb5_libdir" != x
18371 then :
18372   KRB5_LDFLAGS="-L$rra_krb5_libdir"
18373 else $as_nop
18374   if test x"$rra_krb5_root" != x
18375 then :
18376
18377  if test -d "$rra_krb5_root/$rra_lib_arch_name"
18378 then :
18379   if test x"" = x
18380 then :
18381   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
18382 else $as_nop
18383   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
18384 fi
18385 else $as_nop
18386   if test x"" = x
18387 then :
18388   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
18389 else $as_nop
18390   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
18391 fi
18392 fi
18393  KRB5_LDFLAGS=`printf "%s\n" "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
18394 fi
18395 fi
18396  if test x"$rra_krb5_includedir" != x
18397 then :
18398   KRB5_CPPFLAGS="-I$rra_krb5_includedir"
18399 else $as_nop
18400   if test x"$rra_krb5_root" != x
18401 then :
18402   if test x"$rra_krb5_root" != x/usr
18403 then :
18404   KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
18405 fi
18406 fi
18407 fi
18408      rra_krb5_save_CPPFLAGS="$CPPFLAGS"
18409  rra_krb5_save_LDFLAGS="$LDFLAGS"
18410  rra_krb5_save_LIBS="$LIBS"
18411  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
18412  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
18413  LIBS="$KRB5_LIBS $LIBS"
18414  rra_krb5_extra=
18415  LIBS=
18416  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
18417 printf %s "checking for library containing res_search... " >&6; }
18418 if test ${ac_cv_search_res_search+y}
18419 then :
18420   printf %s "(cached) " >&6
18421 else $as_nop
18422   ac_func_search_save_LIBS=$LIBS
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h.  */
18425
18426 /* Override any GCC internal prototype to avoid an error.
18427    Use char because int might match the return type of a GCC
18428    builtin and then its argument prototype would still apply.  */
18429 char res_search ();
18430 int
18431 main (void)
18432 {
18433 return res_search ();
18434   ;
18435   return 0;
18436 }
18437 _ACEOF
18438 for ac_lib in '' resolv
18439 do
18440   if test -z "$ac_lib"; then
18441     ac_res="none required"
18442   else
18443     ac_res=-l$ac_lib
18444     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18445   fi
18446   if ac_fn_c_try_link "$LINENO"
18447 then :
18448   ac_cv_search_res_search=$ac_res
18449 fi
18450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18451     conftest$ac_exeext
18452   if test ${ac_cv_search_res_search+y}
18453 then :
18454   break
18455 fi
18456 done
18457 if test ${ac_cv_search_res_search+y}
18458 then :
18459
18460 else $as_nop
18461   ac_cv_search_res_search=no
18462 fi
18463 rm conftest.$ac_ext
18464 LIBS=$ac_func_search_save_LIBS
18465 fi
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
18467 printf "%s\n" "$ac_cv_search_res_search" >&6; }
18468 ac_res=$ac_cv_search_res_search
18469 if test "$ac_res" != no
18470 then :
18471   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18472
18473 else $as_nop
18474   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
18475 printf %s "checking for library containing __res_search... " >&6; }
18476 if test ${ac_cv_search___res_search+y}
18477 then :
18478   printf %s "(cached) " >&6
18479 else $as_nop
18480   ac_func_search_save_LIBS=$LIBS
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h.  */
18483
18484 /* Override any GCC internal prototype to avoid an error.
18485    Use char because int might match the return type of a GCC
18486    builtin and then its argument prototype would still apply.  */
18487 char __res_search ();
18488 int
18489 main (void)
18490 {
18491 return __res_search ();
18492   ;
18493   return 0;
18494 }
18495 _ACEOF
18496 for ac_lib in '' resolv
18497 do
18498   if test -z "$ac_lib"; then
18499     ac_res="none required"
18500   else
18501     ac_res=-l$ac_lib
18502     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18503   fi
18504   if ac_fn_c_try_link "$LINENO"
18505 then :
18506   ac_cv_search___res_search=$ac_res
18507 fi
18508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18509     conftest$ac_exeext
18510   if test ${ac_cv_search___res_search+y}
18511 then :
18512   break
18513 fi
18514 done
18515 if test ${ac_cv_search___res_search+y}
18516 then :
18517
18518 else $as_nop
18519   ac_cv_search___res_search=no
18520 fi
18521 rm conftest.$ac_ext
18522 LIBS=$ac_func_search_save_LIBS
18523 fi
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
18525 printf "%s\n" "$ac_cv_search___res_search" >&6; }
18526 ac_res=$ac_cv_search___res_search
18527 if test "$ac_res" != no
18528 then :
18529   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18530
18531 fi
18532
18533 fi
18534
18535  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18536 printf %s "checking for library containing gethostbyname... " >&6; }
18537 if test ${ac_cv_search_gethostbyname+y}
18538 then :
18539   printf %s "(cached) " >&6
18540 else $as_nop
18541   ac_func_search_save_LIBS=$LIBS
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h.  */
18544
18545 /* Override any GCC internal prototype to avoid an error.
18546    Use char because int might match the return type of a GCC
18547    builtin and then its argument prototype would still apply.  */
18548 char gethostbyname ();
18549 int
18550 main (void)
18551 {
18552 return gethostbyname ();
18553   ;
18554   return 0;
18555 }
18556 _ACEOF
18557 for ac_lib in '' nsl
18558 do
18559   if test -z "$ac_lib"; then
18560     ac_res="none required"
18561   else
18562     ac_res=-l$ac_lib
18563     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18564   fi
18565   if ac_fn_c_try_link "$LINENO"
18566 then :
18567   ac_cv_search_gethostbyname=$ac_res
18568 fi
18569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18570     conftest$ac_exeext
18571   if test ${ac_cv_search_gethostbyname+y}
18572 then :
18573   break
18574 fi
18575 done
18576 if test ${ac_cv_search_gethostbyname+y}
18577 then :
18578
18579 else $as_nop
18580   ac_cv_search_gethostbyname=no
18581 fi
18582 rm conftest.$ac_ext
18583 LIBS=$ac_func_search_save_LIBS
18584 fi
18585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18586 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
18587 ac_res=$ac_cv_search_gethostbyname
18588 if test "$ac_res" != no
18589 then :
18590   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18591
18592 fi
18593
18594  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18595 printf %s "checking for library containing socket... " >&6; }
18596 if test ${ac_cv_search_socket+y}
18597 then :
18598   printf %s "(cached) " >&6
18599 else $as_nop
18600   ac_func_search_save_LIBS=$LIBS
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h.  */
18603
18604 /* Override any GCC internal prototype to avoid an error.
18605    Use char because int might match the return type of a GCC
18606    builtin and then its argument prototype would still apply.  */
18607 char socket ();
18608 int
18609 main (void)
18610 {
18611 return socket ();
18612   ;
18613   return 0;
18614 }
18615 _ACEOF
18616 for ac_lib in '' socket
18617 do
18618   if test -z "$ac_lib"; then
18619     ac_res="none required"
18620   else
18621     ac_res=-l$ac_lib
18622     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18623   fi
18624   if ac_fn_c_try_link "$LINENO"
18625 then :
18626   ac_cv_search_socket=$ac_res
18627 fi
18628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18629     conftest$ac_exeext
18630   if test ${ac_cv_search_socket+y}
18631 then :
18632   break
18633 fi
18634 done
18635 if test ${ac_cv_search_socket+y}
18636 then :
18637
18638 else $as_nop
18639   ac_cv_search_socket=no
18640 fi
18641 rm conftest.$ac_ext
18642 LIBS=$ac_func_search_save_LIBS
18643 fi
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18645 printf "%s\n" "$ac_cv_search_socket" >&6; }
18646 ac_res=$ac_cv_search_socket
18647 if test "$ac_res" != no
18648 then :
18649   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18650
18651 else $as_nop
18652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
18653 printf %s "checking for socket in -lnsl... " >&6; }
18654 if test ${ac_cv_lib_nsl_socket+y}
18655 then :
18656   printf %s "(cached) " >&6
18657 else $as_nop
18658   ac_check_lib_save_LIBS=$LIBS
18659 LIBS="-lnsl -lsocket $LIBS"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h.  */
18662
18663 /* Override any GCC internal prototype to avoid an error.
18664    Use char because int might match the return type of a GCC
18665    builtin and then its argument prototype would still apply.  */
18666 char socket ();
18667 int
18668 main (void)
18669 {
18670 return socket ();
18671   ;
18672   return 0;
18673 }
18674 _ACEOF
18675 if ac_fn_c_try_link "$LINENO"
18676 then :
18677   ac_cv_lib_nsl_socket=yes
18678 else $as_nop
18679   ac_cv_lib_nsl_socket=no
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18682     conftest$ac_exeext conftest.$ac_ext
18683 LIBS=$ac_check_lib_save_LIBS
18684 fi
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
18686 printf "%s\n" "$ac_cv_lib_nsl_socket" >&6; }
18687 if test "x$ac_cv_lib_nsl_socket" = xyes
18688 then :
18689   LIBS="-lnsl -lsocket $LIBS"
18690 fi
18691
18692 fi
18693
18694  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
18695 printf %s "checking for library containing crypt... " >&6; }
18696 if test ${ac_cv_search_crypt+y}
18697 then :
18698   printf %s "(cached) " >&6
18699 else $as_nop
18700   ac_func_search_save_LIBS=$LIBS
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h.  */
18703
18704 /* Override any GCC internal prototype to avoid an error.
18705    Use char because int might match the return type of a GCC
18706    builtin and then its argument prototype would still apply.  */
18707 char crypt ();
18708 int
18709 main (void)
18710 {
18711 return crypt ();
18712   ;
18713   return 0;
18714 }
18715 _ACEOF
18716 for ac_lib in '' crypt
18717 do
18718   if test -z "$ac_lib"; then
18719     ac_res="none required"
18720   else
18721     ac_res=-l$ac_lib
18722     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18723   fi
18724   if ac_fn_c_try_link "$LINENO"
18725 then :
18726   ac_cv_search_crypt=$ac_res
18727 fi
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729     conftest$ac_exeext
18730   if test ${ac_cv_search_crypt+y}
18731 then :
18732   break
18733 fi
18734 done
18735 if test ${ac_cv_search_crypt+y}
18736 then :
18737
18738 else $as_nop
18739   ac_cv_search_crypt=no
18740 fi
18741 rm conftest.$ac_ext
18742 LIBS=$ac_func_search_save_LIBS
18743 fi
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
18745 printf "%s\n" "$ac_cv_search_crypt" >&6; }
18746 ac_res=$ac_cv_search_crypt
18747 if test "$ac_res" != no
18748 then :
18749   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18750
18751 fi
18752
18753  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
18754 printf %s "checking for library containing roken_concat... " >&6; }
18755 if test ${ac_cv_search_roken_concat+y}
18756 then :
18757   printf %s "(cached) " >&6
18758 else $as_nop
18759   ac_func_search_save_LIBS=$LIBS
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h.  */
18762
18763 /* Override any GCC internal prototype to avoid an error.
18764    Use char because int might match the return type of a GCC
18765    builtin and then its argument prototype would still apply.  */
18766 char roken_concat ();
18767 int
18768 main (void)
18769 {
18770 return roken_concat ();
18771   ;
18772   return 0;
18773 }
18774 _ACEOF
18775 for ac_lib in '' roken
18776 do
18777   if test -z "$ac_lib"; then
18778     ac_res="none required"
18779   else
18780     ac_res=-l$ac_lib
18781     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18782   fi
18783   if ac_fn_c_try_link "$LINENO"
18784 then :
18785   ac_cv_search_roken_concat=$ac_res
18786 fi
18787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18788     conftest$ac_exeext
18789   if test ${ac_cv_search_roken_concat+y}
18790 then :
18791   break
18792 fi
18793 done
18794 if test ${ac_cv_search_roken_concat+y}
18795 then :
18796
18797 else $as_nop
18798   ac_cv_search_roken_concat=no
18799 fi
18800 rm conftest.$ac_ext
18801 LIBS=$ac_func_search_save_LIBS
18802 fi
18803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
18804 printf "%s\n" "$ac_cv_search_roken_concat" >&6; }
18805 ac_res=$ac_cv_search_roken_concat
18806 if test "$ac_res" != no
18807 then :
18808   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18809
18810 fi
18811
18812  rra_krb5_extra="$LIBS"
18813  LIBS="$rra_krb5_save_LIBS"
18814  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
18815 printf %s "checking for krb5_init_context in -lkrb5... " >&6; }
18816 if test ${ac_cv_lib_krb5_krb5_init_context+y}
18817 then :
18818   printf %s "(cached) " >&6
18819 else $as_nop
18820   ac_check_lib_save_LIBS=$LIBS
18821 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h.  */
18824
18825 /* Override any GCC internal prototype to avoid an error.
18826    Use char because int might match the return type of a GCC
18827    builtin and then its argument prototype would still apply.  */
18828 char krb5_init_context ();
18829 int
18830 main (void)
18831 {
18832 return krb5_init_context ();
18833   ;
18834   return 0;
18835 }
18836 _ACEOF
18837 if ac_fn_c_try_link "$LINENO"
18838 then :
18839   ac_cv_lib_krb5_krb5_init_context=yes
18840 else $as_nop
18841   ac_cv_lib_krb5_krb5_init_context=no
18842 fi
18843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18844     conftest$ac_exeext conftest.$ac_ext
18845 LIBS=$ac_check_lib_save_LIBS
18846 fi
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18848 printf "%s\n" "$ac_cv_lib_krb5_krb5_init_context" >&6; }
18849 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes
18850 then :
18851   KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
18852 else $as_nop
18853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
18854 printf %s "checking for krb5int_getspecific in -lkrb5support... " >&6; }
18855 if test ${ac_cv_lib_krb5support_krb5int_getspecific+y}
18856 then :
18857   printf %s "(cached) " >&6
18858 else $as_nop
18859   ac_check_lib_save_LIBS=$LIBS
18860 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h.  */
18863
18864 /* Override any GCC internal prototype to avoid an error.
18865    Use char because int might match the return type of a GCC
18866    builtin and then its argument prototype would still apply.  */
18867 char krb5int_getspecific ();
18868 int
18869 main (void)
18870 {
18871 return krb5int_getspecific ();
18872   ;
18873   return 0;
18874 }
18875 _ACEOF
18876 if ac_fn_c_try_link "$LINENO"
18877 then :
18878   ac_cv_lib_krb5support_krb5int_getspecific=yes
18879 else $as_nop
18880   ac_cv_lib_krb5support_krb5int_getspecific=no
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18883     conftest$ac_exeext conftest.$ac_ext
18884 LIBS=$ac_check_lib_save_LIBS
18885 fi
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
18887 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
18888 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes
18889 then :
18890   rra_krb5_extra="-lkrb5support $rra_krb5_extra"
18891 else $as_nop
18892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
18893 printf %s "checking for pthread_setspecific in -lpthreads... " >&6; }
18894 if test ${ac_cv_lib_pthreads_pthread_setspecific+y}
18895 then :
18896   printf %s "(cached) " >&6
18897 else $as_nop
18898   ac_check_lib_save_LIBS=$LIBS
18899 LIBS="-lpthreads  $LIBS"
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h.  */
18902
18903 /* Override any GCC internal prototype to avoid an error.
18904    Use char because int might match the return type of a GCC
18905    builtin and then its argument prototype would still apply.  */
18906 char pthread_setspecific ();
18907 int
18908 main (void)
18909 {
18910 return pthread_setspecific ();
18911   ;
18912   return 0;
18913 }
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"
18916 then :
18917   ac_cv_lib_pthreads_pthread_setspecific=yes
18918 else $as_nop
18919   ac_cv_lib_pthreads_pthread_setspecific=no
18920 fi
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18922     conftest$ac_exeext conftest.$ac_ext
18923 LIBS=$ac_check_lib_save_LIBS
18924 fi
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
18926 printf "%s\n" "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
18927 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes
18928 then :
18929   rra_krb5_pthread="-lpthreads"
18930 else $as_nop
18931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
18932 printf %s "checking for pthread_setspecific in -lpthread... " >&6; }
18933 if test ${ac_cv_lib_pthread_pthread_setspecific+y}
18934 then :
18935   printf %s "(cached) " >&6
18936 else $as_nop
18937   ac_check_lib_save_LIBS=$LIBS
18938 LIBS="-lpthread  $LIBS"
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h.  */
18941
18942 /* Override any GCC internal prototype to avoid an error.
18943    Use char because int might match the return type of a GCC
18944    builtin and then its argument prototype would still apply.  */
18945 char pthread_setspecific ();
18946 int
18947 main (void)
18948 {
18949 return pthread_setspecific ();
18950   ;
18951   return 0;
18952 }
18953 _ACEOF
18954 if ac_fn_c_try_link "$LINENO"
18955 then :
18956   ac_cv_lib_pthread_pthread_setspecific=yes
18957 else $as_nop
18958   ac_cv_lib_pthread_pthread_setspecific=no
18959 fi
18960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18961     conftest$ac_exeext conftest.$ac_ext
18962 LIBS=$ac_check_lib_save_LIBS
18963 fi
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
18965 printf "%s\n" "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
18966 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes
18967 then :
18968   rra_krb5_pthread="-lpthread"
18969 fi
18970
18971 fi
18972
18973          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
18974 printf %s "checking for krb5int_setspecific in -lkrb5support... " >&6; }
18975 if test ${ac_cv_lib_krb5support_krb5int_setspecific+y}
18976 then :
18977   printf %s "(cached) " >&6
18978 else $as_nop
18979   ac_check_lib_save_LIBS=$LIBS
18980 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h.  */
18983
18984 /* Override any GCC internal prototype to avoid an error.
18985    Use char because int might match the return type of a GCC
18986    builtin and then its argument prototype would still apply.  */
18987 char krb5int_setspecific ();
18988 int
18989 main (void)
18990 {
18991 return krb5int_setspecific ();
18992   ;
18993   return 0;
18994 }
18995 _ACEOF
18996 if ac_fn_c_try_link "$LINENO"
18997 then :
18998   ac_cv_lib_krb5support_krb5int_setspecific=yes
18999 else $as_nop
19000   ac_cv_lib_krb5support_krb5int_setspecific=no
19001 fi
19002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19003     conftest$ac_exeext conftest.$ac_ext
19004 LIBS=$ac_check_lib_save_LIBS
19005 fi
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
19007 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
19008 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes
19009 then :
19010   rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
19011 fi
19012
19013 fi
19014
19015      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
19016 printf %s "checking for error_message in -lcom_err... " >&6; }
19017 if test ${ac_cv_lib_com_err_error_message+y}
19018 then :
19019   printf %s "(cached) " >&6
19020 else $as_nop
19021   ac_check_lib_save_LIBS=$LIBS
19022 LIBS="-lcom_err $rra_krb5_extra $LIBS"
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h.  */
19025
19026 /* Override any GCC internal prototype to avoid an error.
19027    Use char because int might match the return type of a GCC
19028    builtin and then its argument prototype would still apply.  */
19029 char error_message ();
19030 int
19031 main (void)
19032 {
19033 return error_message ();
19034   ;
19035   return 0;
19036 }
19037 _ACEOF
19038 if ac_fn_c_try_link "$LINENO"
19039 then :
19040   ac_cv_lib_com_err_error_message=yes
19041 else $as_nop
19042   ac_cv_lib_com_err_error_message=no
19043 fi
19044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19045     conftest$ac_exeext conftest.$ac_ext
19046 LIBS=$ac_check_lib_save_LIBS
19047 fi
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
19049 printf "%s\n" "$ac_cv_lib_com_err_error_message" >&6; }
19050 if test "x$ac_cv_lib_com_err_error_message" = xyes
19051 then :
19052   rra_krb5_extra="-lcom_err $rra_krb5_extra"
19053 fi
19054
19055      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
19056 printf %s "checking for krb5_svc_get_msg in -lksvc... " >&6; }
19057 if test ${ac_cv_lib_ksvc_krb5_svc_get_msg+y}
19058 then :
19059   printf %s "(cached) " >&6
19060 else $as_nop
19061   ac_check_lib_save_LIBS=$LIBS
19062 LIBS="-lksvc $rra_krb5_extra $LIBS"
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h.  */
19065
19066 /* Override any GCC internal prototype to avoid an error.
19067    Use char because int might match the return type of a GCC
19068    builtin and then its argument prototype would still apply.  */
19069 char krb5_svc_get_msg ();
19070 int
19071 main (void)
19072 {
19073 return krb5_svc_get_msg ();
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 if ac_fn_c_try_link "$LINENO"
19079 then :
19080   ac_cv_lib_ksvc_krb5_svc_get_msg=yes
19081 else $as_nop
19082   ac_cv_lib_ksvc_krb5_svc_get_msg=no
19083 fi
19084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19085     conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_check_lib_save_LIBS
19087 fi
19088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
19089 printf "%s\n" "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
19090 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes
19091 then :
19092   rra_krb5_extra="-lksvc $rra_krb5_extra"
19093 fi
19094
19095      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
19096 printf %s "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
19097 if test ${ac_cv_lib_k5crypto_krb5int_hash_md5+y}
19098 then :
19099   printf %s "(cached) " >&6
19100 else $as_nop
19101   ac_check_lib_save_LIBS=$LIBS
19102 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h.  */
19105
19106 /* Override any GCC internal prototype to avoid an error.
19107    Use char because int might match the return type of a GCC
19108    builtin and then its argument prototype would still apply.  */
19109 char krb5int_hash_md5 ();
19110 int
19111 main (void)
19112 {
19113 return krb5int_hash_md5 ();
19114   ;
19115   return 0;
19116 }
19117 _ACEOF
19118 if ac_fn_c_try_link "$LINENO"
19119 then :
19120   ac_cv_lib_k5crypto_krb5int_hash_md5=yes
19121 else $as_nop
19122   ac_cv_lib_k5crypto_krb5int_hash_md5=no
19123 fi
19124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19125     conftest$ac_exeext conftest.$ac_ext
19126 LIBS=$ac_check_lib_save_LIBS
19127 fi
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
19129 printf "%s\n" "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
19130 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes
19131 then :
19132   rra_krb5_extra="-lk5crypto $rra_krb5_extra"
19133 fi
19134
19135      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
19136 printf %s "checking for profile_get_values in -lk5profile... " >&6; }
19137 if test ${ac_cv_lib_k5profile_profile_get_values+y}
19138 then :
19139   printf %s "(cached) " >&6
19140 else $as_nop
19141   ac_check_lib_save_LIBS=$LIBS
19142 LIBS="-lk5profile $rra_krb5_extra $LIBS"
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h.  */
19145
19146 /* Override any GCC internal prototype to avoid an error.
19147    Use char because int might match the return type of a GCC
19148    builtin and then its argument prototype would still apply.  */
19149 char profile_get_values ();
19150 int
19151 main (void)
19152 {
19153 return profile_get_values ();
19154   ;
19155   return 0;
19156 }
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"
19159 then :
19160   ac_cv_lib_k5profile_profile_get_values=yes
19161 else $as_nop
19162   ac_cv_lib_k5profile_profile_get_values=no
19163 fi
19164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19165     conftest$ac_exeext conftest.$ac_ext
19166 LIBS=$ac_check_lib_save_LIBS
19167 fi
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
19169 printf "%s\n" "$ac_cv_lib_k5profile_profile_get_values" >&6; }
19170 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes
19171 then :
19172   rra_krb5_extra="-lk5profile $rra_krb5_extra"
19173 fi
19174
19175      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
19176 printf %s "checking for krb5_cc_default in -lkrb5... " >&6; }
19177 if test ${ac_cv_lib_krb5_krb5_cc_default+y}
19178 then :
19179   printf %s "(cached) " >&6
19180 else $as_nop
19181   ac_check_lib_save_LIBS=$LIBS
19182 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
19183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h.  */
19185
19186 /* Override any GCC internal prototype to avoid an error.
19187    Use char because int might match the return type of a GCC
19188    builtin and then its argument prototype would still apply.  */
19189 char krb5_cc_default ();
19190 int
19191 main (void)
19192 {
19193 return krb5_cc_default ();
19194   ;
19195   return 0;
19196 }
19197 _ACEOF
19198 if ac_fn_c_try_link "$LINENO"
19199 then :
19200   ac_cv_lib_krb5_krb5_cc_default=yes
19201 else $as_nop
19202   ac_cv_lib_krb5_krb5_cc_default=no
19203 fi
19204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19205     conftest$ac_exeext conftest.$ac_ext
19206 LIBS=$ac_check_lib_save_LIBS
19207 fi
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
19209 printf "%s\n" "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
19210 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes
19211 then :
19212   KRB5_LIBS="-lkrb5 $rra_krb5_extra"
19213 else $as_nop
19214   if test x"true" = xtrue
19215 then :
19216   as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
19217 fi
19218 fi
19219
19220 fi
19221
19222  LIBS="$KRB5_LIBS $LIBS"
19223
19224   for ac_func in krb5_get_error_message
19225 do :
19226   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
19227 if test "x$ac_cv_func_krb5_get_error_message" = xyes
19228 then :
19229   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
19230  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
19231 if test "x$ac_cv_func_krb5_free_error_message" = xyes
19232 then :
19233   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
19234
19235 fi
19236
19237 else $as_nop
19238
19239   for ac_func in krb5_get_error_string
19240 do :
19241   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
19242 if test "x$ac_cv_func_krb5_get_error_string" = xyes
19243 then :
19244   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
19245
19246 else $as_nop
19247
19248   for ac_func in krb5_get_err_txt
19249 do :
19250   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
19251 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
19252 then :
19253   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
19254
19255 else $as_nop
19256
19257   for ac_func in krb5_svc_get_msg
19258 do :
19259   ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
19260 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes
19261 then :
19262   printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
19263  ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
19264 #if HAVE_KRB5_H
19265 # include <krb5.h>
19266 #elif HAVE_KERBEROSV5_KRB5_H
19267 # include <kerberosv5/krb5.h>
19268 #else
19269 # include <krb5/krb5.h>
19270 #endif
19271
19272 "
19273 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
19274 then :
19275   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
19276
19277 fi
19278
19279 else $as_nop
19280   if test x"$rra_krb5_incroot" = x
19281 then :
19282   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
19283 if test "x$ac_cv_header_et_com_err_h" = xyes
19284 then :
19285   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
19286
19287 fi
19288 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
19289 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
19290 then :
19291   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
19292
19293 fi
19294
19295 else $as_nop
19296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
19297 printf %s "checking for et/com_err.h... " >&6; }
19298  if test -f "${rra_krb5_incroot}/et/com_err.h"
19299 then :
19300
19301 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
19302
19303      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19304 printf "%s\n" "yes" >&6; }
19305
19306 else $as_nop
19307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19308 printf "%s\n" "no" >&6; }
19309 fi
19310          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
19311 printf %s "checking for kerberosv5/com_err.h... " >&6; }
19312  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
19313 then :
19314
19315 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
19316
19317      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19318 printf "%s\n" "yes" >&6; }
19319
19320 else $as_nop
19321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19322 printf "%s\n" "no" >&6; }
19323 fi
19324 fi
19325 fi
19326
19327 done
19328 fi
19329
19330 done
19331 fi
19332
19333 done
19334 fi
19335
19336 done
19337  rra_krb5_found_header=
19338  if test x"$rra_krb5_incroot" = x
19339 then :
19340          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
19341 do :
19342   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
19343 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19344 if eval test \"x\$"$as_ac_Header"\" = x"yes"
19345 then :
19346   cat >>confdefs.h <<_ACEOF
19347 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
19348 _ACEOF
19349  rra_krb5_found_header=true
19350 fi
19351
19352 done
19353 else $as_nop
19354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
19355 printf %s "checking for krb5.h... " >&6; }
19356  if test -f "${rra_krb5_incroot}/krb5.h"
19357 then :
19358
19359 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
19360
19361      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19362 printf "%s\n" "yes" >&6; }
19363      rra_krb5_found_header=true
19364 else $as_nop
19365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19366 printf "%s\n" "no" >&6; }
19367 fi
19368      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
19369 printf %s "checking for kerberosv5/krb5.h... " >&6; }
19370  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
19371 then :
19372
19373 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
19374
19375      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19376 printf "%s\n" "yes" >&6; }
19377      rra_krb5_found_header=true
19378 else $as_nop
19379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19380 printf "%s\n" "no" >&6; }
19381 fi
19382      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
19383 printf %s "checking for krb5/krb5.h... " >&6; }
19384  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
19385 then :
19386
19387 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
19388
19389      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19390 printf "%s\n" "yes" >&6; }
19391      rra_krb5_found_header=true
19392 else $as_nop
19393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19394 printf "%s\n" "no" >&6; }
19395 fi
19396 fi
19397  if test x"$rra_krb5_found_header" = xtrue
19398 then :
19399
19400 else $as_nop
19401   KRB5_CPPFLAGS=
19402      KRB5_LIBS=
19403      if test x"true" = xtrue
19404 then :
19405   as_fn_error $? "cannot find usable Kerberos header" "$LINENO" 5
19406 fi
19407 fi
19408  CPPFLAGS="$rra_krb5_save_CPPFLAGS"
19409  LDFLAGS="$rra_krb5_save_LDFLAGS"
19410  LIBS="$rra_krb5_save_LIBS"
19411 fi
19412
19413      rra_krb5_save_CPPFLAGS="$CPPFLAGS"
19414  rra_krb5_save_LDFLAGS="$LDFLAGS"
19415  rra_krb5_save_LIBS="$LIBS"
19416  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
19417  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
19418  LIBS="$KRB5_LIBS $LIBS"
19419
19420   for ac_func in krb5_get_error_message
19421 do :
19422   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
19423 if test "x$ac_cv_func_krb5_get_error_message" = xyes
19424 then :
19425   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
19426  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
19427 if test "x$ac_cv_func_krb5_free_error_message" = xyes
19428 then :
19429   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
19430
19431 fi
19432
19433 else $as_nop
19434
19435   for ac_func in krb5_get_error_string
19436 do :
19437   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
19438 if test "x$ac_cv_func_krb5_get_error_string" = xyes
19439 then :
19440   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
19441
19442 else $as_nop
19443
19444   for ac_func in krb5_get_err_txt
19445 do :
19446   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
19447 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
19448 then :
19449   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
19450
19451 else $as_nop
19452
19453   for ac_func in krb5_svc_get_msg
19454 do :
19455   ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
19456 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes
19457 then :
19458   printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
19459  ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
19460 #if HAVE_KRB5_H
19461 # include <krb5.h>
19462 #elif HAVE_KERBEROSV5_KRB5_H
19463 # include <kerberosv5/krb5.h>
19464 #else
19465 # include <krb5/krb5.h>
19466 #endif
19467
19468 "
19469 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
19470 then :
19471   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
19472
19473 fi
19474
19475 else $as_nop
19476   if test x"$rra_krb5_incroot" = x
19477 then :
19478   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
19479 if test "x$ac_cv_header_et_com_err_h" = xyes
19480 then :
19481   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
19482
19483 fi
19484 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
19485 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
19486 then :
19487   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
19488
19489 fi
19490
19491 else $as_nop
19492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
19493 printf %s "checking for et/com_err.h... " >&6; }
19494  if test -f "${rra_krb5_incroot}/et/com_err.h"
19495 then :
19496
19497 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
19498
19499      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19500 printf "%s\n" "yes" >&6; }
19501
19502 else $as_nop
19503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19504 printf "%s\n" "no" >&6; }
19505 fi
19506          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
19507 printf %s "checking for kerberosv5/com_err.h... " >&6; }
19508  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
19509 then :
19510
19511 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
19512
19513      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19514 printf "%s\n" "yes" >&6; }
19515
19516 else $as_nop
19517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19518 printf "%s\n" "no" >&6; }
19519 fi
19520 fi
19521 fi
19522
19523 done
19524 fi
19525
19526 done
19527 fi
19528
19529 done
19530 fi
19531
19532 done
19533      CPPFLAGS="$rra_krb5_save_CPPFLAGS"
19534  LDFLAGS="$rra_krb5_save_LDFLAGS"
19535  LIBS="$rra_krb5_save_LIBS"
19536 else $as_nop
19537   if test x"$rra_krb5_libdir" != x
19538 then :
19539   KRB5_LDFLAGS="-L$rra_krb5_libdir"
19540 else $as_nop
19541   if test x"$rra_krb5_root" != x
19542 then :
19543
19544  if test -d "$rra_krb5_root/$rra_lib_arch_name"
19545 then :
19546   if test x"" = x
19547 then :
19548   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
19549 else $as_nop
19550   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
19551 fi
19552 else $as_nop
19553   if test x"" = x
19554 then :
19555   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
19556 else $as_nop
19557   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
19558 fi
19559 fi
19560  KRB5_LDFLAGS=`printf "%s\n" "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
19561 fi
19562 fi
19563  if test x"$rra_krb5_includedir" != x
19564 then :
19565   KRB5_CPPFLAGS="-I$rra_krb5_includedir"
19566 else $as_nop
19567   if test x"$rra_krb5_root" != x
19568 then :
19569   if test x"$rra_krb5_root" != x/usr
19570 then :
19571   KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
19572 fi
19573 fi
19574 fi
19575      rra_krb5_save_CPPFLAGS="$CPPFLAGS"
19576  rra_krb5_save_LDFLAGS="$LDFLAGS"
19577  rra_krb5_save_LIBS="$LIBS"
19578  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
19579  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
19580  LIBS="$KRB5_LIBS $LIBS"
19581  rra_krb5_extra=
19582  LIBS=
19583  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
19584 printf %s "checking for library containing res_search... " >&6; }
19585 if test ${ac_cv_search_res_search+y}
19586 then :
19587   printf %s "(cached) " >&6
19588 else $as_nop
19589   ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h.  */
19592
19593 /* Override any GCC internal prototype to avoid an error.
19594    Use char because int might match the return type of a GCC
19595    builtin and then its argument prototype would still apply.  */
19596 char res_search ();
19597 int
19598 main (void)
19599 {
19600 return res_search ();
19601   ;
19602   return 0;
19603 }
19604 _ACEOF
19605 for ac_lib in '' resolv
19606 do
19607   if test -z "$ac_lib"; then
19608     ac_res="none required"
19609   else
19610     ac_res=-l$ac_lib
19611     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19612   fi
19613   if ac_fn_c_try_link "$LINENO"
19614 then :
19615   ac_cv_search_res_search=$ac_res
19616 fi
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19618     conftest$ac_exeext
19619   if test ${ac_cv_search_res_search+y}
19620 then :
19621   break
19622 fi
19623 done
19624 if test ${ac_cv_search_res_search+y}
19625 then :
19626
19627 else $as_nop
19628   ac_cv_search_res_search=no
19629 fi
19630 rm conftest.$ac_ext
19631 LIBS=$ac_func_search_save_LIBS
19632 fi
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
19634 printf "%s\n" "$ac_cv_search_res_search" >&6; }
19635 ac_res=$ac_cv_search_res_search
19636 if test "$ac_res" != no
19637 then :
19638   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19639
19640 else $as_nop
19641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
19642 printf %s "checking for library containing __res_search... " >&6; }
19643 if test ${ac_cv_search___res_search+y}
19644 then :
19645   printf %s "(cached) " >&6
19646 else $as_nop
19647   ac_func_search_save_LIBS=$LIBS
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h.  */
19650
19651 /* Override any GCC internal prototype to avoid an error.
19652    Use char because int might match the return type of a GCC
19653    builtin and then its argument prototype would still apply.  */
19654 char __res_search ();
19655 int
19656 main (void)
19657 {
19658 return __res_search ();
19659   ;
19660   return 0;
19661 }
19662 _ACEOF
19663 for ac_lib in '' resolv
19664 do
19665   if test -z "$ac_lib"; then
19666     ac_res="none required"
19667   else
19668     ac_res=-l$ac_lib
19669     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19670   fi
19671   if ac_fn_c_try_link "$LINENO"
19672 then :
19673   ac_cv_search___res_search=$ac_res
19674 fi
19675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19676     conftest$ac_exeext
19677   if test ${ac_cv_search___res_search+y}
19678 then :
19679   break
19680 fi
19681 done
19682 if test ${ac_cv_search___res_search+y}
19683 then :
19684
19685 else $as_nop
19686   ac_cv_search___res_search=no
19687 fi
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19690 fi
19691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
19692 printf "%s\n" "$ac_cv_search___res_search" >&6; }
19693 ac_res=$ac_cv_search___res_search
19694 if test "$ac_res" != no
19695 then :
19696   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19697
19698 fi
19699
19700 fi
19701
19702  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19703 printf %s "checking for library containing gethostbyname... " >&6; }
19704 if test ${ac_cv_search_gethostbyname+y}
19705 then :
19706   printf %s "(cached) " >&6
19707 else $as_nop
19708   ac_func_search_save_LIBS=$LIBS
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h.  */
19711
19712 /* Override any GCC internal prototype to avoid an error.
19713    Use char because int might match the return type of a GCC
19714    builtin and then its argument prototype would still apply.  */
19715 char gethostbyname ();
19716 int
19717 main (void)
19718 {
19719 return gethostbyname ();
19720   ;
19721   return 0;
19722 }
19723 _ACEOF
19724 for ac_lib in '' nsl
19725 do
19726   if test -z "$ac_lib"; then
19727     ac_res="none required"
19728   else
19729     ac_res=-l$ac_lib
19730     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19731   fi
19732   if ac_fn_c_try_link "$LINENO"
19733 then :
19734   ac_cv_search_gethostbyname=$ac_res
19735 fi
19736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19737     conftest$ac_exeext
19738   if test ${ac_cv_search_gethostbyname+y}
19739 then :
19740   break
19741 fi
19742 done
19743 if test ${ac_cv_search_gethostbyname+y}
19744 then :
19745
19746 else $as_nop
19747   ac_cv_search_gethostbyname=no
19748 fi
19749 rm conftest.$ac_ext
19750 LIBS=$ac_func_search_save_LIBS
19751 fi
19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19753 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19754 ac_res=$ac_cv_search_gethostbyname
19755 if test "$ac_res" != no
19756 then :
19757   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19758
19759 fi
19760
19761  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19762 printf %s "checking for library containing socket... " >&6; }
19763 if test ${ac_cv_search_socket+y}
19764 then :
19765   printf %s "(cached) " >&6
19766 else $as_nop
19767   ac_func_search_save_LIBS=$LIBS
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h.  */
19770
19771 /* Override any GCC internal prototype to avoid an error.
19772    Use char because int might match the return type of a GCC
19773    builtin and then its argument prototype would still apply.  */
19774 char socket ();
19775 int
19776 main (void)
19777 {
19778 return socket ();
19779   ;
19780   return 0;
19781 }
19782 _ACEOF
19783 for ac_lib in '' socket
19784 do
19785   if test -z "$ac_lib"; then
19786     ac_res="none required"
19787   else
19788     ac_res=-l$ac_lib
19789     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19790   fi
19791   if ac_fn_c_try_link "$LINENO"
19792 then :
19793   ac_cv_search_socket=$ac_res
19794 fi
19795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19796     conftest$ac_exeext
19797   if test ${ac_cv_search_socket+y}
19798 then :
19799   break
19800 fi
19801 done
19802 if test ${ac_cv_search_socket+y}
19803 then :
19804
19805 else $as_nop
19806   ac_cv_search_socket=no
19807 fi
19808 rm conftest.$ac_ext
19809 LIBS=$ac_func_search_save_LIBS
19810 fi
19811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19812 printf "%s\n" "$ac_cv_search_socket" >&6; }
19813 ac_res=$ac_cv_search_socket
19814 if test "$ac_res" != no
19815 then :
19816   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19817
19818 else $as_nop
19819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
19820 printf %s "checking for socket in -lnsl... " >&6; }
19821 if test ${ac_cv_lib_nsl_socket+y}
19822 then :
19823   printf %s "(cached) " >&6
19824 else $as_nop
19825   ac_check_lib_save_LIBS=$LIBS
19826 LIBS="-lnsl -lsocket $LIBS"
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h.  */
19829
19830 /* Override any GCC internal prototype to avoid an error.
19831    Use char because int might match the return type of a GCC
19832    builtin and then its argument prototype would still apply.  */
19833 char socket ();
19834 int
19835 main (void)
19836 {
19837 return socket ();
19838   ;
19839   return 0;
19840 }
19841 _ACEOF
19842 if ac_fn_c_try_link "$LINENO"
19843 then :
19844   ac_cv_lib_nsl_socket=yes
19845 else $as_nop
19846   ac_cv_lib_nsl_socket=no
19847 fi
19848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19849     conftest$ac_exeext conftest.$ac_ext
19850 LIBS=$ac_check_lib_save_LIBS
19851 fi
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
19853 printf "%s\n" "$ac_cv_lib_nsl_socket" >&6; }
19854 if test "x$ac_cv_lib_nsl_socket" = xyes
19855 then :
19856   LIBS="-lnsl -lsocket $LIBS"
19857 fi
19858
19859 fi
19860
19861  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
19862 printf %s "checking for library containing crypt... " >&6; }
19863 if test ${ac_cv_search_crypt+y}
19864 then :
19865   printf %s "(cached) " >&6
19866 else $as_nop
19867   ac_func_search_save_LIBS=$LIBS
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h.  */
19870
19871 /* Override any GCC internal prototype to avoid an error.
19872    Use char because int might match the return type of a GCC
19873    builtin and then its argument prototype would still apply.  */
19874 char crypt ();
19875 int
19876 main (void)
19877 {
19878 return crypt ();
19879   ;
19880   return 0;
19881 }
19882 _ACEOF
19883 for ac_lib in '' crypt
19884 do
19885   if test -z "$ac_lib"; then
19886     ac_res="none required"
19887   else
19888     ac_res=-l$ac_lib
19889     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19890   fi
19891   if ac_fn_c_try_link "$LINENO"
19892 then :
19893   ac_cv_search_crypt=$ac_res
19894 fi
19895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19896     conftest$ac_exeext
19897   if test ${ac_cv_search_crypt+y}
19898 then :
19899   break
19900 fi
19901 done
19902 if test ${ac_cv_search_crypt+y}
19903 then :
19904
19905 else $as_nop
19906   ac_cv_search_crypt=no
19907 fi
19908 rm conftest.$ac_ext
19909 LIBS=$ac_func_search_save_LIBS
19910 fi
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
19912 printf "%s\n" "$ac_cv_search_crypt" >&6; }
19913 ac_res=$ac_cv_search_crypt
19914 if test "$ac_res" != no
19915 then :
19916   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19917
19918 fi
19919
19920  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
19921 printf %s "checking for library containing roken_concat... " >&6; }
19922 if test ${ac_cv_search_roken_concat+y}
19923 then :
19924   printf %s "(cached) " >&6
19925 else $as_nop
19926   ac_func_search_save_LIBS=$LIBS
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h.  */
19929
19930 /* Override any GCC internal prototype to avoid an error.
19931    Use char because int might match the return type of a GCC
19932    builtin and then its argument prototype would still apply.  */
19933 char roken_concat ();
19934 int
19935 main (void)
19936 {
19937 return roken_concat ();
19938   ;
19939   return 0;
19940 }
19941 _ACEOF
19942 for ac_lib in '' roken
19943 do
19944   if test -z "$ac_lib"; then
19945     ac_res="none required"
19946   else
19947     ac_res=-l$ac_lib
19948     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19949   fi
19950   if ac_fn_c_try_link "$LINENO"
19951 then :
19952   ac_cv_search_roken_concat=$ac_res
19953 fi
19954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19955     conftest$ac_exeext
19956   if test ${ac_cv_search_roken_concat+y}
19957 then :
19958   break
19959 fi
19960 done
19961 if test ${ac_cv_search_roken_concat+y}
19962 then :
19963
19964 else $as_nop
19965   ac_cv_search_roken_concat=no
19966 fi
19967 rm conftest.$ac_ext
19968 LIBS=$ac_func_search_save_LIBS
19969 fi
19970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
19971 printf "%s\n" "$ac_cv_search_roken_concat" >&6; }
19972 ac_res=$ac_cv_search_roken_concat
19973 if test "$ac_res" != no
19974 then :
19975   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19976
19977 fi
19978
19979  rra_krb5_extra="$LIBS"
19980  LIBS="$rra_krb5_save_LIBS"
19981  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
19982 printf %s "checking for krb5_init_context in -lkrb5... " >&6; }
19983 if test ${ac_cv_lib_krb5_krb5_init_context+y}
19984 then :
19985   printf %s "(cached) " >&6
19986 else $as_nop
19987   ac_check_lib_save_LIBS=$LIBS
19988 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h.  */
19991
19992 /* Override any GCC internal prototype to avoid an error.
19993    Use char because int might match the return type of a GCC
19994    builtin and then its argument prototype would still apply.  */
19995 char krb5_init_context ();
19996 int
19997 main (void)
19998 {
19999 return krb5_init_context ();
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_c_try_link "$LINENO"
20005 then :
20006   ac_cv_lib_krb5_krb5_init_context=yes
20007 else $as_nop
20008   ac_cv_lib_krb5_krb5_init_context=no
20009 fi
20010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20011     conftest$ac_exeext conftest.$ac_ext
20012 LIBS=$ac_check_lib_save_LIBS
20013 fi
20014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
20015 printf "%s\n" "$ac_cv_lib_krb5_krb5_init_context" >&6; }
20016 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes
20017 then :
20018   KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
20019 else $as_nop
20020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
20021 printf %s "checking for krb5int_getspecific in -lkrb5support... " >&6; }
20022 if test ${ac_cv_lib_krb5support_krb5int_getspecific+y}
20023 then :
20024   printf %s "(cached) " >&6
20025 else $as_nop
20026   ac_check_lib_save_LIBS=$LIBS
20027 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h.  */
20030
20031 /* Override any GCC internal prototype to avoid an error.
20032    Use char because int might match the return type of a GCC
20033    builtin and then its argument prototype would still apply.  */
20034 char krb5int_getspecific ();
20035 int
20036 main (void)
20037 {
20038 return krb5int_getspecific ();
20039   ;
20040   return 0;
20041 }
20042 _ACEOF
20043 if ac_fn_c_try_link "$LINENO"
20044 then :
20045   ac_cv_lib_krb5support_krb5int_getspecific=yes
20046 else $as_nop
20047   ac_cv_lib_krb5support_krb5int_getspecific=no
20048 fi
20049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20050     conftest$ac_exeext conftest.$ac_ext
20051 LIBS=$ac_check_lib_save_LIBS
20052 fi
20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
20054 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
20055 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes
20056 then :
20057   rra_krb5_extra="-lkrb5support $rra_krb5_extra"
20058 else $as_nop
20059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
20060 printf %s "checking for pthread_setspecific in -lpthreads... " >&6; }
20061 if test ${ac_cv_lib_pthreads_pthread_setspecific+y}
20062 then :
20063   printf %s "(cached) " >&6
20064 else $as_nop
20065   ac_check_lib_save_LIBS=$LIBS
20066 LIBS="-lpthreads  $LIBS"
20067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20068 /* end confdefs.h.  */
20069
20070 /* Override any GCC internal prototype to avoid an error.
20071    Use char because int might match the return type of a GCC
20072    builtin and then its argument prototype would still apply.  */
20073 char pthread_setspecific ();
20074 int
20075 main (void)
20076 {
20077 return pthread_setspecific ();
20078   ;
20079   return 0;
20080 }
20081 _ACEOF
20082 if ac_fn_c_try_link "$LINENO"
20083 then :
20084   ac_cv_lib_pthreads_pthread_setspecific=yes
20085 else $as_nop
20086   ac_cv_lib_pthreads_pthread_setspecific=no
20087 fi
20088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20089     conftest$ac_exeext conftest.$ac_ext
20090 LIBS=$ac_check_lib_save_LIBS
20091 fi
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
20093 printf "%s\n" "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
20094 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes
20095 then :
20096   rra_krb5_pthread="-lpthreads"
20097 else $as_nop
20098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
20099 printf %s "checking for pthread_setspecific in -lpthread... " >&6; }
20100 if test ${ac_cv_lib_pthread_pthread_setspecific+y}
20101 then :
20102   printf %s "(cached) " >&6
20103 else $as_nop
20104   ac_check_lib_save_LIBS=$LIBS
20105 LIBS="-lpthread  $LIBS"
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h.  */
20108
20109 /* Override any GCC internal prototype to avoid an error.
20110    Use char because int might match the return type of a GCC
20111    builtin and then its argument prototype would still apply.  */
20112 char pthread_setspecific ();
20113 int
20114 main (void)
20115 {
20116 return pthread_setspecific ();
20117   ;
20118   return 0;
20119 }
20120 _ACEOF
20121 if ac_fn_c_try_link "$LINENO"
20122 then :
20123   ac_cv_lib_pthread_pthread_setspecific=yes
20124 else $as_nop
20125   ac_cv_lib_pthread_pthread_setspecific=no
20126 fi
20127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20128     conftest$ac_exeext conftest.$ac_ext
20129 LIBS=$ac_check_lib_save_LIBS
20130 fi
20131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
20132 printf "%s\n" "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
20133 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes
20134 then :
20135   rra_krb5_pthread="-lpthread"
20136 fi
20137
20138 fi
20139
20140          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
20141 printf %s "checking for krb5int_setspecific in -lkrb5support... " >&6; }
20142 if test ${ac_cv_lib_krb5support_krb5int_setspecific+y}
20143 then :
20144   printf %s "(cached) " >&6
20145 else $as_nop
20146   ac_check_lib_save_LIBS=$LIBS
20147 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
20148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20149 /* end confdefs.h.  */
20150
20151 /* Override any GCC internal prototype to avoid an error.
20152    Use char because int might match the return type of a GCC
20153    builtin and then its argument prototype would still apply.  */
20154 char krb5int_setspecific ();
20155 int
20156 main (void)
20157 {
20158 return krb5int_setspecific ();
20159   ;
20160   return 0;
20161 }
20162 _ACEOF
20163 if ac_fn_c_try_link "$LINENO"
20164 then :
20165   ac_cv_lib_krb5support_krb5int_setspecific=yes
20166 else $as_nop
20167   ac_cv_lib_krb5support_krb5int_setspecific=no
20168 fi
20169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20170     conftest$ac_exeext conftest.$ac_ext
20171 LIBS=$ac_check_lib_save_LIBS
20172 fi
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
20174 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
20175 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes
20176 then :
20177   rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
20178 fi
20179
20180 fi
20181
20182      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
20183 printf %s "checking for error_message in -lcom_err... " >&6; }
20184 if test ${ac_cv_lib_com_err_error_message+y}
20185 then :
20186   printf %s "(cached) " >&6
20187 else $as_nop
20188   ac_check_lib_save_LIBS=$LIBS
20189 LIBS="-lcom_err $rra_krb5_extra $LIBS"
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h.  */
20192
20193 /* Override any GCC internal prototype to avoid an error.
20194    Use char because int might match the return type of a GCC
20195    builtin and then its argument prototype would still apply.  */
20196 char error_message ();
20197 int
20198 main (void)
20199 {
20200 return error_message ();
20201   ;
20202   return 0;
20203 }
20204 _ACEOF
20205 if ac_fn_c_try_link "$LINENO"
20206 then :
20207   ac_cv_lib_com_err_error_message=yes
20208 else $as_nop
20209   ac_cv_lib_com_err_error_message=no
20210 fi
20211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20212     conftest$ac_exeext conftest.$ac_ext
20213 LIBS=$ac_check_lib_save_LIBS
20214 fi
20215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
20216 printf "%s\n" "$ac_cv_lib_com_err_error_message" >&6; }
20217 if test "x$ac_cv_lib_com_err_error_message" = xyes
20218 then :
20219   rra_krb5_extra="-lcom_err $rra_krb5_extra"
20220 fi
20221
20222      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
20223 printf %s "checking for krb5_svc_get_msg in -lksvc... " >&6; }
20224 if test ${ac_cv_lib_ksvc_krb5_svc_get_msg+y}
20225 then :
20226   printf %s "(cached) " >&6
20227 else $as_nop
20228   ac_check_lib_save_LIBS=$LIBS
20229 LIBS="-lksvc $rra_krb5_extra $LIBS"
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h.  */
20232
20233 /* Override any GCC internal prototype to avoid an error.
20234    Use char because int might match the return type of a GCC
20235    builtin and then its argument prototype would still apply.  */
20236 char krb5_svc_get_msg ();
20237 int
20238 main (void)
20239 {
20240 return krb5_svc_get_msg ();
20241   ;
20242   return 0;
20243 }
20244 _ACEOF
20245 if ac_fn_c_try_link "$LINENO"
20246 then :
20247   ac_cv_lib_ksvc_krb5_svc_get_msg=yes
20248 else $as_nop
20249   ac_cv_lib_ksvc_krb5_svc_get_msg=no
20250 fi
20251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20252     conftest$ac_exeext conftest.$ac_ext
20253 LIBS=$ac_check_lib_save_LIBS
20254 fi
20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
20256 printf "%s\n" "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
20257 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes
20258 then :
20259   rra_krb5_extra="-lksvc $rra_krb5_extra"
20260 fi
20261
20262      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
20263 printf %s "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
20264 if test ${ac_cv_lib_k5crypto_krb5int_hash_md5+y}
20265 then :
20266   printf %s "(cached) " >&6
20267 else $as_nop
20268   ac_check_lib_save_LIBS=$LIBS
20269 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h.  */
20272
20273 /* Override any GCC internal prototype to avoid an error.
20274    Use char because int might match the return type of a GCC
20275    builtin and then its argument prototype would still apply.  */
20276 char krb5int_hash_md5 ();
20277 int
20278 main (void)
20279 {
20280 return krb5int_hash_md5 ();
20281   ;
20282   return 0;
20283 }
20284 _ACEOF
20285 if ac_fn_c_try_link "$LINENO"
20286 then :
20287   ac_cv_lib_k5crypto_krb5int_hash_md5=yes
20288 else $as_nop
20289   ac_cv_lib_k5crypto_krb5int_hash_md5=no
20290 fi
20291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20292     conftest$ac_exeext conftest.$ac_ext
20293 LIBS=$ac_check_lib_save_LIBS
20294 fi
20295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
20296 printf "%s\n" "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
20297 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes
20298 then :
20299   rra_krb5_extra="-lk5crypto $rra_krb5_extra"
20300 fi
20301
20302      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
20303 printf %s "checking for profile_get_values in -lk5profile... " >&6; }
20304 if test ${ac_cv_lib_k5profile_profile_get_values+y}
20305 then :
20306   printf %s "(cached) " >&6
20307 else $as_nop
20308   ac_check_lib_save_LIBS=$LIBS
20309 LIBS="-lk5profile $rra_krb5_extra $LIBS"
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h.  */
20312
20313 /* Override any GCC internal prototype to avoid an error.
20314    Use char because int might match the return type of a GCC
20315    builtin and then its argument prototype would still apply.  */
20316 char profile_get_values ();
20317 int
20318 main (void)
20319 {
20320 return profile_get_values ();
20321   ;
20322   return 0;
20323 }
20324 _ACEOF
20325 if ac_fn_c_try_link "$LINENO"
20326 then :
20327   ac_cv_lib_k5profile_profile_get_values=yes
20328 else $as_nop
20329   ac_cv_lib_k5profile_profile_get_values=no
20330 fi
20331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20332     conftest$ac_exeext conftest.$ac_ext
20333 LIBS=$ac_check_lib_save_LIBS
20334 fi
20335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
20336 printf "%s\n" "$ac_cv_lib_k5profile_profile_get_values" >&6; }
20337 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes
20338 then :
20339   rra_krb5_extra="-lk5profile $rra_krb5_extra"
20340 fi
20341
20342      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
20343 printf %s "checking for krb5_cc_default in -lkrb5... " >&6; }
20344 if test ${ac_cv_lib_krb5_krb5_cc_default+y}
20345 then :
20346   printf %s "(cached) " >&6
20347 else $as_nop
20348   ac_check_lib_save_LIBS=$LIBS
20349 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
20350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20351 /* end confdefs.h.  */
20352
20353 /* Override any GCC internal prototype to avoid an error.
20354    Use char because int might match the return type of a GCC
20355    builtin and then its argument prototype would still apply.  */
20356 char krb5_cc_default ();
20357 int
20358 main (void)
20359 {
20360 return krb5_cc_default ();
20361   ;
20362   return 0;
20363 }
20364 _ACEOF
20365 if ac_fn_c_try_link "$LINENO"
20366 then :
20367   ac_cv_lib_krb5_krb5_cc_default=yes
20368 else $as_nop
20369   ac_cv_lib_krb5_krb5_cc_default=no
20370 fi
20371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20372     conftest$ac_exeext conftest.$ac_ext
20373 LIBS=$ac_check_lib_save_LIBS
20374 fi
20375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
20376 printf "%s\n" "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
20377 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes
20378 then :
20379   KRB5_LIBS="-lkrb5 $rra_krb5_extra"
20380 else $as_nop
20381   if test x"true" = xtrue
20382 then :
20383   as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
20384 fi
20385 fi
20386
20387 fi
20388
20389  LIBS="$KRB5_LIBS $LIBS"
20390
20391   for ac_func in krb5_get_error_message
20392 do :
20393   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
20394 if test "x$ac_cv_func_krb5_get_error_message" = xyes
20395 then :
20396   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
20397  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
20398 if test "x$ac_cv_func_krb5_free_error_message" = xyes
20399 then :
20400   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
20401
20402 fi
20403
20404 else $as_nop
20405
20406   for ac_func in krb5_get_error_string
20407 do :
20408   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
20409 if test "x$ac_cv_func_krb5_get_error_string" = xyes
20410 then :
20411   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
20412
20413 else $as_nop
20414
20415   for ac_func in krb5_get_err_txt
20416 do :
20417   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
20418 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
20419 then :
20420   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
20421
20422 else $as_nop
20423
20424   for ac_func in krb5_svc_get_msg
20425 do :
20426   ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
20427 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes
20428 then :
20429   printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
20430  ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
20431 #if HAVE_KRB5_H
20432 # include <krb5.h>
20433 #elif HAVE_KERBEROSV5_KRB5_H
20434 # include <kerberosv5/krb5.h>
20435 #else
20436 # include <krb5/krb5.h>
20437 #endif
20438
20439 "
20440 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
20441 then :
20442   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
20443
20444 fi
20445
20446 else $as_nop
20447   if test x"$rra_krb5_incroot" = x
20448 then :
20449   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
20450 if test "x$ac_cv_header_et_com_err_h" = xyes
20451 then :
20452   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
20453
20454 fi
20455 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
20456 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
20457 then :
20458   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
20459
20460 fi
20461
20462 else $as_nop
20463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
20464 printf %s "checking for et/com_err.h... " >&6; }
20465  if test -f "${rra_krb5_incroot}/et/com_err.h"
20466 then :
20467
20468 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
20469
20470      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20471 printf "%s\n" "yes" >&6; }
20472
20473 else $as_nop
20474   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20475 printf "%s\n" "no" >&6; }
20476 fi
20477          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
20478 printf %s "checking for kerberosv5/com_err.h... " >&6; }
20479  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
20480 then :
20481
20482 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
20483
20484      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20485 printf "%s\n" "yes" >&6; }
20486
20487 else $as_nop
20488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20489 printf "%s\n" "no" >&6; }
20490 fi
20491 fi
20492 fi
20493
20494 done
20495 fi
20496
20497 done
20498 fi
20499
20500 done
20501 fi
20502
20503 done
20504  rra_krb5_found_header=
20505  if test x"$rra_krb5_incroot" = x
20506 then :
20507          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
20508 do :
20509   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
20510 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20511 if eval test \"x\$"$as_ac_Header"\" = x"yes"
20512 then :
20513   cat >>confdefs.h <<_ACEOF
20514 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
20515 _ACEOF
20516  rra_krb5_found_header=true
20517 fi
20518
20519 done
20520 else $as_nop
20521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
20522 printf %s "checking for krb5.h... " >&6; }
20523  if test -f "${rra_krb5_incroot}/krb5.h"
20524 then :
20525
20526 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
20527
20528      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529 printf "%s\n" "yes" >&6; }
20530      rra_krb5_found_header=true
20531 else $as_nop
20532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20533 printf "%s\n" "no" >&6; }
20534 fi
20535      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
20536 printf %s "checking for kerberosv5/krb5.h... " >&6; }
20537  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
20538 then :
20539
20540 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
20541
20542      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20543 printf "%s\n" "yes" >&6; }
20544      rra_krb5_found_header=true
20545 else $as_nop
20546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20547 printf "%s\n" "no" >&6; }
20548 fi
20549      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
20550 printf %s "checking for krb5/krb5.h... " >&6; }
20551  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
20552 then :
20553
20554 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
20555
20556      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20557 printf "%s\n" "yes" >&6; }
20558      rra_krb5_found_header=true
20559 else $as_nop
20560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20561 printf "%s\n" "no" >&6; }
20562 fi
20563 fi
20564  if test x"$rra_krb5_found_header" = xtrue
20565 then :
20566
20567 else $as_nop
20568   KRB5_CPPFLAGS=
20569      KRB5_LIBS=
20570      if test x"true" = xtrue
20571 then :
20572   as_fn_error $? "cannot find usable Kerberos header" "$LINENO" 5
20573 fi
20574 fi
20575  CPPFLAGS="$rra_krb5_save_CPPFLAGS"
20576  LDFLAGS="$rra_krb5_save_LDFLAGS"
20577  LIBS="$rra_krb5_save_LIBS"
20578 fi
20579 else $as_nop
20580   if test x"$rra_krb5_libdir" != x
20581 then :
20582   KRB5_LDFLAGS="-L$rra_krb5_libdir"
20583 else $as_nop
20584   if test x"$rra_krb5_root" != x
20585 then :
20586
20587  if test -d "$rra_krb5_root/$rra_lib_arch_name"
20588 then :
20589   if test x"" = x
20590 then :
20591   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
20592 else $as_nop
20593   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
20594 fi
20595 else $as_nop
20596   if test x"" = x
20597 then :
20598   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
20599 else $as_nop
20600   KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
20601 fi
20602 fi
20603  KRB5_LDFLAGS=`printf "%s\n" "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
20604 fi
20605 fi
20606  if test x"$rra_krb5_includedir" != x
20607 then :
20608   KRB5_CPPFLAGS="-I$rra_krb5_includedir"
20609 else $as_nop
20610   if test x"$rra_krb5_root" != x
20611 then :
20612   if test x"$rra_krb5_root" != x/usr
20613 then :
20614   KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
20615 fi
20616 fi
20617 fi
20618          rra_krb5_save_CPPFLAGS="$CPPFLAGS"
20619  rra_krb5_save_LDFLAGS="$LDFLAGS"
20620  rra_krb5_save_LIBS="$LIBS"
20621  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
20622  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
20623  LIBS="$KRB5_LIBS $LIBS"
20624  rra_krb5_extra=
20625  LIBS=
20626  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
20627 printf %s "checking for library containing res_search... " >&6; }
20628 if test ${ac_cv_search_res_search+y}
20629 then :
20630   printf %s "(cached) " >&6
20631 else $as_nop
20632   ac_func_search_save_LIBS=$LIBS
20633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20634 /* end confdefs.h.  */
20635
20636 /* Override any GCC internal prototype to avoid an error.
20637    Use char because int might match the return type of a GCC
20638    builtin and then its argument prototype would still apply.  */
20639 char res_search ();
20640 int
20641 main (void)
20642 {
20643 return res_search ();
20644   ;
20645   return 0;
20646 }
20647 _ACEOF
20648 for ac_lib in '' resolv
20649 do
20650   if test -z "$ac_lib"; then
20651     ac_res="none required"
20652   else
20653     ac_res=-l$ac_lib
20654     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20655   fi
20656   if ac_fn_c_try_link "$LINENO"
20657 then :
20658   ac_cv_search_res_search=$ac_res
20659 fi
20660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20661     conftest$ac_exeext
20662   if test ${ac_cv_search_res_search+y}
20663 then :
20664   break
20665 fi
20666 done
20667 if test ${ac_cv_search_res_search+y}
20668 then :
20669
20670 else $as_nop
20671   ac_cv_search_res_search=no
20672 fi
20673 rm conftest.$ac_ext
20674 LIBS=$ac_func_search_save_LIBS
20675 fi
20676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
20677 printf "%s\n" "$ac_cv_search_res_search" >&6; }
20678 ac_res=$ac_cv_search_res_search
20679 if test "$ac_res" != no
20680 then :
20681   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20682
20683 else $as_nop
20684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
20685 printf %s "checking for library containing __res_search... " >&6; }
20686 if test ${ac_cv_search___res_search+y}
20687 then :
20688   printf %s "(cached) " >&6
20689 else $as_nop
20690   ac_func_search_save_LIBS=$LIBS
20691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692 /* end confdefs.h.  */
20693
20694 /* Override any GCC internal prototype to avoid an error.
20695    Use char because int might match the return type of a GCC
20696    builtin and then its argument prototype would still apply.  */
20697 char __res_search ();
20698 int
20699 main (void)
20700 {
20701 return __res_search ();
20702   ;
20703   return 0;
20704 }
20705 _ACEOF
20706 for ac_lib in '' resolv
20707 do
20708   if test -z "$ac_lib"; then
20709     ac_res="none required"
20710   else
20711     ac_res=-l$ac_lib
20712     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20713   fi
20714   if ac_fn_c_try_link "$LINENO"
20715 then :
20716   ac_cv_search___res_search=$ac_res
20717 fi
20718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20719     conftest$ac_exeext
20720   if test ${ac_cv_search___res_search+y}
20721 then :
20722   break
20723 fi
20724 done
20725 if test ${ac_cv_search___res_search+y}
20726 then :
20727
20728 else $as_nop
20729   ac_cv_search___res_search=no
20730 fi
20731 rm conftest.$ac_ext
20732 LIBS=$ac_func_search_save_LIBS
20733 fi
20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
20735 printf "%s\n" "$ac_cv_search___res_search" >&6; }
20736 ac_res=$ac_cv_search___res_search
20737 if test "$ac_res" != no
20738 then :
20739   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20740
20741 fi
20742
20743 fi
20744
20745  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20746 printf %s "checking for library containing gethostbyname... " >&6; }
20747 if test ${ac_cv_search_gethostbyname+y}
20748 then :
20749   printf %s "(cached) " >&6
20750 else $as_nop
20751   ac_func_search_save_LIBS=$LIBS
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h.  */
20754
20755 /* Override any GCC internal prototype to avoid an error.
20756    Use char because int might match the return type of a GCC
20757    builtin and then its argument prototype would still apply.  */
20758 char gethostbyname ();
20759 int
20760 main (void)
20761 {
20762 return gethostbyname ();
20763   ;
20764   return 0;
20765 }
20766 _ACEOF
20767 for ac_lib in '' nsl
20768 do
20769   if test -z "$ac_lib"; then
20770     ac_res="none required"
20771   else
20772     ac_res=-l$ac_lib
20773     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20774   fi
20775   if ac_fn_c_try_link "$LINENO"
20776 then :
20777   ac_cv_search_gethostbyname=$ac_res
20778 fi
20779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20780     conftest$ac_exeext
20781   if test ${ac_cv_search_gethostbyname+y}
20782 then :
20783   break
20784 fi
20785 done
20786 if test ${ac_cv_search_gethostbyname+y}
20787 then :
20788
20789 else $as_nop
20790   ac_cv_search_gethostbyname=no
20791 fi
20792 rm conftest.$ac_ext
20793 LIBS=$ac_func_search_save_LIBS
20794 fi
20795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20796 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20797 ac_res=$ac_cv_search_gethostbyname
20798 if test "$ac_res" != no
20799 then :
20800   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20801
20802 fi
20803
20804  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
20805 printf %s "checking for library containing socket... " >&6; }
20806 if test ${ac_cv_search_socket+y}
20807 then :
20808   printf %s "(cached) " >&6
20809 else $as_nop
20810   ac_func_search_save_LIBS=$LIBS
20811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20812 /* end confdefs.h.  */
20813
20814 /* Override any GCC internal prototype to avoid an error.
20815    Use char because int might match the return type of a GCC
20816    builtin and then its argument prototype would still apply.  */
20817 char socket ();
20818 int
20819 main (void)
20820 {
20821 return socket ();
20822   ;
20823   return 0;
20824 }
20825 _ACEOF
20826 for ac_lib in '' socket
20827 do
20828   if test -z "$ac_lib"; then
20829     ac_res="none required"
20830   else
20831     ac_res=-l$ac_lib
20832     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20833   fi
20834   if ac_fn_c_try_link "$LINENO"
20835 then :
20836   ac_cv_search_socket=$ac_res
20837 fi
20838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20839     conftest$ac_exeext
20840   if test ${ac_cv_search_socket+y}
20841 then :
20842   break
20843 fi
20844 done
20845 if test ${ac_cv_search_socket+y}
20846 then :
20847
20848 else $as_nop
20849   ac_cv_search_socket=no
20850 fi
20851 rm conftest.$ac_ext
20852 LIBS=$ac_func_search_save_LIBS
20853 fi
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
20855 printf "%s\n" "$ac_cv_search_socket" >&6; }
20856 ac_res=$ac_cv_search_socket
20857 if test "$ac_res" != no
20858 then :
20859   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20860
20861 else $as_nop
20862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
20863 printf %s "checking for socket in -lnsl... " >&6; }
20864 if test ${ac_cv_lib_nsl_socket+y}
20865 then :
20866   printf %s "(cached) " >&6
20867 else $as_nop
20868   ac_check_lib_save_LIBS=$LIBS
20869 LIBS="-lnsl -lsocket $LIBS"
20870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h.  */
20872
20873 /* Override any GCC internal prototype to avoid an error.
20874    Use char because int might match the return type of a GCC
20875    builtin and then its argument prototype would still apply.  */
20876 char socket ();
20877 int
20878 main (void)
20879 {
20880 return socket ();
20881   ;
20882   return 0;
20883 }
20884 _ACEOF
20885 if ac_fn_c_try_link "$LINENO"
20886 then :
20887   ac_cv_lib_nsl_socket=yes
20888 else $as_nop
20889   ac_cv_lib_nsl_socket=no
20890 fi
20891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20892     conftest$ac_exeext conftest.$ac_ext
20893 LIBS=$ac_check_lib_save_LIBS
20894 fi
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
20896 printf "%s\n" "$ac_cv_lib_nsl_socket" >&6; }
20897 if test "x$ac_cv_lib_nsl_socket" = xyes
20898 then :
20899   LIBS="-lnsl -lsocket $LIBS"
20900 fi
20901
20902 fi
20903
20904  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
20905 printf %s "checking for library containing crypt... " >&6; }
20906 if test ${ac_cv_search_crypt+y}
20907 then :
20908   printf %s "(cached) " >&6
20909 else $as_nop
20910   ac_func_search_save_LIBS=$LIBS
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h.  */
20913
20914 /* Override any GCC internal prototype to avoid an error.
20915    Use char because int might match the return type of a GCC
20916    builtin and then its argument prototype would still apply.  */
20917 char crypt ();
20918 int
20919 main (void)
20920 {
20921 return crypt ();
20922   ;
20923   return 0;
20924 }
20925 _ACEOF
20926 for ac_lib in '' crypt
20927 do
20928   if test -z "$ac_lib"; then
20929     ac_res="none required"
20930   else
20931     ac_res=-l$ac_lib
20932     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20933   fi
20934   if ac_fn_c_try_link "$LINENO"
20935 then :
20936   ac_cv_search_crypt=$ac_res
20937 fi
20938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20939     conftest$ac_exeext
20940   if test ${ac_cv_search_crypt+y}
20941 then :
20942   break
20943 fi
20944 done
20945 if test ${ac_cv_search_crypt+y}
20946 then :
20947
20948 else $as_nop
20949   ac_cv_search_crypt=no
20950 fi
20951 rm conftest.$ac_ext
20952 LIBS=$ac_func_search_save_LIBS
20953 fi
20954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
20955 printf "%s\n" "$ac_cv_search_crypt" >&6; }
20956 ac_res=$ac_cv_search_crypt
20957 if test "$ac_res" != no
20958 then :
20959   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20960
20961 fi
20962
20963  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
20964 printf %s "checking for library containing roken_concat... " >&6; }
20965 if test ${ac_cv_search_roken_concat+y}
20966 then :
20967   printf %s "(cached) " >&6
20968 else $as_nop
20969   ac_func_search_save_LIBS=$LIBS
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h.  */
20972
20973 /* Override any GCC internal prototype to avoid an error.
20974    Use char because int might match the return type of a GCC
20975    builtin and then its argument prototype would still apply.  */
20976 char roken_concat ();
20977 int
20978 main (void)
20979 {
20980 return roken_concat ();
20981   ;
20982   return 0;
20983 }
20984 _ACEOF
20985 for ac_lib in '' roken
20986 do
20987   if test -z "$ac_lib"; then
20988     ac_res="none required"
20989   else
20990     ac_res=-l$ac_lib
20991     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20992   fi
20993   if ac_fn_c_try_link "$LINENO"
20994 then :
20995   ac_cv_search_roken_concat=$ac_res
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20998     conftest$ac_exeext
20999   if test ${ac_cv_search_roken_concat+y}
21000 then :
21001   break
21002 fi
21003 done
21004 if test ${ac_cv_search_roken_concat+y}
21005 then :
21006
21007 else $as_nop
21008   ac_cv_search_roken_concat=no
21009 fi
21010 rm conftest.$ac_ext
21011 LIBS=$ac_func_search_save_LIBS
21012 fi
21013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
21014 printf "%s\n" "$ac_cv_search_roken_concat" >&6; }
21015 ac_res=$ac_cv_search_roken_concat
21016 if test "$ac_res" != no
21017 then :
21018   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21019
21020 fi
21021
21022  rra_krb5_extra="$LIBS"
21023  LIBS="$rra_krb5_save_LIBS"
21024  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
21025 printf %s "checking for krb5_init_context in -lkrb5... " >&6; }
21026 if test ${ac_cv_lib_krb5_krb5_init_context+y}
21027 then :
21028   printf %s "(cached) " >&6
21029 else $as_nop
21030   ac_check_lib_save_LIBS=$LIBS
21031 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h.  */
21034
21035 /* Override any GCC internal prototype to avoid an error.
21036    Use char because int might match the return type of a GCC
21037    builtin and then its argument prototype would still apply.  */
21038 char krb5_init_context ();
21039 int
21040 main (void)
21041 {
21042 return krb5_init_context ();
21043   ;
21044   return 0;
21045 }
21046 _ACEOF
21047 if ac_fn_c_try_link "$LINENO"
21048 then :
21049   ac_cv_lib_krb5_krb5_init_context=yes
21050 else $as_nop
21051   ac_cv_lib_krb5_krb5_init_context=no
21052 fi
21053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21054     conftest$ac_exeext conftest.$ac_ext
21055 LIBS=$ac_check_lib_save_LIBS
21056 fi
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
21058 printf "%s\n" "$ac_cv_lib_krb5_krb5_init_context" >&6; }
21059 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes
21060 then :
21061   KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
21062 else $as_nop
21063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
21064 printf %s "checking for krb5int_getspecific in -lkrb5support... " >&6; }
21065 if test ${ac_cv_lib_krb5support_krb5int_getspecific+y}
21066 then :
21067   printf %s "(cached) " >&6
21068 else $as_nop
21069   ac_check_lib_save_LIBS=$LIBS
21070 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h.  */
21073
21074 /* Override any GCC internal prototype to avoid an error.
21075    Use char because int might match the return type of a GCC
21076    builtin and then its argument prototype would still apply.  */
21077 char krb5int_getspecific ();
21078 int
21079 main (void)
21080 {
21081 return krb5int_getspecific ();
21082   ;
21083   return 0;
21084 }
21085 _ACEOF
21086 if ac_fn_c_try_link "$LINENO"
21087 then :
21088   ac_cv_lib_krb5support_krb5int_getspecific=yes
21089 else $as_nop
21090   ac_cv_lib_krb5support_krb5int_getspecific=no
21091 fi
21092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21093     conftest$ac_exeext conftest.$ac_ext
21094 LIBS=$ac_check_lib_save_LIBS
21095 fi
21096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
21097 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
21098 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes
21099 then :
21100   rra_krb5_extra="-lkrb5support $rra_krb5_extra"
21101 else $as_nop
21102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
21103 printf %s "checking for pthread_setspecific in -lpthreads... " >&6; }
21104 if test ${ac_cv_lib_pthreads_pthread_setspecific+y}
21105 then :
21106   printf %s "(cached) " >&6
21107 else $as_nop
21108   ac_check_lib_save_LIBS=$LIBS
21109 LIBS="-lpthreads  $LIBS"
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h.  */
21112
21113 /* Override any GCC internal prototype to avoid an error.
21114    Use char because int might match the return type of a GCC
21115    builtin and then its argument prototype would still apply.  */
21116 char pthread_setspecific ();
21117 int
21118 main (void)
21119 {
21120 return pthread_setspecific ();
21121   ;
21122   return 0;
21123 }
21124 _ACEOF
21125 if ac_fn_c_try_link "$LINENO"
21126 then :
21127   ac_cv_lib_pthreads_pthread_setspecific=yes
21128 else $as_nop
21129   ac_cv_lib_pthreads_pthread_setspecific=no
21130 fi
21131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21132     conftest$ac_exeext conftest.$ac_ext
21133 LIBS=$ac_check_lib_save_LIBS
21134 fi
21135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
21136 printf "%s\n" "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
21137 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes
21138 then :
21139   rra_krb5_pthread="-lpthreads"
21140 else $as_nop
21141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
21142 printf %s "checking for pthread_setspecific in -lpthread... " >&6; }
21143 if test ${ac_cv_lib_pthread_pthread_setspecific+y}
21144 then :
21145   printf %s "(cached) " >&6
21146 else $as_nop
21147   ac_check_lib_save_LIBS=$LIBS
21148 LIBS="-lpthread  $LIBS"
21149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h.  */
21151
21152 /* Override any GCC internal prototype to avoid an error.
21153    Use char because int might match the return type of a GCC
21154    builtin and then its argument prototype would still apply.  */
21155 char pthread_setspecific ();
21156 int
21157 main (void)
21158 {
21159 return pthread_setspecific ();
21160   ;
21161   return 0;
21162 }
21163 _ACEOF
21164 if ac_fn_c_try_link "$LINENO"
21165 then :
21166   ac_cv_lib_pthread_pthread_setspecific=yes
21167 else $as_nop
21168   ac_cv_lib_pthread_pthread_setspecific=no
21169 fi
21170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21171     conftest$ac_exeext conftest.$ac_ext
21172 LIBS=$ac_check_lib_save_LIBS
21173 fi
21174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
21175 printf "%s\n" "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
21176 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes
21177 then :
21178   rra_krb5_pthread="-lpthread"
21179 fi
21180
21181 fi
21182
21183          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
21184 printf %s "checking for krb5int_setspecific in -lkrb5support... " >&6; }
21185 if test ${ac_cv_lib_krb5support_krb5int_setspecific+y}
21186 then :
21187   printf %s "(cached) " >&6
21188 else $as_nop
21189   ac_check_lib_save_LIBS=$LIBS
21190 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
21191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h.  */
21193
21194 /* Override any GCC internal prototype to avoid an error.
21195    Use char because int might match the return type of a GCC
21196    builtin and then its argument prototype would still apply.  */
21197 char krb5int_setspecific ();
21198 int
21199 main (void)
21200 {
21201 return krb5int_setspecific ();
21202   ;
21203   return 0;
21204 }
21205 _ACEOF
21206 if ac_fn_c_try_link "$LINENO"
21207 then :
21208   ac_cv_lib_krb5support_krb5int_setspecific=yes
21209 else $as_nop
21210   ac_cv_lib_krb5support_krb5int_setspecific=no
21211 fi
21212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21213     conftest$ac_exeext conftest.$ac_ext
21214 LIBS=$ac_check_lib_save_LIBS
21215 fi
21216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
21217 printf "%s\n" "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
21218 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes
21219 then :
21220   rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
21221 fi
21222
21223 fi
21224
21225      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
21226 printf %s "checking for error_message in -lcom_err... " >&6; }
21227 if test ${ac_cv_lib_com_err_error_message+y}
21228 then :
21229   printf %s "(cached) " >&6
21230 else $as_nop
21231   ac_check_lib_save_LIBS=$LIBS
21232 LIBS="-lcom_err $rra_krb5_extra $LIBS"
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h.  */
21235
21236 /* Override any GCC internal prototype to avoid an error.
21237    Use char because int might match the return type of a GCC
21238    builtin and then its argument prototype would still apply.  */
21239 char error_message ();
21240 int
21241 main (void)
21242 {
21243 return error_message ();
21244   ;
21245   return 0;
21246 }
21247 _ACEOF
21248 if ac_fn_c_try_link "$LINENO"
21249 then :
21250   ac_cv_lib_com_err_error_message=yes
21251 else $as_nop
21252   ac_cv_lib_com_err_error_message=no
21253 fi
21254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21255     conftest$ac_exeext conftest.$ac_ext
21256 LIBS=$ac_check_lib_save_LIBS
21257 fi
21258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
21259 printf "%s\n" "$ac_cv_lib_com_err_error_message" >&6; }
21260 if test "x$ac_cv_lib_com_err_error_message" = xyes
21261 then :
21262   rra_krb5_extra="-lcom_err $rra_krb5_extra"
21263 fi
21264
21265      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
21266 printf %s "checking for krb5_svc_get_msg in -lksvc... " >&6; }
21267 if test ${ac_cv_lib_ksvc_krb5_svc_get_msg+y}
21268 then :
21269   printf %s "(cached) " >&6
21270 else $as_nop
21271   ac_check_lib_save_LIBS=$LIBS
21272 LIBS="-lksvc $rra_krb5_extra $LIBS"
21273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21274 /* end confdefs.h.  */
21275
21276 /* Override any GCC internal prototype to avoid an error.
21277    Use char because int might match the return type of a GCC
21278    builtin and then its argument prototype would still apply.  */
21279 char krb5_svc_get_msg ();
21280 int
21281 main (void)
21282 {
21283 return krb5_svc_get_msg ();
21284   ;
21285   return 0;
21286 }
21287 _ACEOF
21288 if ac_fn_c_try_link "$LINENO"
21289 then :
21290   ac_cv_lib_ksvc_krb5_svc_get_msg=yes
21291 else $as_nop
21292   ac_cv_lib_ksvc_krb5_svc_get_msg=no
21293 fi
21294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21295     conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS
21297 fi
21298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
21299 printf "%s\n" "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
21300 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes
21301 then :
21302   rra_krb5_extra="-lksvc $rra_krb5_extra"
21303 fi
21304
21305      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
21306 printf %s "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
21307 if test ${ac_cv_lib_k5crypto_krb5int_hash_md5+y}
21308 then :
21309   printf %s "(cached) " >&6
21310 else $as_nop
21311   ac_check_lib_save_LIBS=$LIBS
21312 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h.  */
21315
21316 /* Override any GCC internal prototype to avoid an error.
21317    Use char because int might match the return type of a GCC
21318    builtin and then its argument prototype would still apply.  */
21319 char krb5int_hash_md5 ();
21320 int
21321 main (void)
21322 {
21323 return krb5int_hash_md5 ();
21324   ;
21325   return 0;
21326 }
21327 _ACEOF
21328 if ac_fn_c_try_link "$LINENO"
21329 then :
21330   ac_cv_lib_k5crypto_krb5int_hash_md5=yes
21331 else $as_nop
21332   ac_cv_lib_k5crypto_krb5int_hash_md5=no
21333 fi
21334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21335     conftest$ac_exeext conftest.$ac_ext
21336 LIBS=$ac_check_lib_save_LIBS
21337 fi
21338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
21339 printf "%s\n" "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
21340 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes
21341 then :
21342   rra_krb5_extra="-lk5crypto $rra_krb5_extra"
21343 fi
21344
21345      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
21346 printf %s "checking for profile_get_values in -lk5profile... " >&6; }
21347 if test ${ac_cv_lib_k5profile_profile_get_values+y}
21348 then :
21349   printf %s "(cached) " >&6
21350 else $as_nop
21351   ac_check_lib_save_LIBS=$LIBS
21352 LIBS="-lk5profile $rra_krb5_extra $LIBS"
21353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h.  */
21355
21356 /* Override any GCC internal prototype to avoid an error.
21357    Use char because int might match the return type of a GCC
21358    builtin and then its argument prototype would still apply.  */
21359 char profile_get_values ();
21360 int
21361 main (void)
21362 {
21363 return profile_get_values ();
21364   ;
21365   return 0;
21366 }
21367 _ACEOF
21368 if ac_fn_c_try_link "$LINENO"
21369 then :
21370   ac_cv_lib_k5profile_profile_get_values=yes
21371 else $as_nop
21372   ac_cv_lib_k5profile_profile_get_values=no
21373 fi
21374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21375     conftest$ac_exeext conftest.$ac_ext
21376 LIBS=$ac_check_lib_save_LIBS
21377 fi
21378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
21379 printf "%s\n" "$ac_cv_lib_k5profile_profile_get_values" >&6; }
21380 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes
21381 then :
21382   rra_krb5_extra="-lk5profile $rra_krb5_extra"
21383 fi
21384
21385      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
21386 printf %s "checking for krb5_cc_default in -lkrb5... " >&6; }
21387 if test ${ac_cv_lib_krb5_krb5_cc_default+y}
21388 then :
21389   printf %s "(cached) " >&6
21390 else $as_nop
21391   ac_check_lib_save_LIBS=$LIBS
21392 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
21393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h.  */
21395
21396 /* Override any GCC internal prototype to avoid an error.
21397    Use char because int might match the return type of a GCC
21398    builtin and then its argument prototype would still apply.  */
21399 char krb5_cc_default ();
21400 int
21401 main (void)
21402 {
21403 return krb5_cc_default ();
21404   ;
21405   return 0;
21406 }
21407 _ACEOF
21408 if ac_fn_c_try_link "$LINENO"
21409 then :
21410   ac_cv_lib_krb5_krb5_cc_default=yes
21411 else $as_nop
21412   ac_cv_lib_krb5_krb5_cc_default=no
21413 fi
21414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21415     conftest$ac_exeext conftest.$ac_ext
21416 LIBS=$ac_check_lib_save_LIBS
21417 fi
21418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
21419 printf "%s\n" "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
21420 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes
21421 then :
21422   KRB5_LIBS="-lkrb5 $rra_krb5_extra"
21423 else $as_nop
21424   if test x"true" = xtrue
21425 then :
21426   as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
21427 fi
21428 fi
21429
21430 fi
21431
21432  LIBS="$KRB5_LIBS $LIBS"
21433
21434   for ac_func in krb5_get_error_message
21435 do :
21436   ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
21437 if test "x$ac_cv_func_krb5_get_error_message" = xyes
21438 then :
21439   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_MESSAGE 1" >>confdefs.h
21440  ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
21441 if test "x$ac_cv_func_krb5_free_error_message" = xyes
21442 then :
21443   printf "%s\n" "#define HAVE_KRB5_FREE_ERROR_MESSAGE 1" >>confdefs.h
21444
21445 fi
21446
21447 else $as_nop
21448
21449   for ac_func in krb5_get_error_string
21450 do :
21451   ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
21452 if test "x$ac_cv_func_krb5_get_error_string" = xyes
21453 then :
21454   printf "%s\n" "#define HAVE_KRB5_GET_ERROR_STRING 1" >>confdefs.h
21455
21456 else $as_nop
21457
21458   for ac_func in krb5_get_err_txt
21459 do :
21460   ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
21461 if test "x$ac_cv_func_krb5_get_err_txt" = xyes
21462 then :
21463   printf "%s\n" "#define HAVE_KRB5_GET_ERR_TXT 1" >>confdefs.h
21464
21465 else $as_nop
21466
21467   for ac_func in krb5_svc_get_msg
21468 do :
21469   ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
21470 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes
21471 then :
21472   printf "%s\n" "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
21473  ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
21474 #if HAVE_KRB5_H
21475 # include <krb5.h>
21476 #elif HAVE_KERBEROSV5_KRB5_H
21477 # include <kerberosv5/krb5.h>
21478 #else
21479 # include <krb5/krb5.h>
21480 #endif
21481
21482 "
21483 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes
21484 then :
21485   printf "%s\n" "#define HAVE_IBM_SVC_KRB5_SVC_H 1" >>confdefs.h
21486
21487 fi
21488
21489 else $as_nop
21490   if test x"$rra_krb5_incroot" = x
21491 then :
21492   ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
21493 if test "x$ac_cv_header_et_com_err_h" = xyes
21494 then :
21495   printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
21496
21497 fi
21498 ac_fn_c_check_header_compile "$LINENO" "kerberosv5/com_err.h" "ac_cv_header_kerberosv5_com_err_h" "$ac_includes_default"
21499 if test "x$ac_cv_header_kerberosv5_com_err_h" = xyes
21500 then :
21501   printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
21502
21503 fi
21504
21505 else $as_nop
21506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
21507 printf %s "checking for et/com_err.h... " >&6; }
21508  if test -f "${rra_krb5_incroot}/et/com_err.h"
21509 then :
21510
21511 printf "%s\n" "#define HAVE_ET_COM_ERR_H 1" >>confdefs.h
21512
21513      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21514 printf "%s\n" "yes" >&6; }
21515
21516 else $as_nop
21517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21518 printf "%s\n" "no" >&6; }
21519 fi
21520          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
21521 printf %s "checking for kerberosv5/com_err.h... " >&6; }
21522  if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"
21523 then :
21524
21525 printf "%s\n" "#define HAVE_KERBEROSV5_COM_ERR_H 1" >>confdefs.h
21526
21527      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21528 printf "%s\n" "yes" >&6; }
21529
21530 else $as_nop
21531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21532 printf "%s\n" "no" >&6; }
21533 fi
21534 fi
21535 fi
21536
21537 done
21538 fi
21539
21540 done
21541 fi
21542
21543 done
21544 fi
21545
21546 done
21547  rra_krb5_found_header=
21548  if test x"$rra_krb5_incroot" = x
21549 then :
21550          for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
21551 do :
21552   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
21553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21554 if eval test \"x\$"$as_ac_Header"\" = x"yes"
21555 then :
21556   cat >>confdefs.h <<_ACEOF
21557 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
21558 _ACEOF
21559  rra_krb5_found_header=true
21560 fi
21561
21562 done
21563 else $as_nop
21564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
21565 printf %s "checking for krb5.h... " >&6; }
21566  if test -f "${rra_krb5_incroot}/krb5.h"
21567 then :
21568
21569 printf "%s\n" "#define HAVE_KRB5_H 1" >>confdefs.h
21570
21571      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21572 printf "%s\n" "yes" >&6; }
21573      rra_krb5_found_header=true
21574 else $as_nop
21575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21576 printf "%s\n" "no" >&6; }
21577 fi
21578      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
21579 printf %s "checking for kerberosv5/krb5.h... " >&6; }
21580  if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"
21581 then :
21582
21583 printf "%s\n" "#define HAVE_KERBEROSV5_KRB5_H 1" >>confdefs.h
21584
21585      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21586 printf "%s\n" "yes" >&6; }
21587      rra_krb5_found_header=true
21588 else $as_nop
21589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21590 printf "%s\n" "no" >&6; }
21591 fi
21592      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
21593 printf %s "checking for krb5/krb5.h... " >&6; }
21594  if test -f "${rra_krb5_incroot}/krb5/krb5.h"
21595 then :
21596
21597 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
21598
21599      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21600 printf "%s\n" "yes" >&6; }
21601      rra_krb5_found_header=true
21602 else $as_nop
21603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21604 printf "%s\n" "no" >&6; }
21605 fi
21606 fi
21607  if test x"$rra_krb5_found_header" = xtrue
21608 then :
21609
21610 else $as_nop
21611   KRB5_CPPFLAGS=
21612      KRB5_LIBS=
21613      if test x"true" = xtrue
21614 then :
21615   as_fn_error $? "cannot find usable Kerberos header" "$LINENO" 5
21616 fi
21617 fi
21618  CPPFLAGS="$rra_krb5_save_CPPFLAGS"
21619  LDFLAGS="$rra_krb5_save_LDFLAGS"
21620  LIBS="$rra_krb5_save_LIBS"
21621 fi
21622 fi
21623  rra_krb5_uses_com_err=false
21624  case $KRB5_LIBS in #(
21625   *-lcom_err*) :
21626     rra_krb5_uses_com_err=true ;; #(
21627   *) :
21628      ;;
21629 esac
21630   if test x"$rra_krb5_uses_com_err" = xtrue; then
21631   KRB5_USES_COM_ERR_TRUE=
21632   KRB5_USES_COM_ERR_FALSE='#'
21633 else
21634   KRB5_USES_COM_ERR_TRUE='#'
21635   KRB5_USES_COM_ERR_FALSE=
21636 fi
21637
21638  KRB5_CPPFLAGS_WARNINGS=`printf "%s\n" "$KRB5_CPPFLAGS" | sed 's/-I/-isystem /g'`
21639
21640 printf "%s\n" "#define HAVE_KRB5 1" >>confdefs.h
21641
21642 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
21643  rra_krb5_save_LDFLAGS="$LDFLAGS"
21644  rra_krb5_save_LIBS="$LIBS"
21645  CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
21646  LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
21647  LIBS="$KRB5_LIBS $LIBS"
21648 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
21649 #if HAVE_KRB5_H
21650 # include <krb5.h>
21651 #elif HAVE_KERBEROSV5_KRB5_H
21652 # include <kerberosv5/krb5.h>
21653 #else
21654 # include <krb5/krb5.h>
21655 #endif
21656
21657 "
21658 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes
21659 then :
21660   printf "%s\n" "#define HAVE_KRB5_PWQUAL_PLUGIN_H 1" >>confdefs.h
21661
21662 fi
21663
21664 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
21665 #if HAVE_KRB5_H
21666 # include <krb5.h>
21667 #elif HAVE_KERBEROSV5_KRB5_H
21668 # include <kerberosv5/krb5.h>
21669 #else
21670 # include <krb5/krb5.h>
21671 #endif
21672
21673 "
21674 if test "x$ac_cv_type_krb5_realm" = xyes
21675 then :
21676
21677 printf "%s\n" "#define HAVE_KRB5_REALM 1" >>confdefs.h
21678
21679
21680 fi
21681
21682 ac_fn_c_check_func "$LINENO" "krb5_free_default_realm" "ac_cv_func_krb5_free_default_realm"
21683 if test "x$ac_cv_func_krb5_free_default_realm" = xyes
21684 then :
21685   printf "%s\n" "#define HAVE_KRB5_FREE_DEFAULT_REALM 1" >>confdefs.h
21686
21687 fi
21688 ac_fn_c_check_func "$LINENO" "krb5_free_string" "ac_cv_func_krb5_free_string"
21689 if test "x$ac_cv_func_krb5_free_string" = xyes
21690 then :
21691   printf "%s\n" "#define HAVE_KRB5_FREE_STRING 1" >>confdefs.h
21692
21693 fi
21694 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_alloc" "ac_cv_func_krb5_get_init_creds_opt_alloc"
21695 if test "x$ac_cv_func_krb5_get_init_creds_opt_alloc" = xyes
21696 then :
21697   printf "%s\n" "#define HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC 1" >>confdefs.h
21698
21699 fi
21700 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_set_default_flags" "ac_cv_func_krb5_get_init_creds_opt_set_default_flags"
21701 if test "x$ac_cv_func_krb5_get_init_creds_opt_set_default_flags" = xyes
21702 then :
21703   printf "%s\n" "#define HAVE_KRB5_GET_INIT_CREDS_OPT_SET_DEFAULT_FLAGS 1" >>confdefs.h
21704
21705 fi
21706 ac_fn_c_check_func "$LINENO" "krb5_principal_get_realm" "ac_cv_func_krb5_principal_get_realm"
21707 if test "x$ac_cv_func_krb5_principal_get_realm" = xyes
21708 then :
21709   printf "%s\n" "#define HAVE_KRB5_PRINCIPAL_GET_REALM 1" >>confdefs.h
21710
21711 fi
21712 ac_fn_c_check_func "$LINENO" "krb5_xfree" "ac_cv_func_krb5_xfree"
21713 if test "x$ac_cv_func_krb5_xfree" = xyes
21714 then :
21715   printf "%s\n" "#define HAVE_KRB5_XFREE 1" >>confdefs.h
21716
21717 fi
21718
21719
21720   for ac_func in krb5_get_init_creds_opt_free
21721 do :
21722   ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
21723 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes
21724 then :
21725   printf "%s\n" "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1" >>confdefs.h
21726  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
21727 printf %s "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
21728 if test ${rra_cv_func_krb5_get_init_creds_opt_free_args+y}
21729 then :
21730   printf %s "(cached) " >&6
21731 else $as_nop
21732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h.  */
21734
21735 #if HAVE_KRB5_H
21736 # include <krb5.h>
21737 #elif HAVE_KERBEROSV5_KRB5_H
21738 # include <kerberosv5/krb5.h>
21739 #else
21740 # include <krb5/krb5.h>
21741 #endif
21742
21743 int
21744 main(void)
21745 {
21746     krb5_get_init_creds_opt *opts;
21747     krb5_context c;
21748     krb5_get_init_creds_opt_free(c, opts);
21749 }
21750
21751 _ACEOF
21752 if ac_fn_c_try_compile "$LINENO"
21753 then :
21754   rra_cv_func_krb5_get_init_creds_opt_free_args=yes
21755 else $as_nop
21756   rra_cv_func_krb5_get_init_creds_opt_free_args=no
21757 fi
21758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21759 fi
21760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
21761 printf "%s\n" "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
21762  if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes
21763 then :
21764
21765 printf "%s\n" "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
21766
21767 fi
21768 fi
21769
21770 done
21771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
21772 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
21773 if test ${ac_cv_c_undeclared_builtin_options+y}
21774 then :
21775   printf %s "(cached) " >&6
21776 else $as_nop
21777   ac_save_CFLAGS=$CFLAGS
21778    ac_cv_c_undeclared_builtin_options='cannot detect'
21779    for ac_arg in '' -fno-builtin; do
21780      CFLAGS="$ac_save_CFLAGS $ac_arg"
21781      # This test program should *not* compile successfully.
21782      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h.  */
21784
21785 int
21786 main (void)
21787 {
21788 (void) strchr;
21789   ;
21790   return 0;
21791 }
21792 _ACEOF
21793 if ac_fn_c_try_compile "$LINENO"
21794 then :
21795
21796 else $as_nop
21797   # This test program should compile successfully.
21798         # No library function is consistently available on
21799         # freestanding implementations, so test against a dummy
21800         # declaration.  Include always-available headers on the
21801         # off chance that they somehow elicit warnings.
21802         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h.  */
21804 #include <float.h>
21805 #include <limits.h>
21806 #include <stdarg.h>
21807 #include <stddef.h>
21808 extern void ac_decl (int, char *);
21809
21810 int
21811 main (void)
21812 {
21813 (void) ac_decl (0, (char *) 0);
21814   (void) ac_decl;
21815
21816   ;
21817   return 0;
21818 }
21819 _ACEOF
21820 if ac_fn_c_try_compile "$LINENO"
21821 then :
21822   if test x"$ac_arg" = x
21823 then :
21824   ac_cv_c_undeclared_builtin_options='none needed'
21825 else $as_nop
21826   ac_cv_c_undeclared_builtin_options=$ac_arg
21827 fi
21828           break
21829 fi
21830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21831 fi
21832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21833     done
21834     CFLAGS=$ac_save_CFLAGS
21835
21836 fi
21837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
21838 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
21839   case $ac_cv_c_undeclared_builtin_options in #(
21840   'cannot detect') :
21841     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21842 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21843 as_fn_error $? "cannot make $CC report undeclared builtins
21844 See \`config.log' for more details" "$LINENO" 5; } ;; #(
21845   'none needed') :
21846     ac_c_undeclared_builtin_options='' ;; #(
21847   *) :
21848     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
21849 esac
21850
21851 ac_fn_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
21852 #if HAVE_KRB5_H
21853 # include <krb5.h>
21854 #elif HAVE_KERBEROSV5_KRB5_H
21855 # include <kerberosv5/krb5.h>
21856 #else
21857 # include <krb5/krb5.h>
21858 #endif
21859
21860 " "$ac_c_undeclared_builtin_options" "CFLAGS"
21861 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes
21862 then :
21863   ac_have_decl=1
21864 else $as_nop
21865   ac_have_decl=0
21866 fi
21867 printf "%s\n" "#define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl" >>confdefs.h
21868
21869
21870   for ac_func in krb5_appdefault_string
21871 do :
21872   ac_fn_c_check_func "$LINENO" "krb5_appdefault_string" "ac_cv_func_krb5_appdefault_string"
21873 if test "x$ac_cv_func_krb5_appdefault_string" = xyes
21874 then :
21875   printf "%s\n" "#define HAVE_KRB5_APPDEFAULT_STRING 1" >>confdefs.h
21876
21877 else $as_nop
21878   ac_fn_c_check_func "$LINENO" "krb5_get_profile" "ac_cv_func_krb5_get_profile"
21879 if test "x$ac_cv_func_krb5_get_profile" = xyes
21880 then :
21881   printf "%s\n" "#define HAVE_KRB5_GET_PROFILE 1" >>confdefs.h
21882
21883 fi
21884
21885      ac_fn_c_check_header_compile "$LINENO" "k5profile.h" "ac_cv_header_k5profile_h" "$ac_includes_default"
21886 if test "x$ac_cv_header_k5profile_h" = xyes
21887 then :
21888   printf "%s\n" "#define HAVE_K5PROFILE_H 1" >>confdefs.h
21889
21890 fi
21891 ac_fn_c_check_header_compile "$LINENO" "profile.h" "ac_cv_header_profile_h" "$ac_includes_default"
21892 if test "x$ac_cv_header_profile_h" = xyes
21893 then :
21894   printf "%s\n" "#define HAVE_PROFILE_H 1" >>confdefs.h
21895
21896 fi
21897
21898      case " $LIBOBJS " in
21899   *" krb5-profile.$ac_objext "* ) ;;
21900   *) LIBOBJS="$LIBOBJS krb5-profile.$ac_objext"
21901  ;;
21902 esac
21903
21904 fi
21905
21906 done
21907 case " $LIBOBJS " in
21908   *" krb5-extra.$ac_objext "* ) ;;
21909   *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
21910  ;;
21911 esac
21912
21913 ac_fn_c_check_header_compile "$LINENO" "kadm5/kadm5-pwcheck.h" "ac_cv_header_kadm5_kadm5_pwcheck_h" "
21914 #if HAVE_KRB5_H
21915 # include <krb5.h>
21916 #elif HAVE_KERBEROSV5_KRB5_H
21917 # include <kerberosv5/krb5.h>
21918 #else
21919 # include <krb5/krb5.h>
21920 #endif
21921
21922 "
21923 if test "x$ac_cv_header_kadm5_kadm5_pwcheck_h" = xyes
21924 then :
21925   printf "%s\n" "#define HAVE_KADM5_KADM5_PWCHECK_H 1" >>confdefs.h
21926
21927 fi
21928 ac_fn_c_check_header_compile "$LINENO" "kadm5/kadm5_err.h" "ac_cv_header_kadm5_kadm5_err_h" "
21929 #if HAVE_KRB5_H
21930 # include <krb5.h>
21931 #elif HAVE_KERBEROSV5_KRB5_H
21932 # include <kerberosv5/krb5.h>
21933 #else
21934 # include <krb5/krb5.h>
21935 #endif
21936
21937 "
21938 if test "x$ac_cv_header_kadm5_kadm5_err_h" = xyes
21939 then :
21940   printf "%s\n" "#define HAVE_KADM5_KADM5_ERR_H 1" >>confdefs.h
21941
21942 fi
21943
21944 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
21945  LDFLAGS="$rra_krb5_save_LDFLAGS"
21946  LIBS="$rra_krb5_save_LIBS"
21947
21948
21949
21950
21951
21952
21953
21954 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21955         if test -n "$ac_tool_prefix"; then
21956   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21957 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21959 printf %s "checking for $ac_word... " >&6; }
21960 if test ${ac_cv_path_PKG_CONFIG+y}
21961 then :
21962   printf %s "(cached) " >&6
21963 else $as_nop
21964   case $PKG_CONFIG in
21965   [\\/]* | ?:[\\/]*)
21966   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21967   ;;
21968   *)
21969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21970 for as_dir in $PATH
21971 do
21972   IFS=$as_save_IFS
21973   case $as_dir in #(((
21974     '') as_dir=./ ;;
21975     */) ;;
21976     *) as_dir=$as_dir/ ;;
21977   esac
21978     for ac_exec_ext in '' $ac_executable_extensions; do
21979   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21980     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21981     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21982     break 2
21983   fi
21984 done
21985   done
21986 IFS=$as_save_IFS
21987
21988   ;;
21989 esac
21990 fi
21991 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21992 if test -n "$PKG_CONFIG"; then
21993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21994 printf "%s\n" "$PKG_CONFIG" >&6; }
21995 else
21996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21997 printf "%s\n" "no" >&6; }
21998 fi
21999
22000
22001 fi
22002 if test -z "$ac_cv_path_PKG_CONFIG"; then
22003   ac_pt_PKG_CONFIG=$PKG_CONFIG
22004   # Extract the first word of "pkg-config", so it can be a program name with args.
22005 set dummy pkg-config; ac_word=$2
22006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22007 printf %s "checking for $ac_word... " >&6; }
22008 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
22009 then :
22010   printf %s "(cached) " >&6
22011 else $as_nop
22012   case $ac_pt_PKG_CONFIG in
22013   [\\/]* | ?:[\\/]*)
22014   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22015   ;;
22016   *)
22017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22018 for as_dir in $PATH
22019 do
22020   IFS=$as_save_IFS
22021   case $as_dir in #(((
22022     '') as_dir=./ ;;
22023     */) ;;
22024     *) as_dir=$as_dir/ ;;
22025   esac
22026     for ac_exec_ext in '' $ac_executable_extensions; do
22027   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22028     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22029     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22030     break 2
22031   fi
22032 done
22033   done
22034 IFS=$as_save_IFS
22035
22036   ;;
22037 esac
22038 fi
22039 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22040 if test -n "$ac_pt_PKG_CONFIG"; then
22041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22042 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
22043 else
22044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22045 printf "%s\n" "no" >&6; }
22046 fi
22047
22048   if test "x$ac_pt_PKG_CONFIG" = x; then
22049     PKG_CONFIG=""
22050   else
22051     case $cross_compiling:$ac_tool_warned in
22052 yes:)
22053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22055 ac_tool_warned=yes ;;
22056 esac
22057     PKG_CONFIG=$ac_pt_PKG_CONFIG
22058   fi
22059 else
22060   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22061 fi
22062
22063 fi
22064 if test -n "$PKG_CONFIG"; then
22065         _pkg_min_version=0.9.0
22066         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22067 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22068         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22069                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22070 printf "%s\n" "yes" >&6; }
22071         else
22072                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22073 printf "%s\n" "no" >&6; }
22074                 PKG_CONFIG=""
22075         fi
22076 fi
22077 rra_SQLITE3_root=
22078  rra_SQLITE3_libdir=
22079  rra_SQLITE3_includedir=
22080  rra_use_SQLITE3=
22081  SQLITE3_CPPFLAGS=
22082  SQLITE3_LDFLAGS=
22083  SQLITE3_LIBS=
22084
22085
22086
22087
22088 # Check whether --with-sqlite3 was given.
22089 if test ${with_sqlite3+y}
22090 then :
22091   withval=$with_sqlite3; if test x"$withval" = xno
22092 then :
22093   rra_use_SQLITE3=false
22094 else $as_nop
22095   if test x"$withval" != xyes
22096 then :
22097   rra_SQLITE3_root="$withval"
22098 fi
22099          rra_use_SQLITE3=true
22100 fi
22101 fi
22102
22103
22104 # Check whether --with-sqlite3-include was given.
22105 if test ${with_sqlite3_include+y}
22106 then :
22107   withval=$with_sqlite3_include; if test x"$withval" != xyes && test x"$withval" != xno
22108 then :
22109   rra_SQLITE3_includedir="$withval"
22110 fi
22111 fi
22112
22113
22114 # Check whether --with-sqlite3-lib was given.
22115 if test ${with_sqlite3_lib+y}
22116 then :
22117   withval=$with_sqlite3_lib; if test x"$withval" != xyes && test x"$withval" != xno
22118 then :
22119   rra_SQLITE3_libdir="$withval"
22120 fi
22121 fi
22122
22123  if test x"$rra_use_SQLITE3" != xfalse
22124 then :
22125   if test x"$rra_use_SQLITE3" = xtrue
22126 then :
22127   if test x"$rra_SQLITE3_libdir" != x
22128 then :
22129   SQLITE3_LDFLAGS="-L$rra_SQLITE3_libdir"
22130 else $as_nop
22131   if test x"$rra_SQLITE3_root" != x
22132 then :
22133
22134  if test -d "${rra_SQLITE3_root}/$rra_lib_arch_name"
22135 then :
22136   if test x"" = x
22137 then :
22138   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/${rra_lib_arch_name}"
22139 else $as_nop
22140   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/${rra_lib_arch_name}/"
22141 fi
22142 else $as_nop
22143   if test x"" = x
22144 then :
22145   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/lib"
22146 else $as_nop
22147   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/lib/"
22148 fi
22149 fi
22150  SQLITE3_LDFLAGS=`printf "%s\n" "$SQLITE3_LDFLAGS" | sed -e 's/^ *//'`
22151 fi
22152 fi
22153  if test x"$rra_SQLITE3_includedir" != x
22154 then :
22155   SQLITE3_CPPFLAGS="-I$rra_SQLITE3_includedir"
22156 else $as_nop
22157   if test x"$rra_SQLITE3_root" != x
22158 then :
22159   if test x"$rra_SQLITE3_root" != x/usr
22160 then :
22161   SQLITE3_CPPFLAGS="-I${rra_SQLITE3_root}/include"
22162 fi
22163 fi
22164 fi
22165  if test x"$SQLITE3_CPPFLAGS" = x && test x"$SQLITE3_LDFLAGS" = x
22166 then :
22167   if test -n "$PKG_CONFIG" && \
22168     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22169   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22170   ac_status=$?
22171   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22172   test $ac_status = 0; }; then
22173
22174 pkg_failed=no
22175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
22176 printf %s "checking for sqlite3... " >&6; }
22177
22178 if test -n "$SQLITE3_CFLAGS"; then
22179     pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
22180  elif test -n "$PKG_CONFIG"; then
22181     if test -n "$PKG_CONFIG" && \
22182     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22183   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22184   ac_status=$?
22185   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22186   test $ac_status = 0; }; then
22187   pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
22188                       test "x$?" != "x0" && pkg_failed=yes
22189 else
22190   pkg_failed=yes
22191 fi
22192  else
22193     pkg_failed=untried
22194 fi
22195 if test -n "$SQLITE3_LIBS"; then
22196     pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
22197  elif test -n "$PKG_CONFIG"; then
22198     if test -n "$PKG_CONFIG" && \
22199     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22200   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22201   ac_status=$?
22202   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22203   test $ac_status = 0; }; then
22204   pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
22205                       test "x$?" != "x0" && pkg_failed=yes
22206 else
22207   pkg_failed=yes
22208 fi
22209  else
22210     pkg_failed=untried
22211 fi
22212
22213
22214
22215 if test $pkg_failed = yes; then
22216         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217 printf "%s\n" "no" >&6; }
22218
22219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22220         _pkg_short_errors_supported=yes
22221 else
22222         _pkg_short_errors_supported=no
22223 fi
22224         if test $_pkg_short_errors_supported = yes; then
22225                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
22226         else
22227                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
22228         fi
22229         # Put the nasty error message in config.log where it belongs
22230         echo "$SQLITE3_PKG_ERRORS" >&5
22231
22232         as_fn_error $? "Package requirements (sqlite3) were not met:
22233
22234 $SQLITE3_PKG_ERRORS
22235
22236 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22237 installed software in a non-standard prefix.
22238
22239 Alternatively, you may set the environment variables SQLITE3_CFLAGS
22240 and SQLITE3_LIBS to avoid the need to call pkg-config.
22241 See the pkg-config man page for more details." "$LINENO" 5
22242 elif test $pkg_failed = untried; then
22243         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22244 printf "%s\n" "no" >&6; }
22245         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22246 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22247 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22248 is in your PATH or set the PKG_CONFIG environment variable to the full
22249 path to pkg-config.
22250
22251 Alternatively, you may set the environment variables SQLITE3_CFLAGS
22252 and SQLITE3_LIBS to avoid the need to call pkg-config.
22253 See the pkg-config man page for more details.
22254
22255 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22256 See \`config.log' for more details" "$LINENO" 5; }
22257 else
22258         SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
22259         SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
22260         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22261 printf "%s\n" "yes" >&6; }
22262
22263 fi
22264          SQLITE3_CPPFLAGS="$SQLITE3_CFLAGS"
22265 fi
22266 fi
22267  if test x"$SQLITE3_LIBS" = x
22268 then :
22269   rra_SQLITE3_save_CPPFLAGS="$CPPFLAGS"
22270  rra_SQLITE3_save_LDFLAGS="$LDFLAGS"
22271  rra_SQLITE3_save_LIBS="$LIBS"
22272  CPPFLAGS="$SQLITE3_CPPFLAGS $CPPFLAGS"
22273  LDFLAGS="$SQLITE3_LDFLAGS $LDFLAGS"
22274  LIBS="$SQLITE3_LIBS $LIBS"
22275      LIBS=
22276      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22277 printf %s "checking for library containing sqlite3_open_v2... " >&6; }
22278 if test ${ac_cv_search_sqlite3_open_v2+y}
22279 then :
22280   printf %s "(cached) " >&6
22281 else $as_nop
22282   ac_func_search_save_LIBS=$LIBS
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h.  */
22285
22286 /* Override any GCC internal prototype to avoid an error.
22287    Use char because int might match the return type of a GCC
22288    builtin and then its argument prototype would still apply.  */
22289 char sqlite3_open_v2 ();
22290 int
22291 main (void)
22292 {
22293 return sqlite3_open_v2 ();
22294   ;
22295   return 0;
22296 }
22297 _ACEOF
22298 for ac_lib in '' sqlite3
22299 do
22300   if test -z "$ac_lib"; then
22301     ac_res="none required"
22302   else
22303     ac_res=-l$ac_lib
22304     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22305   fi
22306   if ac_fn_c_try_link "$LINENO"
22307 then :
22308   ac_cv_search_sqlite3_open_v2=$ac_res
22309 fi
22310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22311     conftest$ac_exeext
22312   if test ${ac_cv_search_sqlite3_open_v2+y}
22313 then :
22314   break
22315 fi
22316 done
22317 if test ${ac_cv_search_sqlite3_open_v2+y}
22318 then :
22319
22320 else $as_nop
22321   ac_cv_search_sqlite3_open_v2=no
22322 fi
22323 rm conftest.$ac_ext
22324 LIBS=$ac_func_search_save_LIBS
22325 fi
22326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22327 printf "%s\n" "$ac_cv_search_sqlite3_open_v2" >&6; }
22328 ac_res=$ac_cv_search_sqlite3_open_v2
22329 if test "$ac_res" != no
22330 then :
22331   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22332   SQLITE3_LIBS="$LIBS"
22333 else $as_nop
22334   if test x"true" = xtrue
22335 then :
22336   as_fn_error $? "cannot find usable libsqlite3 library" "$LINENO" 5
22337 fi
22338 fi
22339
22340      CPPFLAGS="$rra_SQLITE3_save_CPPFLAGS"
22341  LDFLAGS="$rra_SQLITE3_save_LDFLAGS"
22342  LIBS="$rra_SQLITE3_save_LIBS"
22343 fi
22344  rra_SQLITE3_save_CPPFLAGS="$CPPFLAGS"
22345  rra_SQLITE3_save_LDFLAGS="$LDFLAGS"
22346  rra_SQLITE3_save_LIBS="$LIBS"
22347  CPPFLAGS="$SQLITE3_CPPFLAGS $CPPFLAGS"
22348  LDFLAGS="$SQLITE3_LDFLAGS $LDFLAGS"
22349  LIBS="$SQLITE3_LIBS $LIBS"
22350  ac_fn_c_check_header_compile "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22351 if test "x$ac_cv_header_sqlite3_h" = xyes
22352 then :
22353   printf "%s\n" "#define HAVE_SQLITE3_H 1" >>confdefs.h
22354
22355 fi
22356
22357  CPPFLAGS="$rra_SQLITE3_save_CPPFLAGS"
22358  LDFLAGS="$rra_SQLITE3_save_LDFLAGS"
22359  LIBS="$rra_SQLITE3_save_LIBS"
22360 else $as_nop
22361   if test x"$rra_SQLITE3_libdir" != x
22362 then :
22363   SQLITE3_LDFLAGS="-L$rra_SQLITE3_libdir"
22364 else $as_nop
22365   if test x"$rra_SQLITE3_root" != x
22366 then :
22367
22368  if test -d "${rra_SQLITE3_root}/$rra_lib_arch_name"
22369 then :
22370   if test x"" = x
22371 then :
22372   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/${rra_lib_arch_name}"
22373 else $as_nop
22374   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/${rra_lib_arch_name}/"
22375 fi
22376 else $as_nop
22377   if test x"" = x
22378 then :
22379   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/lib"
22380 else $as_nop
22381   SQLITE3_LDFLAGS="$SQLITE3_LDFLAGS -L${rra_SQLITE3_root}/lib/"
22382 fi
22383 fi
22384  SQLITE3_LDFLAGS=`printf "%s\n" "$SQLITE3_LDFLAGS" | sed -e 's/^ *//'`
22385 fi
22386 fi
22387  if test x"$rra_SQLITE3_includedir" != x
22388 then :
22389   SQLITE3_CPPFLAGS="-I$rra_SQLITE3_includedir"
22390 else $as_nop
22391   if test x"$rra_SQLITE3_root" != x
22392 then :
22393   if test x"$rra_SQLITE3_root" != x/usr
22394 then :
22395   SQLITE3_CPPFLAGS="-I${rra_SQLITE3_root}/include"
22396 fi
22397 fi
22398 fi
22399  if test x"$SQLITE3_CPPFLAGS" = x && test x"$SQLITE3_LDFLAGS" = x
22400 then :
22401   if test -n "$PKG_CONFIG" && \
22402     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22403   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22404   ac_status=$?
22405   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22406   test $ac_status = 0; }; then
22407
22408 pkg_failed=no
22409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
22410 printf %s "checking for sqlite3... " >&6; }
22411
22412 if test -n "$SQLITE3_CFLAGS"; then
22413     pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
22414  elif test -n "$PKG_CONFIG"; then
22415     if test -n "$PKG_CONFIG" && \
22416     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22417   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22418   ac_status=$?
22419   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22420   test $ac_status = 0; }; then
22421   pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
22422                       test "x$?" != "x0" && pkg_failed=yes
22423 else
22424   pkg_failed=yes
22425 fi
22426  else
22427     pkg_failed=untried
22428 fi
22429 if test -n "$SQLITE3_LIBS"; then
22430     pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
22431  elif test -n "$PKG_CONFIG"; then
22432     if test -n "$PKG_CONFIG" && \
22433     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
22434   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
22435   ac_status=$?
22436   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22437   test $ac_status = 0; }; then
22438   pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
22439                       test "x$?" != "x0" && pkg_failed=yes
22440 else
22441   pkg_failed=yes
22442 fi
22443  else
22444     pkg_failed=untried
22445 fi
22446
22447
22448
22449 if test $pkg_failed = yes; then
22450         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22451 printf "%s\n" "no" >&6; }
22452
22453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22454         _pkg_short_errors_supported=yes
22455 else
22456         _pkg_short_errors_supported=no
22457 fi
22458         if test $_pkg_short_errors_supported = yes; then
22459                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
22460         else
22461                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
22462         fi
22463         # Put the nasty error message in config.log where it belongs
22464         echo "$SQLITE3_PKG_ERRORS" >&5
22465
22466         as_fn_error $? "Package requirements (sqlite3) were not met:
22467
22468 $SQLITE3_PKG_ERRORS
22469
22470 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22471 installed software in a non-standard prefix.
22472
22473 Alternatively, you may set the environment variables SQLITE3_CFLAGS
22474 and SQLITE3_LIBS to avoid the need to call pkg-config.
22475 See the pkg-config man page for more details." "$LINENO" 5
22476 elif test $pkg_failed = untried; then
22477         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22478 printf "%s\n" "no" >&6; }
22479         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22480 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22481 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22482 is in your PATH or set the PKG_CONFIG environment variable to the full
22483 path to pkg-config.
22484
22485 Alternatively, you may set the environment variables SQLITE3_CFLAGS
22486 and SQLITE3_LIBS to avoid the need to call pkg-config.
22487 See the pkg-config man page for more details.
22488
22489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22490 See \`config.log' for more details" "$LINENO" 5; }
22491 else
22492         SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
22493         SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
22494         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22495 printf "%s\n" "yes" >&6; }
22496
22497 fi
22498          SQLITE3_CPPFLAGS="$SQLITE3_CFLAGS"
22499 fi
22500 fi
22501  if test x"$SQLITE3_LIBS" = x
22502 then :
22503   rra_SQLITE3_save_CPPFLAGS="$CPPFLAGS"
22504  rra_SQLITE3_save_LDFLAGS="$LDFLAGS"
22505  rra_SQLITE3_save_LIBS="$LIBS"
22506  CPPFLAGS="$SQLITE3_CPPFLAGS $CPPFLAGS"
22507  LDFLAGS="$SQLITE3_LDFLAGS $LDFLAGS"
22508  LIBS="$SQLITE3_LIBS $LIBS"
22509      LIBS=
22510      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22511 printf %s "checking for library containing sqlite3_open_v2... " >&6; }
22512 if test ${ac_cv_search_sqlite3_open_v2+y}
22513 then :
22514   printf %s "(cached) " >&6
22515 else $as_nop
22516   ac_func_search_save_LIBS=$LIBS
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h.  */
22519
22520 /* Override any GCC internal prototype to avoid an error.
22521    Use char because int might match the return type of a GCC
22522    builtin and then its argument prototype would still apply.  */
22523 char sqlite3_open_v2 ();
22524 int
22525 main (void)
22526 {
22527 return sqlite3_open_v2 ();
22528   ;
22529   return 0;
22530 }
22531 _ACEOF
22532 for ac_lib in '' sqlite3
22533 do
22534   if test -z "$ac_lib"; then
22535     ac_res="none required"
22536   else
22537     ac_res=-l$ac_lib
22538     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22539   fi
22540   if ac_fn_c_try_link "$LINENO"
22541 then :
22542   ac_cv_search_sqlite3_open_v2=$ac_res
22543 fi
22544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22545     conftest$ac_exeext
22546   if test ${ac_cv_search_sqlite3_open_v2+y}
22547 then :
22548   break
22549 fi
22550 done
22551 if test ${ac_cv_search_sqlite3_open_v2+y}
22552 then :
22553
22554 else $as_nop
22555   ac_cv_search_sqlite3_open_v2=no
22556 fi
22557 rm conftest.$ac_ext
22558 LIBS=$ac_func_search_save_LIBS
22559 fi
22560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22561 printf "%s\n" "$ac_cv_search_sqlite3_open_v2" >&6; }
22562 ac_res=$ac_cv_search_sqlite3_open_v2
22563 if test "$ac_res" != no
22564 then :
22565   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22566   SQLITE3_LIBS="$LIBS"
22567 else $as_nop
22568   if test x"false" = xtrue
22569 then :
22570   as_fn_error $? "cannot find usable libsqlite3 library" "$LINENO" 5
22571 fi
22572 fi
22573
22574      CPPFLAGS="$rra_SQLITE3_save_CPPFLAGS"
22575  LDFLAGS="$rra_SQLITE3_save_LDFLAGS"
22576  LIBS="$rra_SQLITE3_save_LIBS"
22577 fi
22578  rra_SQLITE3_save_CPPFLAGS="$CPPFLAGS"
22579  rra_SQLITE3_save_LDFLAGS="$LDFLAGS"
22580  rra_SQLITE3_save_LIBS="$LIBS"
22581  CPPFLAGS="$SQLITE3_CPPFLAGS $CPPFLAGS"
22582  LDFLAGS="$SQLITE3_LDFLAGS $LDFLAGS"
22583  LIBS="$SQLITE3_LIBS $LIBS"
22584  ac_fn_c_check_header_compile "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22585 if test "x$ac_cv_header_sqlite3_h" = xyes
22586 then :
22587   printf "%s\n" "#define HAVE_SQLITE3_H 1" >>confdefs.h
22588
22589 fi
22590
22591  CPPFLAGS="$rra_SQLITE3_save_CPPFLAGS"
22592  LDFLAGS="$rra_SQLITE3_save_LDFLAGS"
22593  LIBS="$rra_SQLITE3_save_LIBS"
22594 fi
22595 fi
22596  if test x"$SQLITE3_LIBS" = x
22597 then :
22598   SQLITE3_CPPFLAGS=
22599  SQLITE3_LDFLAGS=
22600  SQLITE3_LIBS=
22601 else $as_nop
22602   rra_use_SQLITE3=true
22603
22604 printf "%s\n" "#define HAVE_SQLITE3 1" >>confdefs.h
22605
22606 fi
22607
22608 save_LIBS="$LIBS"
22609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
22610 printf %s "checking for library containing dlopen... " >&6; }
22611 if test ${ac_cv_search_dlopen+y}
22612 then :
22613   printf %s "(cached) " >&6
22614 else $as_nop
22615   ac_func_search_save_LIBS=$LIBS
22616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h.  */
22618
22619 /* Override any GCC internal prototype to avoid an error.
22620    Use char because int might match the return type of a GCC
22621    builtin and then its argument prototype would still apply.  */
22622 char dlopen ();
22623 int
22624 main (void)
22625 {
22626 return dlopen ();
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 for ac_lib in '' dl
22632 do
22633   if test -z "$ac_lib"; then
22634     ac_res="none required"
22635   else
22636     ac_res=-l$ac_lib
22637     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22638   fi
22639   if ac_fn_c_try_link "$LINENO"
22640 then :
22641   ac_cv_search_dlopen=$ac_res
22642 fi
22643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22644     conftest$ac_exeext
22645   if test ${ac_cv_search_dlopen+y}
22646 then :
22647   break
22648 fi
22649 done
22650 if test ${ac_cv_search_dlopen+y}
22651 then :
22652
22653 else $as_nop
22654   ac_cv_search_dlopen=no
22655 fi
22656 rm conftest.$ac_ext
22657 LIBS=$ac_func_search_save_LIBS
22658 fi
22659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
22660 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
22661 ac_res=$ac_cv_search_dlopen
22662 if test "$ac_res" != no
22663 then :
22664   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22665   DL_LIBS="$LIBS"
22666 fi
22667
22668 LIBS="$save_LIBS"
22669
22670
22671 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
22672 if test "x$ac_cv_type__Bool" = xyes
22673 then :
22674
22675 printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
22676
22677
22678 fi
22679
22680    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
22681 printf %s "checking for stdbool.h that conforms to C99... " >&6; }
22682 if test ${ac_cv_header_stdbool_h+y}
22683 then :
22684   printf %s "(cached) " >&6
22685 else $as_nop
22686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22687 /* end confdefs.h.  */
22688 #include <stdbool.h>
22689
22690              #ifndef __bool_true_false_are_defined
22691                #error "__bool_true_false_are_defined is not defined"
22692              #endif
22693              char a[__bool_true_false_are_defined == 1 ? 1 : -1];
22694
22695              /* Regardless of whether this is C++ or "_Bool" is a
22696                 valid type name, "true" and "false" should be usable
22697                 in #if expressions and integer constant expressions,
22698                 and "bool" should be a valid type name.  */
22699
22700              #if !true
22701                #error "'true' is not true"
22702              #endif
22703              #if true != 1
22704                #error "'true' is not equal to 1"
22705              #endif
22706              char b[true == 1 ? 1 : -1];
22707              char c[true];
22708
22709              #if false
22710                #error "'false' is not false"
22711              #endif
22712              #if false != 0
22713                #error "'false' is not equal to 0"
22714              #endif
22715              char d[false == 0 ? 1 : -1];
22716
22717              enum { e = false, f = true, g = false * true, h = true * 256 };
22718
22719              char i[(bool) 0.5 == true ? 1 : -1];
22720              char j[(bool) 0.0 == false ? 1 : -1];
22721              char k[sizeof (bool) > 0 ? 1 : -1];
22722
22723              struct sb { bool s: 1; bool t; } s;
22724              char l[sizeof s.t > 0 ? 1 : -1];
22725
22726              /* The following fails for
22727                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
22728              bool m[h];
22729              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
22730              char o[-1 - (bool) 0 < 0 ? 1 : -1];
22731              /* Catch a bug in an HP-UX C compiler.  See
22732          https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
22733          https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
22734               */
22735              bool p = true;
22736              bool *pp = &p;
22737
22738              /* C 1999 specifies that bool, true, and false are to be
22739                 macros, but C++ 2011 and later overrule this.  */
22740              #if __cplusplus < 201103
22741               #ifndef bool
22742                #error "bool is not defined"
22743               #endif
22744               #ifndef false
22745                #error "false is not defined"
22746               #endif
22747               #ifndef true
22748                #error "true is not defined"
22749               #endif
22750              #endif
22751
22752              /* If _Bool is available, repeat with it all the tests
22753                 above that used bool.  */
22754              #ifdef HAVE__BOOL
22755                struct sB { _Bool s: 1; _Bool t; } t;
22756
22757                char q[(_Bool) 0.5 == true ? 1 : -1];
22758                char r[(_Bool) 0.0 == false ? 1 : -1];
22759                char u[sizeof (_Bool) > 0 ? 1 : -1];
22760                char v[sizeof t.t > 0 ? 1 : -1];
22761
22762                _Bool w[h];
22763                char x[sizeof m == h * sizeof m[0] ? 1 : -1];
22764                char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
22765                _Bool z = true;
22766                _Bool *pz = &p;
22767              #endif
22768
22769 int
22770 main (void)
22771 {
22772
22773              bool ps = &s;
22774              *pp |= p;
22775              *pp |= ! p;
22776
22777              #ifdef HAVE__BOOL
22778                _Bool pt = &t;
22779                *pz |= z;
22780                *pz |= ! z;
22781              #endif
22782
22783              /* Refer to every declared value, so they cannot be
22784                 discarded as unused.  */
22785              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
22786                      + !l + !m + !n + !o + !p + !pp + !ps
22787              #ifdef HAVE__BOOL
22788                      + !q + !r + !u + !v + !w + !x + !y + !z + !pt
22789              #endif
22790                     );
22791
22792   ;
22793   return 0;
22794 }
22795 _ACEOF
22796 if ac_fn_c_try_compile "$LINENO"
22797 then :
22798   ac_cv_header_stdbool_h=yes
22799 else $as_nop
22800   ac_cv_header_stdbool_h=no
22801 fi
22802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22803 fi
22804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
22805 printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
22806
22807 if test $ac_cv_header_stdbool_h = yes; then
22808
22809 printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
22810
22811 fi
22812
22813 ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
22814 if test "x$ac_cv_header_strings_h" = xyes
22815 then :
22816   printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
22817
22818 fi
22819 ac_fn_c_check_header_compile "$LINENO" "sys/bittypes.h" "ac_cv_header_sys_bittypes_h" "$ac_includes_default"
22820 if test "x$ac_cv_header_sys_bittypes_h" = xyes
22821 then :
22822   printf "%s\n" "#define HAVE_SYS_BITTYPES_H 1" >>confdefs.h
22823
22824 fi
22825 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
22826 if test "x$ac_cv_header_sys_select_h" = xyes
22827 then :
22828   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
22829
22830 fi
22831 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
22832 if test "x$ac_cv_header_sys_time_h" = xyes
22833 then :
22834   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
22835
22836 fi
22837 ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
22838 if test "x$ac_cv_header_syslog_h" = xyes
22839 then :
22840   printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h
22841
22842 fi
22843
22844 ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
22845 if test "x$ac_cv_have_decl_reallocarray" = xyes
22846 then :
22847   ac_have_decl=1
22848 else $as_nop
22849   ac_have_decl=0
22850 fi
22851 printf "%s\n" "#define HAVE_DECL_REALLOCARRAY $ac_have_decl" >>confdefs.h
22852
22853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
22854 printf %s "checking for C99 variadic macros... " >&6; }
22855 if test ${rra_cv_c_c99_vamacros+y}
22856 then :
22857   printf %s "(cached) " >&6
22858 else $as_nop
22859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h.  */
22861
22862 #include <stdio.h>
22863 #define error(...) fprintf(stderr, __VA_ARGS__)
22864
22865 int
22866 main(void) {
22867     error("foo");
22868     error("foo %d", 0);
22869     return 0;
22870 }
22871
22872 _ACEOF
22873 if ac_fn_c_try_compile "$LINENO"
22874 then :
22875   rra_cv_c_c99_vamacros=yes
22876 else $as_nop
22877   rra_cv_c_c99_vamacros=no
22878 fi
22879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22880 fi
22881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
22882 printf "%s\n" "$rra_cv_c_c99_vamacros" >&6; }
22883  if test x"$rra_cv_c_c99_vamacros" = xyes
22884 then :
22885
22886 printf "%s\n" "#define HAVE_C99_VAMACROS 1" >>confdefs.h
22887
22888 fi
22889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
22890 printf %s "checking for GNU-style variadic macros... " >&6; }
22891 if test ${rra_cv_c_gnu_vamacros+y}
22892 then :
22893   printf %s "(cached) " >&6
22894 else $as_nop
22895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22896 /* end confdefs.h.  */
22897
22898 #include <stdio.h>
22899 #define error(args...) fprintf(stderr, args)
22900
22901 int
22902 main(void) {
22903     error("foo");
22904     error("foo %d", 0);
22905     return 0;
22906 }
22907
22908 _ACEOF
22909 if ac_fn_c_try_compile "$LINENO"
22910 then :
22911   rra_cv_c_gnu_vamacros=yes
22912 else $as_nop
22913   rra_cv_c_gnu_vamacros=no
22914 fi
22915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22916 fi
22917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
22918 printf "%s\n" "$rra_cv_c_gnu_vamacros" >&6; }
22919  if test x"$rra_cv_c_gnu_vamacros" = xyes
22920 then :
22921
22922 printf "%s\n" "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
22923
22924 fi
22925
22926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
22927 printf %s "checking for unsigned long long int... " >&6; }
22928 if test ${ac_cv_type_unsigned_long_long_int+y}
22929 then :
22930   printf %s "(cached) " >&6
22931 else $as_nop
22932   ac_cv_type_unsigned_long_long_int=yes
22933      case $ac_prog_cc_stdc in
22934        no | c89) ;;
22935        *)
22936          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h.  */
22938
22939   /* For now, do not test the preprocessor; as of 2007 there are too many
22940          implementations with broken preprocessors.  Perhaps this can
22941          be revisited in 2012.  In the meantime, code should not expect
22942          #if to work with literals wider than 32 bits.  */
22943       /* Test literals.  */
22944       long long int ll = 9223372036854775807ll;
22945       long long int nll = -9223372036854775807LL;
22946       unsigned long long int ull = 18446744073709551615ULL;
22947       /* Test constant expressions.   */
22948       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22949                      ? 1 : -1)];
22950       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
22951                      ? 1 : -1)];
22952       int i = 63;
22953 int
22954 main (void)
22955 {
22956 /* Test availability of runtime routines for shift and division.  */
22957       long long int llmax = 9223372036854775807ll;
22958       unsigned long long int ullmax = 18446744073709551615ull;
22959       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
22960               | (llmax / ll) | (llmax % ll)
22961               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
22962               | (ullmax / ull) | (ullmax % ull));
22963   ;
22964   return 0;
22965 }
22966
22967 _ACEOF
22968 if ac_fn_c_try_link "$LINENO"
22969 then :
22970
22971 else $as_nop
22972   ac_cv_type_unsigned_long_long_int=no
22973 fi
22974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22975     conftest$ac_exeext conftest.$ac_ext;;
22976      esac
22977 fi
22978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
22979 printf "%s\n" "$ac_cv_type_unsigned_long_long_int" >&6; }
22980   if test $ac_cv_type_unsigned_long_long_int = yes; then
22981
22982 printf "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
22983
22984   fi
22985
22986
22987
22988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
22989 printf %s "checking for long long int... " >&6; }
22990 if test ${ac_cv_type_long_long_int+y}
22991 then :
22992   printf %s "(cached) " >&6
22993 else $as_nop
22994   ac_cv_type_long_long_int=yes
22995       case $ac_prog_cc_stdc in
22996         no | c89) ;;
22997         *)
22998           ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
22999           if test $ac_cv_type_long_long_int = yes; then
23000                                     if test "$cross_compiling" = yes
23001 then :
23002   :
23003 else $as_nop
23004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23005 /* end confdefs.h.  */
23006 #include <limits.h>
23007                    #ifndef LLONG_MAX
23008                    # define HALF \
23009                             (1LL << (sizeof (long long int) * CHAR_BIT - 2))
23010                    # define LLONG_MAX (HALF - 1 + HALF)
23011                    #endif
23012 int
23013 main (void)
23014 {
23015 long long int n = 1;
23016                    int i;
23017                    for (i = 0; ; i++)
23018                      {
23019                        long long int m = n << i;
23020                        if (m >> i != n)
23021                          return 1;
23022                        if (LLONG_MAX / 2 < m)
23023                          break;
23024                      }
23025                    return 0;
23026   ;
23027   return 0;
23028 }
23029 _ACEOF
23030 if ac_fn_c_try_run "$LINENO"
23031 then :
23032
23033 else $as_nop
23034   ac_cv_type_long_long_int=no
23035 fi
23036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23037   conftest.$ac_objext conftest.beam conftest.$ac_ext
23038 fi
23039
23040           fi;;
23041       esac
23042 fi
23043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
23044 printf "%s\n" "$ac_cv_type_long_long_int" >&6; }
23045   if test $ac_cv_type_long_long_int = yes; then
23046
23047 printf "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
23048
23049   fi
23050
23051 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
23052 case $ac_cv_c_uint8_t in #(
23053   no|yes) ;; #(
23054   *)
23055
23056 printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
23057
23058
23059 printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
23060 ;;
23061   esac
23062
23063 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
23064 case $ac_cv_c_uint16_t in #(
23065   no|yes) ;; #(
23066   *)
23067
23068
23069 printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
23070 ;;
23071   esac
23072
23073 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
23074 case $ac_cv_c_uint32_t in #(
23075   no|yes) ;; #(
23076   *)
23077
23078 printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
23079
23080
23081 printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
23082 ;;
23083   esac
23084
23085 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
23086 "
23087 if test "x$ac_cv_type_ssize_t" = xyes
23088 then :
23089
23090 printf "%s\n" "#define HAVE_SSIZE_T 1" >>confdefs.h
23091
23092
23093 fi
23094
23095 ac_fn_c_check_func "$LINENO" "explicit_bzero" "ac_cv_func_explicit_bzero"
23096 if test "x$ac_cv_func_explicit_bzero" = xyes
23097 then :
23098   printf "%s\n" "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h
23099
23100 fi
23101 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
23102 if test "x$ac_cv_func_setrlimit" = xyes
23103 then :
23104   printf "%s\n" "#define HAVE_SETRLIMIT 1" >>confdefs.h
23105
23106 fi
23107
23108 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
23109 if test "x$ac_cv_func_asprintf" = xyes
23110 then :
23111   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
23112
23113 else $as_nop
23114   case " $LIBOBJS " in
23115   *" asprintf.$ac_objext "* ) ;;
23116   *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
23117  ;;
23118 esac
23119
23120 fi
23121 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
23122 if test "x$ac_cv_func_mkstemp" = xyes
23123 then :
23124   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
23125
23126 else $as_nop
23127   case " $LIBOBJS " in
23128   *" mkstemp.$ac_objext "* ) ;;
23129   *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
23130  ;;
23131 esac
23132
23133 fi
23134 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
23135 if test "x$ac_cv_func_reallocarray" = xyes
23136 then :
23137   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
23138
23139 else $as_nop
23140   case " $LIBOBJS " in
23141   *" reallocarray.$ac_objext "* ) ;;
23142   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
23143  ;;
23144 esac
23145
23146 fi
23147 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
23148 if test "x$ac_cv_func_strndup" = xyes
23149 then :
23150   printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
23151
23152 else $as_nop
23153   case " $LIBOBJS " in
23154   *" strndup.$ac_objext "* ) ;;
23155   *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
23156  ;;
23157 esac
23158
23159 fi
23160
23161
23162 ac_config_files="$ac_config_files Makefile"
23163
23164 ac_config_headers="$ac_config_headers config.h"
23165
23166 cat >confcache <<\_ACEOF
23167 # This file is a shell script that caches the results of configure
23168 # tests run on this system so they can be shared between configure
23169 # scripts and configure runs, see configure's option --config-cache.
23170 # It is not useful on other systems.  If it contains results you don't
23171 # want to keep, you may remove or edit it.
23172 #
23173 # config.status only pays attention to the cache file if you give it
23174 # the --recheck option to rerun configure.
23175 #
23176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23178 # following values.
23179
23180 _ACEOF
23181
23182 # The following way of writing the cache mishandles newlines in values,
23183 # but we know of no workaround that is simple, portable, and efficient.
23184 # So, we kill variables containing newlines.
23185 # Ultrix sh set writes to stderr and can't be redirected directly,
23186 # and sets the high bit in the cache file unless we assign to the vars.
23187 (
23188   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23189     eval ac_val=\$$ac_var
23190     case $ac_val in #(
23191     *${as_nl}*)
23192       case $ac_var in #(
23193       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23194 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23195       esac
23196       case $ac_var in #(
23197       _ | IFS | as_nl) ;; #(
23198       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23199       *) { eval $ac_var=; unset $ac_var;} ;;
23200       esac ;;
23201     esac
23202   done
23203
23204   (set) 2>&1 |
23205     case $as_nl`(ac_space=' '; set) 2>&1` in #(
23206     *${as_nl}ac_space=\ *)
23207       # `set' does not quote correctly, so add quotes: double-quote
23208       # substitution turns \\\\ into \\, and sed turns \\ into \.
23209       sed -n \
23210         "s/'/'\\\\''/g;
23211           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23212       ;; #(
23213     *)
23214       # `set' quotes correctly as required by POSIX, so do not add quotes.
23215       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23216       ;;
23217     esac |
23218     sort
23219 ) |
23220   sed '
23221      /^ac_cv_env_/b end
23222      t clear
23223      :clear
23224      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23225      t end
23226      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23227      :end' >>confcache
23228 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23229   if test -w "$cache_file"; then
23230     if test "x$cache_file" != "x/dev/null"; then
23231       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23232 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23233       if test ! -f "$cache_file" || test -h "$cache_file"; then
23234         cat confcache >"$cache_file"
23235       else
23236         case $cache_file in #(
23237         */* | ?:*)
23238           mv -f confcache "$cache_file"$$ &&
23239           mv -f "$cache_file"$$ "$cache_file" ;; #(
23240         *)
23241           mv -f confcache "$cache_file" ;;
23242         esac
23243       fi
23244     fi
23245   else
23246     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23247 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23248   fi
23249 fi
23250 rm -f confcache
23251
23252 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23253 # Let make expand exec_prefix.
23254 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23255
23256 DEFS=-DHAVE_CONFIG_H
23257
23258 ac_libobjs=
23259 ac_ltlibobjs=
23260 U=
23261 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23262   # 1. Remove the extension, and $U if already installed.
23263   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23264   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23265   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23266   #    will be set to the directory where LIBOBJS objects are built.
23267   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23268   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23269 done
23270 LIBOBJS=$ac_libobjs
23271
23272 LTLIBOBJS=$ac_ltlibobjs
23273
23274
23275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
23276 printf %s "checking that generated files are newer than configure... " >&6; }
23277    if test -n "$am_sleep_pid"; then
23278      # Hide warnings about reused PIDs.
23279      wait $am_sleep_pid 2>/dev/null
23280    fi
23281    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
23282 printf "%s\n" "done" >&6; }
23283  if test -n "$EXEEXT"; then
23284   am__EXEEXT_TRUE=
23285   am__EXEEXT_FALSE='#'
23286 else
23287   am__EXEEXT_TRUE='#'
23288   am__EXEEXT_FALSE=
23289 fi
23290
23291 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23292   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
23293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23294 fi
23295 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23296   as_fn_error $? "conditional \"AMDEP\" was never defined.
23297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23298 fi
23299 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23300   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23302 fi
23303 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
23304   as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
23305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23306 fi
23307 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
23308   as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
23309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23310 fi
23311
23312 : "${CONFIG_STATUS=./config.status}"
23313 ac_write_fail=0
23314 ac_clean_files_save=$ac_clean_files
23315 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23317 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23318 as_write_fail=0
23319 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23320 #! $SHELL
23321 # Generated by $as_me.
23322 # Run this file to recreate the current configuration.
23323 # Compiler output produced by configure, useful for debugging
23324 # configure, is in config.log if it exists.
23325
23326 debug=false
23327 ac_cs_recheck=false
23328 ac_cs_silent=false
23329
23330 SHELL=\${CONFIG_SHELL-$SHELL}
23331 export SHELL
23332 _ASEOF
23333 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23334 ## -------------------- ##
23335 ## M4sh Initialization. ##
23336 ## -------------------- ##
23337
23338 # Be more Bourne compatible
23339 DUALCASE=1; export DUALCASE # for MKS sh
23340 as_nop=:
23341 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23342 then :
23343   emulate sh
23344   NULLCMD=:
23345   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23346   # is contrary to our usage.  Disable this feature.
23347   alias -g '${1+"$@"}'='"$@"'
23348   setopt NO_GLOB_SUBST
23349 else $as_nop
23350   case `(set -o) 2>/dev/null` in #(
23351   *posix*) :
23352     set -o posix ;; #(
23353   *) :
23354      ;;
23355 esac
23356 fi
23357
23358
23359
23360 # Reset variables that may have inherited troublesome values from
23361 # the environment.
23362
23363 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23364 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23365 # side effect of setting IFS to empty, thus disabling word splitting.)
23366 # Quoting is to prevent editors from complaining about space-tab.
23367 as_nl='
23368 '
23369 export as_nl
23370 IFS=" ""        $as_nl"
23371
23372 PS1='$ '
23373 PS2='> '
23374 PS4='+ '
23375
23376 # Ensure predictable behavior from utilities with locale-dependent output.
23377 LC_ALL=C
23378 export LC_ALL
23379 LANGUAGE=C
23380 export LANGUAGE
23381
23382 # We cannot yet rely on "unset" to work, but we need these variables
23383 # to be unset--not just set to an empty or harmless value--now, to
23384 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
23385 # also avoids known problems related to "unset" and subshell syntax
23386 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23387 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23388 do eval test \${$as_var+y} \
23389   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23390 done
23391
23392 # Ensure that fds 0, 1, and 2 are open.
23393 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23394 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23395 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
23396
23397 # The user is always right.
23398 if ${PATH_SEPARATOR+false} :; then
23399   PATH_SEPARATOR=:
23400   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23401     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23402       PATH_SEPARATOR=';'
23403   }
23404 fi
23405
23406
23407 # Find who we are.  Look in the path if we contain no directory separator.
23408 as_myself=
23409 case $0 in #((
23410   *[\\/]* ) as_myself=$0 ;;
23411   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23412 for as_dir in $PATH
23413 do
23414   IFS=$as_save_IFS
23415   case $as_dir in #(((
23416     '') as_dir=./ ;;
23417     */) ;;
23418     *) as_dir=$as_dir/ ;;
23419   esac
23420     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23421   done
23422 IFS=$as_save_IFS
23423
23424      ;;
23425 esac
23426 # We did not find ourselves, most probably we were run as `sh COMMAND'
23427 # in which case we are not to be found in the path.
23428 if test "x$as_myself" = x; then
23429   as_myself=$0
23430 fi
23431 if test ! -f "$as_myself"; then
23432   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23433   exit 1
23434 fi
23435
23436
23437
23438 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23439 # ----------------------------------------
23440 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23441 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23442 # script with STATUS, using 1 if that was 0.
23443 as_fn_error ()
23444 {
23445   as_status=$1; test $as_status -eq 0 && as_status=1
23446   if test "$4"; then
23447     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23449   fi
23450   printf "%s\n" "$as_me: error: $2" >&2
23451   as_fn_exit $as_status
23452 } # as_fn_error
23453
23454
23455
23456 # as_fn_set_status STATUS
23457 # -----------------------
23458 # Set $? to STATUS, without forking.
23459 as_fn_set_status ()
23460 {
23461   return $1
23462 } # as_fn_set_status
23463
23464 # as_fn_exit STATUS
23465 # -----------------
23466 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23467 as_fn_exit ()
23468 {
23469   set +e
23470   as_fn_set_status $1
23471   exit $1
23472 } # as_fn_exit
23473
23474 # as_fn_unset VAR
23475 # ---------------
23476 # Portably unset VAR.
23477 as_fn_unset ()
23478 {
23479   { eval $1=; unset $1;}
23480 }
23481 as_unset=as_fn_unset
23482
23483 # as_fn_append VAR VALUE
23484 # ----------------------
23485 # Append the text in VALUE to the end of the definition contained in VAR. Take
23486 # advantage of any shell optimizations that allow amortized linear growth over
23487 # repeated appends, instead of the typical quadratic growth present in naive
23488 # implementations.
23489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23490 then :
23491   eval 'as_fn_append ()
23492   {
23493     eval $1+=\$2
23494   }'
23495 else $as_nop
23496   as_fn_append ()
23497   {
23498     eval $1=\$$1\$2
23499   }
23500 fi # as_fn_append
23501
23502 # as_fn_arith ARG...
23503 # ------------------
23504 # Perform arithmetic evaluation on the ARGs, and store the result in the
23505 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23506 # must be portable across $(()) and expr.
23507 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23508 then :
23509   eval 'as_fn_arith ()
23510   {
23511     as_val=$(( $* ))
23512   }'
23513 else $as_nop
23514   as_fn_arith ()
23515   {
23516     as_val=`expr "$@" || test $? -eq 1`
23517   }
23518 fi # as_fn_arith
23519
23520
23521 if expr a : '\(a\)' >/dev/null 2>&1 &&
23522    test "X`expr 00001 : '.*\(...\)'`" = X001; then
23523   as_expr=expr
23524 else
23525   as_expr=false
23526 fi
23527
23528 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23529   as_basename=basename
23530 else
23531   as_basename=false
23532 fi
23533
23534 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23535   as_dirname=dirname
23536 else
23537   as_dirname=false
23538 fi
23539
23540 as_me=`$as_basename -- "$0" ||
23541 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23542          X"$0" : 'X\(//\)$' \| \
23543          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23544 printf "%s\n" X/"$0" |
23545     sed '/^.*\/\([^/][^/]*\)\/*$/{
23546             s//\1/
23547             q
23548           }
23549           /^X\/\(\/\/\)$/{
23550             s//\1/
23551             q
23552           }
23553           /^X\/\(\/\).*/{
23554             s//\1/
23555             q
23556           }
23557           s/.*/./; q'`
23558
23559 # Avoid depending upon Character Ranges.
23560 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23561 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23562 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23563 as_cr_digits='0123456789'
23564 as_cr_alnum=$as_cr_Letters$as_cr_digits
23565
23566
23567 # Determine whether it's possible to make 'echo' print without a newline.
23568 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23569 # for compatibility with existing Makefiles.
23570 ECHO_C= ECHO_N= ECHO_T=
23571 case `echo -n x` in #(((((
23572 -n*)
23573   case `echo 'xy\c'` in
23574   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
23575   xy)  ECHO_C='\c';;
23576   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23577        ECHO_T=' ';;
23578   esac;;
23579 *)
23580   ECHO_N='-n';;
23581 esac
23582
23583 # For backward compatibility with old third-party macros, we provide
23584 # the shell variables $as_echo and $as_echo_n.  New code should use
23585 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23586 as_echo='printf %s\n'
23587 as_echo_n='printf %s'
23588
23589 rm -f conf$$ conf$$.exe conf$$.file
23590 if test -d conf$$.dir; then
23591   rm -f conf$$.dir/conf$$.file
23592 else
23593   rm -f conf$$.dir
23594   mkdir conf$$.dir 2>/dev/null
23595 fi
23596 if (echo >conf$$.file) 2>/dev/null; then
23597   if ln -s conf$$.file conf$$ 2>/dev/null; then
23598     as_ln_s='ln -s'
23599     # ... but there are two gotchas:
23600     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23601     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23602     # In both cases, we have to default to `cp -pR'.
23603     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23604       as_ln_s='cp -pR'
23605   elif ln conf$$.file conf$$ 2>/dev/null; then
23606     as_ln_s=ln
23607   else
23608     as_ln_s='cp -pR'
23609   fi
23610 else
23611   as_ln_s='cp -pR'
23612 fi
23613 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23614 rmdir conf$$.dir 2>/dev/null
23615
23616
23617 # as_fn_mkdir_p
23618 # -------------
23619 # Create "$as_dir" as a directory, including parents if necessary.
23620 as_fn_mkdir_p ()
23621 {
23622
23623   case $as_dir in #(
23624   -*) as_dir=./$as_dir;;
23625   esac
23626   test -d "$as_dir" || eval $as_mkdir_p || {
23627     as_dirs=
23628     while :; do
23629       case $as_dir in #(
23630       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23631       *) as_qdir=$as_dir;;
23632       esac
23633       as_dirs="'$as_qdir' $as_dirs"
23634       as_dir=`$as_dirname -- "$as_dir" ||
23635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23636          X"$as_dir" : 'X\(//\)[^/]' \| \
23637          X"$as_dir" : 'X\(//\)$' \| \
23638          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23639 printf "%s\n" X"$as_dir" |
23640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23641             s//\1/
23642             q
23643           }
23644           /^X\(\/\/\)[^/].*/{
23645             s//\1/
23646             q
23647           }
23648           /^X\(\/\/\)$/{
23649             s//\1/
23650             q
23651           }
23652           /^X\(\/\).*/{
23653             s//\1/
23654             q
23655           }
23656           s/.*/./; q'`
23657       test -d "$as_dir" && break
23658     done
23659     test -z "$as_dirs" || eval "mkdir $as_dirs"
23660   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23661
23662
23663 } # as_fn_mkdir_p
23664 if mkdir -p . 2>/dev/null; then
23665   as_mkdir_p='mkdir -p "$as_dir"'
23666 else
23667   test -d ./-p && rmdir ./-p
23668   as_mkdir_p=false
23669 fi
23670
23671
23672 # as_fn_executable_p FILE
23673 # -----------------------
23674 # Test if FILE is an executable regular file.
23675 as_fn_executable_p ()
23676 {
23677   test -f "$1" && test -x "$1"
23678 } # as_fn_executable_p
23679 as_test_x='test -x'
23680 as_executable_p=as_fn_executable_p
23681
23682 # Sed expression to map a string onto a valid CPP name.
23683 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23684
23685 # Sed expression to map a string onto a valid variable name.
23686 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23687
23688
23689 exec 6>&1
23690 ## ----------------------------------- ##
23691 ## Main body of $CONFIG_STATUS script. ##
23692 ## ----------------------------------- ##
23693 _ASEOF
23694 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23695
23696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23697 # Save the log message, to keep $0 and so on meaningful, and to
23698 # report actual input values of CONFIG_FILES etc. instead of their
23699 # values after options handling.
23700 ac_log="
23701 This file was extended by krb5-strength $as_me 3.3, which was
23702 generated by GNU Autoconf 2.71.  Invocation command line was
23703
23704   CONFIG_FILES    = $CONFIG_FILES
23705   CONFIG_HEADERS  = $CONFIG_HEADERS
23706   CONFIG_LINKS    = $CONFIG_LINKS
23707   CONFIG_COMMANDS = $CONFIG_COMMANDS
23708   $ $0 $@
23709
23710 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23711 "
23712
23713 _ACEOF
23714
23715 case $ac_config_files in *"
23716 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23717 esac
23718
23719 case $ac_config_headers in *"
23720 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23721 esac
23722
23723
23724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23725 # Files that config.status was made for.
23726 config_files="$ac_config_files"
23727 config_headers="$ac_config_headers"
23728 config_commands="$ac_config_commands"
23729
23730 _ACEOF
23731
23732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23733 ac_cs_usage="\
23734 \`$as_me' instantiates files and other configuration actions
23735 from templates according to the current configuration.  Unless the files
23736 and actions are specified as TAGs, all are instantiated by default.
23737
23738 Usage: $0 [OPTION]... [TAG]...
23739
23740   -h, --help       print this help, then exit
23741   -V, --version    print version number and configuration settings, then exit
23742       --config     print configuration, then exit
23743   -q, --quiet, --silent
23744                    do not print progress messages
23745   -d, --debug      don't remove temporary files
23746       --recheck    update $as_me by reconfiguring in the same conditions
23747       --file=FILE[:TEMPLATE]
23748                    instantiate the configuration file FILE
23749       --header=FILE[:TEMPLATE]
23750                    instantiate the configuration header FILE
23751
23752 Configuration files:
23753 $config_files
23754
23755 Configuration headers:
23756 $config_headers
23757
23758 Configuration commands:
23759 $config_commands
23760
23761 Report bugs to <eagle@eyrie.org>."
23762
23763 _ACEOF
23764 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23765 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23767 ac_cs_config='$ac_cs_config_escaped'
23768 ac_cs_version="\\
23769 krb5-strength config.status 3.3
23770 configured by $0, generated by GNU Autoconf 2.71,
23771   with options \\"\$ac_cs_config\\"
23772
23773 Copyright (C) 2021 Free Software Foundation, Inc.
23774 This config.status script is free software; the Free Software Foundation
23775 gives unlimited permission to copy, distribute and modify it."
23776
23777 ac_pwd='$ac_pwd'
23778 srcdir='$srcdir'
23779 INSTALL='$INSTALL'
23780 MKDIR_P='$MKDIR_P'
23781 AWK='$AWK'
23782 test -n "\$AWK" || AWK=awk
23783 _ACEOF
23784
23785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23786 # The default lists apply if the user does not specify any file.
23787 ac_need_defaults=:
23788 while test $# != 0
23789 do
23790   case $1 in
23791   --*=?*)
23792     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23793     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23794     ac_shift=:
23795     ;;
23796   --*=)
23797     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23798     ac_optarg=
23799     ac_shift=:
23800     ;;
23801   *)
23802     ac_option=$1
23803     ac_optarg=$2
23804     ac_shift=shift
23805     ;;
23806   esac
23807
23808   case $ac_option in
23809   # Handling of the options.
23810   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23811     ac_cs_recheck=: ;;
23812   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23813     printf "%s\n" "$ac_cs_version"; exit ;;
23814   --config | --confi | --conf | --con | --co | --c )
23815     printf "%s\n" "$ac_cs_config"; exit ;;
23816   --debug | --debu | --deb | --de | --d | -d )
23817     debug=: ;;
23818   --file | --fil | --fi | --f )
23819     $ac_shift
23820     case $ac_optarg in
23821     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23822     '') as_fn_error $? "missing file argument" ;;
23823     esac
23824     as_fn_append CONFIG_FILES " '$ac_optarg'"
23825     ac_need_defaults=false;;
23826   --header | --heade | --head | --hea )
23827     $ac_shift
23828     case $ac_optarg in
23829     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23830     esac
23831     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23832     ac_need_defaults=false;;
23833   --he | --h)
23834     # Conflict between --help and --header
23835     as_fn_error $? "ambiguous option: \`$1'
23836 Try \`$0 --help' for more information.";;
23837   --help | --hel | -h )
23838     printf "%s\n" "$ac_cs_usage"; exit ;;
23839   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23840   | -silent | --silent | --silen | --sile | --sil | --si | --s)
23841     ac_cs_silent=: ;;
23842
23843   # This is an error.
23844   -*) as_fn_error $? "unrecognized option: \`$1'
23845 Try \`$0 --help' for more information." ;;
23846
23847   *) as_fn_append ac_config_targets " $1"
23848      ac_need_defaults=false ;;
23849
23850   esac
23851   shift
23852 done
23853
23854 ac_configure_extra_args=
23855
23856 if $ac_cs_silent; then
23857   exec 6>/dev/null
23858   ac_configure_extra_args="$ac_configure_extra_args --silent"
23859 fi
23860
23861 _ACEOF
23862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23863 if \$ac_cs_recheck; then
23864   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23865   shift
23866   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23867   CONFIG_SHELL='$SHELL'
23868   export CONFIG_SHELL
23869   exec "\$@"
23870 fi
23871
23872 _ACEOF
23873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23874 exec 5>>config.log
23875 {
23876   echo
23877   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23878 ## Running $as_me. ##
23879 _ASBOX
23880   printf "%s\n" "$ac_log"
23881 } >&5
23882
23883 _ACEOF
23884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23885 #
23886 # INIT-COMMANDS
23887 #
23888 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
23889
23890
23891 # The HP-UX ksh and POSIX shell print the target directory to stdout
23892 # if CDPATH is set.
23893 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23894
23895 sed_quote_subst='$sed_quote_subst'
23896 double_quote_subst='$double_quote_subst'
23897 delay_variable_subst='$delay_variable_subst'
23898 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23899 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23900 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23901 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23902 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23903 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23904 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23905 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23906 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23907 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23908 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23909 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23910 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23911 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23912 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23913 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23914 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23915 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23916 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23917 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23918 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23919 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23920 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23921 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23922 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23923 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23924 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23925 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23926 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23927 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23928 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23929 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23930 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23931 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23932 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
23933 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23934 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23935 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23936 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23937 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23938 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23939 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23940 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23941 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
23942 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23943 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23944 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23945 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23946 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23947 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23948 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23949 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23950 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23951 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23952 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23953 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23954 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23955 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23956 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23957 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23958 lt_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"`'
23959 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23960 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23961 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23962 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23963 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23964 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23965 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23966 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23967 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23968 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23969 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23970 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23971 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23972 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23973 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23974 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23975 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23976 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23977 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23978 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23979 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23980 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23981 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23982 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23983 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23984 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23985 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23986 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23987 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23988 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23989 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23990 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23991 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23992 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23993 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23994 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23995 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23996 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23997 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23998 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23999 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24000 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24001 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24002 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24003 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24004 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24005 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24006 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24007 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24008 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24009 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24010 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24011 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24012 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24013 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24014 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24015 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24016 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24017 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24018 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24019 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24020 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24021 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24022 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24023 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24024 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24025 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24026 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24027 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
24028 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
24029 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24030 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24031 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24032 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24033 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24034 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24035
24036 LTCC='$LTCC'
24037 LTCFLAGS='$LTCFLAGS'
24038 compiler='$compiler_DEFAULT'
24039
24040 # A function that is used when there is no print builtin or printf.
24041 func_fallback_echo ()
24042 {
24043   eval 'cat <<_LTECHO_EOF
24044 \$1
24045 _LTECHO_EOF'
24046 }
24047
24048 # Quote evaled strings.
24049 for var in SHELL \
24050 ECHO \
24051 PATH_SEPARATOR \
24052 SED \
24053 GREP \
24054 EGREP \
24055 FGREP \
24056 LD \
24057 NM \
24058 LN_S \
24059 lt_SP2NL \
24060 lt_NL2SP \
24061 reload_flag \
24062 FILECMD \
24063 OBJDUMP \
24064 deplibs_check_method \
24065 file_magic_cmd \
24066 file_magic_glob \
24067 want_nocaseglob \
24068 DLLTOOL \
24069 sharedlib_from_linklib_cmd \
24070 AR \
24071 archiver_list_spec \
24072 STRIP \
24073 RANLIB \
24074 CC \
24075 CFLAGS \
24076 compiler \
24077 lt_cv_sys_global_symbol_pipe \
24078 lt_cv_sys_global_symbol_to_cdecl \
24079 lt_cv_sys_global_symbol_to_import \
24080 lt_cv_sys_global_symbol_to_c_name_address \
24081 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24082 lt_cv_nm_interface \
24083 nm_file_list_spec \
24084 lt_cv_truncate_bin \
24085 lt_prog_compiler_no_builtin_flag \
24086 lt_prog_compiler_pic \
24087 lt_prog_compiler_wl \
24088 lt_prog_compiler_static \
24089 lt_cv_prog_compiler_c_o \
24090 need_locks \
24091 MANIFEST_TOOL \
24092 DSYMUTIL \
24093 NMEDIT \
24094 LIPO \
24095 OTOOL \
24096 OTOOL64 \
24097 shrext_cmds \
24098 export_dynamic_flag_spec \
24099 whole_archive_flag_spec \
24100 compiler_needs_object \
24101 with_gnu_ld \
24102 allow_undefined_flag \
24103 no_undefined_flag \
24104 hardcode_libdir_flag_spec \
24105 hardcode_libdir_separator \
24106 exclude_expsyms \
24107 include_expsyms \
24108 file_list_spec \
24109 variables_saved_for_relink \
24110 libname_spec \
24111 library_names_spec \
24112 soname_spec \
24113 install_override_mode \
24114 finish_eval \
24115 old_striplib \
24116 striplib; do
24117     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24118     *[\\\\\\\`\\"\\\$]*)
24119       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24120       ;;
24121     *)
24122       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24123       ;;
24124     esac
24125 done
24126
24127 # Double-quote double-evaled strings.
24128 for var in reload_cmds \
24129 old_postinstall_cmds \
24130 old_postuninstall_cmds \
24131 old_archive_cmds \
24132 extract_expsyms_cmds \
24133 old_archive_from_new_cmds \
24134 old_archive_from_expsyms_cmds \
24135 archive_cmds \
24136 archive_expsym_cmds \
24137 module_cmds \
24138 module_expsym_cmds \
24139 export_symbols_cmds \
24140 prelink_cmds \
24141 postlink_cmds \
24142 postinstall_cmds \
24143 postuninstall_cmds \
24144 finish_cmds \
24145 sys_lib_search_path_spec \
24146 configure_time_dlsearch_path \
24147 configure_time_lt_sys_library_path; do
24148     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24149     *[\\\\\\\`\\"\\\$]*)
24150       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24151       ;;
24152     *)
24153       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24154       ;;
24155     esac
24156 done
24157
24158 ac_aux_dir='$ac_aux_dir'
24159
24160 # See if we are running on zsh, and set the options that allow our
24161 # commands through without removal of \ escapes INIT.
24162 if test -n "\${ZSH_VERSION+set}"; then
24163    setopt NO_GLOB_SUBST
24164 fi
24165
24166
24167     PACKAGE='$PACKAGE'
24168     VERSION='$VERSION'
24169     RM='$RM'
24170     ofile='$ofile'
24171
24172
24173
24174
24175 _ACEOF
24176
24177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24178
24179 # Handling of arguments.
24180 for ac_config_target in $ac_config_targets
24181 do
24182   case $ac_config_target in
24183     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24184     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24185     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24186     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24187
24188   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24189   esac
24190 done
24191
24192
24193 # If the user did not use the arguments to specify the items to instantiate,
24194 # then the envvar interface is used.  Set only those that are not.
24195 # We use the long form for the default assignment because of an extremely
24196 # bizarre bug on SunOS 4.1.3.
24197 if $ac_need_defaults; then
24198   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
24199   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24200   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24201 fi
24202
24203 # Have a temporary directory for convenience.  Make it in the build tree
24204 # simply because there is no reason against having it here, and in addition,
24205 # creating and moving files from /tmp can sometimes cause problems.
24206 # Hook for its removal unless debugging.
24207 # Note that there is a small window in which the directory will not be cleaned:
24208 # after its creation but before its name has been assigned to `$tmp'.
24209 $debug ||
24210 {
24211   tmp= ac_tmp=
24212   trap 'exit_status=$?
24213   : "${ac_tmp:=$tmp}"
24214   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24215 ' 0
24216   trap 'as_fn_exit 1' 1 2 13 15
24217 }
24218 # Create a (secure) tmp directory for tmp files.
24219
24220 {
24221   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24222   test -d "$tmp"
24223 }  ||
24224 {
24225   tmp=./conf$$-$RANDOM
24226   (umask 077 && mkdir "$tmp")
24227 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24228 ac_tmp=$tmp
24229
24230 # Set up the scripts for CONFIG_FILES section.
24231 # No need to generate them if there are no CONFIG_FILES.
24232 # This happens for instance with `./config.status config.h'.
24233 if test -n "$CONFIG_FILES"; then
24234
24235
24236 ac_cr=`echo X | tr X '\015'`
24237 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24238 # But we know of no other shell where ac_cr would be empty at this
24239 # point, so we can use a bashism as a fallback.
24240 if test "x$ac_cr" = x; then
24241   eval ac_cr=\$\'\\r\'
24242 fi
24243 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24244 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24245   ac_cs_awk_cr='\\r'
24246 else
24247   ac_cs_awk_cr=$ac_cr
24248 fi
24249
24250 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24251 _ACEOF
24252
24253
24254 {
24255   echo "cat >conf$$subs.awk <<_ACEOF" &&
24256   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24257   echo "_ACEOF"
24258 } >conf$$subs.sh ||
24259   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24261 ac_delim='%!_!# '
24262 for ac_last_try in false false false false false :; do
24263   . ./conf$$subs.sh ||
24264     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24265
24266   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24267   if test $ac_delim_n = $ac_delim_num; then
24268     break
24269   elif $ac_last_try; then
24270     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24271   else
24272     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24273   fi
24274 done
24275 rm -f conf$$subs.sh
24276
24277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24278 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24279 _ACEOF
24280 sed -n '
24281 h
24282 s/^/S["/; s/!.*/"]=/
24283 p
24284 g
24285 s/^[^!]*!//
24286 :repl
24287 t repl
24288 s/'"$ac_delim"'$//
24289 t delim
24290 :nl
24291 h
24292 s/\(.\{148\}\)..*/\1/
24293 t more1
24294 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24295 p
24296 n
24297 b repl
24298 :more1
24299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24300 p
24301 g
24302 s/.\{148\}//
24303 t nl
24304 :delim
24305 h
24306 s/\(.\{148\}\)..*/\1/
24307 t more2
24308 s/["\\]/\\&/g; s/^/"/; s/$/"/
24309 p
24310 b
24311 :more2
24312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24313 p
24314 g
24315 s/.\{148\}//
24316 t delim
24317 ' <conf$$subs.awk | sed '
24318 /^[^""]/{
24319   N
24320   s/\n//
24321 }
24322 ' >>$CONFIG_STATUS || ac_write_fail=1
24323 rm -f conf$$subs.awk
24324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24325 _ACAWK
24326 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24327   for (key in S) S_is_set[key] = 1
24328   FS = "\a"
24329
24330 }
24331 {
24332   line = $ 0
24333   nfields = split(line, field, "@")
24334   substed = 0
24335   len = length(field[1])
24336   for (i = 2; i < nfields; i++) {
24337     key = field[i]
24338     keylen = length(key)
24339     if (S_is_set[key]) {
24340       value = S[key]
24341       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24342       len += length(value) + length(field[++i])
24343       substed = 1
24344     } else
24345       len += 1 + keylen
24346   }
24347
24348   print line
24349 }
24350
24351 _ACAWK
24352 _ACEOF
24353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24354 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24355   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24356 else
24357   cat
24358 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24359   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24360 _ACEOF
24361
24362 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24363 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24364 # trailing colons and then remove the whole line if VPATH becomes empty
24365 # (actually we leave an empty line to preserve line numbers).
24366 if test "x$srcdir" = x.; then
24367   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
24368 h
24369 s///
24370 s/^/:/
24371 s/[      ]*$/:/
24372 s/:\$(srcdir):/:/g
24373 s/:\${srcdir}:/:/g
24374 s/:@srcdir@:/:/g
24375 s/^:*//
24376 s/:*$//
24377 x
24378 s/\(=[   ]*\).*/\1/
24379 G
24380 s/\n//
24381 s/^[^=]*=[       ]*$//
24382 }'
24383 fi
24384
24385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24386 fi # test -n "$CONFIG_FILES"
24387
24388 # Set up the scripts for CONFIG_HEADERS section.
24389 # No need to generate them if there are no CONFIG_HEADERS.
24390 # This happens for instance with `./config.status Makefile'.
24391 if test -n "$CONFIG_HEADERS"; then
24392 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24393 BEGIN {
24394 _ACEOF
24395
24396 # Transform confdefs.h into an awk script `defines.awk', embedded as
24397 # here-document in config.status, that substitutes the proper values into
24398 # config.h.in to produce config.h.
24399
24400 # Create a delimiter string that does not exist in confdefs.h, to ease
24401 # handling of long lines.
24402 ac_delim='%!_!# '
24403 for ac_last_try in false false :; do
24404   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24405   if test -z "$ac_tt"; then
24406     break
24407   elif $ac_last_try; then
24408     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24409   else
24410     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24411   fi
24412 done
24413
24414 # For the awk script, D is an array of macro values keyed by name,
24415 # likewise P contains macro parameters if any.  Preserve backslash
24416 # newline sequences.
24417
24418 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24419 sed -n '
24420 s/.\{148\}/&'"$ac_delim"'/g
24421 t rset
24422 :rset
24423 s/^[     ]*#[    ]*define[       ][      ]*/ /
24424 t def
24425 d
24426 :def
24427 s/\\$//
24428 t bsnl
24429 s/["\\]/\\&/g
24430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24431 D["\1"]=" \3"/p
24432 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
24433 d
24434 :bsnl
24435 s/["\\]/\\&/g
24436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24437 D["\1"]=" \3\\\\\\n"\\/p
24438 t cont
24439 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24440 t cont
24441 d
24442 :cont
24443 n
24444 s/.\{148\}/&'"$ac_delim"'/g
24445 t clear
24446 :clear
24447 s/\\$//
24448 t bsnlc
24449 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24450 d
24451 :bsnlc
24452 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24453 b cont
24454 ' <confdefs.h | sed '
24455 s/'"$ac_delim"'/"\\\
24456 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24457
24458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24459   for (key in D) D_is_set[key] = 1
24460   FS = "\a"
24461 }
24462 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24463   line = \$ 0
24464   split(line, arg, " ")
24465   if (arg[1] == "#") {
24466     defundef = arg[2]
24467     mac1 = arg[3]
24468   } else {
24469     defundef = substr(arg[1], 2)
24470     mac1 = arg[2]
24471   }
24472   split(mac1, mac2, "(") #)
24473   macro = mac2[1]
24474   prefix = substr(line, 1, index(line, defundef) - 1)
24475   if (D_is_set[macro]) {
24476     # Preserve the white space surrounding the "#".
24477     print prefix "define", macro P[macro] D[macro]
24478     next
24479   } else {
24480     # Replace #undef with comments.  This is necessary, for example,
24481     # in the case of _POSIX_SOURCE, which is predefined and required
24482     # on some systems where configure will not decide to define it.
24483     if (defundef == "undef") {
24484       print "/*", prefix defundef, macro, "*/"
24485       next
24486     }
24487   }
24488 }
24489 { print }
24490 _ACAWK
24491 _ACEOF
24492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24493   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24494 fi # test -n "$CONFIG_HEADERS"
24495
24496
24497 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
24498 shift
24499 for ac_tag
24500 do
24501   case $ac_tag in
24502   :[FHLC]) ac_mode=$ac_tag; continue;;
24503   esac
24504   case $ac_mode$ac_tag in
24505   :[FHL]*:*);;
24506   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24507   :[FH]-) ac_tag=-:-;;
24508   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24509   esac
24510   ac_save_IFS=$IFS
24511   IFS=:
24512   set x $ac_tag
24513   IFS=$ac_save_IFS
24514   shift
24515   ac_file=$1
24516   shift
24517
24518   case $ac_mode in
24519   :L) ac_source=$1;;
24520   :[FH])
24521     ac_file_inputs=
24522     for ac_f
24523     do
24524       case $ac_f in
24525       -) ac_f="$ac_tmp/stdin";;
24526       *) # Look for the file first in the build tree, then in the source tree
24527          # (if the path is not absolute).  The absolute path cannot be DOS-style,
24528          # because $ac_f cannot contain `:'.
24529          test -f "$ac_f" ||
24530            case $ac_f in
24531            [\\/$]*) false;;
24532            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24533            esac ||
24534            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24535       esac
24536       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24537       as_fn_append ac_file_inputs " '$ac_f'"
24538     done
24539
24540     # Let's still pretend it is `configure' which instantiates (i.e., don't
24541     # use $as_me), people would be surprised to read:
24542     #    /* config.h.  Generated by config.status.  */
24543     configure_input='Generated from '`
24544           printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24545         `' by configure.'
24546     if test x"$ac_file" != x-; then
24547       configure_input="$ac_file.  $configure_input"
24548       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24549 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24550     fi
24551     # Neutralize special characters interpreted by sed in replacement strings.
24552     case $configure_input in #(
24553     *\&* | *\|* | *\\* )
24554        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24555        sed 's/[\\\\&|]/\\\\&/g'`;; #(
24556     *) ac_sed_conf_input=$configure_input;;
24557     esac
24558
24559     case $ac_tag in
24560     *:-:* | *:-) cat >"$ac_tmp/stdin" \
24561       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24562     esac
24563     ;;
24564   esac
24565
24566   ac_dir=`$as_dirname -- "$ac_file" ||
24567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24568          X"$ac_file" : 'X\(//\)[^/]' \| \
24569          X"$ac_file" : 'X\(//\)$' \| \
24570          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24571 printf "%s\n" X"$ac_file" |
24572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24573             s//\1/
24574             q
24575           }
24576           /^X\(\/\/\)[^/].*/{
24577             s//\1/
24578             q
24579           }
24580           /^X\(\/\/\)$/{
24581             s//\1/
24582             q
24583           }
24584           /^X\(\/\).*/{
24585             s//\1/
24586             q
24587           }
24588           s/.*/./; q'`
24589   as_dir="$ac_dir"; as_fn_mkdir_p
24590   ac_builddir=.
24591
24592 case "$ac_dir" in
24593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24594 *)
24595   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24596   # A ".." for each directory in $ac_dir_suffix.
24597   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24598   case $ac_top_builddir_sub in
24599   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24600   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24601   esac ;;
24602 esac
24603 ac_abs_top_builddir=$ac_pwd
24604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24605 # for backward compatibility:
24606 ac_top_builddir=$ac_top_build_prefix
24607
24608 case $srcdir in
24609   .)  # We are building in place.
24610     ac_srcdir=.
24611     ac_top_srcdir=$ac_top_builddir_sub
24612     ac_abs_top_srcdir=$ac_pwd ;;
24613   [\\/]* | ?:[\\/]* )  # Absolute name.
24614     ac_srcdir=$srcdir$ac_dir_suffix;
24615     ac_top_srcdir=$srcdir
24616     ac_abs_top_srcdir=$srcdir ;;
24617   *) # Relative name.
24618     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24619     ac_top_srcdir=$ac_top_build_prefix$srcdir
24620     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24621 esac
24622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24623
24624
24625   case $ac_mode in
24626   :F)
24627   #
24628   # CONFIG_FILE
24629   #
24630
24631   case $INSTALL in
24632   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24633   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24634   esac
24635   ac_MKDIR_P=$MKDIR_P
24636   case $MKDIR_P in
24637   [\\/$]* | ?:[\\/]* ) ;;
24638   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24639   esac
24640 _ACEOF
24641
24642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24643 # If the template does not know about datarootdir, expand it.
24644 # FIXME: This hack should be removed a few years after 2.60.
24645 ac_datarootdir_hack=; ac_datarootdir_seen=
24646 ac_sed_dataroot='
24647 /datarootdir/ {
24648   p
24649   q
24650 }
24651 /@datadir@/p
24652 /@docdir@/p
24653 /@infodir@/p
24654 /@localedir@/p
24655 /@mandir@/p'
24656 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24657 *datarootdir*) ac_datarootdir_seen=yes;;
24658 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24660 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24661 _ACEOF
24662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24663   ac_datarootdir_hack='
24664   s&@datadir@&$datadir&g
24665   s&@docdir@&$docdir&g
24666   s&@infodir@&$infodir&g
24667   s&@localedir@&$localedir&g
24668   s&@mandir@&$mandir&g
24669   s&\\\${datarootdir}&$datarootdir&g' ;;
24670 esac
24671 _ACEOF
24672
24673 # Neutralize VPATH when `$srcdir' = `.'.
24674 # Shell code in configure.ac might set extrasub.
24675 # FIXME: do we really want to maintain this feature?
24676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24677 ac_sed_extra="$ac_vpsub
24678 $extrasub
24679 _ACEOF
24680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24681 :t
24682 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24683 s|@configure_input@|$ac_sed_conf_input|;t t
24684 s&@top_builddir@&$ac_top_builddir_sub&;t t
24685 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24686 s&@srcdir@&$ac_srcdir&;t t
24687 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24688 s&@top_srcdir@&$ac_top_srcdir&;t t
24689 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24690 s&@builddir@&$ac_builddir&;t t
24691 s&@abs_builddir@&$ac_abs_builddir&;t t
24692 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24693 s&@INSTALL@&$ac_INSTALL&;t t
24694 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24695 $ac_datarootdir_hack
24696 "
24697 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24698   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24699
24700 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24701   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24702   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
24703       "$ac_tmp/out"`; test -z "$ac_out"; } &&
24704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24705 which seems to be undefined.  Please make sure it is defined" >&5
24706 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24707 which seems to be undefined.  Please make sure it is defined" >&2;}
24708
24709   rm -f "$ac_tmp/stdin"
24710   case $ac_file in
24711   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24712   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24713   esac \
24714   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24715  ;;
24716   :H)
24717   #
24718   # CONFIG_HEADER
24719   #
24720   if test x"$ac_file" != x-; then
24721     {
24722       printf "%s\n" "/* $configure_input  */" >&1 \
24723       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24724     } >"$ac_tmp/config.h" \
24725       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24726     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24727       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24728 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24729     else
24730       rm -f "$ac_file"
24731       mv "$ac_tmp/config.h" "$ac_file" \
24732         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24733     fi
24734   else
24735     printf "%s\n" "/* $configure_input  */" >&1 \
24736       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24737       || as_fn_error $? "could not create -" "$LINENO" 5
24738   fi
24739 # Compute "$ac_file"'s index in $config_headers.
24740 _am_arg="$ac_file"
24741 _am_stamp_count=1
24742 for _am_header in $config_headers :; do
24743   case $_am_header in
24744     $_am_arg | $_am_arg:* )
24745       break ;;
24746     * )
24747       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24748   esac
24749 done
24750 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24751 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24752          X"$_am_arg" : 'X\(//\)[^/]' \| \
24753          X"$_am_arg" : 'X\(//\)$' \| \
24754          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24755 printf "%s\n" X"$_am_arg" |
24756     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24757             s//\1/
24758             q
24759           }
24760           /^X\(\/\/\)[^/].*/{
24761             s//\1/
24762             q
24763           }
24764           /^X\(\/\/\)$/{
24765             s//\1/
24766             q
24767           }
24768           /^X\(\/\).*/{
24769             s//\1/
24770             q
24771           }
24772           s/.*/./; q'`/stamp-h$_am_stamp_count
24773  ;;
24774
24775   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24776 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24777  ;;
24778   esac
24779
24780
24781   case $ac_file$ac_mode in
24782     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24783   # Older Autoconf quotes --file arguments for eval, but not when files
24784   # are listed without --file.  Let's play safe and only enable the eval
24785   # if we detect the quoting.
24786   # TODO: see whether this extra hack can be removed once we start
24787   # requiring Autoconf 2.70 or later.
24788   case $CONFIG_FILES in #(
24789   *\'*) :
24790     eval set x "$CONFIG_FILES" ;; #(
24791   *) :
24792     set x $CONFIG_FILES ;; #(
24793   *) :
24794      ;;
24795 esac
24796   shift
24797   # Used to flag and report bootstrapping failures.
24798   am_rc=0
24799   for am_mf
24800   do
24801     # Strip MF so we end up with the name of the file.
24802     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
24803     # Check whether this is an Automake generated Makefile which includes
24804     # dependency-tracking related rules and includes.
24805     # Grep'ing the whole file directly is not great: AIX grep has a line
24806     # limit of 2048, but all sed's we know have understand at least 4000.
24807     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
24808       || continue
24809     am_dirpart=`$as_dirname -- "$am_mf" ||
24810 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24811          X"$am_mf" : 'X\(//\)[^/]' \| \
24812          X"$am_mf" : 'X\(//\)$' \| \
24813          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24814 printf "%s\n" X"$am_mf" |
24815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24816             s//\1/
24817             q
24818           }
24819           /^X\(\/\/\)[^/].*/{
24820             s//\1/
24821             q
24822           }
24823           /^X\(\/\/\)$/{
24824             s//\1/
24825             q
24826           }
24827           /^X\(\/\).*/{
24828             s//\1/
24829             q
24830           }
24831           s/.*/./; q'`
24832     am_filepart=`$as_basename -- "$am_mf" ||
24833 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
24834          X"$am_mf" : 'X\(//\)$' \| \
24835          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24836 printf "%s\n" X/"$am_mf" |
24837     sed '/^.*\/\([^/][^/]*\)\/*$/{
24838             s//\1/
24839             q
24840           }
24841           /^X\/\(\/\/\)$/{
24842             s//\1/
24843             q
24844           }
24845           /^X\/\(\/\).*/{
24846             s//\1/
24847             q
24848           }
24849           s/.*/./; q'`
24850     { echo "$as_me:$LINENO: cd "$am_dirpart" \
24851       && sed -e '/# am--include-marker/d' "$am_filepart" \
24852         | $MAKE -f - am--depfiles" >&5
24853    (cd "$am_dirpart" \
24854       && sed -e '/# am--include-marker/d' "$am_filepart" \
24855         | $MAKE -f - am--depfiles) >&5 2>&5
24856    ac_status=$?
24857    echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858    (exit $ac_status); } || am_rc=$?
24859   done
24860   if test $am_rc -ne 0; then
24861     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24862 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24863 as_fn_error $? "Something went wrong bootstrapping makefile fragments
24864     for automatic dependency tracking.  If GNU make was not used, consider
24865     re-running the configure script with MAKE=\"gmake\" (or whatever is
24866     necessary).  You can also try re-running configure with the
24867     '--disable-dependency-tracking' option to at least be able to build
24868     the package (albeit without support for automatic dependency tracking).
24869 See \`config.log' for more details" "$LINENO" 5; }
24870   fi
24871   { am_dirpart=; unset am_dirpart;}
24872   { am_filepart=; unset am_filepart;}
24873   { am_mf=; unset am_mf;}
24874   { am_rc=; unset am_rc;}
24875   rm -f conftest-deps.mk
24876 }
24877  ;;
24878     "libtool":C)
24879
24880     # See if we are running on zsh, and set the options that allow our
24881     # commands through without removal of \ escapes.
24882     if test -n "${ZSH_VERSION+set}"; then
24883       setopt NO_GLOB_SUBST
24884     fi
24885
24886     cfgfile=${ofile}T
24887     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24888     $RM "$cfgfile"
24889
24890     cat <<_LT_EOF >> "$cfgfile"
24891 #! $SHELL
24892 # Generated automatically by $as_me ($PACKAGE) $VERSION
24893 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24894
24895 # Provide generalized library-building support services.
24896 # Written by Gordon Matzigkeit, 1996
24897
24898 # Copyright (C) 2014 Free Software Foundation, Inc.
24899 # This is free software; see the source for copying conditions.  There is NO
24900 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24901
24902 # GNU Libtool is free software; you can redistribute it and/or modify
24903 # it under the terms of the GNU General Public License as published by
24904 # the Free Software Foundation; either version 2 of of the License, or
24905 # (at your option) any later version.
24906 #
24907 # As a special exception to the GNU General Public License, if you
24908 # distribute this file as part of a program or library that is built
24909 # using GNU Libtool, you may include this file under the  same
24910 # distribution terms that you use for the rest of that program.
24911 #
24912 # GNU Libtool is distributed in the hope that it will be useful, but
24913 # WITHOUT ANY WARRANTY; without even the implied warranty of
24914 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24915 # GNU General Public License for more details.
24916 #
24917 # You should have received a copy of the GNU General Public License
24918 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
24919
24920
24921 # The names of the tagged configurations supported by this script.
24922 available_tags=''
24923
24924 # Configured defaults for sys_lib_dlsearch_path munging.
24925 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24926
24927 # ### BEGIN LIBTOOL CONFIG
24928
24929 # Whether or not to build static libraries.
24930 build_old_libs=$enable_static
24931
24932 # Which release of libtool.m4 was used?
24933 macro_version=$macro_version
24934 macro_revision=$macro_revision
24935
24936 # Whether or not to build shared libraries.
24937 build_libtool_libs=$enable_shared
24938
24939 # What type of objects to build.
24940 pic_mode=$pic_mode
24941
24942 # Whether or not to optimize for fast installation.
24943 fast_install=$enable_fast_install
24944
24945 # Shared archive member basename,for filename based shared library versioning on AIX.
24946 shared_archive_member_spec=$shared_archive_member_spec
24947
24948 # Shell to use when invoking shell scripts.
24949 SHELL=$lt_SHELL
24950
24951 # An echo program that protects backslashes.
24952 ECHO=$lt_ECHO
24953
24954 # The PATH separator for the build system.
24955 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24956
24957 # The host system.
24958 host_alias=$host_alias
24959 host=$host
24960 host_os=$host_os
24961
24962 # The build system.
24963 build_alias=$build_alias
24964 build=$build
24965 build_os=$build_os
24966
24967 # A sed program that does not truncate output.
24968 SED=$lt_SED
24969
24970 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24971 Xsed="\$SED -e 1s/^X//"
24972
24973 # A grep program that handles long lines.
24974 GREP=$lt_GREP
24975
24976 # An ERE matcher.
24977 EGREP=$lt_EGREP
24978
24979 # A literal string matcher.
24980 FGREP=$lt_FGREP
24981
24982 # A BSD- or MS-compatible name lister.
24983 NM=$lt_NM
24984
24985 # Whether we need soft or hard links.
24986 LN_S=$lt_LN_S
24987
24988 # What is the maximum length of a command?
24989 max_cmd_len=$max_cmd_len
24990
24991 # Object file suffix (normally "o").
24992 objext=$ac_objext
24993
24994 # Executable file suffix (normally "").
24995 exeext=$exeext
24996
24997 # whether the shell understands "unset".
24998 lt_unset=$lt_unset
24999
25000 # turn spaces into newlines.
25001 SP2NL=$lt_lt_SP2NL
25002
25003 # turn newlines into spaces.
25004 NL2SP=$lt_lt_NL2SP
25005
25006 # convert \$build file names to \$host format.
25007 to_host_file_cmd=$lt_cv_to_host_file_cmd
25008
25009 # convert \$build files to toolchain format.
25010 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25011
25012 # A file(cmd) program that detects file types.
25013 FILECMD=$lt_FILECMD
25014
25015 # An object symbol dumper.
25016 OBJDUMP=$lt_OBJDUMP
25017
25018 # Method to check whether dependent libraries are shared objects.
25019 deplibs_check_method=$lt_deplibs_check_method
25020
25021 # Command to use when deplibs_check_method = "file_magic".
25022 file_magic_cmd=$lt_file_magic_cmd
25023
25024 # How to find potential files when deplibs_check_method = "file_magic".
25025 file_magic_glob=$lt_file_magic_glob
25026
25027 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25028 want_nocaseglob=$lt_want_nocaseglob
25029
25030 # DLL creation program.
25031 DLLTOOL=$lt_DLLTOOL
25032
25033 # Command to associate shared and link libraries.
25034 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25035
25036 # The archiver.
25037 AR=$lt_AR
25038
25039 # Flags to create an archive (by configure).
25040 lt_ar_flags=$lt_ar_flags
25041
25042 # Flags to create an archive.
25043 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
25044
25045 # How to feed a file listing to the archiver.
25046 archiver_list_spec=$lt_archiver_list_spec
25047
25048 # A symbol stripping program.
25049 STRIP=$lt_STRIP
25050
25051 # Commands used to install an old-style archive.
25052 RANLIB=$lt_RANLIB
25053 old_postinstall_cmds=$lt_old_postinstall_cmds
25054 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25055
25056 # Whether to use a lock for old archive extraction.
25057 lock_old_archive_extraction=$lock_old_archive_extraction
25058
25059 # A C compiler.
25060 LTCC=$lt_CC
25061
25062 # LTCC compiler flags.
25063 LTCFLAGS=$lt_CFLAGS
25064
25065 # Take the output of nm and produce a listing of raw symbols and C names.
25066 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25067
25068 # Transform the output of nm in a proper C declaration.
25069 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25070
25071 # Transform the output of nm into a list of symbols to manually relocate.
25072 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
25073
25074 # Transform the output of nm in a C name address pair.
25075 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25076
25077 # Transform the output of nm in a C name address pair when lib prefix is needed.
25078 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25079
25080 # The name lister interface.
25081 nm_interface=$lt_lt_cv_nm_interface
25082
25083 # Specify filename containing input files for \$NM.
25084 nm_file_list_spec=$lt_nm_file_list_spec
25085
25086 # The root where to search for dependent libraries,and where our libraries should be installed.
25087 lt_sysroot=$lt_sysroot
25088
25089 # Command to truncate a binary pipe.
25090 lt_truncate_bin=$lt_lt_cv_truncate_bin
25091
25092 # The name of the directory that contains temporary libtool files.
25093 objdir=$objdir
25094
25095 # Used to examine libraries when file_magic_cmd begins with "file".
25096 MAGIC_CMD=$MAGIC_CMD
25097
25098 # Must we lock files when doing compilation?
25099 need_locks=$lt_need_locks
25100
25101 # Manifest tool.
25102 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25103
25104 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25105 DSYMUTIL=$lt_DSYMUTIL
25106
25107 # Tool to change global to local symbols on Mac OS X.
25108 NMEDIT=$lt_NMEDIT
25109
25110 # Tool to manipulate fat objects and archives on Mac OS X.
25111 LIPO=$lt_LIPO
25112
25113 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25114 OTOOL=$lt_OTOOL
25115
25116 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25117 OTOOL64=$lt_OTOOL64
25118
25119 # Old archive suffix (normally "a").
25120 libext=$libext
25121
25122 # Shared library suffix (normally ".so").
25123 shrext_cmds=$lt_shrext_cmds
25124
25125 # The commands to extract the exported symbol list from a shared archive.
25126 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25127
25128 # Variables whose values should be saved in libtool wrapper scripts and
25129 # restored at link time.
25130 variables_saved_for_relink=$lt_variables_saved_for_relink
25131
25132 # Do we need the "lib" prefix for modules?
25133 need_lib_prefix=$need_lib_prefix
25134
25135 # Do we need a version for libraries?
25136 need_version=$need_version
25137
25138 # Library versioning type.
25139 version_type=$version_type
25140
25141 # Shared library runtime path variable.
25142 runpath_var=$runpath_var
25143
25144 # Shared library path variable.
25145 shlibpath_var=$shlibpath_var
25146
25147 # Is shlibpath searched before the hard-coded library search path?
25148 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25149
25150 # Format of library name prefix.
25151 libname_spec=$lt_libname_spec
25152
25153 # List of archive names.  First name is the real one, the rest are links.
25154 # The last name is the one that the linker finds with -lNAME
25155 library_names_spec=$lt_library_names_spec
25156
25157 # The coded name of the library, if different from the real name.
25158 soname_spec=$lt_soname_spec
25159
25160 # Permission mode override for installation of shared libraries.
25161 install_override_mode=$lt_install_override_mode
25162
25163 # Command to use after installation of a shared archive.
25164 postinstall_cmds=$lt_postinstall_cmds
25165
25166 # Command to use after uninstallation of a shared archive.
25167 postuninstall_cmds=$lt_postuninstall_cmds
25168
25169 # Commands used to finish a libtool library installation in a directory.
25170 finish_cmds=$lt_finish_cmds
25171
25172 # As "finish_cmds", except a single script fragment to be evaled but
25173 # not shown.
25174 finish_eval=$lt_finish_eval
25175
25176 # Whether we should hardcode library paths into libraries.
25177 hardcode_into_libs=$hardcode_into_libs
25178
25179 # Compile-time system search path for libraries.
25180 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25181
25182 # Detected run-time system search path for libraries.
25183 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
25184
25185 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
25186 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
25187
25188 # Whether dlopen is supported.
25189 dlopen_support=$enable_dlopen
25190
25191 # Whether dlopen of programs is supported.
25192 dlopen_self=$enable_dlopen_self
25193
25194 # Whether dlopen of statically linked programs is supported.
25195 dlopen_self_static=$enable_dlopen_self_static
25196
25197 # Commands to strip libraries.
25198 old_striplib=$lt_old_striplib
25199 striplib=$lt_striplib
25200
25201
25202 # The linker used to build libraries.
25203 LD=$lt_LD
25204
25205 # How to create reloadable object files.
25206 reload_flag=$lt_reload_flag
25207 reload_cmds=$lt_reload_cmds
25208
25209 # Commands used to build an old-style archive.
25210 old_archive_cmds=$lt_old_archive_cmds
25211
25212 # A language specific compiler.
25213 CC=$lt_compiler
25214
25215 # Is the compiler the GNU compiler?
25216 with_gcc=$GCC
25217
25218 # Compiler flag to turn off builtin functions.
25219 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25220
25221 # Additional compiler flags for building library objects.
25222 pic_flag=$lt_lt_prog_compiler_pic
25223
25224 # How to pass a linker flag through the compiler.
25225 wl=$lt_lt_prog_compiler_wl
25226
25227 # Compiler flag to prevent dynamic linking.
25228 link_static_flag=$lt_lt_prog_compiler_static
25229
25230 # Does compiler simultaneously support -c and -o options?
25231 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25232
25233 # Whether or not to add -lc for building shared libraries.
25234 build_libtool_need_lc=$archive_cmds_need_lc
25235
25236 # Whether or not to disallow shared libs when runtime libs are static.
25237 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25238
25239 # Compiler flag to allow reflexive dlopens.
25240 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25241
25242 # Compiler flag to generate shared objects directly from archives.
25243 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25244
25245 # Whether the compiler copes with passing no objects directly.
25246 compiler_needs_object=$lt_compiler_needs_object
25247
25248 # Create an old-style archive from a shared archive.
25249 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25250
25251 # Create a temporary old-style archive to link instead of a shared archive.
25252 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25253
25254 # Commands used to build a shared archive.
25255 archive_cmds=$lt_archive_cmds
25256 archive_expsym_cmds=$lt_archive_expsym_cmds
25257
25258 # Commands used to build a loadable module if different from building
25259 # a shared archive.
25260 module_cmds=$lt_module_cmds
25261 module_expsym_cmds=$lt_module_expsym_cmds
25262
25263 # Whether we are building with GNU ld or not.
25264 with_gnu_ld=$lt_with_gnu_ld
25265
25266 # Flag that allows shared libraries with undefined symbols to be built.
25267 allow_undefined_flag=$lt_allow_undefined_flag
25268
25269 # Flag that enforces no undefined symbols.
25270 no_undefined_flag=$lt_no_undefined_flag
25271
25272 # Flag to hardcode \$libdir into a binary during linking.
25273 # This must work even if \$libdir does not exist
25274 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25275
25276 # Whether we need a single "-rpath" flag with a separated argument.
25277 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25278
25279 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25280 # DIR into the resulting binary.
25281 hardcode_direct=$hardcode_direct
25282
25283 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25284 # DIR into the resulting binary and the resulting library dependency is
25285 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25286 # library is relocated.
25287 hardcode_direct_absolute=$hardcode_direct_absolute
25288
25289 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25290 # into the resulting binary.
25291 hardcode_minus_L=$hardcode_minus_L
25292
25293 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25294 # into the resulting binary.
25295 hardcode_shlibpath_var=$hardcode_shlibpath_var
25296
25297 # Set to "yes" if building a shared library automatically hardcodes DIR
25298 # into the library and all subsequent libraries and executables linked
25299 # against it.
25300 hardcode_automatic=$hardcode_automatic
25301
25302 # Set to yes if linker adds runtime paths of dependent libraries
25303 # to runtime path list.
25304 inherit_rpath=$inherit_rpath
25305
25306 # Whether libtool must link a program against all its dependency libraries.
25307 link_all_deplibs=$link_all_deplibs
25308
25309 # Set to "yes" if exported symbols are required.
25310 always_export_symbols=$always_export_symbols
25311
25312 # The commands to list exported symbols.
25313 export_symbols_cmds=$lt_export_symbols_cmds
25314
25315 # Symbols that should not be listed in the preloaded symbols.
25316 exclude_expsyms=$lt_exclude_expsyms
25317
25318 # Symbols that must always be exported.
25319 include_expsyms=$lt_include_expsyms
25320
25321 # Commands necessary for linking programs (against libraries) with templates.
25322 prelink_cmds=$lt_prelink_cmds
25323
25324 # Commands necessary for finishing linking programs.
25325 postlink_cmds=$lt_postlink_cmds
25326
25327 # Specify filename containing input files.
25328 file_list_spec=$lt_file_list_spec
25329
25330 # How to hardcode a shared library path into an executable.
25331 hardcode_action=$hardcode_action
25332
25333 # ### END LIBTOOL CONFIG
25334
25335 _LT_EOF
25336
25337     cat <<'_LT_EOF' >> "$cfgfile"
25338
25339 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
25340
25341 # func_munge_path_list VARIABLE PATH
25342 # -----------------------------------
25343 # VARIABLE is name of variable containing _space_ separated list of
25344 # directories to be munged by the contents of PATH, which is string
25345 # having a format:
25346 # "DIR[:DIR]:"
25347 #       string "DIR[ DIR]" will be prepended to VARIABLE
25348 # ":DIR[:DIR]"
25349 #       string "DIR[ DIR]" will be appended to VARIABLE
25350 # "DIRP[:DIRP]::[DIRA:]DIRA"
25351 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
25352 #       "DIRA[ DIRA]" will be appended to VARIABLE
25353 # "DIR[:DIR]"
25354 #       VARIABLE will be replaced by "DIR[ DIR]"
25355 func_munge_path_list ()
25356 {
25357     case x$2 in
25358     x)
25359         ;;
25360     *:)
25361         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
25362         ;;
25363     x:*)
25364         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
25365         ;;
25366     *::*)
25367         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
25368         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
25369         ;;
25370     *)
25371         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
25372         ;;
25373     esac
25374 }
25375
25376
25377 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
25378 func_cc_basename ()
25379 {
25380     for cc_temp in $*""; do
25381       case $cc_temp in
25382         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25383         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25384         \-*) ;;
25385         *) break;;
25386       esac
25387     done
25388     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
25389 }
25390
25391
25392 # ### END FUNCTIONS SHARED WITH CONFIGURE
25393
25394 _LT_EOF
25395
25396   case $host_os in
25397   aix3*)
25398     cat <<\_LT_EOF >> "$cfgfile"
25399 # AIX sometimes has problems with the GCC collect2 program.  For some
25400 # reason, if we set the COLLECT_NAMES environment variable, the problems
25401 # vanish in a puff of smoke.
25402 if test set != "${COLLECT_NAMES+set}"; then
25403   COLLECT_NAMES=
25404   export COLLECT_NAMES
25405 fi
25406 _LT_EOF
25407     ;;
25408   esac
25409
25410
25411
25412 ltmain=$ac_aux_dir/ltmain.sh
25413
25414
25415   # We use sed instead of cat because bash on DJGPP gets confused if
25416   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
25417   # text mode, it properly converts lines to CR/LF.  This bash problem
25418   # is reportedly fixed, but why not run on old versions too?
25419   $SED '$q' "$ltmain" >> "$cfgfile" \
25420      || (rm -f "$cfgfile"; exit 1)
25421
25422    mv -f "$cfgfile" "$ofile" ||
25423     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25424   chmod +x "$ofile"
25425
25426  ;;
25427
25428   esac
25429 done # for ac_tag
25430
25431
25432 as_fn_exit 0
25433 _ACEOF
25434 ac_clean_files=$ac_clean_files_save
25435
25436 test $ac_write_fail = 0 ||
25437   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25438
25439
25440 # configure is writing to config.log, and then calls config.status.
25441 # config.status does its own redirection, appending to config.log.
25442 # Unfortunately, on DOS this fails, as config.log is still kept open
25443 # by configure, so config.status won't be able to write to it; its
25444 # output is simply discarded.  So we exec the FD to /dev/null,
25445 # effectively closing config.log, so it can be properly (re)opened and
25446 # appended to by config.status.  When coming back to configure, we
25447 # need to make the FD available again.
25448 if test "$no_create" != yes; then
25449   ac_cs_success=:
25450   ac_config_status_args=
25451   test "$silent" = yes &&
25452     ac_config_status_args="$ac_config_status_args --quiet"
25453   exec 5>/dev/null
25454   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25455   exec 5>>config.log
25456   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25457   # would make configure fail if this is the last instruction.
25458   $ac_cs_success || as_fn_exit 1
25459 fi
25460 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25462 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25463 fi
25464
25465