1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for isync 1.4.4.
4#
5#
6# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7# Inc.
8#
9#
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## -------------------- ##
13## M4sh Initialization. ##
14## -------------------- ##
15
16# Be more Bourne compatible
17DUALCASE=1; export DUALCASE # for MKS sh
18as_nop=:
19if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20then :
21  emulate sh
22  NULLCMD=:
23  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24  # is contrary to our usage.  Disable this feature.
25  alias -g '${1+"$@"}'='"$@"'
26  setopt NO_GLOB_SUBST
27else $as_nop
28  case `(set -o) 2>/dev/null` in #(
29  *posix*) :
30    set -o posix ;; #(
31  *) :
32     ;;
33esac
34fi
35
36
37
38# Reset variables that may have inherited troublesome values from
39# the environment.
40
41# IFS needs to be set, to space, tab, and newline, in precisely that order.
42# (If _AS_PATH_WALK were called with IFS unset, it would have the
43# side effect of setting IFS to empty, thus disabling word splitting.)
44# Quoting is to prevent editors from complaining about space-tab.
45as_nl='
46'
47export as_nl
48IFS=" ""	$as_nl"
49
50PS1='$ '
51PS2='> '
52PS4='+ '
53
54# Ensure predictable behavior from utilities with locale-dependent output.
55LC_ALL=C
56export LC_ALL
57LANGUAGE=C
58export LANGUAGE
59
60# We cannot yet rely on "unset" to work, but we need these variables
61# to be unset--not just set to an empty or harmless value--now, to
62# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
63# also avoids known problems related to "unset" and subshell syntax
64# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66do eval test \${$as_var+y} \
67  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68done
69
70# Ensure that fds 0, 1, and 2 are open.
71if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
74
75# The user is always right.
76if ${PATH_SEPARATOR+false} :; then
77  PATH_SEPARATOR=:
78  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80      PATH_SEPARATOR=';'
81  }
82fi
83
84
85# Find who we are.  Look in the path if we contain no directory separator.
86as_myself=
87case $0 in #((
88  *[\\/]* ) as_myself=$0 ;;
89  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90for as_dir in $PATH
91do
92  IFS=$as_save_IFS
93  case $as_dir in #(((
94    '') as_dir=./ ;;
95    */) ;;
96    *) as_dir=$as_dir/ ;;
97  esac
98    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114
115# Use a proper internal environment variable to ensure we don't fall
116  # into an infinite loop, continuously re-executing ourselves.
117  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118    _as_can_reexec=no; export _as_can_reexec;
119    # We cannot yet assume a decent shell, so we have to provide a
120# neutralization value for shells without unset; and this also
121# works around shells that cannot unset nonexistent variables.
122# Preserve -v and -x to the replacement shell.
123BASH_ENV=/dev/null
124ENV=/dev/null
125(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126case $- in # ((((
127  *v*x* | *x*v* ) as_opts=-vx ;;
128  *v* ) as_opts=-v ;;
129  *x* ) as_opts=-x ;;
130  * ) as_opts= ;;
131esac
132exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133# Admittedly, this is quite paranoid, since all the known shells bail
134# out after a failed `exec'.
135printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136exit 255
137  fi
138  # We don't want this to propagate to other subprocesses.
139          { _as_can_reexec=; unset _as_can_reexec;}
140if test "x$CONFIG_SHELL" = x; then
141  as_bourne_compatible="as_nop=:
142if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143then :
144  emulate sh
145  NULLCMD=:
146  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147  # is contrary to our usage.  Disable this feature.
148  alias -g '\${1+\"\$@\"}'='\"\$@\"'
149  setopt NO_GLOB_SUBST
150else \$as_nop
151  case \`(set -o) 2>/dev/null\` in #(
152  *posix*) :
153    set -o posix ;; #(
154  *) :
155     ;;
156esac
157fi
158"
159  as_required="as_fn_return () { (exit \$1); }
160as_fn_success () { as_fn_return 0; }
161as_fn_failure () { as_fn_return 1; }
162as_fn_ret_success () { return 0; }
163as_fn_ret_failure () { return 1; }
164
165exitcode=0
166as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171then :
172
173else \$as_nop
174  exitcode=1; echo positional parameters were not saved.
175fi
176test x\$exitcode = x0 || exit 1
177blah=\$(echo \$(echo blah))
178test x\"\$blah\" = xblah || exit 1
179test -x / || exit 1"
180  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184  if (eval "$as_required") 2>/dev/null
185then :
186  as_have_required=yes
187else $as_nop
188  as_have_required=no
189fi
190  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191then :
192
193else $as_nop
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  case $as_dir in #(((
200    '') as_dir=./ ;;
201    */) ;;
202    *) as_dir=$as_dir/ ;;
203  esac
204  as_found=:
205  case $as_dir in #(
206	 /*)
207	   for as_base in sh bash ksh sh5; do
208	     # Try only shells that exist, to save several forks.
209	     as_shell=$as_dir$as_base
210	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212then :
213  CONFIG_SHELL=$as_shell as_have_required=yes
214		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215then :
216  break 2
217fi
218fi
219	   done;;
220       esac
221  as_found=false
222done
223IFS=$as_save_IFS
224if $as_found
225then :
226
227else $as_nop
228  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230then :
231  CONFIG_SHELL=$SHELL as_have_required=yes
232fi
233fi
234
235
236      if test "x$CONFIG_SHELL" != x
237then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno
260then :
261  printf "%s\n" "$0: This script requires a shell more modern than all"
262  printf "%s\n" "$0: the shells that I found on your system."
263  if test ${ZSH_VERSION+y} ; then
264    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294
295# as_fn_set_status STATUS
296# -----------------------
297# Set $? to STATUS, without forking.
298as_fn_set_status ()
299{
300  return $1
301} # as_fn_set_status
302
303# as_fn_exit STATUS
304# -----------------
305# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306as_fn_exit ()
307{
308  set +e
309  as_fn_set_status $1
310  exit $1
311} # as_fn_exit
312# as_fn_nop
313# ---------
314# Do nothing but, unlike ":", preserve the value of $?.
315as_fn_nop ()
316{
317  return $?
318}
319as_nop=as_fn_nop
320
321# as_fn_mkdir_p
322# -------------
323# Create "$as_dir" as a directory, including parents if necessary.
324as_fn_mkdir_p ()
325{
326
327  case $as_dir in #(
328  -*) as_dir=./$as_dir;;
329  esac
330  test -d "$as_dir" || eval $as_mkdir_p || {
331    as_dirs=
332    while :; do
333      case $as_dir in #(
334      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335      *) as_qdir=$as_dir;;
336      esac
337      as_dirs="'$as_qdir' $as_dirs"
338      as_dir=`$as_dirname -- "$as_dir" ||
339$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340	 X"$as_dir" : 'X\(//\)[^/]' \| \
341	 X"$as_dir" : 'X\(//\)$' \| \
342	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343printf "%s\n" X"$as_dir" |
344    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345	    s//\1/
346	    q
347	  }
348	  /^X\(\/\/\)[^/].*/{
349	    s//\1/
350	    q
351	  }
352	  /^X\(\/\/\)$/{
353	    s//\1/
354	    q
355	  }
356	  /^X\(\/\).*/{
357	    s//\1/
358	    q
359	  }
360	  s/.*/./; q'`
361      test -d "$as_dir" && break
362    done
363    test -z "$as_dirs" || eval "mkdir $as_dirs"
364  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367} # as_fn_mkdir_p
368
369# as_fn_executable_p FILE
370# -----------------------
371# Test if FILE is an executable regular file.
372as_fn_executable_p ()
373{
374  test -f "$1" && test -x "$1"
375} # as_fn_executable_p
376# as_fn_append VAR VALUE
377# ----------------------
378# Append the text in VALUE to the end of the definition contained in VAR. Take
379# advantage of any shell optimizations that allow amortized linear growth over
380# repeated appends, instead of the typical quadratic growth present in naive
381# implementations.
382if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383then :
384  eval 'as_fn_append ()
385  {
386    eval $1+=\$2
387  }'
388else $as_nop
389  as_fn_append ()
390  {
391    eval $1=\$$1\$2
392  }
393fi # as_fn_append
394
395# as_fn_arith ARG...
396# ------------------
397# Perform arithmetic evaluation on the ARGs, and store the result in the
398# global $as_val. Take advantage of shells that can avoid forks. The arguments
399# must be portable across $(()) and expr.
400if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else $as_nop
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413# as_fn_nop
414# ---------
415# Do nothing but, unlike ":", preserve the value of $?.
416as_fn_nop ()
417{
418  return $?
419}
420as_nop=as_fn_nop
421
422# as_fn_error STATUS ERROR [LINENO LOG_FD]
423# ----------------------------------------
424# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426# script with STATUS, using 1 if that was 0.
427as_fn_error ()
428{
429  as_status=$1; test $as_status -eq 0 && as_status=1
430  if test "$4"; then
431    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433  fi
434  printf "%s\n" "$as_me: error: $2" >&2
435  as_fn_exit $as_status
436} # as_fn_error
437
438if expr a : '\(a\)' >/dev/null 2>&1 &&
439   test "X`expr 00001 : '.*\(...\)'`" = X001; then
440  as_expr=expr
441else
442  as_expr=false
443fi
444
445if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446  as_basename=basename
447else
448  as_basename=false
449fi
450
451if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452  as_dirname=dirname
453else
454  as_dirname=false
455fi
456
457as_me=`$as_basename -- "$0" ||
458$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459	 X"$0" : 'X\(//\)$' \| \
460	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461printf "%s\n" X/"$0" |
462    sed '/^.*\/\([^/][^/]*\)\/*$/{
463	    s//\1/
464	    q
465	  }
466	  /^X\/\(\/\/\)$/{
467	    s//\1/
468	    q
469	  }
470	  /^X\/\(\/\).*/{
471	    s//\1/
472	    q
473	  }
474	  s/.*/./; q'`
475
476# Avoid depending upon Character Ranges.
477as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480as_cr_digits='0123456789'
481as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484  as_lineno_1=$LINENO as_lineno_1a=$LINENO
485  as_lineno_2=$LINENO as_lineno_2a=$LINENO
486  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
489  sed -n '
490    p
491    /[$]LINENO/=
492  ' <$as_myself |
493    sed '
494      s/[$]LINENO.*/&-/
495      t lineno
496      b
497      :lineno
498      N
499      :loop
500      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501      t loop
502      s/-\n.*//
503    ' >$as_me.lineno &&
504  chmod +x "$as_me.lineno" ||
505    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
507  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508  # already done that, so ensure we don't try to do so again and fall
509  # in an infinite loop.  This has already happened in practice.
510  _as_can_reexec=no; export _as_can_reexec
511  # Don't try to exec as it changes $[0], causing all sort of problems
512  # (the dirname of $[0] is not the place where we might find the
513  # original and so on.  Autoconf is especially sensitive to this).
514  . "./$as_me.lineno"
515  # Exit status is that of the last command.
516  exit
517}
518
519
520# Determine whether it's possible to make 'echo' print without a newline.
521# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522# for compatibility with existing Makefiles.
523ECHO_C= ECHO_N= ECHO_T=
524case `echo -n x` in #(((((
525-n*)
526  case `echo 'xy\c'` in
527  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
528  xy)  ECHO_C='\c';;
529  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
530       ECHO_T='	';;
531  esac;;
532*)
533  ECHO_N='-n';;
534esac
535
536# For backward compatibility with old third-party macros, we provide
537# the shell variables $as_echo and $as_echo_n.  New code should use
538# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539as_echo='printf %s\n'
540as_echo_n='printf %s'
541
542
543rm -f conf$$ conf$$.exe conf$$.file
544if test -d conf$$.dir; then
545  rm -f conf$$.dir/conf$$.file
546else
547  rm -f conf$$.dir
548  mkdir conf$$.dir 2>/dev/null
549fi
550if (echo >conf$$.file) 2>/dev/null; then
551  if ln -s conf$$.file conf$$ 2>/dev/null; then
552    as_ln_s='ln -s'
553    # ... but there are two gotchas:
554    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556    # In both cases, we have to default to `cp -pR'.
557    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558      as_ln_s='cp -pR'
559  elif ln conf$$.file conf$$ 2>/dev/null; then
560    as_ln_s=ln
561  else
562    as_ln_s='cp -pR'
563  fi
564else
565  as_ln_s='cp -pR'
566fi
567rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568rmdir conf$$.dir 2>/dev/null
569
570if mkdir -p . 2>/dev/null; then
571  as_mkdir_p='mkdir -p "$as_dir"'
572else
573  test -d ./-p && rmdir ./-p
574  as_mkdir_p=false
575fi
576
577as_test_x='test -x'
578as_executable_p=as_fn_executable_p
579
580# Sed expression to map a string onto a valid CPP name.
581as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583# Sed expression to map a string onto a valid variable name.
584as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587test -n "$DJDIR" || exec 7<&0 </dev/null
588exec 6>&1
589
590# Name of the host.
591# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592# so uname gets run too.
593ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
595#
596# Initializations.
597#
598ac_default_prefix=/usr/local
599ac_clean_files=
600ac_config_libobj_dir=.
601LIBOBJS=
602cross_compiling=no
603subdirs=
604MFLAGS=
605MAKEFLAGS=
606
607# Identity of this package.
608PACKAGE_NAME='isync'
609PACKAGE_TARNAME='isync'
610PACKAGE_VERSION='1.4.4'
611PACKAGE_STRING='isync 1.4.4'
612PACKAGE_BUGREPORT=''
613PACKAGE_URL=''
614
615# Factoring default headers for most tests.
616ac_includes_default="\
617#include <stddef.h>
618#ifdef HAVE_STDIO_H
619# include <stdio.h>
620#endif
621#ifdef HAVE_STDLIB_H
622# include <stdlib.h>
623#endif
624#ifdef HAVE_STRING_H
625# include <string.h>
626#endif
627#ifdef HAVE_INTTYPES_H
628# include <inttypes.h>
629#endif
630#ifdef HAVE_STDINT_H
631# include <stdint.h>
632#endif
633#ifdef HAVE_STRINGS_H
634# include <strings.h>
635#endif
636#ifdef HAVE_SYS_TYPES_H
637# include <sys/types.h>
638#endif
639#ifdef HAVE_SYS_STAT_H
640# include <sys/stat.h>
641#endif
642#ifdef HAVE_UNISTD_H
643# include <unistd.h>
644#endif"
645
646ac_header_c_list=
647ac_subst_vars='am__EXEEXT_FALSE
648am__EXEEXT_TRUE
649LTLIBOBJS
650LIBOBJS
651KEYCHAIN_LIBS
652with_mdconvert_FALSE
653with_mdconvert_TRUE
654Z_LIBS
655DB_LIBS
656SASL_LIBS
657SSL_LIBS
658PKG_CONFIG_LIBDIR
659PKG_CONFIG_PATH
660PKG_CONFIG
661SOCK_LIBS
662PERL
663am__fastdepCC_FALSE
664am__fastdepCC_TRUE
665CCDEPMODE
666am__nodep
667AMDEPBACKSLASH
668AMDEP_FALSE
669AMDEP_TRUE
670am__include
671DEPDIR
672OBJEXT
673EXEEXT
674ac_ct_CC
675CPPFLAGS
676LDFLAGS
677CFLAGS
678CC
679MAINT
680MAINTAINER_MODE_FALSE
681MAINTAINER_MODE_TRUE
682AM_BACKSLASH
683AM_DEFAULT_VERBOSITY
684AM_DEFAULT_V
685AM_V
686CSCOPE
687ETAGS
688CTAGS
689am__untar
690am__tar
691AMTAR
692am__leading_dot
693SET_MAKE
694AWK
695mkdir_p
696MKDIR_P
697INSTALL_STRIP_PROGRAM
698STRIP
699install_sh
700MAKEINFO
701AUTOHEADER
702AUTOMAKE
703AUTOCONF
704ACLOCAL
705VERSION
706PACKAGE
707CYGPATH_W
708am__isrc
709INSTALL_DATA
710INSTALL_SCRIPT
711INSTALL_PROGRAM
712target_os
713target_vendor
714target_cpu
715target
716host_os
717host_vendor
718host_cpu
719host
720build_os
721build_vendor
722build_cpu
723build
724target_alias
725host_alias
726build_alias
727LIBS
728ECHO_T
729ECHO_N
730ECHO_C
731DEFS
732mandir
733localedir
734libdir
735psdir
736pdfdir
737dvidir
738htmldir
739infodir
740docdir
741oldincludedir
742includedir
743runstatedir
744localstatedir
745sharedstatedir
746sysconfdir
747datadir
748datarootdir
749libexecdir
750sbindir
751bindir
752program_transform_name
753prefix
754exec_prefix
755PACKAGE_URL
756PACKAGE_BUGREPORT
757PACKAGE_STRING
758PACKAGE_VERSION
759PACKAGE_TARNAME
760PACKAGE_NAME
761PATH_SEPARATOR
762SHELL
763am__quote'
764ac_subst_files=''
765ac_user_opts='
766enable_option_checking
767enable_silent_rules
768enable_maintainer_mode
769enable_dependency_tracking
770with_ssl
771with_sasl
772with_zlib
773with_macos_keychain
774'
775      ac_precious_vars='build_alias
776host_alias
777target_alias
778CC
779CFLAGS
780LDFLAGS
781LIBS
782CPPFLAGS
783PKG_CONFIG
784PKG_CONFIG_PATH
785PKG_CONFIG_LIBDIR'
786
787
788# Initialize some variables set by options.
789ac_init_help=
790ac_init_version=false
791ac_unrecognized_opts=
792ac_unrecognized_sep=
793# The variables have the same names as the options, with
794# dashes changed to underlines.
795cache_file=/dev/null
796exec_prefix=NONE
797no_create=
798no_recursion=
799prefix=NONE
800program_prefix=NONE
801program_suffix=NONE
802program_transform_name=s,x,x,
803silent=
804site=
805srcdir=
806verbose=
807x_includes=NONE
808x_libraries=NONE
809
810# Installation directory options.
811# These are left unexpanded so users can "make install exec_prefix=/foo"
812# and all the variables that are supposed to be based on exec_prefix
813# by default will actually change.
814# Use braces instead of parens because sh, perl, etc. also accept them.
815# (The list follows the same order as the GNU Coding Standards.)
816bindir='${exec_prefix}/bin'
817sbindir='${exec_prefix}/sbin'
818libexecdir='${exec_prefix}/libexec'
819datarootdir='${prefix}/share'
820datadir='${datarootdir}'
821sysconfdir='${prefix}/etc'
822sharedstatedir='${prefix}/com'
823localstatedir='${prefix}/var'
824runstatedir='${localstatedir}/run'
825includedir='${prefix}/include'
826oldincludedir='/usr/include'
827docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828infodir='${datarootdir}/info'
829htmldir='${docdir}'
830dvidir='${docdir}'
831pdfdir='${docdir}'
832psdir='${docdir}'
833libdir='${exec_prefix}/lib'
834localedir='${datarootdir}/locale'
835mandir='${datarootdir}/man'
836
837ac_prev=
838ac_dashdash=
839for ac_option
840do
841  # If the previous option needs an argument, assign it.
842  if test -n "$ac_prev"; then
843    eval $ac_prev=\$ac_option
844    ac_prev=
845    continue
846  fi
847
848  case $ac_option in
849  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850  *=)   ac_optarg= ;;
851  *)    ac_optarg=yes ;;
852  esac
853
854  case $ac_dashdash$ac_option in
855  --)
856    ac_dashdash=yes ;;
857
858  -bindir | --bindir | --bindi | --bind | --bin | --bi)
859    ac_prev=bindir ;;
860  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861    bindir=$ac_optarg ;;
862
863  -build | --build | --buil | --bui | --bu)
864    ac_prev=build_alias ;;
865  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
866    build_alias=$ac_optarg ;;
867
868  -cache-file | --cache-file | --cache-fil | --cache-fi \
869  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
870    ac_prev=cache_file ;;
871  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
872  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
873    cache_file=$ac_optarg ;;
874
875  --config-cache | -C)
876    cache_file=config.cache ;;
877
878  -datadir | --datadir | --datadi | --datad)
879    ac_prev=datadir ;;
880  -datadir=* | --datadir=* | --datadi=* | --datad=*)
881    datadir=$ac_optarg ;;
882
883  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
884  | --dataroo | --dataro | --datar)
885    ac_prev=datarootdir ;;
886  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
887  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
888    datarootdir=$ac_optarg ;;
889
890  -disable-* | --disable-*)
891    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892    # Reject names that are not valid shell variable names.
893    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894      as_fn_error $? "invalid feature name: \`$ac_useropt'"
895    ac_useropt_orig=$ac_useropt
896    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
897    case $ac_user_opts in
898      *"
899"enable_$ac_useropt"
900"*) ;;
901      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902	 ac_unrecognized_sep=', ';;
903    esac
904    eval enable_$ac_useropt=no ;;
905
906  -docdir | --docdir | --docdi | --doc | --do)
907    ac_prev=docdir ;;
908  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909    docdir=$ac_optarg ;;
910
911  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912    ac_prev=dvidir ;;
913  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914    dvidir=$ac_optarg ;;
915
916  -enable-* | --enable-*)
917    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918    # Reject names that are not valid shell variable names.
919    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920      as_fn_error $? "invalid feature name: \`$ac_useropt'"
921    ac_useropt_orig=$ac_useropt
922    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
923    case $ac_user_opts in
924      *"
925"enable_$ac_useropt"
926"*) ;;
927      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928	 ac_unrecognized_sep=', ';;
929    esac
930    eval enable_$ac_useropt=\$ac_optarg ;;
931
932  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
933  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
934  | --exec | --exe | --ex)
935    ac_prev=exec_prefix ;;
936  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
937  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
938  | --exec=* | --exe=* | --ex=*)
939    exec_prefix=$ac_optarg ;;
940
941  -gas | --gas | --ga | --g)
942    # Obsolete; use --with-gas.
943    with_gas=yes ;;
944
945  -help | --help | --hel | --he | -h)
946    ac_init_help=long ;;
947  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
948    ac_init_help=recursive ;;
949  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
950    ac_init_help=short ;;
951
952  -host | --host | --hos | --ho)
953    ac_prev=host_alias ;;
954  -host=* | --host=* | --hos=* | --ho=*)
955    host_alias=$ac_optarg ;;
956
957  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958    ac_prev=htmldir ;;
959  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960  | --ht=*)
961    htmldir=$ac_optarg ;;
962
963  -includedir | --includedir | --includedi | --included | --include \
964  | --includ | --inclu | --incl | --inc)
965    ac_prev=includedir ;;
966  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
967  | --includ=* | --inclu=* | --incl=* | --inc=*)
968    includedir=$ac_optarg ;;
969
970  -infodir | --infodir | --infodi | --infod | --info | --inf)
971    ac_prev=infodir ;;
972  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
973    infodir=$ac_optarg ;;
974
975  -libdir | --libdir | --libdi | --libd)
976    ac_prev=libdir ;;
977  -libdir=* | --libdir=* | --libdi=* | --libd=*)
978    libdir=$ac_optarg ;;
979
980  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
981  | --libexe | --libex | --libe)
982    ac_prev=libexecdir ;;
983  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
984  | --libexe=* | --libex=* | --libe=*)
985    libexecdir=$ac_optarg ;;
986
987  -localedir | --localedir | --localedi | --localed | --locale)
988    ac_prev=localedir ;;
989  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
990    localedir=$ac_optarg ;;
991
992  -localstatedir | --localstatedir | --localstatedi | --localstated \
993  | --localstate | --localstat | --localsta | --localst | --locals)
994    ac_prev=localstatedir ;;
995  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
996  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
997    localstatedir=$ac_optarg ;;
998
999  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000    ac_prev=mandir ;;
1001  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1002    mandir=$ac_optarg ;;
1003
1004  -nfp | --nfp | --nf)
1005    # Obsolete; use --without-fp.
1006    with_fp=no ;;
1007
1008  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1009  | --no-cr | --no-c | -n)
1010    no_create=yes ;;
1011
1012  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014    no_recursion=yes ;;
1015
1016  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1017  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1018  | --oldin | --oldi | --old | --ol | --o)
1019    ac_prev=oldincludedir ;;
1020  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1021  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1022  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1023    oldincludedir=$ac_optarg ;;
1024
1025  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026    ac_prev=prefix ;;
1027  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1028    prefix=$ac_optarg ;;
1029
1030  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1031  | --program-pre | --program-pr | --program-p)
1032    ac_prev=program_prefix ;;
1033  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1034  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1035    program_prefix=$ac_optarg ;;
1036
1037  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1038  | --program-suf | --program-su | --program-s)
1039    ac_prev=program_suffix ;;
1040  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1041  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1042    program_suffix=$ac_optarg ;;
1043
1044  -program-transform-name | --program-transform-name \
1045  | --program-transform-nam | --program-transform-na \
1046  | --program-transform-n | --program-transform- \
1047  | --program-transform | --program-transfor \
1048  | --program-transfo | --program-transf \
1049  | --program-trans | --program-tran \
1050  | --progr-tra | --program-tr | --program-t)
1051    ac_prev=program_transform_name ;;
1052  -program-transform-name=* | --program-transform-name=* \
1053  | --program-transform-nam=* | --program-transform-na=* \
1054  | --program-transform-n=* | --program-transform-=* \
1055  | --program-transform=* | --program-transfor=* \
1056  | --program-transfo=* | --program-transf=* \
1057  | --program-trans=* | --program-tran=* \
1058  | --progr-tra=* | --program-tr=* | --program-t=*)
1059    program_transform_name=$ac_optarg ;;
1060
1061  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062    ac_prev=pdfdir ;;
1063  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1064    pdfdir=$ac_optarg ;;
1065
1066  -psdir | --psdir | --psdi | --psd | --ps)
1067    ac_prev=psdir ;;
1068  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069    psdir=$ac_optarg ;;
1070
1071  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1072  | -silent | --silent | --silen | --sile | --sil)
1073    silent=yes ;;
1074
1075  -runstatedir | --runstatedir | --runstatedi | --runstated \
1076  | --runstate | --runstat | --runsta | --runst | --runs \
1077  | --run | --ru | --r)
1078    ac_prev=runstatedir ;;
1079  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1080  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1081  | --run=* | --ru=* | --r=*)
1082    runstatedir=$ac_optarg ;;
1083
1084  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085    ac_prev=sbindir ;;
1086  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087  | --sbi=* | --sb=*)
1088    sbindir=$ac_optarg ;;
1089
1090  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092  | --sharedst | --shareds | --shared | --share | --shar \
1093  | --sha | --sh)
1094    ac_prev=sharedstatedir ;;
1095  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098  | --sha=* | --sh=*)
1099    sharedstatedir=$ac_optarg ;;
1100
1101  -site | --site | --sit)
1102    ac_prev=site ;;
1103  -site=* | --site=* | --sit=*)
1104    site=$ac_optarg ;;
1105
1106  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107    ac_prev=srcdir ;;
1108  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109    srcdir=$ac_optarg ;;
1110
1111  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112  | --syscon | --sysco | --sysc | --sys | --sy)
1113    ac_prev=sysconfdir ;;
1114  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116    sysconfdir=$ac_optarg ;;
1117
1118  -target | --target | --targe | --targ | --tar | --ta | --t)
1119    ac_prev=target_alias ;;
1120  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121    target_alias=$ac_optarg ;;
1122
1123  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1124    verbose=yes ;;
1125
1126  -version | --version | --versio | --versi | --vers | -V)
1127    ac_init_version=: ;;
1128
1129  -with-* | --with-*)
1130    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131    # Reject names that are not valid shell variable names.
1132    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133      as_fn_error $? "invalid package name: \`$ac_useropt'"
1134    ac_useropt_orig=$ac_useropt
1135    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1136    case $ac_user_opts in
1137      *"
1138"with_$ac_useropt"
1139"*) ;;
1140      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141	 ac_unrecognized_sep=', ';;
1142    esac
1143    eval with_$ac_useropt=\$ac_optarg ;;
1144
1145  -without-* | --without-*)
1146    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147    # Reject names that are not valid shell variable names.
1148    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149      as_fn_error $? "invalid package name: \`$ac_useropt'"
1150    ac_useropt_orig=$ac_useropt
1151    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1152    case $ac_user_opts in
1153      *"
1154"with_$ac_useropt"
1155"*) ;;
1156      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157	 ac_unrecognized_sep=', ';;
1158    esac
1159    eval with_$ac_useropt=no ;;
1160
1161  --x)
1162    # Obsolete; use --with-x.
1163    with_x=yes ;;
1164
1165  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166  | --x-incl | --x-inc | --x-in | --x-i)
1167    ac_prev=x_includes ;;
1168  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170    x_includes=$ac_optarg ;;
1171
1172  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174    ac_prev=x_libraries ;;
1175  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177    x_libraries=$ac_optarg ;;
1178
1179  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180Try \`$0 --help' for more information"
1181    ;;
1182
1183  *=*)
1184    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185    # Reject names that are not valid shell variable names.
1186    case $ac_envvar in #(
1187      '' | [0-9]* | *[!_$as_cr_alnum]* )
1188      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189    esac
1190    eval $ac_envvar=\$ac_optarg
1191    export $ac_envvar ;;
1192
1193  *)
1194    # FIXME: should be removed in autoconf 3.0.
1195    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1196    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1198    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199    ;;
1200
1201  esac
1202done
1203
1204if test -n "$ac_prev"; then
1205  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206  as_fn_error $? "missing argument to $ac_option"
1207fi
1208
1209if test -n "$ac_unrecognized_opts"; then
1210  case $enable_option_checking in
1211    no) ;;
1212    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214  esac
1215fi
1216
1217# Check all directory arguments for consistency.
1218for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219		datadir sysconfdir sharedstatedir localstatedir includedir \
1220		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221		libdir localedir mandir runstatedir
1222do
1223  eval ac_val=\$$ac_var
1224  # Remove trailing slashes.
1225  case $ac_val in
1226    */ )
1227      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228      eval $ac_var=\$ac_val;;
1229  esac
1230  # Be sure to have absolute directory names.
1231  case $ac_val in
1232    [\\/$]* | ?:[\\/]* )  continue;;
1233    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234  esac
1235  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236done
1237
1238# There might be people who depend on the old broken behavior: `$host'
1239# used to hold the argument of --host etc.
1240# FIXME: To remove some day.
1241build=$build_alias
1242host=$host_alias
1243target=$target_alias
1244
1245# FIXME: To remove some day.
1246if test "x$host_alias" != x; then
1247  if test "x$build_alias" = x; then
1248    cross_compiling=maybe
1249  elif test "x$build_alias" != "x$host_alias"; then
1250    cross_compiling=yes
1251  fi
1252fi
1253
1254ac_tool_prefix=
1255test -n "$host_alias" && ac_tool_prefix=$host_alias-
1256
1257test "$silent" = yes && exec 6>/dev/null
1258
1259
1260ac_pwd=`pwd` && test -n "$ac_pwd" &&
1261ac_ls_di=`ls -di .` &&
1262ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1263  as_fn_error $? "working directory cannot be determined"
1264test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1265  as_fn_error $? "pwd does not report name of working directory"
1266
1267
1268# Find the source files, if location was not specified.
1269if test -z "$srcdir"; then
1270  ac_srcdir_defaulted=yes
1271  # Try the directory containing this script, then the parent directory.
1272  ac_confdir=`$as_dirname -- "$as_myself" ||
1273$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1274	 X"$as_myself" : 'X\(//\)[^/]' \| \
1275	 X"$as_myself" : 'X\(//\)$' \| \
1276	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1277printf "%s\n" X"$as_myself" |
1278    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279	    s//\1/
1280	    q
1281	  }
1282	  /^X\(\/\/\)[^/].*/{
1283	    s//\1/
1284	    q
1285	  }
1286	  /^X\(\/\/\)$/{
1287	    s//\1/
1288	    q
1289	  }
1290	  /^X\(\/\).*/{
1291	    s//\1/
1292	    q
1293	  }
1294	  s/.*/./; q'`
1295  srcdir=$ac_confdir
1296  if test ! -r "$srcdir/$ac_unique_file"; then
1297    srcdir=..
1298  fi
1299else
1300  ac_srcdir_defaulted=no
1301fi
1302if test ! -r "$srcdir/$ac_unique_file"; then
1303  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1304  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1305fi
1306ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1307ac_abs_confdir=`(
1308	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1309	pwd)`
1310# When building in place, set srcdir=.
1311if test "$ac_abs_confdir" = "$ac_pwd"; then
1312  srcdir=.
1313fi
1314# Remove unnecessary trailing slashes from srcdir.
1315# Double slashes in file names in object file debugging info
1316# mess up M-x gdb in Emacs.
1317case $srcdir in
1318*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319esac
1320for ac_var in $ac_precious_vars; do
1321  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_env_${ac_var}_value=\$${ac_var}
1323  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1324  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1325done
1326
1327#
1328# Report the --help message.
1329#
1330if test "$ac_init_help" = "long"; then
1331  # Omit some internal or obsolete options to make the list less imposing.
1332  # This message is too long to be a string in the A/UX 3.1 sh.
1333  cat <<_ACEOF
1334\`configure' configures isync 1.4.4 to adapt to many kinds of systems.
1335
1336Usage: $0 [OPTION]... [VAR=VALUE]...
1337
1338To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339VAR=VALUE.  See below for descriptions of some of the useful variables.
1340
1341Defaults for the options are specified in brackets.
1342
1343Configuration:
1344  -h, --help              display this help and exit
1345      --help=short        display options specific to this package
1346      --help=recursive    display the short help of all the included packages
1347  -V, --version           display version information and exit
1348  -q, --quiet, --silent   do not print \`checking ...' messages
1349      --cache-file=FILE   cache test results in FILE [disabled]
1350  -C, --config-cache      alias for \`--cache-file=config.cache'
1351  -n, --no-create         do not create output files
1352      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1353
1354Installation directories:
1355  --prefix=PREFIX         install architecture-independent files in PREFIX
1356                          [$ac_default_prefix]
1357  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1358                          [PREFIX]
1359
1360By default, \`make install' will install all the files in
1361\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1362an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363for instance \`--prefix=\$HOME'.
1364
1365For better control, use the options below.
1366
1367Fine tuning of the installation directories:
1368  --bindir=DIR            user executables [EPREFIX/bin]
1369  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1370  --libexecdir=DIR        program executables [EPREFIX/libexec]
1371  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1372  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1373  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1374  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1375  --libdir=DIR            object code libraries [EPREFIX/lib]
1376  --includedir=DIR        C header files [PREFIX/include]
1377  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1378  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1379  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1380  --infodir=DIR           info documentation [DATAROOTDIR/info]
1381  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1382  --mandir=DIR            man documentation [DATAROOTDIR/man]
1383  --docdir=DIR            documentation root [DATAROOTDIR/doc/isync]
1384  --htmldir=DIR           html documentation [DOCDIR]
1385  --dvidir=DIR            dvi documentation [DOCDIR]
1386  --pdfdir=DIR            pdf documentation [DOCDIR]
1387  --psdir=DIR             ps documentation [DOCDIR]
1388_ACEOF
1389
1390  cat <<\_ACEOF
1391
1392Program names:
1393  --program-prefix=PREFIX            prepend PREFIX to installed program names
1394  --program-suffix=SUFFIX            append SUFFIX to installed program names
1395  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1396
1397System types:
1398  --build=BUILD     configure for building on BUILD [guessed]
1399  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1400  --target=TARGET   configure for building compilers for TARGET [HOST]
1401_ACEOF
1402fi
1403
1404if test -n "$ac_init_help"; then
1405  case $ac_init_help in
1406     short | recursive ) echo "Configuration of isync 1.4.4:";;
1407   esac
1408  cat <<\_ACEOF
1409
1410Optional Features:
1411  --disable-option-checking  ignore unrecognized --enable/--with options
1412  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1413  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1414  --enable-silent-rules   less verbose build output (undo: "make V=1")
1415  --disable-silent-rules  verbose build output (undo: "make V=0")
1416  --disable-maintainer-mode disable make rules and dependencies not useful
1417                          (and sometimes confusing) to the casual installer
1418  --enable-dependency-tracking
1419                          do not reject slow dependency extractors
1420  --disable-dependency-tracking
1421                          speeds up one-time build
1422
1423Optional Packages:
1424  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1425  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1426  --with-ssl=PATH         where to look for SSL [detect]
1427  --with-sasl=PATH        where to look for SASL [detect]
1428  --with-zlib             use zlib [detect]
1429  --with-macos-keychain   Support macOS keychain
1430
1431Some influential environment variables:
1432  CC          C compiler command
1433  CFLAGS      C compiler flags
1434  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1435              nonstandard directory <lib dir>
1436  LIBS        libraries to pass to the linker, e.g. -l<library>
1437  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438              you have headers in a nonstandard directory <include dir>
1439  PKG_CONFIG  path to pkg-config utility
1440  PKG_CONFIG_PATH
1441              directories to add to pkg-config's search path
1442  PKG_CONFIG_LIBDIR
1443              path overriding pkg-config's built-in search path
1444
1445Use these variables to override the choices made by `configure' or to help
1446it to find libraries and programs with nonstandard names/locations.
1447
1448Report bugs to the package provider.
1449_ACEOF
1450ac_status=$?
1451fi
1452
1453if test "$ac_init_help" = "recursive"; then
1454  # If there are subdirs, report their specific --help.
1455  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456    test -d "$ac_dir" ||
1457      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458      continue
1459    ac_builddir=.
1460
1461case "$ac_dir" in
1462.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463*)
1464  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1465  # A ".." for each directory in $ac_dir_suffix.
1466  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467  case $ac_top_builddir_sub in
1468  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1470  esac ;;
1471esac
1472ac_abs_top_builddir=$ac_pwd
1473ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474# for backward compatibility:
1475ac_top_builddir=$ac_top_build_prefix
1476
1477case $srcdir in
1478  .)  # We are building in place.
1479    ac_srcdir=.
1480    ac_top_srcdir=$ac_top_builddir_sub
1481    ac_abs_top_srcdir=$ac_pwd ;;
1482  [\\/]* | ?:[\\/]* )  # Absolute name.
1483    ac_srcdir=$srcdir$ac_dir_suffix;
1484    ac_top_srcdir=$srcdir
1485    ac_abs_top_srcdir=$srcdir ;;
1486  *) # Relative name.
1487    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488    ac_top_srcdir=$ac_top_build_prefix$srcdir
1489    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1490esac
1491ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1492
1493    cd "$ac_dir" || { ac_status=$?; continue; }
1494    # Check for configure.gnu first; this name is used for a wrapper for
1495    # Metaconfig's "Configure" on case-insensitive file systems.
1496    if test -f "$ac_srcdir/configure.gnu"; then
1497      echo &&
1498      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499    elif test -f "$ac_srcdir/configure"; then
1500      echo &&
1501      $SHELL "$ac_srcdir/configure" --help=recursive
1502    else
1503      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504    fi || ac_status=$?
1505    cd "$ac_pwd" || { ac_status=$?; break; }
1506  done
1507fi
1508
1509test -n "$ac_init_help" && exit $ac_status
1510if $ac_init_version; then
1511  cat <<\_ACEOF
1512isync configure 1.4.4
1513generated by GNU Autoconf 2.71
1514
1515Copyright (C) 2021 Free Software Foundation, Inc.
1516This configure script is free software; the Free Software Foundation
1517gives unlimited permission to copy, distribute and modify it.
1518_ACEOF
1519  exit
1520fi
1521
1522## ------------------------ ##
1523## Autoconf initialization. ##
1524## ------------------------ ##
1525
1526# ac_fn_c_try_compile LINENO
1527# --------------------------
1528# Try to compile conftest.$ac_ext, and return whether this succeeded.
1529ac_fn_c_try_compile ()
1530{
1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532  rm -f conftest.$ac_objext conftest.beam
1533  if { { ac_try="$ac_compile"
1534case "(($ac_try" in
1535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536  *) ac_try_echo=$ac_try;;
1537esac
1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539printf "%s\n" "$ac_try_echo"; } >&5
1540  (eval "$ac_compile") 2>conftest.err
1541  ac_status=$?
1542  if test -s conftest.err; then
1543    grep -v '^ *+' conftest.err >conftest.er1
1544    cat conftest.er1 >&5
1545    mv -f conftest.er1 conftest.err
1546  fi
1547  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548  test $ac_status = 0; } && {
1549	 test -z "$ac_c_werror_flag" ||
1550	 test ! -s conftest.err
1551       } && test -s conftest.$ac_objext
1552then :
1553  ac_retval=0
1554else $as_nop
1555  printf "%s\n" "$as_me: failed program was:" >&5
1556sed 's/^/| /' conftest.$ac_ext >&5
1557
1558	ac_retval=1
1559fi
1560  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561  as_fn_set_status $ac_retval
1562
1563} # ac_fn_c_try_compile
1564
1565# ac_fn_c_try_run LINENO
1566# ----------------------
1567# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1568# executables *can* be run.
1569ac_fn_c_try_run ()
1570{
1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572  if { { ac_try="$ac_link"
1573case "(($ac_try" in
1574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575  *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578printf "%s\n" "$ac_try_echo"; } >&5
1579  (eval "$ac_link") 2>&5
1580  ac_status=$?
1581  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1583  { { case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588printf "%s\n" "$ac_try_echo"; } >&5
1589  (eval "$ac_try") 2>&5
1590  ac_status=$?
1591  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; }; }
1593then :
1594  ac_retval=0
1595else $as_nop
1596  printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1597       printf "%s\n" "$as_me: failed program was:" >&5
1598sed 's/^/| /' conftest.$ac_ext >&5
1599
1600       ac_retval=$ac_status
1601fi
1602  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1603  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604  as_fn_set_status $ac_retval
1605
1606} # ac_fn_c_try_run
1607
1608# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1609# -------------------------------------------------------
1610# Tests whether HEADER exists and can be compiled using the include files in
1611# INCLUDES, setting the cache variable VAR accordingly.
1612ac_fn_c_check_header_compile ()
1613{
1614  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616printf %s "checking for $2... " >&6; }
1617if eval test \${$3+y}
1618then :
1619  printf %s "(cached) " >&6
1620else $as_nop
1621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622/* end confdefs.h.  */
1623$4
1624#include <$2>
1625_ACEOF
1626if ac_fn_c_try_compile "$LINENO"
1627then :
1628  eval "$3=yes"
1629else $as_nop
1630  eval "$3=no"
1631fi
1632rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1633fi
1634eval ac_res=\$$3
1635	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636printf "%s\n" "$ac_res" >&6; }
1637  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638
1639} # ac_fn_c_check_header_compile
1640
1641# ac_fn_c_try_link LINENO
1642# -----------------------
1643# Try to link conftest.$ac_ext, and return whether this succeeded.
1644ac_fn_c_try_link ()
1645{
1646  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1648  if { { ac_try="$ac_link"
1649case "(($ac_try" in
1650  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651  *) ac_try_echo=$ac_try;;
1652esac
1653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654printf "%s\n" "$ac_try_echo"; } >&5
1655  (eval "$ac_link") 2>conftest.err
1656  ac_status=$?
1657  if test -s conftest.err; then
1658    grep -v '^ *+' conftest.err >conftest.er1
1659    cat conftest.er1 >&5
1660    mv -f conftest.er1 conftest.err
1661  fi
1662  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663  test $ac_status = 0; } && {
1664	 test -z "$ac_c_werror_flag" ||
1665	 test ! -s conftest.err
1666       } && test -s conftest$ac_exeext && {
1667	 test "$cross_compiling" = yes ||
1668	 test -x conftest$ac_exeext
1669       }
1670then :
1671  ac_retval=0
1672else $as_nop
1673  printf "%s\n" "$as_me: failed program was:" >&5
1674sed 's/^/| /' conftest.$ac_ext >&5
1675
1676	ac_retval=1
1677fi
1678  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680  # interfere with the next link command; also delete a directory that is
1681  # left behind by Apple's compiler.  We do this before executing the actions.
1682  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684  as_fn_set_status $ac_retval
1685
1686} # ac_fn_c_try_link
1687
1688# ac_fn_c_check_func LINENO FUNC VAR
1689# ----------------------------------
1690# Tests whether FUNC exists, setting the cache variable VAR accordingly
1691ac_fn_c_check_func ()
1692{
1693  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695printf %s "checking for $2... " >&6; }
1696if eval test \${$3+y}
1697then :
1698  printf %s "(cached) " >&6
1699else $as_nop
1700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701/* end confdefs.h.  */
1702/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1703   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1704#define $2 innocuous_$2
1705
1706/* System header to define __stub macros and hopefully few prototypes,
1707   which can conflict with char $2 (); below.  */
1708
1709#include <limits.h>
1710#undef $2
1711
1712/* Override any GCC internal prototype to avoid an error.
1713   Use char because int might match the return type of a GCC
1714   builtin and then its argument prototype would still apply.  */
1715#ifdef __cplusplus
1716extern "C"
1717#endif
1718char $2 ();
1719/* The GNU C library defines this for functions which it implements
1720    to always fail with ENOSYS.  Some functions are actually named
1721    something starting with __ and the normal name is an alias.  */
1722#if defined __stub_$2 || defined __stub___$2
1723choke me
1724#endif
1725
1726int
1727main (void)
1728{
1729return $2 ();
1730  ;
1731  return 0;
1732}
1733_ACEOF
1734if ac_fn_c_try_link "$LINENO"
1735then :
1736  eval "$3=yes"
1737else $as_nop
1738  eval "$3=no"
1739fi
1740rm -f core conftest.err conftest.$ac_objext conftest.beam \
1741    conftest$ac_exeext conftest.$ac_ext
1742fi
1743eval ac_res=\$$3
1744	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745printf "%s\n" "$ac_res" >&6; }
1746  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747
1748} # ac_fn_c_check_func
1749ac_configure_args_raw=
1750for ac_arg
1751do
1752  case $ac_arg in
1753  *\'*)
1754    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1755  esac
1756  as_fn_append ac_configure_args_raw " '$ac_arg'"
1757done
1758
1759case $ac_configure_args_raw in
1760  *$as_nl*)
1761    ac_safe_unquote= ;;
1762  *)
1763    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1764    ac_unsafe_a="$ac_unsafe_z#~"
1765    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1766    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1767esac
1768
1769cat >config.log <<_ACEOF
1770This file contains any messages produced by compilers while
1771running configure, to aid debugging if configure makes a mistake.
1772
1773It was created by isync $as_me 1.4.4, which was
1774generated by GNU Autoconf 2.71.  Invocation command line was
1775
1776  $ $0$ac_configure_args_raw
1777
1778_ACEOF
1779exec 5>>config.log
1780{
1781cat <<_ASUNAME
1782## --------- ##
1783## Platform. ##
1784## --------- ##
1785
1786hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1787uname -m = `(uname -m) 2>/dev/null || echo unknown`
1788uname -r = `(uname -r) 2>/dev/null || echo unknown`
1789uname -s = `(uname -s) 2>/dev/null || echo unknown`
1790uname -v = `(uname -v) 2>/dev/null || echo unknown`
1791
1792/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1793/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1794
1795/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1796/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1797/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1798/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1799/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1800/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1801/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1802
1803_ASUNAME
1804
1805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806for as_dir in $PATH
1807do
1808  IFS=$as_save_IFS
1809  case $as_dir in #(((
1810    '') as_dir=./ ;;
1811    */) ;;
1812    *) as_dir=$as_dir/ ;;
1813  esac
1814    printf "%s\n" "PATH: $as_dir"
1815  done
1816IFS=$as_save_IFS
1817
1818} >&5
1819
1820cat >&5 <<_ACEOF
1821
1822
1823## ----------- ##
1824## Core tests. ##
1825## ----------- ##
1826
1827_ACEOF
1828
1829
1830# Keep a trace of the command line.
1831# Strip out --no-create and --no-recursion so they do not pile up.
1832# Strip out --silent because we don't want to record it for future runs.
1833# Also quote any args containing shell meta-characters.
1834# Make two passes to allow for proper duplicate-argument suppression.
1835ac_configure_args=
1836ac_configure_args0=
1837ac_configure_args1=
1838ac_must_keep_next=false
1839for ac_pass in 1 2
1840do
1841  for ac_arg
1842  do
1843    case $ac_arg in
1844    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1845    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1846    | -silent | --silent | --silen | --sile | --sil)
1847      continue ;;
1848    *\'*)
1849      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1850    esac
1851    case $ac_pass in
1852    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1853    2)
1854      as_fn_append ac_configure_args1 " '$ac_arg'"
1855      if test $ac_must_keep_next = true; then
1856	ac_must_keep_next=false # Got value, back to normal.
1857      else
1858	case $ac_arg in
1859	  *=* | --config-cache | -C | -disable-* | --disable-* \
1860	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1861	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1862	  | -with-* | --with-* | -without-* | --without-* | --x)
1863	    case "$ac_configure_args0 " in
1864	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1865	    esac
1866	    ;;
1867	  -* ) ac_must_keep_next=true ;;
1868	esac
1869      fi
1870      as_fn_append ac_configure_args " '$ac_arg'"
1871      ;;
1872    esac
1873  done
1874done
1875{ ac_configure_args0=; unset ac_configure_args0;}
1876{ ac_configure_args1=; unset ac_configure_args1;}
1877
1878# When interrupted or exit'd, cleanup temporary files, and complete
1879# config.log.  We remove comments because anyway the quotes in there
1880# would cause problems or look ugly.
1881# WARNING: Use '\'' to represent an apostrophe within the trap.
1882# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1883trap 'exit_status=$?
1884  # Sanitize IFS.
1885  IFS=" ""	$as_nl"
1886  # Save into config.log some information that might help in debugging.
1887  {
1888    echo
1889
1890    printf "%s\n" "## ---------------- ##
1891## Cache variables. ##
1892## ---------------- ##"
1893    echo
1894    # The following way of writing the cache mishandles newlines in values,
1895(
1896  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1897    eval ac_val=\$$ac_var
1898    case $ac_val in #(
1899    *${as_nl}*)
1900      case $ac_var in #(
1901      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1902printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1903      esac
1904      case $ac_var in #(
1905      _ | IFS | as_nl) ;; #(
1906      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1907      *) { eval $ac_var=; unset $ac_var;} ;;
1908      esac ;;
1909    esac
1910  done
1911  (set) 2>&1 |
1912    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1913    *${as_nl}ac_space=\ *)
1914      sed -n \
1915	"s/'\''/'\''\\\\'\'''\''/g;
1916	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1917      ;; #(
1918    *)
1919      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1920      ;;
1921    esac |
1922    sort
1923)
1924    echo
1925
1926    printf "%s\n" "## ----------------- ##
1927## Output variables. ##
1928## ----------------- ##"
1929    echo
1930    for ac_var in $ac_subst_vars
1931    do
1932      eval ac_val=\$$ac_var
1933      case $ac_val in
1934      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1935      esac
1936      printf "%s\n" "$ac_var='\''$ac_val'\''"
1937    done | sort
1938    echo
1939
1940    if test -n "$ac_subst_files"; then
1941      printf "%s\n" "## ------------------- ##
1942## File substitutions. ##
1943## ------------------- ##"
1944      echo
1945      for ac_var in $ac_subst_files
1946      do
1947	eval ac_val=\$$ac_var
1948	case $ac_val in
1949	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1950	esac
1951	printf "%s\n" "$ac_var='\''$ac_val'\''"
1952      done | sort
1953      echo
1954    fi
1955
1956    if test -s confdefs.h; then
1957      printf "%s\n" "## ----------- ##
1958## confdefs.h. ##
1959## ----------- ##"
1960      echo
1961      cat confdefs.h
1962      echo
1963    fi
1964    test "$ac_signal" != 0 &&
1965      printf "%s\n" "$as_me: caught signal $ac_signal"
1966    printf "%s\n" "$as_me: exit $exit_status"
1967  } >&5
1968  rm -f core *.core core.conftest.* &&
1969    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1970    exit $exit_status
1971' 0
1972for ac_signal in 1 2 13 15; do
1973  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1974done
1975ac_signal=0
1976
1977# confdefs.h avoids OS command line length limits that DEFS can exceed.
1978rm -f -r conftest* confdefs.h
1979
1980printf "%s\n" "/* confdefs.h */" > confdefs.h
1981
1982# Predefined preprocessor variables.
1983
1984printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1985
1986printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1987
1988printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1989
1990printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1991
1992printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1993
1994printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1995
1996
1997# Let the site file select an alternate cache file if it wants to.
1998# Prefer an explicitly selected file to automatically selected ones.
1999if test -n "$CONFIG_SITE"; then
2000  ac_site_files="$CONFIG_SITE"
2001elif test "x$prefix" != xNONE; then
2002  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2003else
2004  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2005fi
2006
2007for ac_site_file in $ac_site_files
2008do
2009  case $ac_site_file in #(
2010  */*) :
2011     ;; #(
2012  *) :
2013    ac_site_file=./$ac_site_file ;;
2014esac
2015  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2016    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2017printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2018    sed 's/^/| /' "$ac_site_file" >&5
2019    . "$ac_site_file" \
2020      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2021printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2022as_fn_error $? "failed to load site script $ac_site_file
2023See \`config.log' for more details" "$LINENO" 5; }
2024  fi
2025done
2026
2027if test -r "$cache_file"; then
2028  # Some versions of bash will fail to source /dev/null (special files
2029  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2030  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2031    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2032printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2033    case $cache_file in
2034      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2035      *)                      . "./$cache_file";;
2036    esac
2037  fi
2038else
2039  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2040printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2041  >$cache_file
2042fi
2043
2044# Test code for whether the C compiler supports C89 (global declarations)
2045ac_c_conftest_c89_globals='
2046/* Does the compiler advertise C89 conformance?
2047   Do not test the value of __STDC__, because some compilers set it to 0
2048   while being otherwise adequately conformant. */
2049#if !defined __STDC__
2050# error "Compiler does not advertise C89 conformance"
2051#endif
2052
2053#include <stddef.h>
2054#include <stdarg.h>
2055struct stat;
2056/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2057struct buf { int x; };
2058struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2059static char *e (p, i)
2060     char **p;
2061     int i;
2062{
2063  return p[i];
2064}
2065static char *f (char * (*g) (char **, int), char **p, ...)
2066{
2067  char *s;
2068  va_list v;
2069  va_start (v,p);
2070  s = g (p, va_arg (v,int));
2071  va_end (v);
2072  return s;
2073}
2074
2075/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2076   function prototypes and stuff, but not \xHH hex character constants.
2077   These do not provoke an error unfortunately, instead are silently treated
2078   as an "x".  The following induces an error, until -std is added to get
2079   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2080   array size at least.  It is necessary to write \x00 == 0 to get something
2081   that is true only with -std.  */
2082int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2083
2084/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2085   inside strings and character constants.  */
2086#define FOO(x) '\''x'\''
2087int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2088
2089int test (int i, double x);
2090struct s1 {int (*f) (int a);};
2091struct s2 {int (*f) (double a);};
2092int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2093               int, int);'
2094
2095# Test code for whether the C compiler supports C89 (body of main).
2096ac_c_conftest_c89_main='
2097ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2098'
2099
2100# Test code for whether the C compiler supports C99 (global declarations)
2101ac_c_conftest_c99_globals='
2102// Does the compiler advertise C99 conformance?
2103#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2104# error "Compiler does not advertise C99 conformance"
2105#endif
2106
2107#include <stdbool.h>
2108extern int puts (const char *);
2109extern int printf (const char *, ...);
2110extern int dprintf (int, const char *, ...);
2111extern void *malloc (size_t);
2112
2113// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2114// dprintf is used instead of fprintf to avoid needing to declare
2115// FILE and stderr.
2116#define debug(...) dprintf (2, __VA_ARGS__)
2117#define showlist(...) puts (#__VA_ARGS__)
2118#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2119static void
2120test_varargs_macros (void)
2121{
2122  int x = 1234;
2123  int y = 5678;
2124  debug ("Flag");
2125  debug ("X = %d\n", x);
2126  showlist (The first, second, and third items.);
2127  report (x>y, "x is %d but y is %d", x, y);
2128}
2129
2130// Check long long types.
2131#define BIG64 18446744073709551615ull
2132#define BIG32 4294967295ul
2133#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2134#if !BIG_OK
2135  #error "your preprocessor is broken"
2136#endif
2137#if BIG_OK
2138#else
2139  #error "your preprocessor is broken"
2140#endif
2141static long long int bignum = -9223372036854775807LL;
2142static unsigned long long int ubignum = BIG64;
2143
2144struct incomplete_array
2145{
2146  int datasize;
2147  double data[];
2148};
2149
2150struct named_init {
2151  int number;
2152  const wchar_t *name;
2153  double average;
2154};
2155
2156typedef const char *ccp;
2157
2158static inline int
2159test_restrict (ccp restrict text)
2160{
2161  // See if C++-style comments work.
2162  // Iterate through items via the restricted pointer.
2163  // Also check for declarations in for loops.
2164  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2165    continue;
2166  return 0;
2167}
2168
2169// Check varargs and va_copy.
2170static bool
2171test_varargs (const char *format, ...)
2172{
2173  va_list args;
2174  va_start (args, format);
2175  va_list args_copy;
2176  va_copy (args_copy, args);
2177
2178  const char *str = "";
2179  int number = 0;
2180  float fnumber = 0;
2181
2182  while (*format)
2183    {
2184      switch (*format++)
2185	{
2186	case '\''s'\'': // string
2187	  str = va_arg (args_copy, const char *);
2188	  break;
2189	case '\''d'\'': // int
2190	  number = va_arg (args_copy, int);
2191	  break;
2192	case '\''f'\'': // float
2193	  fnumber = va_arg (args_copy, double);
2194	  break;
2195	default:
2196	  break;
2197	}
2198    }
2199  va_end (args_copy);
2200  va_end (args);
2201
2202  return *str && number && fnumber;
2203}
2204'
2205
2206# Test code for whether the C compiler supports C99 (body of main).
2207ac_c_conftest_c99_main='
2208  // Check bool.
2209  _Bool success = false;
2210  success |= (argc != 0);
2211
2212  // Check restrict.
2213  if (test_restrict ("String literal") == 0)
2214    success = true;
2215  char *restrict newvar = "Another string";
2216
2217  // Check varargs.
2218  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2219  test_varargs_macros ();
2220
2221  // Check flexible array members.
2222  struct incomplete_array *ia =
2223    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2224  ia->datasize = 10;
2225  for (int i = 0; i < ia->datasize; ++i)
2226    ia->data[i] = i * 1.234;
2227
2228  // Check named initializers.
2229  struct named_init ni = {
2230    .number = 34,
2231    .name = L"Test wide string",
2232    .average = 543.34343,
2233  };
2234
2235  ni.number = 58;
2236
2237  int dynamic_array[ni.number];
2238  dynamic_array[0] = argv[0][0];
2239  dynamic_array[ni.number - 1] = 543;
2240
2241  // work around unused variable warnings
2242  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2243	 || dynamic_array[ni.number - 1] != 543);
2244'
2245
2246# Test code for whether the C compiler supports C11 (global declarations)
2247ac_c_conftest_c11_globals='
2248// Does the compiler advertise C11 conformance?
2249#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2250# error "Compiler does not advertise C11 conformance"
2251#endif
2252
2253// Check _Alignas.
2254char _Alignas (double) aligned_as_double;
2255char _Alignas (0) no_special_alignment;
2256extern char aligned_as_int;
2257char _Alignas (0) _Alignas (int) aligned_as_int;
2258
2259// Check _Alignof.
2260enum
2261{
2262  int_alignment = _Alignof (int),
2263  int_array_alignment = _Alignof (int[100]),
2264  char_alignment = _Alignof (char)
2265};
2266_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2267
2268// Check _Noreturn.
2269int _Noreturn does_not_return (void) { for (;;) continue; }
2270
2271// Check _Static_assert.
2272struct test_static_assert
2273{
2274  int x;
2275  _Static_assert (sizeof (int) <= sizeof (long int),
2276                  "_Static_assert does not work in struct");
2277  long int y;
2278};
2279
2280// Check UTF-8 literals.
2281#define u8 syntax error!
2282char const utf8_literal[] = u8"happens to be ASCII" "another string";
2283
2284// Check duplicate typedefs.
2285typedef long *long_ptr;
2286typedef long int *long_ptr;
2287typedef long_ptr long_ptr;
2288
2289// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2290struct anonymous
2291{
2292  union {
2293    struct { int i; int j; };
2294    struct { int k; long int l; } w;
2295  };
2296  int m;
2297} v1;
2298'
2299
2300# Test code for whether the C compiler supports C11 (body of main).
2301ac_c_conftest_c11_main='
2302  _Static_assert ((offsetof (struct anonymous, i)
2303		   == offsetof (struct anonymous, w.k)),
2304		  "Anonymous union alignment botch");
2305  v1.i = 2;
2306  v1.w.k = 5;
2307  ok |= v1.i != 5;
2308'
2309
2310# Test code for whether the C compiler supports C11 (complete).
2311ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2312${ac_c_conftest_c99_globals}
2313${ac_c_conftest_c11_globals}
2314
2315int
2316main (int argc, char **argv)
2317{
2318  int ok = 0;
2319  ${ac_c_conftest_c89_main}
2320  ${ac_c_conftest_c99_main}
2321  ${ac_c_conftest_c11_main}
2322  return ok;
2323}
2324"
2325
2326# Test code for whether the C compiler supports C99 (complete).
2327ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2328${ac_c_conftest_c99_globals}
2329
2330int
2331main (int argc, char **argv)
2332{
2333  int ok = 0;
2334  ${ac_c_conftest_c89_main}
2335  ${ac_c_conftest_c99_main}
2336  return ok;
2337}
2338"
2339
2340# Test code for whether the C compiler supports C89 (complete).
2341ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2342
2343int
2344main (int argc, char **argv)
2345{
2346  int ok = 0;
2347  ${ac_c_conftest_c89_main}
2348  return ok;
2349}
2350"
2351
2352as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2353as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2354as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2355as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2356as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2357as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2358as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2359as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2360as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2361
2362# Auxiliary files required by this configure script.
2363ac_aux_files="compile missing install-sh config.guess config.sub"
2364
2365# Locations in which to look for auxiliary files.
2366ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2367
2368# Search for a directory containing all of the required auxiliary files,
2369# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2370# If we don't find one directory that contains all the files we need,
2371# we report the set of missing files from the *first* directory in
2372# $ac_aux_dir_candidates and give up.
2373ac_missing_aux_files=""
2374ac_first_candidate=:
2375printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377as_found=false
2378for as_dir in $ac_aux_dir_candidates
2379do
2380  IFS=$as_save_IFS
2381  case $as_dir in #(((
2382    '') as_dir=./ ;;
2383    */) ;;
2384    *) as_dir=$as_dir/ ;;
2385  esac
2386  as_found=:
2387
2388  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2389  ac_aux_dir_found=yes
2390  ac_install_sh=
2391  for ac_aux in $ac_aux_files
2392  do
2393    # As a special case, if "install-sh" is required, that requirement
2394    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2395    # and $ac_install_sh is set appropriately for whichever one is found.
2396    if test x"$ac_aux" = x"install-sh"
2397    then
2398      if test -f "${as_dir}install-sh"; then
2399        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2400        ac_install_sh="${as_dir}install-sh -c"
2401      elif test -f "${as_dir}install.sh"; then
2402        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2403        ac_install_sh="${as_dir}install.sh -c"
2404      elif test -f "${as_dir}shtool"; then
2405        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2406        ac_install_sh="${as_dir}shtool install -c"
2407      else
2408        ac_aux_dir_found=no
2409        if $ac_first_candidate; then
2410          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2411        else
2412          break
2413        fi
2414      fi
2415    else
2416      if test -f "${as_dir}${ac_aux}"; then
2417        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2418      else
2419        ac_aux_dir_found=no
2420        if $ac_first_candidate; then
2421          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2422        else
2423          break
2424        fi
2425      fi
2426    fi
2427  done
2428  if test "$ac_aux_dir_found" = yes; then
2429    ac_aux_dir="$as_dir"
2430    break
2431  fi
2432  ac_first_candidate=false
2433
2434  as_found=false
2435done
2436IFS=$as_save_IFS
2437if $as_found
2438then :
2439
2440else $as_nop
2441  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2442fi
2443
2444
2445# These three variables are undocumented and unsupported,
2446# and are intended to be withdrawn in a future Autoconf release.
2447# They can cause serious problems if a builder's source tree is in a directory
2448# whose full name contains unusual characters.
2449if test -f "${ac_aux_dir}config.guess"; then
2450  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2451fi
2452if test -f "${ac_aux_dir}config.sub"; then
2453  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2454fi
2455if test -f "$ac_aux_dir/configure"; then
2456  ac_configure="$SHELL ${ac_aux_dir}configure"
2457fi
2458
2459# Check that the precious variables saved in the cache have kept the same
2460# value.
2461ac_cache_corrupted=false
2462for ac_var in $ac_precious_vars; do
2463  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2464  eval ac_new_set=\$ac_env_${ac_var}_set
2465  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2466  eval ac_new_val=\$ac_env_${ac_var}_value
2467  case $ac_old_set,$ac_new_set in
2468    set,)
2469      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2470printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2471      ac_cache_corrupted=: ;;
2472    ,set)
2473      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2474printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2475      ac_cache_corrupted=: ;;
2476    ,);;
2477    *)
2478      if test "x$ac_old_val" != "x$ac_new_val"; then
2479	# differences in whitespace do not lead to failure.
2480	ac_old_val_w=`echo x $ac_old_val`
2481	ac_new_val_w=`echo x $ac_new_val`
2482	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2483	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2484printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2485	  ac_cache_corrupted=:
2486	else
2487	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2488printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2489	  eval $ac_var=\$ac_old_val
2490	fi
2491	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2492printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2493	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2494printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2495      fi;;
2496  esac
2497  # Pass precious variables to config.status.
2498  if test "$ac_new_set" = set; then
2499    case $ac_new_val in
2500    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2501    *) ac_arg=$ac_var=$ac_new_val ;;
2502    esac
2503    case " $ac_configure_args " in
2504      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2505      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2506    esac
2507  fi
2508done
2509if $ac_cache_corrupted; then
2510  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2511printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2512  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2513printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2514  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2515	    and start over" "$LINENO" 5
2516fi
2517## -------------------- ##
2518## Main body of script. ##
2519## -------------------- ##
2520
2521ac_ext=c
2522ac_cpp='$CPP $CPPFLAGS'
2523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2525ac_compiler_gnu=$ac_cv_c_compiler_gnu
2526
2527
2528ac_config_headers="$ac_config_headers autodefs.h"
2529
2530
2531
2532
2533
2534  # Make sure we can run config.sub.
2535$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2536  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2537
2538{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2539printf %s "checking build system type... " >&6; }
2540if test ${ac_cv_build+y}
2541then :
2542  printf %s "(cached) " >&6
2543else $as_nop
2544  ac_build_alias=$build_alias
2545test "x$ac_build_alias" = x &&
2546  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2547test "x$ac_build_alias" = x &&
2548  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2549ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2550  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2551
2552fi
2553{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2554printf "%s\n" "$ac_cv_build" >&6; }
2555case $ac_cv_build in
2556*-*-*) ;;
2557*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2558esac
2559build=$ac_cv_build
2560ac_save_IFS=$IFS; IFS='-'
2561set x $ac_cv_build
2562shift
2563build_cpu=$1
2564build_vendor=$2
2565shift; shift
2566# Remember, the first character of IFS is used to create $*,
2567# except with old shells:
2568build_os=$*
2569IFS=$ac_save_IFS
2570case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2571
2572
2573{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2574printf %s "checking host system type... " >&6; }
2575if test ${ac_cv_host+y}
2576then :
2577  printf %s "(cached) " >&6
2578else $as_nop
2579  if test "x$host_alias" = x; then
2580  ac_cv_host=$ac_cv_build
2581else
2582  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2583    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2584fi
2585
2586fi
2587{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2588printf "%s\n" "$ac_cv_host" >&6; }
2589case $ac_cv_host in
2590*-*-*) ;;
2591*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2592esac
2593host=$ac_cv_host
2594ac_save_IFS=$IFS; IFS='-'
2595set x $ac_cv_host
2596shift
2597host_cpu=$1
2598host_vendor=$2
2599shift; shift
2600# Remember, the first character of IFS is used to create $*,
2601# except with old shells:
2602host_os=$*
2603IFS=$ac_save_IFS
2604case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2605
2606
2607{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2608printf %s "checking target system type... " >&6; }
2609if test ${ac_cv_target+y}
2610then :
2611  printf %s "(cached) " >&6
2612else $as_nop
2613  if test "x$target_alias" = x; then
2614  ac_cv_target=$ac_cv_host
2615else
2616  ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
2617    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
2618fi
2619
2620fi
2621{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2622printf "%s\n" "$ac_cv_target" >&6; }
2623case $ac_cv_target in
2624*-*-*) ;;
2625*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2626esac
2627target=$ac_cv_target
2628ac_save_IFS=$IFS; IFS='-'
2629set x $ac_cv_target
2630shift
2631target_cpu=$1
2632target_vendor=$2
2633shift; shift
2634# Remember, the first character of IFS is used to create $*,
2635# except with old shells:
2636target_os=$*
2637IFS=$ac_save_IFS
2638case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2639
2640
2641# The aliases save the names the user supplied, while $host etc.
2642# will get canonicalized.
2643test -n "$target_alias" &&
2644  test "$program_prefix$program_suffix$program_transform_name" = \
2645    NONENONEs,x,x, &&
2646  program_prefix=${target_alias}-
2647
2648am__api_version='1.16'
2649
2650
2651  # Find a good install program.  We prefer a C program (faster),
2652# so one script is as good as another.  But avoid the broken or
2653# incompatible versions:
2654# SysV /etc/install, /usr/sbin/install
2655# SunOS /usr/etc/install
2656# IRIX /sbin/install
2657# AIX /bin/install
2658# AmigaOS /C/install, which installs bootblocks on floppy discs
2659# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2660# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2661# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2662# OS/2's system install, which has a completely different semantic
2663# ./install, which can be erroneously created by make from ./install.sh.
2664# Reject install programs that cannot install multiple files.
2665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2666printf %s "checking for a BSD-compatible install... " >&6; }
2667if test -z "$INSTALL"; then
2668if test ${ac_cv_path_install+y}
2669then :
2670  printf %s "(cached) " >&6
2671else $as_nop
2672  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673for as_dir in $PATH
2674do
2675  IFS=$as_save_IFS
2676  case $as_dir in #(((
2677    '') as_dir=./ ;;
2678    */) ;;
2679    *) as_dir=$as_dir/ ;;
2680  esac
2681    # Account for fact that we put trailing slashes in our PATH walk.
2682case $as_dir in #((
2683  ./ | /[cC]/* | \
2684  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2685  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2686  /usr/ucb/* ) ;;
2687  *)
2688    # OSF1 and SCO ODT 3.0 have their own names for install.
2689    # Don't use installbsd from OSF since it installs stuff as root
2690    # by default.
2691    for ac_prog in ginstall scoinst install; do
2692      for ac_exec_ext in '' $ac_executable_extensions; do
2693	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2694	  if test $ac_prog = install &&
2695	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2696	    # AIX install.  It has an incompatible calling convention.
2697	    :
2698	  elif test $ac_prog = install &&
2699	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2700	    # program-specific install script used by HP pwplus--don't use.
2701	    :
2702	  else
2703	    rm -rf conftest.one conftest.two conftest.dir
2704	    echo one > conftest.one
2705	    echo two > conftest.two
2706	    mkdir conftest.dir
2707	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2708	      test -s conftest.one && test -s conftest.two &&
2709	      test -s conftest.dir/conftest.one &&
2710	      test -s conftest.dir/conftest.two
2711	    then
2712	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2713	      break 3
2714	    fi
2715	  fi
2716	fi
2717      done
2718    done
2719    ;;
2720esac
2721
2722  done
2723IFS=$as_save_IFS
2724
2725rm -rf conftest.one conftest.two conftest.dir
2726
2727fi
2728  if test ${ac_cv_path_install+y}; then
2729    INSTALL=$ac_cv_path_install
2730  else
2731    # As a last resort, use the slow shell script.  Don't cache a
2732    # value for INSTALL within a source directory, because that will
2733    # break other packages using the cache if that directory is
2734    # removed, or if the value is a relative name.
2735    INSTALL=$ac_install_sh
2736  fi
2737fi
2738{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2739printf "%s\n" "$INSTALL" >&6; }
2740
2741# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2742# It thinks the first close brace ends the variable substitution.
2743test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2744
2745test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2746
2747test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2748
2749{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2750printf %s "checking whether build environment is sane... " >&6; }
2751# Reject unsafe characters in $srcdir or the absolute working directory
2752# name.  Accept space and tab only in the latter.
2753am_lf='
2754'
2755case `pwd` in
2756  *[\\\"\#\$\&\'\`$am_lf]*)
2757    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2758esac
2759case $srcdir in
2760  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2761    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2762esac
2763
2764# Do 'set' in a subshell so we don't clobber the current shell's
2765# arguments.  Must try -L first in case configure is actually a
2766# symlink; some systems play weird games with the mod time of symlinks
2767# (eg FreeBSD returns the mod time of the symlink's containing
2768# directory).
2769if (
2770   am_has_slept=no
2771   for am_try in 1 2; do
2772     echo "timestamp, slept: $am_has_slept" > conftest.file
2773     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2774     if test "$*" = "X"; then
2775	# -L didn't work.
2776	set X `ls -t "$srcdir/configure" conftest.file`
2777     fi
2778     if test "$*" != "X $srcdir/configure conftest.file" \
2779	&& test "$*" != "X conftest.file $srcdir/configure"; then
2780
2781	# If neither matched, then we have a broken ls.  This can happen
2782	# if, for instance, CONFIG_SHELL is bash and it inherits a
2783	# broken ls alias from the environment.  This has actually
2784	# happened.  Such a system could not be considered "sane".
2785	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2786  alias in your environment" "$LINENO" 5
2787     fi
2788     if test "$2" = conftest.file || test $am_try -eq 2; then
2789       break
2790     fi
2791     # Just in case.
2792     sleep 1
2793     am_has_slept=yes
2794   done
2795   test "$2" = conftest.file
2796   )
2797then
2798   # Ok.
2799   :
2800else
2801   as_fn_error $? "newly created file is older than distributed files!
2802Check your system clock" "$LINENO" 5
2803fi
2804{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2805printf "%s\n" "yes" >&6; }
2806# If we didn't sleep, we still need to ensure time stamps of config.status and
2807# generated files are strictly newer.
2808am_sleep_pid=
2809if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2810  ( sleep 1 ) &
2811  am_sleep_pid=$!
2812fi
2813
2814rm -f conftest.file
2815
2816test "$program_prefix" != NONE &&
2817  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2818# Use a double $ so make ignores it.
2819test "$program_suffix" != NONE &&
2820  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2821# Double any \ or $.
2822# By default was `s,x,x', remove it if useless.
2823ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2824program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2825
2826
2827# Expand $ac_aux_dir to an absolute path.
2828am_aux_dir=`cd "$ac_aux_dir" && pwd`
2829
2830
2831  if test x"${MISSING+set}" != xset; then
2832  MISSING="\${SHELL} '$am_aux_dir/missing'"
2833fi
2834# Use eval to expand $SHELL
2835if eval "$MISSING --is-lightweight"; then
2836  am_missing_run="$MISSING "
2837else
2838  am_missing_run=
2839  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2840printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2841fi
2842
2843if test x"${install_sh+set}" != xset; then
2844  case $am_aux_dir in
2845  *\ * | *\	*)
2846    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2847  *)
2848    install_sh="\${SHELL} $am_aux_dir/install-sh"
2849  esac
2850fi
2851
2852# Installed binaries are usually stripped using 'strip' when the user
2853# run "make install-strip".  However 'strip' might not be the right
2854# tool to use in cross-compilation environments, therefore Automake
2855# will honor the 'STRIP' environment variable to overrule this program.
2856if test "$cross_compiling" != no; then
2857  if test -n "$ac_tool_prefix"; then
2858  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2859set dummy ${ac_tool_prefix}strip; ac_word=$2
2860{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861printf %s "checking for $ac_word... " >&6; }
2862if test ${ac_cv_prog_STRIP+y}
2863then :
2864  printf %s "(cached) " >&6
2865else $as_nop
2866  if test -n "$STRIP"; then
2867  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2868else
2869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870for as_dir in $PATH
2871do
2872  IFS=$as_save_IFS
2873  case $as_dir in #(((
2874    '') as_dir=./ ;;
2875    */) ;;
2876    *) as_dir=$as_dir/ ;;
2877  esac
2878    for ac_exec_ext in '' $ac_executable_extensions; do
2879  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2880    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2881    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2882    break 2
2883  fi
2884done
2885  done
2886IFS=$as_save_IFS
2887
2888fi
2889fi
2890STRIP=$ac_cv_prog_STRIP
2891if test -n "$STRIP"; then
2892  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2893printf "%s\n" "$STRIP" >&6; }
2894else
2895  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896printf "%s\n" "no" >&6; }
2897fi
2898
2899
2900fi
2901if test -z "$ac_cv_prog_STRIP"; then
2902  ac_ct_STRIP=$STRIP
2903  # Extract the first word of "strip", so it can be a program name with args.
2904set dummy strip; ac_word=$2
2905{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906printf %s "checking for $ac_word... " >&6; }
2907if test ${ac_cv_prog_ac_ct_STRIP+y}
2908then :
2909  printf %s "(cached) " >&6
2910else $as_nop
2911  if test -n "$ac_ct_STRIP"; then
2912  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2913else
2914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915for as_dir in $PATH
2916do
2917  IFS=$as_save_IFS
2918  case $as_dir in #(((
2919    '') as_dir=./ ;;
2920    */) ;;
2921    *) as_dir=$as_dir/ ;;
2922  esac
2923    for ac_exec_ext in '' $ac_executable_extensions; do
2924  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2925    ac_cv_prog_ac_ct_STRIP="strip"
2926    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2927    break 2
2928  fi
2929done
2930  done
2931IFS=$as_save_IFS
2932
2933fi
2934fi
2935ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2936if test -n "$ac_ct_STRIP"; then
2937  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2938printf "%s\n" "$ac_ct_STRIP" >&6; }
2939else
2940  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941printf "%s\n" "no" >&6; }
2942fi
2943
2944  if test "x$ac_ct_STRIP" = x; then
2945    STRIP=":"
2946  else
2947    case $cross_compiling:$ac_tool_warned in
2948yes:)
2949{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2950printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2951ac_tool_warned=yes ;;
2952esac
2953    STRIP=$ac_ct_STRIP
2954  fi
2955else
2956  STRIP="$ac_cv_prog_STRIP"
2957fi
2958
2959fi
2960INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2961
2962
2963  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2964printf %s "checking for a race-free mkdir -p... " >&6; }
2965if test -z "$MKDIR_P"; then
2966  if test ${ac_cv_path_mkdir+y}
2967then :
2968  printf %s "(cached) " >&6
2969else $as_nop
2970  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2972do
2973  IFS=$as_save_IFS
2974  case $as_dir in #(((
2975    '') as_dir=./ ;;
2976    */) ;;
2977    *) as_dir=$as_dir/ ;;
2978  esac
2979    for ac_prog in mkdir gmkdir; do
2980	 for ac_exec_ext in '' $ac_executable_extensions; do
2981	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2982	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2983	     'mkdir ('*'coreutils) '* | \
2984	     'BusyBox '* | \
2985	     'mkdir (fileutils) '4.1*)
2986	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2987	       break 3;;
2988	   esac
2989	 done
2990       done
2991  done
2992IFS=$as_save_IFS
2993
2994fi
2995
2996  test -d ./--version && rmdir ./--version
2997  if test ${ac_cv_path_mkdir+y}; then
2998    MKDIR_P="$ac_cv_path_mkdir -p"
2999  else
3000    # As a last resort, use the slow shell script.  Don't cache a
3001    # value for MKDIR_P within a source directory, because that will
3002    # break other packages using the cache if that directory is
3003    # removed, or if the value is a relative name.
3004    MKDIR_P="$ac_install_sh -d"
3005  fi
3006fi
3007{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3008printf "%s\n" "$MKDIR_P" >&6; }
3009
3010for ac_prog in gawk mawk nawk awk
3011do
3012  # Extract the first word of "$ac_prog", so it can be a program name with args.
3013set dummy $ac_prog; ac_word=$2
3014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015printf %s "checking for $ac_word... " >&6; }
3016if test ${ac_cv_prog_AWK+y}
3017then :
3018  printf %s "(cached) " >&6
3019else $as_nop
3020  if test -n "$AWK"; then
3021  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3022else
3023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024for as_dir in $PATH
3025do
3026  IFS=$as_save_IFS
3027  case $as_dir in #(((
3028    '') as_dir=./ ;;
3029    */) ;;
3030    *) as_dir=$as_dir/ ;;
3031  esac
3032    for ac_exec_ext in '' $ac_executable_extensions; do
3033  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3034    ac_cv_prog_AWK="$ac_prog"
3035    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3036    break 2
3037  fi
3038done
3039  done
3040IFS=$as_save_IFS
3041
3042fi
3043fi
3044AWK=$ac_cv_prog_AWK
3045if test -n "$AWK"; then
3046  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3047printf "%s\n" "$AWK" >&6; }
3048else
3049  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050printf "%s\n" "no" >&6; }
3051fi
3052
3053
3054  test -n "$AWK" && break
3055done
3056
3057{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3058printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3059set x ${MAKE-make}
3060ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3061if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3062then :
3063  printf %s "(cached) " >&6
3064else $as_nop
3065  cat >conftest.make <<\_ACEOF
3066SHELL = /bin/sh
3067all:
3068	@echo '@@@%%%=$(MAKE)=@@@%%%'
3069_ACEOF
3070# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3071case `${MAKE-make} -f conftest.make 2>/dev/null` in
3072  *@@@%%%=?*=@@@%%%*)
3073    eval ac_cv_prog_make_${ac_make}_set=yes;;
3074  *)
3075    eval ac_cv_prog_make_${ac_make}_set=no;;
3076esac
3077rm -f conftest.make
3078fi
3079if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3080  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081printf "%s\n" "yes" >&6; }
3082  SET_MAKE=
3083else
3084  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085printf "%s\n" "no" >&6; }
3086  SET_MAKE="MAKE=${MAKE-make}"
3087fi
3088
3089rm -rf .tst 2>/dev/null
3090mkdir .tst 2>/dev/null
3091if test -d .tst; then
3092  am__leading_dot=.
3093else
3094  am__leading_dot=_
3095fi
3096rmdir .tst 2>/dev/null
3097
3098# Check whether --enable-silent-rules was given.
3099if test ${enable_silent_rules+y}
3100then :
3101  enableval=$enable_silent_rules;
3102fi
3103
3104case $enable_silent_rules in # (((
3105  yes) AM_DEFAULT_VERBOSITY=0;;
3106   no) AM_DEFAULT_VERBOSITY=1;;
3107    *) AM_DEFAULT_VERBOSITY=1;;
3108esac
3109am_make=${MAKE-make}
3110{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3111printf %s "checking whether $am_make supports nested variables... " >&6; }
3112if test ${am_cv_make_support_nested_variables+y}
3113then :
3114  printf %s "(cached) " >&6
3115else $as_nop
3116  if printf "%s\n" 'TRUE=$(BAR$(V))
3117BAR0=false
3118BAR1=true
3119V=1
3120am__doit:
3121	@$(TRUE)
3122.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3123  am_cv_make_support_nested_variables=yes
3124else
3125  am_cv_make_support_nested_variables=no
3126fi
3127fi
3128{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3129printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3130if test $am_cv_make_support_nested_variables = yes; then
3131    AM_V='$(V)'
3132  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3133else
3134  AM_V=$AM_DEFAULT_VERBOSITY
3135  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3136fi
3137AM_BACKSLASH='\'
3138
3139if test "`cd $srcdir && pwd`" != "`pwd`"; then
3140  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3141  # is not polluted with repeated "-I."
3142  am__isrc=' -I$(srcdir)'
3143  # test to see if srcdir already configured
3144  if test -f $srcdir/config.status; then
3145    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3146  fi
3147fi
3148
3149# test whether we have cygpath
3150if test -z "$CYGPATH_W"; then
3151  if (cygpath --version) >/dev/null 2>/dev/null; then
3152    CYGPATH_W='cygpath -w'
3153  else
3154    CYGPATH_W=echo
3155  fi
3156fi
3157
3158
3159# Define the identity of the package.
3160 PACKAGE='isync'
3161 VERSION='1.4.4'
3162
3163
3164printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3165
3166
3167printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3168
3169# Some tools Automake needs.
3170
3171ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3172
3173
3174AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3175
3176
3177AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3178
3179
3180AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3181
3182
3183MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3184
3185# For better backward compatibility.  To be removed once Automake 1.9.x
3186# dies out for good.  For more background, see:
3187# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3188# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3189mkdir_p='$(MKDIR_P)'
3190
3191# We need awk for the "check" target (and possibly the TAP driver).  The
3192# system "awk" is bad on some platforms.
3193# Always define AMTAR for backward compatibility.  Yes, it's still used
3194# in the wild :-(  We should find a proper way to deprecate it ...
3195AMTAR='$${TAR-tar}'
3196
3197
3198# We'll loop over all known methods to create a tar archive until one works.
3199_am_tools='gnutar  pax cpio none'
3200
3201am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3202
3203
3204
3205
3206
3207# Variables for tags utilities; see am/tags.am
3208if test -z "$CTAGS"; then
3209  CTAGS=ctags
3210fi
3211
3212if test -z "$ETAGS"; then
3213  ETAGS=etags
3214fi
3215
3216if test -z "$CSCOPE"; then
3217  CSCOPE=cscope
3218fi
3219
3220
3221
3222# POSIX will say in a future version that running "rm -f" with no argument
3223# is OK; and we want to be able to make that assumption in our Makefile
3224# recipes.  So use an aggressive probe to check that the usage we want is
3225# actually supported "in the wild" to an acceptable degree.
3226# See automake bug#10828.
3227# To make any issue more visible, cause the running configure to be aborted
3228# by default if the 'rm' program in use doesn't match our expectations; the
3229# user can still override this though.
3230if rm -f && rm -fr && rm -rf; then : OK; else
3231  cat >&2 <<'END'
3232Oops!
3233
3234Your 'rm' program seems unable to run without file operands specified
3235on the command line, even when the '-f' option is present.  This is contrary
3236to the behaviour of most rm programs out there, and not conforming with
3237the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3238
3239Please tell bug-automake@gnu.org about your system, including the value
3240of your $PATH and any error possibly output before this message.  This
3241can help us improve future automake versions.
3242
3243END
3244  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3245    echo 'Configuration will proceed anyway, since you have set the' >&2
3246    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3247    echo >&2
3248  else
3249    cat >&2 <<'END'
3250Aborting the configuration process, to ensure you take notice of the issue.
3251
3252You can download and install GNU coreutils to get an 'rm' implementation
3253that behaves properly: <https://www.gnu.org/software/coreutils/>.
3254
3255If you want to complete the configuration process using your problematic
3256'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3257to "yes", and re-run configure.
3258
3259END
3260    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3261  fi
3262fi
3263
3264{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3265printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3266    # Check whether --enable-maintainer-mode was given.
3267if test ${enable_maintainer_mode+y}
3268then :
3269  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3270else $as_nop
3271  USE_MAINTAINER_MODE=yes
3272fi
3273
3274  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3275printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3276   if test $USE_MAINTAINER_MODE = yes; then
3277  MAINTAINER_MODE_TRUE=
3278  MAINTAINER_MODE_FALSE='#'
3279else
3280  MAINTAINER_MODE_TRUE='#'
3281  MAINTAINER_MODE_FALSE=
3282fi
3283
3284  MAINT=$MAINTAINER_MODE_TRUE
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297ac_ext=c
3298ac_cpp='$CPP $CPPFLAGS'
3299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302if test -n "$ac_tool_prefix"; then
3303  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3304set dummy ${ac_tool_prefix}gcc; ac_word=$2
3305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306printf %s "checking for $ac_word... " >&6; }
3307if test ${ac_cv_prog_CC+y}
3308then :
3309  printf %s "(cached) " >&6
3310else $as_nop
3311  if test -n "$CC"; then
3312  ac_cv_prog_CC="$CC" # Let the user override the test.
3313else
3314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315for as_dir in $PATH
3316do
3317  IFS=$as_save_IFS
3318  case $as_dir in #(((
3319    '') as_dir=./ ;;
3320    */) ;;
3321    *) as_dir=$as_dir/ ;;
3322  esac
3323    for ac_exec_ext in '' $ac_executable_extensions; do
3324  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3325    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3326    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3327    break 2
3328  fi
3329done
3330  done
3331IFS=$as_save_IFS
3332
3333fi
3334fi
3335CC=$ac_cv_prog_CC
3336if test -n "$CC"; then
3337  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3338printf "%s\n" "$CC" >&6; }
3339else
3340  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341printf "%s\n" "no" >&6; }
3342fi
3343
3344
3345fi
3346if test -z "$ac_cv_prog_CC"; then
3347  ac_ct_CC=$CC
3348  # Extract the first word of "gcc", so it can be a program name with args.
3349set dummy gcc; ac_word=$2
3350{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351printf %s "checking for $ac_word... " >&6; }
3352if test ${ac_cv_prog_ac_ct_CC+y}
3353then :
3354  printf %s "(cached) " >&6
3355else $as_nop
3356  if test -n "$ac_ct_CC"; then
3357  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3358else
3359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360for as_dir in $PATH
3361do
3362  IFS=$as_save_IFS
3363  case $as_dir in #(((
3364    '') as_dir=./ ;;
3365    */) ;;
3366    *) as_dir=$as_dir/ ;;
3367  esac
3368    for ac_exec_ext in '' $ac_executable_extensions; do
3369  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3370    ac_cv_prog_ac_ct_CC="gcc"
3371    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3372    break 2
3373  fi
3374done
3375  done
3376IFS=$as_save_IFS
3377
3378fi
3379fi
3380ac_ct_CC=$ac_cv_prog_ac_ct_CC
3381if test -n "$ac_ct_CC"; then
3382  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3383printf "%s\n" "$ac_ct_CC" >&6; }
3384else
3385  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386printf "%s\n" "no" >&6; }
3387fi
3388
3389  if test "x$ac_ct_CC" = x; then
3390    CC=""
3391  else
3392    case $cross_compiling:$ac_tool_warned in
3393yes:)
3394{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3395printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3396ac_tool_warned=yes ;;
3397esac
3398    CC=$ac_ct_CC
3399  fi
3400else
3401  CC="$ac_cv_prog_CC"
3402fi
3403
3404if test -z "$CC"; then
3405          if test -n "$ac_tool_prefix"; then
3406    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3407set dummy ${ac_tool_prefix}cc; ac_word=$2
3408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409printf %s "checking for $ac_word... " >&6; }
3410if test ${ac_cv_prog_CC+y}
3411then :
3412  printf %s "(cached) " >&6
3413else $as_nop
3414  if test -n "$CC"; then
3415  ac_cv_prog_CC="$CC" # Let the user override the test.
3416else
3417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418for as_dir in $PATH
3419do
3420  IFS=$as_save_IFS
3421  case $as_dir in #(((
3422    '') as_dir=./ ;;
3423    */) ;;
3424    *) as_dir=$as_dir/ ;;
3425  esac
3426    for ac_exec_ext in '' $ac_executable_extensions; do
3427  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3428    ac_cv_prog_CC="${ac_tool_prefix}cc"
3429    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3430    break 2
3431  fi
3432done
3433  done
3434IFS=$as_save_IFS
3435
3436fi
3437fi
3438CC=$ac_cv_prog_CC
3439if test -n "$CC"; then
3440  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3441printf "%s\n" "$CC" >&6; }
3442else
3443  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444printf "%s\n" "no" >&6; }
3445fi
3446
3447
3448  fi
3449fi
3450if test -z "$CC"; then
3451  # Extract the first word of "cc", so it can be a program name with args.
3452set dummy cc; ac_word=$2
3453{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454printf %s "checking for $ac_word... " >&6; }
3455if test ${ac_cv_prog_CC+y}
3456then :
3457  printf %s "(cached) " >&6
3458else $as_nop
3459  if test -n "$CC"; then
3460  ac_cv_prog_CC="$CC" # Let the user override the test.
3461else
3462  ac_prog_rejected=no
3463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464for as_dir in $PATH
3465do
3466  IFS=$as_save_IFS
3467  case $as_dir in #(((
3468    '') as_dir=./ ;;
3469    */) ;;
3470    *) as_dir=$as_dir/ ;;
3471  esac
3472    for ac_exec_ext in '' $ac_executable_extensions; do
3473  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3474    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3475       ac_prog_rejected=yes
3476       continue
3477     fi
3478    ac_cv_prog_CC="cc"
3479    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3480    break 2
3481  fi
3482done
3483  done
3484IFS=$as_save_IFS
3485
3486if test $ac_prog_rejected = yes; then
3487  # We found a bogon in the path, so make sure we never use it.
3488  set dummy $ac_cv_prog_CC
3489  shift
3490  if test $# != 0; then
3491    # We chose a different compiler from the bogus one.
3492    # However, it has the same basename, so the bogon will be chosen
3493    # first if we set CC to just the basename; use the full file name.
3494    shift
3495    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3496  fi
3497fi
3498fi
3499fi
3500CC=$ac_cv_prog_CC
3501if test -n "$CC"; then
3502  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3503printf "%s\n" "$CC" >&6; }
3504else
3505  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506printf "%s\n" "no" >&6; }
3507fi
3508
3509
3510fi
3511if test -z "$CC"; then
3512  if test -n "$ac_tool_prefix"; then
3513  for ac_prog in cl.exe
3514  do
3515    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3516set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3517{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518printf %s "checking for $ac_word... " >&6; }
3519if test ${ac_cv_prog_CC+y}
3520then :
3521  printf %s "(cached) " >&6
3522else $as_nop
3523  if test -n "$CC"; then
3524  ac_cv_prog_CC="$CC" # Let the user override the test.
3525else
3526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527for as_dir in $PATH
3528do
3529  IFS=$as_save_IFS
3530  case $as_dir in #(((
3531    '') as_dir=./ ;;
3532    */) ;;
3533    *) as_dir=$as_dir/ ;;
3534  esac
3535    for ac_exec_ext in '' $ac_executable_extensions; do
3536  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3537    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3538    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3539    break 2
3540  fi
3541done
3542  done
3543IFS=$as_save_IFS
3544
3545fi
3546fi
3547CC=$ac_cv_prog_CC
3548if test -n "$CC"; then
3549  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550printf "%s\n" "$CC" >&6; }
3551else
3552  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553printf "%s\n" "no" >&6; }
3554fi
3555
3556
3557    test -n "$CC" && break
3558  done
3559fi
3560if test -z "$CC"; then
3561  ac_ct_CC=$CC
3562  for ac_prog in cl.exe
3563do
3564  # Extract the first word of "$ac_prog", so it can be a program name with args.
3565set dummy $ac_prog; ac_word=$2
3566{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567printf %s "checking for $ac_word... " >&6; }
3568if test ${ac_cv_prog_ac_ct_CC+y}
3569then :
3570  printf %s "(cached) " >&6
3571else $as_nop
3572  if test -n "$ac_ct_CC"; then
3573  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3574else
3575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576for as_dir in $PATH
3577do
3578  IFS=$as_save_IFS
3579  case $as_dir in #(((
3580    '') as_dir=./ ;;
3581    */) ;;
3582    *) as_dir=$as_dir/ ;;
3583  esac
3584    for ac_exec_ext in '' $ac_executable_extensions; do
3585  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3586    ac_cv_prog_ac_ct_CC="$ac_prog"
3587    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3588    break 2
3589  fi
3590done
3591  done
3592IFS=$as_save_IFS
3593
3594fi
3595fi
3596ac_ct_CC=$ac_cv_prog_ac_ct_CC
3597if test -n "$ac_ct_CC"; then
3598  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3599printf "%s\n" "$ac_ct_CC" >&6; }
3600else
3601  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602printf "%s\n" "no" >&6; }
3603fi
3604
3605
3606  test -n "$ac_ct_CC" && break
3607done
3608
3609  if test "x$ac_ct_CC" = x; then
3610    CC=""
3611  else
3612    case $cross_compiling:$ac_tool_warned in
3613yes:)
3614{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3615printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616ac_tool_warned=yes ;;
3617esac
3618    CC=$ac_ct_CC
3619  fi
3620fi
3621
3622fi
3623if test -z "$CC"; then
3624  if test -n "$ac_tool_prefix"; then
3625  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3626set dummy ${ac_tool_prefix}clang; ac_word=$2
3627{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3628printf %s "checking for $ac_word... " >&6; }
3629if test ${ac_cv_prog_CC+y}
3630then :
3631  printf %s "(cached) " >&6
3632else $as_nop
3633  if test -n "$CC"; then
3634  ac_cv_prog_CC="$CC" # Let the user override the test.
3635else
3636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637for as_dir in $PATH
3638do
3639  IFS=$as_save_IFS
3640  case $as_dir in #(((
3641    '') as_dir=./ ;;
3642    */) ;;
3643    *) as_dir=$as_dir/ ;;
3644  esac
3645    for ac_exec_ext in '' $ac_executable_extensions; do
3646  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3647    ac_cv_prog_CC="${ac_tool_prefix}clang"
3648    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3649    break 2
3650  fi
3651done
3652  done
3653IFS=$as_save_IFS
3654
3655fi
3656fi
3657CC=$ac_cv_prog_CC
3658if test -n "$CC"; then
3659  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660printf "%s\n" "$CC" >&6; }
3661else
3662  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663printf "%s\n" "no" >&6; }
3664fi
3665
3666
3667fi
3668if test -z "$ac_cv_prog_CC"; then
3669  ac_ct_CC=$CC
3670  # Extract the first word of "clang", so it can be a program name with args.
3671set dummy clang; ac_word=$2
3672{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673printf %s "checking for $ac_word... " >&6; }
3674if test ${ac_cv_prog_ac_ct_CC+y}
3675then :
3676  printf %s "(cached) " >&6
3677else $as_nop
3678  if test -n "$ac_ct_CC"; then
3679  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680else
3681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682for as_dir in $PATH
3683do
3684  IFS=$as_save_IFS
3685  case $as_dir in #(((
3686    '') as_dir=./ ;;
3687    */) ;;
3688    *) as_dir=$as_dir/ ;;
3689  esac
3690    for ac_exec_ext in '' $ac_executable_extensions; do
3691  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3692    ac_cv_prog_ac_ct_CC="clang"
3693    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3694    break 2
3695  fi
3696done
3697  done
3698IFS=$as_save_IFS
3699
3700fi
3701fi
3702ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703if test -n "$ac_ct_CC"; then
3704  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705printf "%s\n" "$ac_ct_CC" >&6; }
3706else
3707  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708printf "%s\n" "no" >&6; }
3709fi
3710
3711  if test "x$ac_ct_CC" = x; then
3712    CC=""
3713  else
3714    case $cross_compiling:$ac_tool_warned in
3715yes:)
3716{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718ac_tool_warned=yes ;;
3719esac
3720    CC=$ac_ct_CC
3721  fi
3722else
3723  CC="$ac_cv_prog_CC"
3724fi
3725
3726fi
3727
3728
3729test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3731as_fn_error $? "no acceptable C compiler found in \$PATH
3732See \`config.log' for more details" "$LINENO" 5; }
3733
3734# Provide some information about the compiler.
3735printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3736set X $ac_compile
3737ac_compiler=$2
3738for ac_option in --version -v -V -qversion -version; do
3739  { { ac_try="$ac_compiler $ac_option >&5"
3740case "(($ac_try" in
3741  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742  *) ac_try_echo=$ac_try;;
3743esac
3744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745printf "%s\n" "$ac_try_echo"; } >&5
3746  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3747  ac_status=$?
3748  if test -s conftest.err; then
3749    sed '10a\
3750... rest of stderr output deleted ...
3751         10q' conftest.err >conftest.er1
3752    cat conftest.er1 >&5
3753  fi
3754  rm -f conftest.er1 conftest.err
3755  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756  test $ac_status = 0; }
3757done
3758
3759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760/* end confdefs.h.  */
3761
3762int
3763main (void)
3764{
3765
3766  ;
3767  return 0;
3768}
3769_ACEOF
3770ac_clean_files_save=$ac_clean_files
3771ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3772# Try to create an executable without -o first, disregard a.out.
3773# It will help us diagnose broken compilers, and finding out an intuition
3774# of exeext.
3775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3776printf %s "checking whether the C compiler works... " >&6; }
3777ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3778
3779# The possible output files:
3780ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3781
3782ac_rmfiles=
3783for ac_file in $ac_files
3784do
3785  case $ac_file in
3786    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3787    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3788  esac
3789done
3790rm -f $ac_rmfiles
3791
3792if { { ac_try="$ac_link_default"
3793case "(($ac_try" in
3794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795  *) ac_try_echo=$ac_try;;
3796esac
3797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798printf "%s\n" "$ac_try_echo"; } >&5
3799  (eval "$ac_link_default") 2>&5
3800  ac_status=$?
3801  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802  test $ac_status = 0; }
3803then :
3804  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3805# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3806# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3807# so that the user can short-circuit this test for compilers unknown to
3808# Autoconf.
3809for ac_file in $ac_files ''
3810do
3811  test -f "$ac_file" || continue
3812  case $ac_file in
3813    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3814	;;
3815    [ab].out )
3816	# We found the default executable, but exeext='' is most
3817	# certainly right.
3818	break;;
3819    *.* )
3820	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3821	then :; else
3822	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3823	fi
3824	# We set ac_cv_exeext here because the later test for it is not
3825	# safe: cross compilers may not add the suffix if given an `-o'
3826	# argument, so we may need to know it at that point already.
3827	# Even if this section looks crufty: it has the advantage of
3828	# actually working.
3829	break;;
3830    * )
3831	break;;
3832  esac
3833done
3834test "$ac_cv_exeext" = no && ac_cv_exeext=
3835
3836else $as_nop
3837  ac_file=''
3838fi
3839if test -z "$ac_file"
3840then :
3841  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842printf "%s\n" "no" >&6; }
3843printf "%s\n" "$as_me: failed program was:" >&5
3844sed 's/^/| /' conftest.$ac_ext >&5
3845
3846{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3848as_fn_error 77 "C compiler cannot create executables
3849See \`config.log' for more details" "$LINENO" 5; }
3850else $as_nop
3851  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3852printf "%s\n" "yes" >&6; }
3853fi
3854{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3855printf %s "checking for C compiler default output file name... " >&6; }
3856{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3857printf "%s\n" "$ac_file" >&6; }
3858ac_exeext=$ac_cv_exeext
3859
3860rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3861ac_clean_files=$ac_clean_files_save
3862{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3863printf %s "checking for suffix of executables... " >&6; }
3864if { { ac_try="$ac_link"
3865case "(($ac_try" in
3866  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867  *) ac_try_echo=$ac_try;;
3868esac
3869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870printf "%s\n" "$ac_try_echo"; } >&5
3871  (eval "$ac_link") 2>&5
3872  ac_status=$?
3873  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874  test $ac_status = 0; }
3875then :
3876  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3877# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3878# work properly (i.e., refer to `conftest.exe'), while it won't with
3879# `rm'.
3880for ac_file in conftest.exe conftest conftest.*; do
3881  test -f "$ac_file" || continue
3882  case $ac_file in
3883    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3885	  break;;
3886    * ) break;;
3887  esac
3888done
3889else $as_nop
3890  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3892as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3893See \`config.log' for more details" "$LINENO" 5; }
3894fi
3895rm -f conftest conftest$ac_cv_exeext
3896{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897printf "%s\n" "$ac_cv_exeext" >&6; }
3898
3899rm -f conftest.$ac_ext
3900EXEEXT=$ac_cv_exeext
3901ac_exeext=$EXEEXT
3902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903/* end confdefs.h.  */
3904#include <stdio.h>
3905int
3906main (void)
3907{
3908FILE *f = fopen ("conftest.out", "w");
3909 return ferror (f) || fclose (f) != 0;
3910
3911  ;
3912  return 0;
3913}
3914_ACEOF
3915ac_clean_files="$ac_clean_files conftest.out"
3916# Check that the compiler produces executables we can run.  If not, either
3917# the compiler is broken, or we cross compile.
3918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3919printf %s "checking whether we are cross compiling... " >&6; }
3920if test "$cross_compiling" != yes; then
3921  { { ac_try="$ac_link"
3922case "(($ac_try" in
3923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924  *) ac_try_echo=$ac_try;;
3925esac
3926eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927printf "%s\n" "$ac_try_echo"; } >&5
3928  (eval "$ac_link") 2>&5
3929  ac_status=$?
3930  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931  test $ac_status = 0; }
3932  if { ac_try='./conftest$ac_cv_exeext'
3933  { { case "(($ac_try" in
3934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935  *) ac_try_echo=$ac_try;;
3936esac
3937eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938printf "%s\n" "$ac_try_echo"; } >&5
3939  (eval "$ac_try") 2>&5
3940  ac_status=$?
3941  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942  test $ac_status = 0; }; }; then
3943    cross_compiling=no
3944  else
3945    if test "$cross_compiling" = maybe; then
3946	cross_compiling=yes
3947    else
3948	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3950as_fn_error 77 "cannot run C compiled programs.
3951If you meant to cross compile, use \`--host'.
3952See \`config.log' for more details" "$LINENO" 5; }
3953    fi
3954  fi
3955fi
3956{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3957printf "%s\n" "$cross_compiling" >&6; }
3958
3959rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3960ac_clean_files=$ac_clean_files_save
3961{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962printf %s "checking for suffix of object files... " >&6; }
3963if test ${ac_cv_objext+y}
3964then :
3965  printf %s "(cached) " >&6
3966else $as_nop
3967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968/* end confdefs.h.  */
3969
3970int
3971main (void)
3972{
3973
3974  ;
3975  return 0;
3976}
3977_ACEOF
3978rm -f conftest.o conftest.obj
3979if { { ac_try="$ac_compile"
3980case "(($ac_try" in
3981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982  *) ac_try_echo=$ac_try;;
3983esac
3984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985printf "%s\n" "$ac_try_echo"; } >&5
3986  (eval "$ac_compile") 2>&5
3987  ac_status=$?
3988  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989  test $ac_status = 0; }
3990then :
3991  for ac_file in conftest.o conftest.obj conftest.*; do
3992  test -f "$ac_file" || continue;
3993  case $ac_file in
3994    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3995    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3996       break;;
3997  esac
3998done
3999else $as_nop
4000  printf "%s\n" "$as_me: failed program was:" >&5
4001sed 's/^/| /' conftest.$ac_ext >&5
4002
4003{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4005as_fn_error $? "cannot compute suffix of object files: cannot compile
4006See \`config.log' for more details" "$LINENO" 5; }
4007fi
4008rm -f conftest.$ac_cv_objext conftest.$ac_ext
4009fi
4010{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4011printf "%s\n" "$ac_cv_objext" >&6; }
4012OBJEXT=$ac_cv_objext
4013ac_objext=$OBJEXT
4014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4015printf %s "checking whether the compiler supports GNU C... " >&6; }
4016if test ${ac_cv_c_compiler_gnu+y}
4017then :
4018  printf %s "(cached) " >&6
4019else $as_nop
4020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021/* end confdefs.h.  */
4022
4023int
4024main (void)
4025{
4026#ifndef __GNUC__
4027       choke me
4028#endif
4029
4030  ;
4031  return 0;
4032}
4033_ACEOF
4034if ac_fn_c_try_compile "$LINENO"
4035then :
4036  ac_compiler_gnu=yes
4037else $as_nop
4038  ac_compiler_gnu=no
4039fi
4040rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4041ac_cv_c_compiler_gnu=$ac_compiler_gnu
4042
4043fi
4044{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4045printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4046ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047
4048if test $ac_compiler_gnu = yes; then
4049  GCC=yes
4050else
4051  GCC=
4052fi
4053ac_test_CFLAGS=${CFLAGS+y}
4054ac_save_CFLAGS=$CFLAGS
4055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4056printf %s "checking whether $CC accepts -g... " >&6; }
4057if test ${ac_cv_prog_cc_g+y}
4058then :
4059  printf %s "(cached) " >&6
4060else $as_nop
4061  ac_save_c_werror_flag=$ac_c_werror_flag
4062   ac_c_werror_flag=yes
4063   ac_cv_prog_cc_g=no
4064   CFLAGS="-g"
4065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066/* end confdefs.h.  */
4067
4068int
4069main (void)
4070{
4071
4072  ;
4073  return 0;
4074}
4075_ACEOF
4076if ac_fn_c_try_compile "$LINENO"
4077then :
4078  ac_cv_prog_cc_g=yes
4079else $as_nop
4080  CFLAGS=""
4081      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082/* end confdefs.h.  */
4083
4084int
4085main (void)
4086{
4087
4088  ;
4089  return 0;
4090}
4091_ACEOF
4092if ac_fn_c_try_compile "$LINENO"
4093then :
4094
4095else $as_nop
4096  ac_c_werror_flag=$ac_save_c_werror_flag
4097	 CFLAGS="-g"
4098	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099/* end confdefs.h.  */
4100
4101int
4102main (void)
4103{
4104
4105  ;
4106  return 0;
4107}
4108_ACEOF
4109if ac_fn_c_try_compile "$LINENO"
4110then :
4111  ac_cv_prog_cc_g=yes
4112fi
4113rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4114fi
4115rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4116fi
4117rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4118   ac_c_werror_flag=$ac_save_c_werror_flag
4119fi
4120{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4121printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4122if test $ac_test_CFLAGS; then
4123  CFLAGS=$ac_save_CFLAGS
4124elif test $ac_cv_prog_cc_g = yes; then
4125  if test "$GCC" = yes; then
4126    CFLAGS="-g -O2"
4127  else
4128    CFLAGS="-g"
4129  fi
4130else
4131  if test "$GCC" = yes; then
4132    CFLAGS="-O2"
4133  else
4134    CFLAGS=
4135  fi
4136fi
4137ac_prog_cc_stdc=no
4138if test x$ac_prog_cc_stdc = xno
4139then :
4140  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4141printf %s "checking for $CC option to enable C11 features... " >&6; }
4142if test ${ac_cv_prog_cc_c11+y}
4143then :
4144  printf %s "(cached) " >&6
4145else $as_nop
4146  ac_cv_prog_cc_c11=no
4147ac_save_CC=$CC
4148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149/* end confdefs.h.  */
4150$ac_c_conftest_c11_program
4151_ACEOF
4152for ac_arg in '' -std=gnu11
4153do
4154  CC="$ac_save_CC $ac_arg"
4155  if ac_fn_c_try_compile "$LINENO"
4156then :
4157  ac_cv_prog_cc_c11=$ac_arg
4158fi
4159rm -f core conftest.err conftest.$ac_objext conftest.beam
4160  test "x$ac_cv_prog_cc_c11" != "xno" && break
4161done
4162rm -f conftest.$ac_ext
4163CC=$ac_save_CC
4164fi
4165
4166if test "x$ac_cv_prog_cc_c11" = xno
4167then :
4168  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4169printf "%s\n" "unsupported" >&6; }
4170else $as_nop
4171  if test "x$ac_cv_prog_cc_c11" = x
4172then :
4173  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4174printf "%s\n" "none needed" >&6; }
4175else $as_nop
4176  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4177printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4178     CC="$CC $ac_cv_prog_cc_c11"
4179fi
4180  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4181  ac_prog_cc_stdc=c11
4182fi
4183fi
4184if test x$ac_prog_cc_stdc = xno
4185then :
4186  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4187printf %s "checking for $CC option to enable C99 features... " >&6; }
4188if test ${ac_cv_prog_cc_c99+y}
4189then :
4190  printf %s "(cached) " >&6
4191else $as_nop
4192  ac_cv_prog_cc_c99=no
4193ac_save_CC=$CC
4194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195/* end confdefs.h.  */
4196$ac_c_conftest_c99_program
4197_ACEOF
4198for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4199do
4200  CC="$ac_save_CC $ac_arg"
4201  if ac_fn_c_try_compile "$LINENO"
4202then :
4203  ac_cv_prog_cc_c99=$ac_arg
4204fi
4205rm -f core conftest.err conftest.$ac_objext conftest.beam
4206  test "x$ac_cv_prog_cc_c99" != "xno" && break
4207done
4208rm -f conftest.$ac_ext
4209CC=$ac_save_CC
4210fi
4211
4212if test "x$ac_cv_prog_cc_c99" = xno
4213then :
4214  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4215printf "%s\n" "unsupported" >&6; }
4216else $as_nop
4217  if test "x$ac_cv_prog_cc_c99" = x
4218then :
4219  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4220printf "%s\n" "none needed" >&6; }
4221else $as_nop
4222  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4223printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4224     CC="$CC $ac_cv_prog_cc_c99"
4225fi
4226  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4227  ac_prog_cc_stdc=c99
4228fi
4229fi
4230if test x$ac_prog_cc_stdc = xno
4231then :
4232  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4233printf %s "checking for $CC option to enable C89 features... " >&6; }
4234if test ${ac_cv_prog_cc_c89+y}
4235then :
4236  printf %s "(cached) " >&6
4237else $as_nop
4238  ac_cv_prog_cc_c89=no
4239ac_save_CC=$CC
4240cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241/* end confdefs.h.  */
4242$ac_c_conftest_c89_program
4243_ACEOF
4244for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4245do
4246  CC="$ac_save_CC $ac_arg"
4247  if ac_fn_c_try_compile "$LINENO"
4248then :
4249  ac_cv_prog_cc_c89=$ac_arg
4250fi
4251rm -f core conftest.err conftest.$ac_objext conftest.beam
4252  test "x$ac_cv_prog_cc_c89" != "xno" && break
4253done
4254rm -f conftest.$ac_ext
4255CC=$ac_save_CC
4256fi
4257
4258if test "x$ac_cv_prog_cc_c89" = xno
4259then :
4260  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4261printf "%s\n" "unsupported" >&6; }
4262else $as_nop
4263  if test "x$ac_cv_prog_cc_c89" = x
4264then :
4265  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4266printf "%s\n" "none needed" >&6; }
4267else $as_nop
4268  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4269printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4270     CC="$CC $ac_cv_prog_cc_c89"
4271fi
4272  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4273  ac_prog_cc_stdc=c89
4274fi
4275fi
4276
4277ac_ext=c
4278ac_cpp='$CPP $CPPFLAGS'
4279ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4280ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4281ac_compiler_gnu=$ac_cv_c_compiler_gnu
4282
4283
4284  ac_ext=c
4285ac_cpp='$CPP $CPPFLAGS'
4286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4288ac_compiler_gnu=$ac_cv_c_compiler_gnu
4289{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4290printf %s "checking whether $CC understands -c and -o together... " >&6; }
4291if test ${am_cv_prog_cc_c_o+y}
4292then :
4293  printf %s "(cached) " >&6
4294else $as_nop
4295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296/* end confdefs.h.  */
4297
4298int
4299main (void)
4300{
4301
4302  ;
4303  return 0;
4304}
4305_ACEOF
4306  # Make sure it works both with $CC and with simple cc.
4307  # Following AC_PROG_CC_C_O, we do the test twice because some
4308  # compilers refuse to overwrite an existing .o file with -o,
4309  # though they will create one.
4310  am_cv_prog_cc_c_o=yes
4311  for am_i in 1 2; do
4312    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4313   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4314   ac_status=$?
4315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316   (exit $ac_status); } \
4317         && test -f conftest2.$ac_objext; then
4318      : OK
4319    else
4320      am_cv_prog_cc_c_o=no
4321      break
4322    fi
4323  done
4324  rm -f core conftest*
4325  unset am_i
4326fi
4327{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4328printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4329if test "$am_cv_prog_cc_c_o" != yes; then
4330   # Losing compiler, so override with the script.
4331   # FIXME: It is wrong to rewrite CC.
4332   # But if we don't then we get into trouble of one sort or another.
4333   # A longer-term fix would be to have automake use am__CC in this case,
4334   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4335   CC="$am_aux_dir/compile $CC"
4336fi
4337ac_ext=c
4338ac_cpp='$CPP $CPPFLAGS'
4339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342
4343DEPDIR="${am__leading_dot}deps"
4344
4345ac_config_commands="$ac_config_commands depfiles"
4346
4347{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4348printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4349cat > confinc.mk << 'END'
4350am__doit:
4351	@echo this is the am__doit target >confinc.out
4352.PHONY: am__doit
4353END
4354am__include="#"
4355am__quote=
4356# BSD make does it like this.
4357echo '.include "confinc.mk" # ignored' > confmf.BSD
4358# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4359echo 'include confinc.mk # ignored' > confmf.GNU
4360_am_result=no
4361for s in GNU BSD; do
4362  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4363   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4364   ac_status=$?
4365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366   (exit $ac_status); }
4367  case $?:`cat confinc.out 2>/dev/null` in #(
4368  '0:this is the am__doit target') :
4369    case $s in #(
4370  BSD) :
4371    am__include='.include' am__quote='"' ;; #(
4372  *) :
4373    am__include='include' am__quote='' ;;
4374esac ;; #(
4375  *) :
4376     ;;
4377esac
4378  if test "$am__include" != "#"; then
4379    _am_result="yes ($s style)"
4380    break
4381  fi
4382done
4383rm -f confinc.* confmf.*
4384{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4385printf "%s\n" "${_am_result}" >&6; }
4386
4387# Check whether --enable-dependency-tracking was given.
4388if test ${enable_dependency_tracking+y}
4389then :
4390  enableval=$enable_dependency_tracking;
4391fi
4392
4393if test "x$enable_dependency_tracking" != xno; then
4394  am_depcomp="$ac_aux_dir/depcomp"
4395  AMDEPBACKSLASH='\'
4396  am__nodep='_no'
4397fi
4398 if test "x$enable_dependency_tracking" != xno; then
4399  AMDEP_TRUE=
4400  AMDEP_FALSE='#'
4401else
4402  AMDEP_TRUE='#'
4403  AMDEP_FALSE=
4404fi
4405
4406
4407
4408depcc="$CC"   am_compiler_list=
4409
4410{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4411printf %s "checking dependency style of $depcc... " >&6; }
4412if test ${am_cv_CC_dependencies_compiler_type+y}
4413then :
4414  printf %s "(cached) " >&6
4415else $as_nop
4416  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4417  # We make a subdir and do the tests there.  Otherwise we can end up
4418  # making bogus files that we don't know about and never remove.  For
4419  # instance it was reported that on HP-UX the gcc test will end up
4420  # making a dummy file named 'D' -- because '-MD' means "put the output
4421  # in D".
4422  rm -rf conftest.dir
4423  mkdir conftest.dir
4424  # Copy depcomp to subdir because otherwise we won't find it if we're
4425  # using a relative directory.
4426  cp "$am_depcomp" conftest.dir
4427  cd conftest.dir
4428  # We will build objects and dependencies in a subdirectory because
4429  # it helps to detect inapplicable dependency modes.  For instance
4430  # both Tru64's cc and ICC support -MD to output dependencies as a
4431  # side effect of compilation, but ICC will put the dependencies in
4432  # the current directory while Tru64 will put them in the object
4433  # directory.
4434  mkdir sub
4435
4436  am_cv_CC_dependencies_compiler_type=none
4437  if test "$am_compiler_list" = ""; then
4438     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4439  fi
4440  am__universal=false
4441  case " $depcc " in #(
4442     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4443     esac
4444
4445  for depmode in $am_compiler_list; do
4446    # Setup a source with many dependencies, because some compilers
4447    # like to wrap large dependency lists on column 80 (with \), and
4448    # we should not choose a depcomp mode which is confused by this.
4449    #
4450    # We need to recreate these files for each test, as the compiler may
4451    # overwrite some of them when testing with obscure command lines.
4452    # This happens at least with the AIX C compiler.
4453    : > sub/conftest.c
4454    for i in 1 2 3 4 5 6; do
4455      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4456      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4457      # Solaris 10 /bin/sh.
4458      echo '/* dummy */' > sub/conftst$i.h
4459    done
4460    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4461
4462    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4463    # mode.  It turns out that the SunPro C++ compiler does not properly
4464    # handle '-M -o', and we need to detect this.  Also, some Intel
4465    # versions had trouble with output in subdirs.
4466    am__obj=sub/conftest.${OBJEXT-o}
4467    am__minus_obj="-o $am__obj"
4468    case $depmode in
4469    gcc)
4470      # This depmode causes a compiler race in universal mode.
4471      test "$am__universal" = false || continue
4472      ;;
4473    nosideeffect)
4474      # After this tag, mechanisms are not by side-effect, so they'll
4475      # only be used when explicitly requested.
4476      if test "x$enable_dependency_tracking" = xyes; then
4477	continue
4478      else
4479	break
4480      fi
4481      ;;
4482    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4483      # This compiler won't grok '-c -o', but also, the minuso test has
4484      # not run yet.  These depmodes are late enough in the game, and
4485      # so weak that their functioning should not be impacted.
4486      am__obj=conftest.${OBJEXT-o}
4487      am__minus_obj=
4488      ;;
4489    none) break ;;
4490    esac
4491    if depmode=$depmode \
4492       source=sub/conftest.c object=$am__obj \
4493       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4494       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4495         >/dev/null 2>conftest.err &&
4496       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4497       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4498       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4499       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4500      # icc doesn't choke on unknown options, it will just issue warnings
4501      # or remarks (even with -Werror).  So we grep stderr for any message
4502      # that says an option was ignored or not supported.
4503      # When given -MP, icc 7.0 and 7.1 complain thusly:
4504      #   icc: Command line warning: ignoring option '-M'; no argument required
4505      # The diagnosis changed in icc 8.0:
4506      #   icc: Command line remark: option '-MP' not supported
4507      if (grep 'ignoring option' conftest.err ||
4508          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4509        am_cv_CC_dependencies_compiler_type=$depmode
4510        break
4511      fi
4512    fi
4513  done
4514
4515  cd ..
4516  rm -rf conftest.dir
4517else
4518  am_cv_CC_dependencies_compiler_type=none
4519fi
4520
4521fi
4522{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4523printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4524CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4525
4526 if
4527  test "x$enable_dependency_tracking" != xno \
4528  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4529  am__fastdepCC_TRUE=
4530  am__fastdepCC_FALSE='#'
4531else
4532  am__fastdepCC_TRUE='#'
4533  am__fastdepCC_FALSE=
4534fi
4535
4536
4537if test "$GCC" = yes; then
4538    warnings="
4539        -Wall -Wextra
4540        -Wshadow
4541        -Wcast-qual
4542        -Wformat=2  -Wformat-nonliteral
4543        -Wstrict-prototypes
4544
4545        -Wno-overlength-strings
4546    "
4547    CFLAGS="$CFLAGS -pipe -std=c11 -pedantic $(echo $warnings)"
4548fi
4549
4550
4551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552/* end confdefs.h.  */
4553
4554void fkt(void)
4555{
4556    int a = 42;  // c99 comment
4557
4558    for (int i = 0; i < a; i++) {}  // declaration inside for()
4559    int b;  // declaration after code
4560}
4561
4562// c11 anonymous structs/unions
4563struct base {
4564    int a;
4565};
4566union deriv {
4567    struct base gen;
4568    struct {
4569        int a;
4570        int b;
4571    };
4572};
4573
4574_ACEOF
4575if ac_fn_c_try_compile "$LINENO"
4576then :
4577
4578else $as_nop
4579  as_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
4580fi
4581rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4582
4583CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
4584
4585# Extract the first word of "perl", so it can be a program name with args.
4586set dummy perl; ac_word=$2
4587{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588printf %s "checking for $ac_word... " >&6; }
4589if test ${ac_cv_prog_PERL+y}
4590then :
4591  printf %s "(cached) " >&6
4592else $as_nop
4593  if test -n "$PERL"; then
4594  ac_cv_prog_PERL="$PERL" # Let the user override the test.
4595else
4596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597for as_dir in $PATH
4598do
4599  IFS=$as_save_IFS
4600  case $as_dir in #(((
4601    '') as_dir=./ ;;
4602    */) ;;
4603    *) as_dir=$as_dir/ ;;
4604  esac
4605    for ac_exec_ext in '' $ac_executable_extensions; do
4606  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4607    ac_cv_prog_PERL="perl"
4608    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4609    break 2
4610  fi
4611done
4612  done
4613IFS=$as_save_IFS
4614
4615fi
4616fi
4617PERL=$ac_cv_prog_PERL
4618if test -n "$PERL"; then
4619  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4620printf "%s\n" "$PERL" >&6; }
4621else
4622  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623printf "%s\n" "no" >&6; }
4624fi
4625
4626
4627if test "x$PERL" = "x"; then
4628    as_fn_error $? "perl not found" "$LINENO" 5
4629fi
4630
4631need_perl=5.14
4632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether perl is recent enough" >&5
4633printf %s "checking whether perl is recent enough... " >&6; }
4634if test ${ob_cv_perl_ver+y}
4635then :
4636  printf %s "(cached) " >&6
4637else $as_nop
4638
4639    if $PERL -e "use v$need_perl;" 2> /dev/null; then
4640        ob_cv_perl_ver=yes
4641    else
4642        ob_cv_perl_ver=no
4643    fi
4644
4645fi
4646{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ob_cv_perl_ver" >&5
4647printf "%s\n" "$ob_cv_perl_ver" >&6; }
4648if test "x$ob_cv_perl_ver" = "xno"; then
4649    as_fn_error $? "perl is too old, need v$need_perl" "$LINENO" 5
4650fi
4651
4652{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strftime supports %z" >&5
4653printf %s "checking whether strftime supports %z... " >&6; }
4654if test ${ob_cv_strftime_z+y}
4655then :
4656  printf %s "(cached) " >&6
4657else $as_nop
4658  if test "$cross_compiling" = yes
4659then :
4660  ob_cv_strftime_z="yes (assumed)"
4661else $as_nop
4662  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663/* end confdefs.h.  */
4664
4665#include <time.h>
4666#include <string.h>
4667
4668int main(void)
4669{
4670    time_t t = 0;
4671    char buf[32];
4672    strftime(buf, sizeof(buf), "%z", localtime(&t));
4673    return !(buf[0] == '+' || buf[0] == '-');
4674}
4675
4676_ACEOF
4677if ac_fn_c_try_run "$LINENO"
4678then :
4679  ob_cv_strftime_z=yes
4680else $as_nop
4681  ob_cv_strftime_z=no
4682fi
4683rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4684  conftest.$ac_objext conftest.beam conftest.$ac_ext
4685fi
4686
4687fi
4688{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ob_cv_strftime_z" >&5
4689printf "%s\n" "$ob_cv_strftime_z" >&6; }
4690if test "x$ob_cv_strftime_z" = x"no"; then
4691    as_fn_error $? "libc lacks necessary feature" "$LINENO" 5
4692fi
4693
4694ac_header= ac_cache=
4695for ac_item in $ac_header_c_list
4696do
4697  if test $ac_cache; then
4698    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4699    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4700      printf "%s\n" "#define $ac_item 1" >> confdefs.h
4701    fi
4702    ac_header= ac_cache=
4703  elif test $ac_header; then
4704    ac_cache=$ac_item
4705  else
4706    ac_header=$ac_item
4707  fi
4708done
4709
4710
4711
4712
4713
4714
4715
4716
4717if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4718then :
4719
4720printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4721
4722fi
4723ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
4724if test "x$ac_cv_header_poll_h" = xyes
4725then :
4726  printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
4727
4728fi
4729ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
4730if test "x$ac_cv_header_sys_select_h" = xyes
4731then :
4732  printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
4733
4734fi
4735
4736ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
4737if test "x$ac_cv_func_vasprintf" = xyes
4738then :
4739  printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
4740
4741fi
4742ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen"
4743if test "x$ac_cv_func_strnlen" = xyes
4744then :
4745  printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
4746
4747fi
4748ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
4749if test "x$ac_cv_func_memrchr" = xyes
4750then :
4751  printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h
4752
4753fi
4754ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
4755if test "x$ac_cv_func_timegm" = xyes
4756then :
4757  printf "%s\n" "#define HAVE_TIMEGM 1" >>confdefs.h
4758
4759fi
4760
4761
4762{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4763printf %s "checking for socket in -lsocket... " >&6; }
4764if test ${ac_cv_lib_socket_socket+y}
4765then :
4766  printf %s "(cached) " >&6
4767else $as_nop
4768  ac_check_lib_save_LIBS=$LIBS
4769LIBS="-lsocket  $LIBS"
4770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771/* end confdefs.h.  */
4772
4773/* Override any GCC internal prototype to avoid an error.
4774   Use char because int might match the return type of a GCC
4775   builtin and then its argument prototype would still apply.  */
4776char socket ();
4777int
4778main (void)
4779{
4780return socket ();
4781  ;
4782  return 0;
4783}
4784_ACEOF
4785if ac_fn_c_try_link "$LINENO"
4786then :
4787  ac_cv_lib_socket_socket=yes
4788else $as_nop
4789  ac_cv_lib_socket_socket=no
4790fi
4791rm -f core conftest.err conftest.$ac_objext conftest.beam \
4792    conftest$ac_exeext conftest.$ac_ext
4793LIBS=$ac_check_lib_save_LIBS
4794fi
4795{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
4796printf "%s\n" "$ac_cv_lib_socket_socket" >&6; }
4797if test "x$ac_cv_lib_socket_socket" = xyes
4798then :
4799  SOCK_LIBS="-lsocket"
4800fi
4801
4802{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
4803printf %s "checking for inet_ntoa in -lnsl... " >&6; }
4804if test ${ac_cv_lib_nsl_inet_ntoa+y}
4805then :
4806  printf %s "(cached) " >&6
4807else $as_nop
4808  ac_check_lib_save_LIBS=$LIBS
4809LIBS="-lnsl  $LIBS"
4810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811/* end confdefs.h.  */
4812
4813/* Override any GCC internal prototype to avoid an error.
4814   Use char because int might match the return type of a GCC
4815   builtin and then its argument prototype would still apply.  */
4816char inet_ntoa ();
4817int
4818main (void)
4819{
4820return inet_ntoa ();
4821  ;
4822  return 0;
4823}
4824_ACEOF
4825if ac_fn_c_try_link "$LINENO"
4826then :
4827  ac_cv_lib_nsl_inet_ntoa=yes
4828else $as_nop
4829  ac_cv_lib_nsl_inet_ntoa=no
4830fi
4831rm -f core conftest.err conftest.$ac_objext conftest.beam \
4832    conftest$ac_exeext conftest.$ac_ext
4833LIBS=$ac_check_lib_save_LIBS
4834fi
4835{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
4836printf "%s\n" "$ac_cv_lib_nsl_inet_ntoa" >&6; }
4837if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes
4838then :
4839  SOCK_LIBS="$SOCK_LIBS -lnsl"
4840fi
4841
4842
4843
4844have_ipv6=true
4845sav_LIBS=$LIBS
4846LIBS="$LIBS $SOCK_LIBS"
4847
4848  for ac_func in getaddrinfo inet_ntop
4849do :
4850  as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
4851ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4852if eval test \"x\$"$as_ac_var"\" = x"yes"
4853then :
4854  cat >>confdefs.h <<_ACEOF
4855#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
4856_ACEOF
4857
4858else $as_nop
4859  have_ipv6=false
4860fi
4861
4862done
4863LIBS=$sav_LIBS
4864if $have_ipv6; then
4865
4866printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h
4867
4868fi
4869
4870have_ssl_paths=
4871
4872# Check whether --with-ssl was given.
4873if test ${with_ssl+y}
4874then :
4875  withval=$with_ssl; ob_cv_with_ssl=$withval
4876fi
4877
4878if test "x$ob_cv_with_ssl" != xno; then
4879  case $ob_cv_with_ssl in
4880    ""|yes)
4881
4882
4883
4884
4885
4886
4887
4888if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4889	if test -n "$ac_tool_prefix"; then
4890  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4891set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4892{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893printf %s "checking for $ac_word... " >&6; }
4894if test ${ac_cv_path_PKG_CONFIG+y}
4895then :
4896  printf %s "(cached) " >&6
4897else $as_nop
4898  case $PKG_CONFIG in
4899  [\\/]* | ?:[\\/]*)
4900  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4901  ;;
4902  *)
4903  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904for as_dir in $PATH
4905do
4906  IFS=$as_save_IFS
4907  case $as_dir in #(((
4908    '') as_dir=./ ;;
4909    */) ;;
4910    *) as_dir=$as_dir/ ;;
4911  esac
4912    for ac_exec_ext in '' $ac_executable_extensions; do
4913  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4914    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4915    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4916    break 2
4917  fi
4918done
4919  done
4920IFS=$as_save_IFS
4921
4922  ;;
4923esac
4924fi
4925PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4926if test -n "$PKG_CONFIG"; then
4927  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4928printf "%s\n" "$PKG_CONFIG" >&6; }
4929else
4930  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931printf "%s\n" "no" >&6; }
4932fi
4933
4934
4935fi
4936if test -z "$ac_cv_path_PKG_CONFIG"; then
4937  ac_pt_PKG_CONFIG=$PKG_CONFIG
4938  # Extract the first word of "pkg-config", so it can be a program name with args.
4939set dummy pkg-config; ac_word=$2
4940{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941printf %s "checking for $ac_word... " >&6; }
4942if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4943then :
4944  printf %s "(cached) " >&6
4945else $as_nop
4946  case $ac_pt_PKG_CONFIG in
4947  [\\/]* | ?:[\\/]*)
4948  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4949  ;;
4950  *)
4951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952for as_dir in $PATH
4953do
4954  IFS=$as_save_IFS
4955  case $as_dir in #(((
4956    '') as_dir=./ ;;
4957    */) ;;
4958    *) as_dir=$as_dir/ ;;
4959  esac
4960    for ac_exec_ext in '' $ac_executable_extensions; do
4961  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4962    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4963    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4964    break 2
4965  fi
4966done
4967  done
4968IFS=$as_save_IFS
4969
4970  ;;
4971esac
4972fi
4973ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4974if test -n "$ac_pt_PKG_CONFIG"; then
4975  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4976printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4977else
4978  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979printf "%s\n" "no" >&6; }
4980fi
4981
4982  if test "x$ac_pt_PKG_CONFIG" = x; then
4983    PKG_CONFIG=""
4984  else
4985    case $cross_compiling:$ac_tool_warned in
4986yes:)
4987{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4988printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4989ac_tool_warned=yes ;;
4990esac
4991    PKG_CONFIG=$ac_pt_PKG_CONFIG
4992  fi
4993else
4994  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4995fi
4996
4997fi
4998if test -n "$PKG_CONFIG"; then
4999	_pkg_min_version=0.9.0
5000	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5001printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5002	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5003		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004printf "%s\n" "yes" >&6; }
5005	else
5006		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007printf "%s\n" "no" >&6; }
5008		PKG_CONFIG=""
5009	fi
5010fi
5011      if test "x$PKG_CONFIG" != "x" ; then
5012        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL presence with pkg-config" >&5
5013printf %s "checking OpenSSL presence with pkg-config... " >&6; }
5014        if $PKG_CONFIG --exists openssl; then
5015          SSL_LIBS=`$PKG_CONFIG --libs-only-l openssl`
5016          SSL_LDFLAGS=`$PKG_CONFIG --libs-only-L openssl`
5017          SSL_CPPFLAGS=`$PKG_CONFIG --cflags-only-I openssl`
5018          have_ssl_paths=yes
5019          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
5020printf "%s\n" "found" >&6; }
5021        else
5022          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
5023printf "%s\n" "not found" >&6; }
5024        fi
5025      fi
5026      ;;
5027    *)
5028      SSL_LDFLAGS=-L$ob_cv_with_ssl/lib$libsuff
5029      SSL_CPPFLAGS=-I$ob_cv_with_ssl/include
5030      ;;
5031  esac
5032  if test -z "$have_ssl_paths"; then
5033    sav_LDFLAGS=$LDFLAGS
5034    LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
5035    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5036printf %s "checking for dlopen in -ldl... " >&6; }
5037if test ${ac_cv_lib_dl_dlopen+y}
5038then :
5039  printf %s "(cached) " >&6
5040else $as_nop
5041  ac_check_lib_save_LIBS=$LIBS
5042LIBS="-ldl  $LIBS"
5043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044/* end confdefs.h.  */
5045
5046/* Override any GCC internal prototype to avoid an error.
5047   Use char because int might match the return type of a GCC
5048   builtin and then its argument prototype would still apply.  */
5049char dlopen ();
5050int
5051main (void)
5052{
5053return dlopen ();
5054  ;
5055  return 0;
5056}
5057_ACEOF
5058if ac_fn_c_try_link "$LINENO"
5059then :
5060  ac_cv_lib_dl_dlopen=yes
5061else $as_nop
5062  ac_cv_lib_dl_dlopen=no
5063fi
5064rm -f core conftest.err conftest.$ac_objext conftest.beam \
5065    conftest$ac_exeext conftest.$ac_ext
5066LIBS=$ac_check_lib_save_LIBS
5067fi
5068{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5069printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
5070if test "x$ac_cv_lib_dl_dlopen" = xyes
5071then :
5072  LIBDL=-ldl
5073fi
5074
5075    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X509_cmp in -lcrypto" >&5
5076printf %s "checking for X509_cmp in -lcrypto... " >&6; }
5077if test ${ac_cv_lib_crypto_X509_cmp+y}
5078then :
5079  printf %s "(cached) " >&6
5080else $as_nop
5081  ac_check_lib_save_LIBS=$LIBS
5082LIBS="-lcrypto  $LIBS"
5083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084/* end confdefs.h.  */
5085
5086/* Override any GCC internal prototype to avoid an error.
5087   Use char because int might match the return type of a GCC
5088   builtin and then its argument prototype would still apply.  */
5089char X509_cmp ();
5090int
5091main (void)
5092{
5093return X509_cmp ();
5094  ;
5095  return 0;
5096}
5097_ACEOF
5098if ac_fn_c_try_link "$LINENO"
5099then :
5100  ac_cv_lib_crypto_X509_cmp=yes
5101else $as_nop
5102  ac_cv_lib_crypto_X509_cmp=no
5103fi
5104rm -f core conftest.err conftest.$ac_objext conftest.beam \
5105    conftest$ac_exeext conftest.$ac_ext
5106LIBS=$ac_check_lib_save_LIBS
5107fi
5108{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_X509_cmp" >&5
5109printf "%s\n" "$ac_cv_lib_crypto_X509_cmp" >&6; }
5110if test "x$ac_cv_lib_crypto_X509_cmp" = xyes
5111then :
5112  LIBCRYPTO=-lcrypto
5113fi
5114
5115    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
5116printf %s "checking for SSL_connect in -lssl... " >&6; }
5117if test ${ac_cv_lib_ssl_SSL_connect+y}
5118then :
5119  printf %s "(cached) " >&6
5120else $as_nop
5121  ac_check_lib_save_LIBS=$LIBS
5122LIBS="-lssl  $LIBS"
5123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124/* end confdefs.h.  */
5125
5126/* Override any GCC internal prototype to avoid an error.
5127   Use char because int might match the return type of a GCC
5128   builtin and then its argument prototype would still apply.  */
5129char SSL_connect ();
5130int
5131main (void)
5132{
5133return SSL_connect ();
5134  ;
5135  return 0;
5136}
5137_ACEOF
5138if ac_fn_c_try_link "$LINENO"
5139then :
5140  ac_cv_lib_ssl_SSL_connect=yes
5141else $as_nop
5142  ac_cv_lib_ssl_SSL_connect=no
5143fi
5144rm -f core conftest.err conftest.$ac_objext conftest.beam \
5145    conftest$ac_exeext conftest.$ac_ext
5146LIBS=$ac_check_lib_save_LIBS
5147fi
5148{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
5149printf "%s\n" "$ac_cv_lib_ssl_SSL_connect" >&6; }
5150if test "x$ac_cv_lib_ssl_SSL_connect" = xyes
5151then :
5152  SSL_LIBS="-lssl $LIBCRYPTO $LIBDL" have_ssl_paths=yes
5153fi
5154
5155    LDFLAGS=$sav_LDFLAGS
5156  fi
5157
5158  sav_CPPFLAGS=$CPPFLAGS
5159  CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS"
5160  ac_fn_c_check_header_compile "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
5161if test "x$ac_cv_header_openssl_ssl_h" = xyes
5162then :
5163
5164else $as_nop
5165  have_ssl_paths=
5166fi
5167
5168  CPPFLAGS=$sav_CPPFLAGS
5169
5170  if test -z "$have_ssl_paths"; then
5171    if test -n "$ob_cv_with_ssl"; then
5172      as_fn_error $? "OpenSSL libs and/or includes were not found where specified" "$LINENO" 5
5173    fi
5174  else
5175
5176printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h
5177
5178    CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS"
5179    LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
5180  fi
5181fi
5182
5183
5184have_sasl_paths=
5185
5186# Check whether --with-sasl was given.
5187if test ${with_sasl+y}
5188then :
5189  withval=$with_sasl; ob_cv_with_sasl=$withval
5190fi
5191
5192if test "x$ob_cv_with_sasl" != xno; then
5193  case $ob_cv_with_sasl in
5194    ""|yes)
5195            ;;
5196    *)
5197      SASL_LDFLAGS=-L$ob_cv_with_sasl/lib$libsuff
5198      SASL_CPPFLAGS=-I$ob_cv_with_sasl/include
5199      ;;
5200  esac
5201  if test -z "$have_sasl_paths"; then
5202    sav_LDFLAGS=$LDFLAGS
5203    LDFLAGS="$LDFLAGS $SASL_LDFLAGS"
5204    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5
5205printf %s "checking for sasl_client_init in -lsasl2... " >&6; }
5206if test ${ac_cv_lib_sasl2_sasl_client_init+y}
5207then :
5208  printf %s "(cached) " >&6
5209else $as_nop
5210  ac_check_lib_save_LIBS=$LIBS
5211LIBS="-lsasl2  $LIBS"
5212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213/* end confdefs.h.  */
5214
5215/* Override any GCC internal prototype to avoid an error.
5216   Use char because int might match the return type of a GCC
5217   builtin and then its argument prototype would still apply.  */
5218char sasl_client_init ();
5219int
5220main (void)
5221{
5222return sasl_client_init ();
5223  ;
5224  return 0;
5225}
5226_ACEOF
5227if ac_fn_c_try_link "$LINENO"
5228then :
5229  ac_cv_lib_sasl2_sasl_client_init=yes
5230else $as_nop
5231  ac_cv_lib_sasl2_sasl_client_init=no
5232fi
5233rm -f core conftest.err conftest.$ac_objext conftest.beam \
5234    conftest$ac_exeext conftest.$ac_ext
5235LIBS=$ac_check_lib_save_LIBS
5236fi
5237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5
5238printf "%s\n" "$ac_cv_lib_sasl2_sasl_client_init" >&6; }
5239if test "x$ac_cv_lib_sasl2_sasl_client_init" = xyes
5240then :
5241  SASL_LIBS="-lsasl2" have_sasl_paths=yes
5242fi
5243
5244    LDFLAGS=$sav_LDFLAGS
5245  fi
5246
5247  sav_CPPFLAGS=$CPPFLAGS
5248  CPPFLAGS="$CPPFLAGS $SASL_CPPFLAGS"
5249  ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
5250if test "x$ac_cv_header_sasl_sasl_h" = xyes
5251then :
5252
5253else $as_nop
5254  have_sasl_paths=
5255fi
5256
5257  CPPFLAGS=$sav_CPPFLAGS
5258
5259  if test -z "$have_sasl_paths"; then
5260    if test -n "$ob_cv_with_sasl"; then
5261      as_fn_error $? "SASL libs and/or includes were not found where specified" "$LINENO" 5
5262    fi
5263  else
5264
5265printf "%s\n" "#define HAVE_LIBSASL 1" >>confdefs.h
5266
5267    CPPFLAGS="$CPPFLAGS $SASL_CPPFLAGS"
5268    LDFLAGS="$LDFLAGS $SASL_LDFLAGS"
5269  fi
5270fi
5271
5272
5273{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB >= 4.1" >&5
5274printf %s "checking for Berkeley DB >= 4.1... " >&6; }
5275if test ${ac_cv_berkdb4+y}
5276then :
5277  printf %s "(cached) " >&6
5278else $as_nop
5279  ac_cv_berkdb4=no
5280    sav_LIBS=$LIBS
5281    LIBS="$LIBS -ldb"
5282    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283/* end confdefs.h.  */
5284#include <db.h>
5285int
5286main (void)
5287{
5288DB *db;
5289         db_create(&db, 0, 0);
5290         db->truncate(db, 0, 0, 0);
5291         db->open(db, 0, "foo", "foo", DB_HASH, DB_CREATE, 0);
5292
5293  ;
5294  return 0;
5295}
5296_ACEOF
5297if ac_fn_c_try_link "$LINENO"
5298then :
5299  ac_cv_berkdb4=yes
5300fi
5301rm -f core conftest.err conftest.$ac_objext conftest.beam \
5302    conftest$ac_exeext conftest.$ac_ext
5303    LIBS=$sav_LIBS
5304
5305fi
5306{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_berkdb4" >&5
5307printf "%s\n" "$ac_cv_berkdb4" >&6; }
5308if test "x$ac_cv_berkdb4" = xyes; then
5309  DB_LIBS="-ldb"
5310
5311
5312printf "%s\n" "#define USE_DB 1" >>confdefs.h
5313
5314fi
5315
5316have_zlib=
5317
5318# Check whether --with-zlib was given.
5319if test ${with_zlib+y}
5320then :
5321  withval=$with_zlib; ob_cv_with_zlib=$withval
5322fi
5323
5324if test "x$ob_cv_with_zlib" != xno; then
5325  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
5326printf %s "checking for deflate in -lz... " >&6; }
5327if test ${ac_cv_lib_z_deflate+y}
5328then :
5329  printf %s "(cached) " >&6
5330else $as_nop
5331  ac_check_lib_save_LIBS=$LIBS
5332LIBS="-lz  $LIBS"
5333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334/* end confdefs.h.  */
5335
5336/* Override any GCC internal prototype to avoid an error.
5337   Use char because int might match the return type of a GCC
5338   builtin and then its argument prototype would still apply.  */
5339char deflate ();
5340int
5341main (void)
5342{
5343return deflate ();
5344  ;
5345  return 0;
5346}
5347_ACEOF
5348if ac_fn_c_try_link "$LINENO"
5349then :
5350  ac_cv_lib_z_deflate=yes
5351else $as_nop
5352  ac_cv_lib_z_deflate=no
5353fi
5354rm -f core conftest.err conftest.$ac_objext conftest.beam \
5355    conftest$ac_exeext conftest.$ac_ext
5356LIBS=$ac_check_lib_save_LIBS
5357fi
5358{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
5359printf "%s\n" "$ac_cv_lib_z_deflate" >&6; }
5360if test "x$ac_cv_lib_z_deflate" = xyes
5361then :
5362  ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5363if test "x$ac_cv_header_zlib_h" = xyes
5364then :
5365  have_zlib=1
5366           Z_LIBS="-lz"
5367
5368
5369printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h
5370
5371
5372fi
5373
5374
5375fi
5376
5377fi
5378
5379 if test "x$ac_cv_berkdb4" = xyes; then
5380  with_mdconvert_TRUE=
5381  with_mdconvert_FALSE='#'
5382else
5383  with_mdconvert_TRUE='#'
5384  with_mdconvert_FALSE=
5385fi
5386
5387
5388case $target_os in
5389darwin*)
5390    darwin=yes
5391;;
5392*)
5393    darwin=no
5394;;
5395esac
5396
5397
5398# Check whether --with-macos-keychain was given.
5399if test ${with_macos_keychain+y}
5400then :
5401  withval=$with_macos_keychain; have_macos_keychain=$withval
5402else $as_nop
5403  have_macos_keychain=$darwin
5404fi
5405
5406if test "x$have_macos_keychain" != xno; then
5407    if test $darwin = no; then
5408        as_fn_error $? "Cannot use macOS Keychain outside macOS." "$LINENO" 5
5409    fi
5410    have_macos_keychain=yes
5411
5412printf "%s\n" "#define HAVE_MACOS_KEYCHAIN 1" >>confdefs.h
5413
5414    KEYCHAIN_LIBS="-Wl,-framework,Security,-framework,CoreFoundation"
5415
5416fi
5417
5418ac_config_files="$ac_config_files Makefile src/Makefile isync.spec"
5419
5420cat >confcache <<\_ACEOF
5421# This file is a shell script that caches the results of configure
5422# tests run on this system so they can be shared between configure
5423# scripts and configure runs, see configure's option --config-cache.
5424# It is not useful on other systems.  If it contains results you don't
5425# want to keep, you may remove or edit it.
5426#
5427# config.status only pays attention to the cache file if you give it
5428# the --recheck option to rerun configure.
5429#
5430# `ac_cv_env_foo' variables (set or unset) will be overridden when
5431# loading this file, other *unset* `ac_cv_foo' will be assigned the
5432# following values.
5433
5434_ACEOF
5435
5436# The following way of writing the cache mishandles newlines in values,
5437# but we know of no workaround that is simple, portable, and efficient.
5438# So, we kill variables containing newlines.
5439# Ultrix sh set writes to stderr and can't be redirected directly,
5440# and sets the high bit in the cache file unless we assign to the vars.
5441(
5442  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5443    eval ac_val=\$$ac_var
5444    case $ac_val in #(
5445    *${as_nl}*)
5446      case $ac_var in #(
5447      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5448printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5449      esac
5450      case $ac_var in #(
5451      _ | IFS | as_nl) ;; #(
5452      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5453      *) { eval $ac_var=; unset $ac_var;} ;;
5454      esac ;;
5455    esac
5456  done
5457
5458  (set) 2>&1 |
5459    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5460    *${as_nl}ac_space=\ *)
5461      # `set' does not quote correctly, so add quotes: double-quote
5462      # substitution turns \\\\ into \\, and sed turns \\ into \.
5463      sed -n \
5464	"s/'/'\\\\''/g;
5465	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5466      ;; #(
5467    *)
5468      # `set' quotes correctly as required by POSIX, so do not add quotes.
5469      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5470      ;;
5471    esac |
5472    sort
5473) |
5474  sed '
5475     /^ac_cv_env_/b end
5476     t clear
5477     :clear
5478     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5479     t end
5480     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5481     :end' >>confcache
5482if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5483  if test -w "$cache_file"; then
5484    if test "x$cache_file" != "x/dev/null"; then
5485      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5486printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5487      if test ! -f "$cache_file" || test -h "$cache_file"; then
5488	cat confcache >"$cache_file"
5489      else
5490        case $cache_file in #(
5491        */* | ?:*)
5492	  mv -f confcache "$cache_file"$$ &&
5493	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5494        *)
5495	  mv -f confcache "$cache_file" ;;
5496	esac
5497      fi
5498    fi
5499  else
5500    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5501printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5502  fi
5503fi
5504rm -f confcache
5505
5506test "x$prefix" = xNONE && prefix=$ac_default_prefix
5507# Let make expand exec_prefix.
5508test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5509
5510DEFS=-DHAVE_CONFIG_H
5511
5512ac_libobjs=
5513ac_ltlibobjs=
5514U=
5515for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5516  # 1. Remove the extension, and $U if already installed.
5517  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5518  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5519  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5520  #    will be set to the directory where LIBOBJS objects are built.
5521  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5522  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5523done
5524LIBOBJS=$ac_libobjs
5525
5526LTLIBOBJS=$ac_ltlibobjs
5527
5528
5529{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5530printf %s "checking that generated files are newer than configure... " >&6; }
5531   if test -n "$am_sleep_pid"; then
5532     # Hide warnings about reused PIDs.
5533     wait $am_sleep_pid 2>/dev/null
5534   fi
5535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5536printf "%s\n" "done" >&6; }
5537 if test -n "$EXEEXT"; then
5538  am__EXEEXT_TRUE=
5539  am__EXEEXT_FALSE='#'
5540else
5541  am__EXEEXT_TRUE='#'
5542  am__EXEEXT_FALSE=
5543fi
5544
5545if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5546  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5547Usually this means the macro was only invoked conditionally." "$LINENO" 5
5548fi
5549if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5550  as_fn_error $? "conditional \"AMDEP\" was never defined.
5551Usually this means the macro was only invoked conditionally." "$LINENO" 5
5552fi
5553if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5554  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5555Usually this means the macro was only invoked conditionally." "$LINENO" 5
5556fi
5557if test -z "${with_mdconvert_TRUE}" && test -z "${with_mdconvert_FALSE}"; then
5558  as_fn_error $? "conditional \"with_mdconvert\" was never defined.
5559Usually this means the macro was only invoked conditionally." "$LINENO" 5
5560fi
5561
5562: "${CONFIG_STATUS=./config.status}"
5563ac_write_fail=0
5564ac_clean_files_save=$ac_clean_files
5565ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5566{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5567printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5568as_write_fail=0
5569cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5570#! $SHELL
5571# Generated by $as_me.
5572# Run this file to recreate the current configuration.
5573# Compiler output produced by configure, useful for debugging
5574# configure, is in config.log if it exists.
5575
5576debug=false
5577ac_cs_recheck=false
5578ac_cs_silent=false
5579
5580SHELL=\${CONFIG_SHELL-$SHELL}
5581export SHELL
5582_ASEOF
5583cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5584## -------------------- ##
5585## M4sh Initialization. ##
5586## -------------------- ##
5587
5588# Be more Bourne compatible
5589DUALCASE=1; export DUALCASE # for MKS sh
5590as_nop=:
5591if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5592then :
5593  emulate sh
5594  NULLCMD=:
5595  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5596  # is contrary to our usage.  Disable this feature.
5597  alias -g '${1+"$@"}'='"$@"'
5598  setopt NO_GLOB_SUBST
5599else $as_nop
5600  case `(set -o) 2>/dev/null` in #(
5601  *posix*) :
5602    set -o posix ;; #(
5603  *) :
5604     ;;
5605esac
5606fi
5607
5608
5609
5610# Reset variables that may have inherited troublesome values from
5611# the environment.
5612
5613# IFS needs to be set, to space, tab, and newline, in precisely that order.
5614# (If _AS_PATH_WALK were called with IFS unset, it would have the
5615# side effect of setting IFS to empty, thus disabling word splitting.)
5616# Quoting is to prevent editors from complaining about space-tab.
5617as_nl='
5618'
5619export as_nl
5620IFS=" ""	$as_nl"
5621
5622PS1='$ '
5623PS2='> '
5624PS4='+ '
5625
5626# Ensure predictable behavior from utilities with locale-dependent output.
5627LC_ALL=C
5628export LC_ALL
5629LANGUAGE=C
5630export LANGUAGE
5631
5632# We cannot yet rely on "unset" to work, but we need these variables
5633# to be unset--not just set to an empty or harmless value--now, to
5634# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
5635# also avoids known problems related to "unset" and subshell syntax
5636# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5637for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5638do eval test \${$as_var+y} \
5639  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5640done
5641
5642# Ensure that fds 0, 1, and 2 are open.
5643if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5644if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5645if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
5646
5647# The user is always right.
5648if ${PATH_SEPARATOR+false} :; then
5649  PATH_SEPARATOR=:
5650  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5651    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5652      PATH_SEPARATOR=';'
5653  }
5654fi
5655
5656
5657# Find who we are.  Look in the path if we contain no directory separator.
5658as_myself=
5659case $0 in #((
5660  *[\\/]* ) as_myself=$0 ;;
5661  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662for as_dir in $PATH
5663do
5664  IFS=$as_save_IFS
5665  case $as_dir in #(((
5666    '') as_dir=./ ;;
5667    */) ;;
5668    *) as_dir=$as_dir/ ;;
5669  esac
5670    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5671  done
5672IFS=$as_save_IFS
5673
5674     ;;
5675esac
5676# We did not find ourselves, most probably we were run as `sh COMMAND'
5677# in which case we are not to be found in the path.
5678if test "x$as_myself" = x; then
5679  as_myself=$0
5680fi
5681if test ! -f "$as_myself"; then
5682  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5683  exit 1
5684fi
5685
5686
5687
5688# as_fn_error STATUS ERROR [LINENO LOG_FD]
5689# ----------------------------------------
5690# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5691# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5692# script with STATUS, using 1 if that was 0.
5693as_fn_error ()
5694{
5695  as_status=$1; test $as_status -eq 0 && as_status=1
5696  if test "$4"; then
5697    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5698    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5699  fi
5700  printf "%s\n" "$as_me: error: $2" >&2
5701  as_fn_exit $as_status
5702} # as_fn_error
5703
5704
5705
5706# as_fn_set_status STATUS
5707# -----------------------
5708# Set $? to STATUS, without forking.
5709as_fn_set_status ()
5710{
5711  return $1
5712} # as_fn_set_status
5713
5714# as_fn_exit STATUS
5715# -----------------
5716# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5717as_fn_exit ()
5718{
5719  set +e
5720  as_fn_set_status $1
5721  exit $1
5722} # as_fn_exit
5723
5724# as_fn_unset VAR
5725# ---------------
5726# Portably unset VAR.
5727as_fn_unset ()
5728{
5729  { eval $1=; unset $1;}
5730}
5731as_unset=as_fn_unset
5732
5733# as_fn_append VAR VALUE
5734# ----------------------
5735# Append the text in VALUE to the end of the definition contained in VAR. Take
5736# advantage of any shell optimizations that allow amortized linear growth over
5737# repeated appends, instead of the typical quadratic growth present in naive
5738# implementations.
5739if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5740then :
5741  eval 'as_fn_append ()
5742  {
5743    eval $1+=\$2
5744  }'
5745else $as_nop
5746  as_fn_append ()
5747  {
5748    eval $1=\$$1\$2
5749  }
5750fi # as_fn_append
5751
5752# as_fn_arith ARG...
5753# ------------------
5754# Perform arithmetic evaluation on the ARGs, and store the result in the
5755# global $as_val. Take advantage of shells that can avoid forks. The arguments
5756# must be portable across $(()) and expr.
5757if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5758then :
5759  eval 'as_fn_arith ()
5760  {
5761    as_val=$(( $* ))
5762  }'
5763else $as_nop
5764  as_fn_arith ()
5765  {
5766    as_val=`expr "$@" || test $? -eq 1`
5767  }
5768fi # as_fn_arith
5769
5770
5771if expr a : '\(a\)' >/dev/null 2>&1 &&
5772   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5773  as_expr=expr
5774else
5775  as_expr=false
5776fi
5777
5778if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5779  as_basename=basename
5780else
5781  as_basename=false
5782fi
5783
5784if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5785  as_dirname=dirname
5786else
5787  as_dirname=false
5788fi
5789
5790as_me=`$as_basename -- "$0" ||
5791$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5792	 X"$0" : 'X\(//\)$' \| \
5793	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5794printf "%s\n" X/"$0" |
5795    sed '/^.*\/\([^/][^/]*\)\/*$/{
5796	    s//\1/
5797	    q
5798	  }
5799	  /^X\/\(\/\/\)$/{
5800	    s//\1/
5801	    q
5802	  }
5803	  /^X\/\(\/\).*/{
5804	    s//\1/
5805	    q
5806	  }
5807	  s/.*/./; q'`
5808
5809# Avoid depending upon Character Ranges.
5810as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5811as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5812as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5813as_cr_digits='0123456789'
5814as_cr_alnum=$as_cr_Letters$as_cr_digits
5815
5816
5817# Determine whether it's possible to make 'echo' print without a newline.
5818# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5819# for compatibility with existing Makefiles.
5820ECHO_C= ECHO_N= ECHO_T=
5821case `echo -n x` in #(((((
5822-n*)
5823  case `echo 'xy\c'` in
5824  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5825  xy)  ECHO_C='\c';;
5826  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5827       ECHO_T='	';;
5828  esac;;
5829*)
5830  ECHO_N='-n';;
5831esac
5832
5833# For backward compatibility with old third-party macros, we provide
5834# the shell variables $as_echo and $as_echo_n.  New code should use
5835# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5836as_echo='printf %s\n'
5837as_echo_n='printf %s'
5838
5839rm -f conf$$ conf$$.exe conf$$.file
5840if test -d conf$$.dir; then
5841  rm -f conf$$.dir/conf$$.file
5842else
5843  rm -f conf$$.dir
5844  mkdir conf$$.dir 2>/dev/null
5845fi
5846if (echo >conf$$.file) 2>/dev/null; then
5847  if ln -s conf$$.file conf$$ 2>/dev/null; then
5848    as_ln_s='ln -s'
5849    # ... but there are two gotchas:
5850    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5851    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5852    # In both cases, we have to default to `cp -pR'.
5853    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5854      as_ln_s='cp -pR'
5855  elif ln conf$$.file conf$$ 2>/dev/null; then
5856    as_ln_s=ln
5857  else
5858    as_ln_s='cp -pR'
5859  fi
5860else
5861  as_ln_s='cp -pR'
5862fi
5863rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5864rmdir conf$$.dir 2>/dev/null
5865
5866
5867# as_fn_mkdir_p
5868# -------------
5869# Create "$as_dir" as a directory, including parents if necessary.
5870as_fn_mkdir_p ()
5871{
5872
5873  case $as_dir in #(
5874  -*) as_dir=./$as_dir;;
5875  esac
5876  test -d "$as_dir" || eval $as_mkdir_p || {
5877    as_dirs=
5878    while :; do
5879      case $as_dir in #(
5880      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5881      *) as_qdir=$as_dir;;
5882      esac
5883      as_dirs="'$as_qdir' $as_dirs"
5884      as_dir=`$as_dirname -- "$as_dir" ||
5885$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5886	 X"$as_dir" : 'X\(//\)[^/]' \| \
5887	 X"$as_dir" : 'X\(//\)$' \| \
5888	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5889printf "%s\n" X"$as_dir" |
5890    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5891	    s//\1/
5892	    q
5893	  }
5894	  /^X\(\/\/\)[^/].*/{
5895	    s//\1/
5896	    q
5897	  }
5898	  /^X\(\/\/\)$/{
5899	    s//\1/
5900	    q
5901	  }
5902	  /^X\(\/\).*/{
5903	    s//\1/
5904	    q
5905	  }
5906	  s/.*/./; q'`
5907      test -d "$as_dir" && break
5908    done
5909    test -z "$as_dirs" || eval "mkdir $as_dirs"
5910  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5911
5912
5913} # as_fn_mkdir_p
5914if mkdir -p . 2>/dev/null; then
5915  as_mkdir_p='mkdir -p "$as_dir"'
5916else
5917  test -d ./-p && rmdir ./-p
5918  as_mkdir_p=false
5919fi
5920
5921
5922# as_fn_executable_p FILE
5923# -----------------------
5924# Test if FILE is an executable regular file.
5925as_fn_executable_p ()
5926{
5927  test -f "$1" && test -x "$1"
5928} # as_fn_executable_p
5929as_test_x='test -x'
5930as_executable_p=as_fn_executable_p
5931
5932# Sed expression to map a string onto a valid CPP name.
5933as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5934
5935# Sed expression to map a string onto a valid variable name.
5936as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5937
5938
5939exec 6>&1
5940## ----------------------------------- ##
5941## Main body of $CONFIG_STATUS script. ##
5942## ----------------------------------- ##
5943_ASEOF
5944test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5945
5946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5947# Save the log message, to keep $0 and so on meaningful, and to
5948# report actual input values of CONFIG_FILES etc. instead of their
5949# values after options handling.
5950ac_log="
5951This file was extended by isync $as_me 1.4.4, which was
5952generated by GNU Autoconf 2.71.  Invocation command line was
5953
5954  CONFIG_FILES    = $CONFIG_FILES
5955  CONFIG_HEADERS  = $CONFIG_HEADERS
5956  CONFIG_LINKS    = $CONFIG_LINKS
5957  CONFIG_COMMANDS = $CONFIG_COMMANDS
5958  $ $0 $@
5959
5960on `(hostname || uname -n) 2>/dev/null | sed 1q`
5961"
5962
5963_ACEOF
5964
5965case $ac_config_files in *"
5966"*) set x $ac_config_files; shift; ac_config_files=$*;;
5967esac
5968
5969case $ac_config_headers in *"
5970"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5971esac
5972
5973
5974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5975# Files that config.status was made for.
5976config_files="$ac_config_files"
5977config_headers="$ac_config_headers"
5978config_commands="$ac_config_commands"
5979
5980_ACEOF
5981
5982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5983ac_cs_usage="\
5984\`$as_me' instantiates files and other configuration actions
5985from templates according to the current configuration.  Unless the files
5986and actions are specified as TAGs, all are instantiated by default.
5987
5988Usage: $0 [OPTION]... [TAG]...
5989
5990  -h, --help       print this help, then exit
5991  -V, --version    print version number and configuration settings, then exit
5992      --config     print configuration, then exit
5993  -q, --quiet, --silent
5994                   do not print progress messages
5995  -d, --debug      don't remove temporary files
5996      --recheck    update $as_me by reconfiguring in the same conditions
5997      --file=FILE[:TEMPLATE]
5998                   instantiate the configuration file FILE
5999      --header=FILE[:TEMPLATE]
6000                   instantiate the configuration header FILE
6001
6002Configuration files:
6003$config_files
6004
6005Configuration headers:
6006$config_headers
6007
6008Configuration commands:
6009$config_commands
6010
6011Report bugs to the package provider."
6012
6013_ACEOF
6014ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
6015ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
6016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6017ac_cs_config='$ac_cs_config_escaped'
6018ac_cs_version="\\
6019isync config.status 1.4.4
6020configured by $0, generated by GNU Autoconf 2.71,
6021  with options \\"\$ac_cs_config\\"
6022
6023Copyright (C) 2021 Free Software Foundation, Inc.
6024This config.status script is free software; the Free Software Foundation
6025gives unlimited permission to copy, distribute and modify it."
6026
6027ac_pwd='$ac_pwd'
6028srcdir='$srcdir'
6029INSTALL='$INSTALL'
6030MKDIR_P='$MKDIR_P'
6031AWK='$AWK'
6032test -n "\$AWK" || AWK=awk
6033_ACEOF
6034
6035cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6036# The default lists apply if the user does not specify any file.
6037ac_need_defaults=:
6038while test $# != 0
6039do
6040  case $1 in
6041  --*=?*)
6042    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6043    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6044    ac_shift=:
6045    ;;
6046  --*=)
6047    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6048    ac_optarg=
6049    ac_shift=:
6050    ;;
6051  *)
6052    ac_option=$1
6053    ac_optarg=$2
6054    ac_shift=shift
6055    ;;
6056  esac
6057
6058  case $ac_option in
6059  # Handling of the options.
6060  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6061    ac_cs_recheck=: ;;
6062  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6063    printf "%s\n" "$ac_cs_version"; exit ;;
6064  --config | --confi | --conf | --con | --co | --c )
6065    printf "%s\n" "$ac_cs_config"; exit ;;
6066  --debug | --debu | --deb | --de | --d | -d )
6067    debug=: ;;
6068  --file | --fil | --fi | --f )
6069    $ac_shift
6070    case $ac_optarg in
6071    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6072    '') as_fn_error $? "missing file argument" ;;
6073    esac
6074    as_fn_append CONFIG_FILES " '$ac_optarg'"
6075    ac_need_defaults=false;;
6076  --header | --heade | --head | --hea )
6077    $ac_shift
6078    case $ac_optarg in
6079    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6080    esac
6081    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6082    ac_need_defaults=false;;
6083  --he | --h)
6084    # Conflict between --help and --header
6085    as_fn_error $? "ambiguous option: \`$1'
6086Try \`$0 --help' for more information.";;
6087  --help | --hel | -h )
6088    printf "%s\n" "$ac_cs_usage"; exit ;;
6089  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6090  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6091    ac_cs_silent=: ;;
6092
6093  # This is an error.
6094  -*) as_fn_error $? "unrecognized option: \`$1'
6095Try \`$0 --help' for more information." ;;
6096
6097  *) as_fn_append ac_config_targets " $1"
6098     ac_need_defaults=false ;;
6099
6100  esac
6101  shift
6102done
6103
6104ac_configure_extra_args=
6105
6106if $ac_cs_silent; then
6107  exec 6>/dev/null
6108  ac_configure_extra_args="$ac_configure_extra_args --silent"
6109fi
6110
6111_ACEOF
6112cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6113if \$ac_cs_recheck; then
6114  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6115  shift
6116  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6117  CONFIG_SHELL='$SHELL'
6118  export CONFIG_SHELL
6119  exec "\$@"
6120fi
6121
6122_ACEOF
6123cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124exec 5>>config.log
6125{
6126  echo
6127  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6128## Running $as_me. ##
6129_ASBOX
6130  printf "%s\n" "$ac_log"
6131} >&5
6132
6133_ACEOF
6134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6135#
6136# INIT-COMMANDS
6137#
6138AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6139
6140_ACEOF
6141
6142cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6143
6144# Handling of arguments.
6145for ac_config_target in $ac_config_targets
6146do
6147  case $ac_config_target in
6148    "autodefs.h") CONFIG_HEADERS="$CONFIG_HEADERS autodefs.h" ;;
6149    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6150    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6151    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6152    "isync.spec") CONFIG_FILES="$CONFIG_FILES isync.spec" ;;
6153
6154  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6155  esac
6156done
6157
6158
6159# If the user did not use the arguments to specify the items to instantiate,
6160# then the envvar interface is used.  Set only those that are not.
6161# We use the long form for the default assignment because of an extremely
6162# bizarre bug on SunOS 4.1.3.
6163if $ac_need_defaults; then
6164  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6165  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
6166  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
6167fi
6168
6169# Have a temporary directory for convenience.  Make it in the build tree
6170# simply because there is no reason against having it here, and in addition,
6171# creating and moving files from /tmp can sometimes cause problems.
6172# Hook for its removal unless debugging.
6173# Note that there is a small window in which the directory will not be cleaned:
6174# after its creation but before its name has been assigned to `$tmp'.
6175$debug ||
6176{
6177  tmp= ac_tmp=
6178  trap 'exit_status=$?
6179  : "${ac_tmp:=$tmp}"
6180  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6181' 0
6182  trap 'as_fn_exit 1' 1 2 13 15
6183}
6184# Create a (secure) tmp directory for tmp files.
6185
6186{
6187  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6188  test -d "$tmp"
6189}  ||
6190{
6191  tmp=./conf$$-$RANDOM
6192  (umask 077 && mkdir "$tmp")
6193} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6194ac_tmp=$tmp
6195
6196# Set up the scripts for CONFIG_FILES section.
6197# No need to generate them if there are no CONFIG_FILES.
6198# This happens for instance with `./config.status config.h'.
6199if test -n "$CONFIG_FILES"; then
6200
6201
6202ac_cr=`echo X | tr X '\015'`
6203# On cygwin, bash can eat \r inside `` if the user requested igncr.
6204# But we know of no other shell where ac_cr would be empty at this
6205# point, so we can use a bashism as a fallback.
6206if test "x$ac_cr" = x; then
6207  eval ac_cr=\$\'\\r\'
6208fi
6209ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6210if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6211  ac_cs_awk_cr='\\r'
6212else
6213  ac_cs_awk_cr=$ac_cr
6214fi
6215
6216echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6217_ACEOF
6218
6219
6220{
6221  echo "cat >conf$$subs.awk <<_ACEOF" &&
6222  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6223  echo "_ACEOF"
6224} >conf$$subs.sh ||
6225  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6226ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6227ac_delim='%!_!# '
6228for ac_last_try in false false false false false :; do
6229  . ./conf$$subs.sh ||
6230    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6231
6232  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6233  if test $ac_delim_n = $ac_delim_num; then
6234    break
6235  elif $ac_last_try; then
6236    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6237  else
6238    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6239  fi
6240done
6241rm -f conf$$subs.sh
6242
6243cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6244cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6245_ACEOF
6246sed -n '
6247h
6248s/^/S["/; s/!.*/"]=/
6249p
6250g
6251s/^[^!]*!//
6252:repl
6253t repl
6254s/'"$ac_delim"'$//
6255t delim
6256:nl
6257h
6258s/\(.\{148\}\)..*/\1/
6259t more1
6260s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6261p
6262n
6263b repl
6264:more1
6265s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6266p
6267g
6268s/.\{148\}//
6269t nl
6270:delim
6271h
6272s/\(.\{148\}\)..*/\1/
6273t more2
6274s/["\\]/\\&/g; s/^/"/; s/$/"/
6275p
6276b
6277:more2
6278s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6279p
6280g
6281s/.\{148\}//
6282t delim
6283' <conf$$subs.awk | sed '
6284/^[^""]/{
6285  N
6286  s/\n//
6287}
6288' >>$CONFIG_STATUS || ac_write_fail=1
6289rm -f conf$$subs.awk
6290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6291_ACAWK
6292cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6293  for (key in S) S_is_set[key] = 1
6294  FS = ""
6295
6296}
6297{
6298  line = $ 0
6299  nfields = split(line, field, "@")
6300  substed = 0
6301  len = length(field[1])
6302  for (i = 2; i < nfields; i++) {
6303    key = field[i]
6304    keylen = length(key)
6305    if (S_is_set[key]) {
6306      value = S[key]
6307      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6308      len += length(value) + length(field[++i])
6309      substed = 1
6310    } else
6311      len += 1 + keylen
6312  }
6313
6314  print line
6315}
6316
6317_ACAWK
6318_ACEOF
6319cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6320if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6321  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6322else
6323  cat
6324fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6325  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6326_ACEOF
6327
6328# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6329# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6330# trailing colons and then remove the whole line if VPATH becomes empty
6331# (actually we leave an empty line to preserve line numbers).
6332if test "x$srcdir" = x.; then
6333  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6334h
6335s///
6336s/^/:/
6337s/[	 ]*$/:/
6338s/:\$(srcdir):/:/g
6339s/:\${srcdir}:/:/g
6340s/:@srcdir@:/:/g
6341s/^:*//
6342s/:*$//
6343x
6344s/\(=[	 ]*\).*/\1/
6345G
6346s/\n//
6347s/^[^=]*=[	 ]*$//
6348}'
6349fi
6350
6351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6352fi # test -n "$CONFIG_FILES"
6353
6354# Set up the scripts for CONFIG_HEADERS section.
6355# No need to generate them if there are no CONFIG_HEADERS.
6356# This happens for instance with `./config.status Makefile'.
6357if test -n "$CONFIG_HEADERS"; then
6358cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6359BEGIN {
6360_ACEOF
6361
6362# Transform confdefs.h into an awk script `defines.awk', embedded as
6363# here-document in config.status, that substitutes the proper values into
6364# config.h.in to produce config.h.
6365
6366# Create a delimiter string that does not exist in confdefs.h, to ease
6367# handling of long lines.
6368ac_delim='%!_!# '
6369for ac_last_try in false false :; do
6370  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6371  if test -z "$ac_tt"; then
6372    break
6373  elif $ac_last_try; then
6374    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6375  else
6376    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6377  fi
6378done
6379
6380# For the awk script, D is an array of macro values keyed by name,
6381# likewise P contains macro parameters if any.  Preserve backslash
6382# newline sequences.
6383
6384ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6385sed -n '
6386s/.\{148\}/&'"$ac_delim"'/g
6387t rset
6388:rset
6389s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6390t def
6391d
6392:def
6393s/\\$//
6394t bsnl
6395s/["\\]/\\&/g
6396s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6397D["\1"]=" \3"/p
6398s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6399d
6400:bsnl
6401s/["\\]/\\&/g
6402s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6403D["\1"]=" \3\\\\\\n"\\/p
6404t cont
6405s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6406t cont
6407d
6408:cont
6409n
6410s/.\{148\}/&'"$ac_delim"'/g
6411t clear
6412:clear
6413s/\\$//
6414t bsnlc
6415s/["\\]/\\&/g; s/^/"/; s/$/"/p
6416d
6417:bsnlc
6418s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6419b cont
6420' <confdefs.h | sed '
6421s/'"$ac_delim"'/"\\\
6422"/g' >>$CONFIG_STATUS || ac_write_fail=1
6423
6424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6425  for (key in D) D_is_set[key] = 1
6426  FS = ""
6427}
6428/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6429  line = \$ 0
6430  split(line, arg, " ")
6431  if (arg[1] == "#") {
6432    defundef = arg[2]
6433    mac1 = arg[3]
6434  } else {
6435    defundef = substr(arg[1], 2)
6436    mac1 = arg[2]
6437  }
6438  split(mac1, mac2, "(") #)
6439  macro = mac2[1]
6440  prefix = substr(line, 1, index(line, defundef) - 1)
6441  if (D_is_set[macro]) {
6442    # Preserve the white space surrounding the "#".
6443    print prefix "define", macro P[macro] D[macro]
6444    next
6445  } else {
6446    # Replace #undef with comments.  This is necessary, for example,
6447    # in the case of _POSIX_SOURCE, which is predefined and required
6448    # on some systems where configure will not decide to define it.
6449    if (defundef == "undef") {
6450      print "/*", prefix defundef, macro, "*/"
6451      next
6452    }
6453  }
6454}
6455{ print }
6456_ACAWK
6457_ACEOF
6458cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6459  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6460fi # test -n "$CONFIG_HEADERS"
6461
6462
6463eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6464shift
6465for ac_tag
6466do
6467  case $ac_tag in
6468  :[FHLC]) ac_mode=$ac_tag; continue;;
6469  esac
6470  case $ac_mode$ac_tag in
6471  :[FHL]*:*);;
6472  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6473  :[FH]-) ac_tag=-:-;;
6474  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6475  esac
6476  ac_save_IFS=$IFS
6477  IFS=:
6478  set x $ac_tag
6479  IFS=$ac_save_IFS
6480  shift
6481  ac_file=$1
6482  shift
6483
6484  case $ac_mode in
6485  :L) ac_source=$1;;
6486  :[FH])
6487    ac_file_inputs=
6488    for ac_f
6489    do
6490      case $ac_f in
6491      -) ac_f="$ac_tmp/stdin";;
6492      *) # Look for the file first in the build tree, then in the source tree
6493	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6494	 # because $ac_f cannot contain `:'.
6495	 test -f "$ac_f" ||
6496	   case $ac_f in
6497	   [\\/$]*) false;;
6498	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6499	   esac ||
6500	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6501      esac
6502      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6503      as_fn_append ac_file_inputs " '$ac_f'"
6504    done
6505
6506    # Let's still pretend it is `configure' which instantiates (i.e., don't
6507    # use $as_me), people would be surprised to read:
6508    #    /* config.h.  Generated by config.status.  */
6509    configure_input='Generated from '`
6510	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6511	`' by configure.'
6512    if test x"$ac_file" != x-; then
6513      configure_input="$ac_file.  $configure_input"
6514      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6515printf "%s\n" "$as_me: creating $ac_file" >&6;}
6516    fi
6517    # Neutralize special characters interpreted by sed in replacement strings.
6518    case $configure_input in #(
6519    *\&* | *\|* | *\\* )
6520       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6521       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6522    *) ac_sed_conf_input=$configure_input;;
6523    esac
6524
6525    case $ac_tag in
6526    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6527      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6528    esac
6529    ;;
6530  esac
6531
6532  ac_dir=`$as_dirname -- "$ac_file" ||
6533$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6534	 X"$ac_file" : 'X\(//\)[^/]' \| \
6535	 X"$ac_file" : 'X\(//\)$' \| \
6536	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6537printf "%s\n" X"$ac_file" |
6538    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6539	    s//\1/
6540	    q
6541	  }
6542	  /^X\(\/\/\)[^/].*/{
6543	    s//\1/
6544	    q
6545	  }
6546	  /^X\(\/\/\)$/{
6547	    s//\1/
6548	    q
6549	  }
6550	  /^X\(\/\).*/{
6551	    s//\1/
6552	    q
6553	  }
6554	  s/.*/./; q'`
6555  as_dir="$ac_dir"; as_fn_mkdir_p
6556  ac_builddir=.
6557
6558case "$ac_dir" in
6559.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6560*)
6561  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6562  # A ".." for each directory in $ac_dir_suffix.
6563  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6564  case $ac_top_builddir_sub in
6565  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6566  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6567  esac ;;
6568esac
6569ac_abs_top_builddir=$ac_pwd
6570ac_abs_builddir=$ac_pwd$ac_dir_suffix
6571# for backward compatibility:
6572ac_top_builddir=$ac_top_build_prefix
6573
6574case $srcdir in
6575  .)  # We are building in place.
6576    ac_srcdir=.
6577    ac_top_srcdir=$ac_top_builddir_sub
6578    ac_abs_top_srcdir=$ac_pwd ;;
6579  [\\/]* | ?:[\\/]* )  # Absolute name.
6580    ac_srcdir=$srcdir$ac_dir_suffix;
6581    ac_top_srcdir=$srcdir
6582    ac_abs_top_srcdir=$srcdir ;;
6583  *) # Relative name.
6584    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6585    ac_top_srcdir=$ac_top_build_prefix$srcdir
6586    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6587esac
6588ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6589
6590
6591  case $ac_mode in
6592  :F)
6593  #
6594  # CONFIG_FILE
6595  #
6596
6597  case $INSTALL in
6598  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6599  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6600  esac
6601  ac_MKDIR_P=$MKDIR_P
6602  case $MKDIR_P in
6603  [\\/$]* | ?:[\\/]* ) ;;
6604  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6605  esac
6606_ACEOF
6607
6608cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6609# If the template does not know about datarootdir, expand it.
6610# FIXME: This hack should be removed a few years after 2.60.
6611ac_datarootdir_hack=; ac_datarootdir_seen=
6612ac_sed_dataroot='
6613/datarootdir/ {
6614  p
6615  q
6616}
6617/@datadir@/p
6618/@docdir@/p
6619/@infodir@/p
6620/@localedir@/p
6621/@mandir@/p'
6622case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6623*datarootdir*) ac_datarootdir_seen=yes;;
6624*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6625  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6626printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6627_ACEOF
6628cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6629  ac_datarootdir_hack='
6630  s&@datadir@&$datadir&g
6631  s&@docdir@&$docdir&g
6632  s&@infodir@&$infodir&g
6633  s&@localedir@&$localedir&g
6634  s&@mandir@&$mandir&g
6635  s&\\\${datarootdir}&$datarootdir&g' ;;
6636esac
6637_ACEOF
6638
6639# Neutralize VPATH when `$srcdir' = `.'.
6640# Shell code in configure.ac might set extrasub.
6641# FIXME: do we really want to maintain this feature?
6642cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6643ac_sed_extra="$ac_vpsub
6644$extrasub
6645_ACEOF
6646cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6647:t
6648/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6649s|@configure_input@|$ac_sed_conf_input|;t t
6650s&@top_builddir@&$ac_top_builddir_sub&;t t
6651s&@top_build_prefix@&$ac_top_build_prefix&;t t
6652s&@srcdir@&$ac_srcdir&;t t
6653s&@abs_srcdir@&$ac_abs_srcdir&;t t
6654s&@top_srcdir@&$ac_top_srcdir&;t t
6655s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6656s&@builddir@&$ac_builddir&;t t
6657s&@abs_builddir@&$ac_abs_builddir&;t t
6658s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6659s&@INSTALL@&$ac_INSTALL&;t t
6660s&@MKDIR_P@&$ac_MKDIR_P&;t t
6661$ac_datarootdir_hack
6662"
6663eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6664  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6665
6666test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6667  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6668  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6669      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6670  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6671which seems to be undefined.  Please make sure it is defined" >&5
6672printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6673which seems to be undefined.  Please make sure it is defined" >&2;}
6674
6675  rm -f "$ac_tmp/stdin"
6676  case $ac_file in
6677  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6678  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6679  esac \
6680  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6681 ;;
6682  :H)
6683  #
6684  # CONFIG_HEADER
6685  #
6686  if test x"$ac_file" != x-; then
6687    {
6688      printf "%s\n" "/* $configure_input  */" >&1 \
6689      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6690    } >"$ac_tmp/config.h" \
6691      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6692    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6693      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6694printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6695    else
6696      rm -f "$ac_file"
6697      mv "$ac_tmp/config.h" "$ac_file" \
6698	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6699    fi
6700  else
6701    printf "%s\n" "/* $configure_input  */" >&1 \
6702      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6703      || as_fn_error $? "could not create -" "$LINENO" 5
6704  fi
6705# Compute "$ac_file"'s index in $config_headers.
6706_am_arg="$ac_file"
6707_am_stamp_count=1
6708for _am_header in $config_headers :; do
6709  case $_am_header in
6710    $_am_arg | $_am_arg:* )
6711      break ;;
6712    * )
6713      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6714  esac
6715done
6716echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6717$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6718	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6719	 X"$_am_arg" : 'X\(//\)$' \| \
6720	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6721printf "%s\n" X"$_am_arg" |
6722    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6723	    s//\1/
6724	    q
6725	  }
6726	  /^X\(\/\/\)[^/].*/{
6727	    s//\1/
6728	    q
6729	  }
6730	  /^X\(\/\/\)$/{
6731	    s//\1/
6732	    q
6733	  }
6734	  /^X\(\/\).*/{
6735	    s//\1/
6736	    q
6737	  }
6738	  s/.*/./; q'`/stamp-h$_am_stamp_count
6739 ;;
6740
6741  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6742printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6743 ;;
6744  esac
6745
6746
6747  case $ac_file$ac_mode in
6748    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6749  # Older Autoconf quotes --file arguments for eval, but not when files
6750  # are listed without --file.  Let's play safe and only enable the eval
6751  # if we detect the quoting.
6752  # TODO: see whether this extra hack can be removed once we start
6753  # requiring Autoconf 2.70 or later.
6754  case $CONFIG_FILES in #(
6755  *\'*) :
6756    eval set x "$CONFIG_FILES" ;; #(
6757  *) :
6758    set x $CONFIG_FILES ;; #(
6759  *) :
6760     ;;
6761esac
6762  shift
6763  # Used to flag and report bootstrapping failures.
6764  am_rc=0
6765  for am_mf
6766  do
6767    # Strip MF so we end up with the name of the file.
6768    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6769    # Check whether this is an Automake generated Makefile which includes
6770    # dependency-tracking related rules and includes.
6771    # Grep'ing the whole file directly is not great: AIX grep has a line
6772    # limit of 2048, but all sed's we know have understand at least 4000.
6773    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6774      || continue
6775    am_dirpart=`$as_dirname -- "$am_mf" ||
6776$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6777	 X"$am_mf" : 'X\(//\)[^/]' \| \
6778	 X"$am_mf" : 'X\(//\)$' \| \
6779	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6780printf "%s\n" X"$am_mf" |
6781    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6782	    s//\1/
6783	    q
6784	  }
6785	  /^X\(\/\/\)[^/].*/{
6786	    s//\1/
6787	    q
6788	  }
6789	  /^X\(\/\/\)$/{
6790	    s//\1/
6791	    q
6792	  }
6793	  /^X\(\/\).*/{
6794	    s//\1/
6795	    q
6796	  }
6797	  s/.*/./; q'`
6798    am_filepart=`$as_basename -- "$am_mf" ||
6799$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6800	 X"$am_mf" : 'X\(//\)$' \| \
6801	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6802printf "%s\n" X/"$am_mf" |
6803    sed '/^.*\/\([^/][^/]*\)\/*$/{
6804	    s//\1/
6805	    q
6806	  }
6807	  /^X\/\(\/\/\)$/{
6808	    s//\1/
6809	    q
6810	  }
6811	  /^X\/\(\/\).*/{
6812	    s//\1/
6813	    q
6814	  }
6815	  s/.*/./; q'`
6816    { echo "$as_me:$LINENO: cd "$am_dirpart" \
6817      && sed -e '/# am--include-marker/d' "$am_filepart" \
6818        | $MAKE -f - am--depfiles" >&5
6819   (cd "$am_dirpart" \
6820      && sed -e '/# am--include-marker/d' "$am_filepart" \
6821        | $MAKE -f - am--depfiles) >&5 2>&5
6822   ac_status=$?
6823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824   (exit $ac_status); } || am_rc=$?
6825  done
6826  if test $am_rc -ne 0; then
6827    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6828printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6829as_fn_error $? "Something went wrong bootstrapping makefile fragments
6830    for automatic dependency tracking.  If GNU make was not used, consider
6831    re-running the configure script with MAKE=\"gmake\" (or whatever is
6832    necessary).  You can also try re-running configure with the
6833    '--disable-dependency-tracking' option to at least be able to build
6834    the package (albeit without support for automatic dependency tracking).
6835See \`config.log' for more details" "$LINENO" 5; }
6836  fi
6837  { am_dirpart=; unset am_dirpart;}
6838  { am_filepart=; unset am_filepart;}
6839  { am_mf=; unset am_mf;}
6840  { am_rc=; unset am_rc;}
6841  rm -f conftest-deps.mk
6842}
6843 ;;
6844
6845  esac
6846done # for ac_tag
6847
6848
6849as_fn_exit 0
6850_ACEOF
6851ac_clean_files=$ac_clean_files_save
6852
6853test $ac_write_fail = 0 ||
6854  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6855
6856
6857# configure is writing to config.log, and then calls config.status.
6858# config.status does its own redirection, appending to config.log.
6859# Unfortunately, on DOS this fails, as config.log is still kept open
6860# by configure, so config.status won't be able to write to it; its
6861# output is simply discarded.  So we exec the FD to /dev/null,
6862# effectively closing config.log, so it can be properly (re)opened and
6863# appended to by config.status.  When coming back to configure, we
6864# need to make the FD available again.
6865if test "$no_create" != yes; then
6866  ac_cs_success=:
6867  ac_config_status_args=
6868  test "$silent" = yes &&
6869    ac_config_status_args="$ac_config_status_args --quiet"
6870  exec 5>/dev/null
6871  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6872  exec 5>>config.log
6873  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6874  # would make configure fail if this is the last instruction.
6875  $ac_cs_success || as_fn_exit 1
6876fi
6877if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6878  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6879printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6880fi
6881
6882
6883{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5
6884printf "%s\n" "" >&6; }
6885if test -n "$have_ssl_paths"; then
6886    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using SSL" >&5
6887printf "%s\n" "Using SSL" >&6; }
6888else
6889    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using SSL" >&5
6890printf "%s\n" "Not using SSL" >&6; }
6891fi
6892if test -n "$have_sasl_paths"; then
6893    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using SASL" >&5
6894printf "%s\n" "Using SASL" >&6; }
6895else
6896    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using SASL" >&5
6897printf "%s\n" "Not using SASL" >&6; }
6898fi
6899if test -n "$have_zlib"; then
6900    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using zlib" >&5
6901printf "%s\n" "Using zlib" >&6; }
6902else
6903    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using zlib" >&5
6904printf "%s\n" "Not using zlib" >&6; }
6905fi
6906if test "x$ac_cv_berkdb4" = xyes; then
6907    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using Berkeley DB" >&5
6908printf "%s\n" "Using Berkeley DB" >&6; }
6909else
6910    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using Berkeley DB" >&5
6911printf "%s\n" "Not using Berkeley DB" >&6; }
6912fi
6913if test $darwin = yes; then
6914    if test "x$have_macos_keychain" = xyes; then
6915        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using macOS Keychain" >&5
6916printf "%s\n" "Using macOS Keychain" >&6; }
6917    else
6918        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not using macOS Keychain" >&5
6919printf "%s\n" "Not using macOS Keychain" >&6; }
6920    fi
6921fi
6922{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5
6923printf "%s\n" "" >&6; }
6924
6925