1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.69 for Burp 2.4.0.
4@%:@
5@%:@ Report bugs to <https://github.com/grke/burp/issues>.
6@%:@
7@%:@
8@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9@%:@
10@%:@
11@%:@ This configure script is free software; the Free Software Foundation
12@%:@ gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in @%:@(
28  *posix*) :
29    set -o posix ;; @%:@(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in @%:@(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in @%:@((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in @%:@ ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in @%:@(
172  *posix*) :
173    set -o posix ;; @%:@(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in @%:@(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in @%:@ ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: https://github.com/grke/burp/issues about your system,
271$0: including any error possibly output before this
272$0: message. Then install a modern shell, or manually run
273$0: the script under such a shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288@%:@ as_fn_unset VAR
289@%:@ ---------------
290@%:@ Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297@%:@ as_fn_set_status STATUS
298@%:@ -----------------------
299@%:@ Set @S|@? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} @%:@ as_fn_set_status
304
305@%:@ as_fn_exit STATUS
306@%:@ -----------------
307@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} @%:@ as_fn_exit
314
315@%:@ as_fn_mkdir_p
316@%:@ -------------
317@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} @%:@ as_fn_mkdir_p
362
363@%:@ as_fn_executable_p FILE
364@%:@ -----------------------
365@%:@ Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} @%:@ as_fn_executable_p
370@%:@ as_fn_append VAR VALUE
371@%:@ ----------------------
372@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
373@%:@ advantage of any shell optimizations that allow amortized linear growth over
374@%:@ repeated appends, instead of the typical quadratic growth present in naive
375@%:@ implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388@%:@ as_fn_arith ARG...
389@%:@ ------------------
390@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
391@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
392@%:@ must be portable across @S|@(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
407@%:@ ----------------------------------------
408@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410@%:@ script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} @%:@ as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in @%:@(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIB@&t@OBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='Burp'
582PACKAGE_TARNAME='burp'
583PACKAGE_VERSION='2.4.0'
584PACKAGE_STRING='Burp 2.4.0'
585PACKAGE_BUGREPORT='https://github.com/grke/burp/issues'
586PACKAGE_URL='http://burp.grke.net/'
587
588ac_unique_file="src/prog.c"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_func_list=
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629LIB@&t@OBJS
630scriptdir
631GENHTML
632LCOV
633WITH_COVERAGE_FALSE
634WITH_COVERAGE_TRUE
635COVERAGE_LDFLAGS
636COVERAGE_CFLAGS
637WITH_XATTR_FALSE
638WITH_XATTR_TRUE
639ACL_LIBS
640CHECK_LIBS
641CHECK_CFLAGS
642SYSTEMD_LIBS
643systemd_LIBS
644systemd_CFLAGS
645NCURSES_LIBS
646ncurses_LIBS
647ncurses_CFLAGS
648CAP_LIBS
649RSYNC_LIBS
650CRYPT_LIBS
651ZLIBS
652OPENSSL_INC
653OPENSSL_LDFLAGS
654OPENSSL_LIBS
655ALLOCA
656EGREP
657GREP
658CPP
659am__fastdepCC_FALSE
660am__fastdepCC_TRUE
661CCDEPMODE
662am__nodep
663AMDEPBACKSLASH
664AMDEP_FALSE
665AMDEP_TRUE
666am__include
667DEPDIR
668OBJEXT
669EXEEXT
670ac_ct_CC
671CPPFLAGS
672LDFLAGS
673CFLAGS
674CC
675host_os
676host_vendor
677host_cpu
678host
679build_os
680build_vendor
681build_cpu
682build
683PKG_CONFIG_LIBDIR
684PKG_CONFIG_PATH
685PKG_CONFIG
686AM_BACKSLASH
687AM_DEFAULT_VERBOSITY
688AM_DEFAULT_V
689AM_V
690am__untar
691am__tar
692AMTAR
693am__leading_dot
694SET_MAKE
695AWK
696mkdir_p
697MKDIR_P
698INSTALL_STRIP_PROGRAM
699STRIP
700install_sh
701MAKEINFO
702AUTOHEADER
703AUTOMAKE
704AUTOCONF
705ACLOCAL
706VERSION
707PACKAGE
708CYGPATH_W
709am__isrc
710INSTALL_DATA
711INSTALL_SCRIPT
712INSTALL_PROGRAM
713target_alias
714host_alias
715build_alias
716LIBS
717ECHO_T
718ECHO_N
719ECHO_C
720DEFS
721mandir
722localedir
723libdir
724psdir
725pdfdir
726dvidir
727htmldir
728infodir
729docdir
730oldincludedir
731includedir
732runstatedir
733localstatedir
734sharedstatedir
735sysconfdir
736datadir
737datarootdir
738libexecdir
739sbindir
740bindir
741program_transform_name
742prefix
743exec_prefix
744PACKAGE_URL
745PACKAGE_BUGREPORT
746PACKAGE_STRING
747PACKAGE_VERSION
748PACKAGE_TARNAME
749PACKAGE_NAME
750PATH_SEPARATOR
751SHELL
752am__quote'
753ac_subst_files=''
754ac_user_opts='
755enable_option_checking
756enable_silent_rules
757enable_dependency_tracking
758enable_largefile
759enable_ipv6
760with_openssl
761enable_systemd
762enable_acl
763enable_xattr
764with_coverage
765'
766      ac_precious_vars='build_alias
767host_alias
768target_alias
769PKG_CONFIG
770PKG_CONFIG_PATH
771PKG_CONFIG_LIBDIR
772CC
773CFLAGS
774LDFLAGS
775LIBS
776CPPFLAGS
777CPP
778ncurses_CFLAGS
779ncurses_LIBS
780systemd_CFLAGS
781systemd_LIBS
782CHECK_CFLAGS
783CHECK_LIBS'
784
785
786# Initialize some variables set by options.
787ac_init_help=
788ac_init_version=false
789ac_unrecognized_opts=
790ac_unrecognized_sep=
791# The variables have the same names as the options, with
792# dashes changed to underlines.
793cache_file=/dev/null
794exec_prefix=NONE
795no_create=
796no_recursion=
797prefix=NONE
798program_prefix=NONE
799program_suffix=NONE
800program_transform_name=s,x,x,
801silent=
802site=
803srcdir=
804verbose=
805x_includes=NONE
806x_libraries=NONE
807
808# Installation directory options.
809# These are left unexpanded so users can "make install exec_prefix=/foo"
810# and all the variables that are supposed to be based on exec_prefix
811# by default will actually change.
812# Use braces instead of parens because sh, perl, etc. also accept them.
813# (The list follows the same order as the GNU Coding Standards.)
814bindir='${exec_prefix}/bin'
815sbindir='${exec_prefix}/sbin'
816libexecdir='${exec_prefix}/libexec'
817datarootdir='${prefix}/share'
818datadir='${datarootdir}'
819sysconfdir='${prefix}/etc'
820sharedstatedir='${prefix}/com'
821localstatedir='${prefix}/var'
822runstatedir='${localstatedir}/run'
823includedir='${prefix}/include'
824oldincludedir='/usr/include'
825docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826infodir='${datarootdir}/info'
827htmldir='${docdir}'
828dvidir='${docdir}'
829pdfdir='${docdir}'
830psdir='${docdir}'
831libdir='${exec_prefix}/lib'
832localedir='${datarootdir}/locale'
833mandir='${datarootdir}/man'
834
835ac_prev=
836ac_dashdash=
837for ac_option
838do
839  # If the previous option needs an argument, assign it.
840  if test -n "$ac_prev"; then
841    eval $ac_prev=\$ac_option
842    ac_prev=
843    continue
844  fi
845
846  case $ac_option in
847  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848  *=)   ac_optarg= ;;
849  *)    ac_optarg=yes ;;
850  esac
851
852  # Accept the important Cygnus configure options, so we can diagnose typos.
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=`$as_echo "$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=`$as_echo "$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=`$as_echo "$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=`$as_echo "$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    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197      $as_echo "$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    *)     $as_echo "$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 ||
1277$as_echo 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 Burp 2.4.0 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                          @<:@@S|@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/burp@:>@
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_ACEOF
1401fi
1402
1403if test -n "$ac_init_help"; then
1404  case $ac_init_help in
1405     short | recursive ) echo "Configuration of Burp 2.4.0:";;
1406   esac
1407  cat <<\_ACEOF
1408
1409Optional Features:
1410  --disable-option-checking  ignore unrecognized --enable/--with options
1411  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1412  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1413  --enable-silent-rules   less verbose build output (undo: "make V=1")
1414  --disable-silent-rules  verbose build output (undo: "make V=0")
1415  --enable-dependency-tracking
1416                          do not reject slow dependency extractors
1417  --disable-dependency-tracking
1418                          speeds up one-time build
1419  --disable-largefile     omit support for large files
1420  --enable-ipv6           enable IPv6 support @<:@default=auto@:>@
1421  --enable-systemd        enable systemd integration @<:@default=auto@:>@
1422  --enable-acl            enable acl support @<:@default=auto@:>@
1423  --enable-xattr          enable xattr support @<:@default=auto@:>@
1424
1425Optional Packages:
1426  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1427  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1428  --with-openssl@<:@=DIR@:>@    root of the OpenSSL directory
1429  --with-coverage         build test suite with code coverage support
1430
1431Some influential environment variables:
1432  PKG_CONFIG  path to pkg-config utility
1433  PKG_CONFIG_PATH
1434              directories to add to pkg-config's search path
1435  PKG_CONFIG_LIBDIR
1436              path overriding pkg-config's built-in search path
1437  CC          C compiler command
1438  CFLAGS      C compiler flags
1439  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1440              nonstandard directory <lib dir>
1441  LIBS        libraries to pass to the linker, e.g. -l<library>
1442  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443              you have headers in a nonstandard directory <include dir>
1444  CPP         C preprocessor
1445  ncurses_CFLAGS
1446              C compiler flags for ncurses, overriding pkg-config
1447  ncurses_LIBS
1448              linker flags for ncurses, overriding pkg-config
1449  systemd_CFLAGS
1450              C compiler flags for systemd, overriding pkg-config
1451  systemd_LIBS
1452              linker flags for systemd, overriding pkg-config
1453  CHECK_CFLAGS
1454              C compiler flags for CHECK, overriding pkg-config
1455  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1456
1457Use these variables to override the choices made by `configure' or to help
1458it to find libraries and programs with nonstandard names/locations.
1459
1460Report bugs to <https://github.com/grke/burp/issues>.
1461Burp home page: <http://burp.grke.net/>.
1462_ACEOF
1463ac_status=$?
1464fi
1465
1466if test "$ac_init_help" = "recursive"; then
1467  # If there are subdirs, report their specific --help.
1468  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469    test -d "$ac_dir" ||
1470      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471      continue
1472    ac_builddir=.
1473
1474case "$ac_dir" in
1475.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476*)
1477  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478  # A ".." for each directory in $ac_dir_suffix.
1479  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480  case $ac_top_builddir_sub in
1481  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483  esac ;;
1484esac
1485ac_abs_top_builddir=$ac_pwd
1486ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487# for backward compatibility:
1488ac_top_builddir=$ac_top_build_prefix
1489
1490case $srcdir in
1491  .)  # We are building in place.
1492    ac_srcdir=.
1493    ac_top_srcdir=$ac_top_builddir_sub
1494    ac_abs_top_srcdir=$ac_pwd ;;
1495  [\\/]* | ?:[\\/]* )  # Absolute name.
1496    ac_srcdir=$srcdir$ac_dir_suffix;
1497    ac_top_srcdir=$srcdir
1498    ac_abs_top_srcdir=$srcdir ;;
1499  *) # Relative name.
1500    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501    ac_top_srcdir=$ac_top_build_prefix$srcdir
1502    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1503esac
1504ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505
1506    cd "$ac_dir" || { ac_status=$?; continue; }
1507    # Check for guested configure.
1508    if test -f "$ac_srcdir/configure.gnu"; then
1509      echo &&
1510      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511    elif test -f "$ac_srcdir/configure"; then
1512      echo &&
1513      $SHELL "$ac_srcdir/configure" --help=recursive
1514    else
1515      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516    fi || ac_status=$?
1517    cd "$ac_pwd" || { ac_status=$?; break; }
1518  done
1519fi
1520
1521test -n "$ac_init_help" && exit $ac_status
1522if $ac_init_version; then
1523  cat <<\_ACEOF
1524Burp configure 2.4.0
1525generated by GNU Autoconf 2.69
1526
1527Copyright (C) 2012 Free Software Foundation, Inc.
1528This configure script is free software; the Free Software Foundation
1529gives unlimited permission to copy, distribute and modify it.
1530_ACEOF
1531  exit
1532fi
1533
1534## ------------------------ ##
1535## Autoconf initialization. ##
1536## ------------------------ ##
1537
1538@%:@ ac_fn_c_try_compile LINENO
1539@%:@ --------------------------
1540@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1541ac_fn_c_try_compile ()
1542{
1543  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544  rm -f conftest.$ac_objext
1545  if { { ac_try="$ac_compile"
1546case "(($ac_try" in
1547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548  *) ac_try_echo=$ac_try;;
1549esac
1550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551$as_echo "$ac_try_echo"; } >&5
1552  (eval "$ac_compile") 2>conftest.err
1553  ac_status=$?
1554  if test -s conftest.err; then
1555    grep -v '^ *+' conftest.err >conftest.er1
1556    cat conftest.er1 >&5
1557    mv -f conftest.er1 conftest.err
1558  fi
1559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560  test $ac_status = 0; } && {
1561	 test -z "$ac_c_werror_flag" ||
1562	 test ! -s conftest.err
1563       } && test -s conftest.$ac_objext; then :
1564  ac_retval=0
1565else
1566  $as_echo "$as_me: failed program was:" >&5
1567sed 's/^/| /' conftest.$ac_ext >&5
1568
1569	ac_retval=1
1570fi
1571  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572  as_fn_set_status $ac_retval
1573
1574} @%:@ ac_fn_c_try_compile
1575
1576@%:@ ac_fn_c_try_cpp LINENO
1577@%:@ ----------------------
1578@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1579ac_fn_c_try_cpp ()
1580{
1581  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582  if { { ac_try="$ac_cpp conftest.$ac_ext"
1583case "(($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\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1590  ac_status=$?
1591  if test -s conftest.err; then
1592    grep -v '^ *+' conftest.err >conftest.er1
1593    cat conftest.er1 >&5
1594    mv -f conftest.er1 conftest.err
1595  fi
1596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597  test $ac_status = 0; } > conftest.i && {
1598	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1599	 test ! -s conftest.err
1600       }; then :
1601  ac_retval=0
1602else
1603  $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606    ac_retval=1
1607fi
1608  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609  as_fn_set_status $ac_retval
1610
1611} @%:@ ac_fn_c_try_cpp
1612
1613@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1614@%:@ -------------------------------------------------------
1615@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1616@%:@ the include files in INCLUDES and setting the cache variable VAR
1617@%:@ accordingly.
1618ac_fn_c_check_header_mongrel ()
1619{
1620  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621  if eval \${$3+:} false; then :
1622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623$as_echo_n "checking for $2... " >&6; }
1624if eval \${$3+:} false; then :
1625  $as_echo_n "(cached) " >&6
1626fi
1627eval ac_res=\$$3
1628	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629$as_echo "$ac_res" >&6; }
1630else
1631  # Is the header compilable?
1632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1633$as_echo_n "checking $2 usability... " >&6; }
1634cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635/* end confdefs.h.  */
1636$4
1637@%:@include <$2>
1638_ACEOF
1639if ac_fn_c_try_compile "$LINENO"; then :
1640  ac_header_compiler=yes
1641else
1642  ac_header_compiler=no
1643fi
1644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1646$as_echo "$ac_header_compiler" >&6; }
1647
1648# Is the header present?
1649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1650$as_echo_n "checking $2 presence... " >&6; }
1651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652/* end confdefs.h.  */
1653@%:@include <$2>
1654_ACEOF
1655if ac_fn_c_try_cpp "$LINENO"; then :
1656  ac_header_preproc=yes
1657else
1658  ac_header_preproc=no
1659fi
1660rm -f conftest.err conftest.i conftest.$ac_ext
1661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1662$as_echo "$ac_header_preproc" >&6; }
1663
1664# So?  What about this header?
1665case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1666  yes:no: )
1667    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1668$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1669    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1670$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1671    ;;
1672  no:yes:* )
1673    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1674$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1676$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1677    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1678$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1679    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1680$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1682$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683( $as_echo "## -------------------------------------------------- ##
1684## Report this to https://github.com/grke/burp/issues ##
1685## -------------------------------------------------- ##"
1686     ) | sed "s/^/$as_me: WARNING:     /" >&2
1687    ;;
1688esac
1689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690$as_echo_n "checking for $2... " >&6; }
1691if eval \${$3+:} false; then :
1692  $as_echo_n "(cached) " >&6
1693else
1694  eval "$3=\$ac_header_compiler"
1695fi
1696eval ac_res=\$$3
1697	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698$as_echo "$ac_res" >&6; }
1699fi
1700  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701
1702} @%:@ ac_fn_c_check_header_mongrel
1703
1704@%:@ ac_fn_c_try_run LINENO
1705@%:@ ----------------------
1706@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1707@%:@ that executables *can* be run.
1708ac_fn_c_try_run ()
1709{
1710  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711  if { { ac_try="$ac_link"
1712case "(($ac_try" in
1713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714  *) ac_try_echo=$ac_try;;
1715esac
1716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717$as_echo "$ac_try_echo"; } >&5
1718  (eval "$ac_link") 2>&5
1719  ac_status=$?
1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1722  { { case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725esac
1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727$as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_try") 2>&5
1729  ac_status=$?
1730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731  test $ac_status = 0; }; }; then :
1732  ac_retval=0
1733else
1734  $as_echo "$as_me: program exited with status $ac_status" >&5
1735       $as_echo "$as_me: failed program was:" >&5
1736sed 's/^/| /' conftest.$ac_ext >&5
1737
1738       ac_retval=$ac_status
1739fi
1740  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742  as_fn_set_status $ac_retval
1743
1744} @%:@ ac_fn_c_try_run
1745
1746@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747@%:@ -------------------------------------------------------
1748@%:@ Tests whether HEADER exists and can be compiled using the include files in
1749@%:@ INCLUDES, setting the cache variable VAR accordingly.
1750ac_fn_c_check_header_compile ()
1751{
1752  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754$as_echo_n "checking for $2... " >&6; }
1755if eval \${$3+:} false; then :
1756  $as_echo_n "(cached) " >&6
1757else
1758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759/* end confdefs.h.  */
1760$4
1761@%:@include <$2>
1762_ACEOF
1763if ac_fn_c_try_compile "$LINENO"; then :
1764  eval "$3=yes"
1765else
1766  eval "$3=no"
1767fi
1768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769fi
1770eval ac_res=\$$3
1771	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772$as_echo "$ac_res" >&6; }
1773  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1775} @%:@ ac_fn_c_check_header_compile
1776
1777@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1778@%:@ -------------------------------------------
1779@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1780@%:@ variable VAR accordingly.
1781ac_fn_c_check_type ()
1782{
1783  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785$as_echo_n "checking for $2... " >&6; }
1786if eval \${$3+:} false; then :
1787  $as_echo_n "(cached) " >&6
1788else
1789  eval "$3=no"
1790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791/* end confdefs.h.  */
1792$4
1793int
1794main ()
1795{
1796if (sizeof ($2))
1797	 return 0;
1798  ;
1799  return 0;
1800}
1801_ACEOF
1802if ac_fn_c_try_compile "$LINENO"; then :
1803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805$4
1806int
1807main ()
1808{
1809if (sizeof (($2)))
1810	    return 0;
1811  ;
1812  return 0;
1813}
1814_ACEOF
1815if ac_fn_c_try_compile "$LINENO"; then :
1816
1817else
1818  eval "$3=yes"
1819fi
1820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821fi
1822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823fi
1824eval ac_res=\$$3
1825	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826$as_echo "$ac_res" >&6; }
1827  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829} @%:@ ac_fn_c_check_type
1830
1831@%:@ ac_fn_c_try_link LINENO
1832@%:@ -----------------------
1833@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1834ac_fn_c_try_link ()
1835{
1836  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837  rm -f conftest.$ac_objext conftest$ac_exeext
1838  if { { ac_try="$ac_link"
1839case "(($ac_try" in
1840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841  *) ac_try_echo=$ac_try;;
1842esac
1843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844$as_echo "$ac_try_echo"; } >&5
1845  (eval "$ac_link") 2>conftest.err
1846  ac_status=$?
1847  if test -s conftest.err; then
1848    grep -v '^ *+' conftest.err >conftest.er1
1849    cat conftest.er1 >&5
1850    mv -f conftest.er1 conftest.err
1851  fi
1852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853  test $ac_status = 0; } && {
1854	 test -z "$ac_c_werror_flag" ||
1855	 test ! -s conftest.err
1856       } && test -s conftest$ac_exeext && {
1857	 test "$cross_compiling" = yes ||
1858	 test -x conftest$ac_exeext
1859       }; then :
1860  ac_retval=0
1861else
1862  $as_echo "$as_me: failed program was:" >&5
1863sed 's/^/| /' conftest.$ac_ext >&5
1864
1865	ac_retval=1
1866fi
1867  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1868  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1869  # interfere with the next link command; also delete a directory that is
1870  # left behind by Apple's compiler.  We do this before executing the actions.
1871  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873  as_fn_set_status $ac_retval
1874
1875} @%:@ ac_fn_c_try_link
1876
1877@%:@ ac_fn_c_check_func LINENO FUNC VAR
1878@%:@ ----------------------------------
1879@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1880ac_fn_c_check_func ()
1881{
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884$as_echo_n "checking for $2... " >&6; }
1885if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887else
1888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h.  */
1890/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1892#define $2 innocuous_$2
1893
1894/* System header to define __stub macros and hopefully few prototypes,
1895    which can conflict with char $2 (); below.
1896    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897    <limits.h> exists even on freestanding compilers.  */
1898
1899#ifdef __STDC__
1900# include <limits.h>
1901#else
1902# include <assert.h>
1903#endif
1904
1905#undef $2
1906
1907/* Override any GCC internal prototype to avoid an error.
1908   Use char because int might match the return type of a GCC
1909   builtin and then its argument prototype would still apply.  */
1910#ifdef __cplusplus
1911extern "C"
1912#endif
1913char $2 ();
1914/* The GNU C library defines this for functions which it implements
1915    to always fail with ENOSYS.  Some functions are actually named
1916    something starting with __ and the normal name is an alias.  */
1917#if defined __stub_$2 || defined __stub___$2
1918choke me
1919#endif
1920
1921int
1922main ()
1923{
1924return $2 ();
1925  ;
1926  return 0;
1927}
1928_ACEOF
1929if ac_fn_c_try_link "$LINENO"; then :
1930  eval "$3=yes"
1931else
1932  eval "$3=no"
1933fi
1934rm -f core conftest.err conftest.$ac_objext \
1935    conftest$ac_exeext conftest.$ac_ext
1936fi
1937eval ac_res=\$$3
1938	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939$as_echo "$ac_res" >&6; }
1940  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941
1942} @%:@ ac_fn_c_check_func
1943
1944@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1945@%:@ ---------------------------------------------
1946@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1947@%:@ accordingly.
1948ac_fn_c_check_decl ()
1949{
1950  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951  as_decl_name=`echo $2|sed 's/ *(.*//'`
1952  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1954$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1955if eval \${$3+:} false; then :
1956  $as_echo_n "(cached) " >&6
1957else
1958  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959/* end confdefs.h.  */
1960$4
1961int
1962main ()
1963{
1964@%:@ifndef $as_decl_name
1965@%:@ifdef __cplusplus
1966  (void) $as_decl_use;
1967@%:@else
1968  (void) $as_decl_name;
1969@%:@endif
1970@%:@endif
1971
1972  ;
1973  return 0;
1974}
1975_ACEOF
1976if ac_fn_c_try_compile "$LINENO"; then :
1977  eval "$3=yes"
1978else
1979  eval "$3=no"
1980fi
1981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982fi
1983eval ac_res=\$$3
1984	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985$as_echo "$ac_res" >&6; }
1986  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987
1988} @%:@ ac_fn_c_check_decl
1989cat >config.log <<_ACEOF
1990This file contains any messages produced by compilers while
1991running configure, to aid debugging if configure makes a mistake.
1992
1993It was created by Burp $as_me 2.4.0, which was
1994generated by GNU Autoconf 2.69.  Invocation command line was
1995
1996  $ $0 $@
1997
1998_ACEOF
1999exec 5>>config.log
2000{
2001cat <<_ASUNAME
2002## --------- ##
2003## Platform. ##
2004## --------- ##
2005
2006hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2007uname -m = `(uname -m) 2>/dev/null || echo unknown`
2008uname -r = `(uname -r) 2>/dev/null || echo unknown`
2009uname -s = `(uname -s) 2>/dev/null || echo unknown`
2010uname -v = `(uname -v) 2>/dev/null || echo unknown`
2011
2012/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2013/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2014
2015/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2016/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2017/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2018/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2019/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2020/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2021/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2022
2023_ASUNAME
2024
2025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026for as_dir in $PATH
2027do
2028  IFS=$as_save_IFS
2029  test -z "$as_dir" && as_dir=.
2030    $as_echo "PATH: $as_dir"
2031  done
2032IFS=$as_save_IFS
2033
2034} >&5
2035
2036cat >&5 <<_ACEOF
2037
2038
2039## ----------- ##
2040## Core tests. ##
2041## ----------- ##
2042
2043_ACEOF
2044
2045
2046# Keep a trace of the command line.
2047# Strip out --no-create and --no-recursion so they do not pile up.
2048# Strip out --silent because we don't want to record it for future runs.
2049# Also quote any args containing shell meta-characters.
2050# Make two passes to allow for proper duplicate-argument suppression.
2051ac_configure_args=
2052ac_configure_args0=
2053ac_configure_args1=
2054ac_must_keep_next=false
2055for ac_pass in 1 2
2056do
2057  for ac_arg
2058  do
2059    case $ac_arg in
2060    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2061    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2062    | -silent | --silent | --silen | --sile | --sil)
2063      continue ;;
2064    *\'*)
2065      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2066    esac
2067    case $ac_pass in
2068    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2069    2)
2070      as_fn_append ac_configure_args1 " '$ac_arg'"
2071      if test $ac_must_keep_next = true; then
2072	ac_must_keep_next=false # Got value, back to normal.
2073      else
2074	case $ac_arg in
2075	  *=* | --config-cache | -C | -disable-* | --disable-* \
2076	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2077	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2078	  | -with-* | --with-* | -without-* | --without-* | --x)
2079	    case "$ac_configure_args0 " in
2080	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2081	    esac
2082	    ;;
2083	  -* ) ac_must_keep_next=true ;;
2084	esac
2085      fi
2086      as_fn_append ac_configure_args " '$ac_arg'"
2087      ;;
2088    esac
2089  done
2090done
2091{ ac_configure_args0=; unset ac_configure_args0;}
2092{ ac_configure_args1=; unset ac_configure_args1;}
2093
2094# When interrupted or exit'd, cleanup temporary files, and complete
2095# config.log.  We remove comments because anyway the quotes in there
2096# would cause problems or look ugly.
2097# WARNING: Use '\'' to represent an apostrophe within the trap.
2098# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2099trap 'exit_status=$?
2100  # Save into config.log some information that might help in debugging.
2101  {
2102    echo
2103
2104    $as_echo "## ---------------- ##
2105## Cache variables. ##
2106## ---------------- ##"
2107    echo
2108    # The following way of writing the cache mishandles newlines in values,
2109(
2110  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2111    eval ac_val=\$$ac_var
2112    case $ac_val in #(
2113    *${as_nl}*)
2114      case $ac_var in #(
2115      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2116$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2117      esac
2118      case $ac_var in #(
2119      _ | IFS | as_nl) ;; #(
2120      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2121      *) { eval $ac_var=; unset $ac_var;} ;;
2122      esac ;;
2123    esac
2124  done
2125  (set) 2>&1 |
2126    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2127    *${as_nl}ac_space=\ *)
2128      sed -n \
2129	"s/'\''/'\''\\\\'\'''\''/g;
2130	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2131      ;; #(
2132    *)
2133      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2134      ;;
2135    esac |
2136    sort
2137)
2138    echo
2139
2140    $as_echo "## ----------------- ##
2141## Output variables. ##
2142## ----------------- ##"
2143    echo
2144    for ac_var in $ac_subst_vars
2145    do
2146      eval ac_val=\$$ac_var
2147      case $ac_val in
2148      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149      esac
2150      $as_echo "$ac_var='\''$ac_val'\''"
2151    done | sort
2152    echo
2153
2154    if test -n "$ac_subst_files"; then
2155      $as_echo "## ------------------- ##
2156## File substitutions. ##
2157## ------------------- ##"
2158      echo
2159      for ac_var in $ac_subst_files
2160      do
2161	eval ac_val=\$$ac_var
2162	case $ac_val in
2163	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164	esac
2165	$as_echo "$ac_var='\''$ac_val'\''"
2166      done | sort
2167      echo
2168    fi
2169
2170    if test -s confdefs.h; then
2171      $as_echo "## ----------- ##
2172## confdefs.h. ##
2173## ----------- ##"
2174      echo
2175      cat confdefs.h
2176      echo
2177    fi
2178    test "$ac_signal" != 0 &&
2179      $as_echo "$as_me: caught signal $ac_signal"
2180    $as_echo "$as_me: exit $exit_status"
2181  } >&5
2182  rm -f core *.core core.conftest.* &&
2183    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2184    exit $exit_status
2185' 0
2186for ac_signal in 1 2 13 15; do
2187  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2188done
2189ac_signal=0
2190
2191# confdefs.h avoids OS command line length limits that DEFS can exceed.
2192rm -f -r conftest* confdefs.h
2193
2194$as_echo "/* confdefs.h */" > confdefs.h
2195
2196# Predefined preprocessor variables.
2197
2198cat >>confdefs.h <<_ACEOF
2199@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2200_ACEOF
2201
2202cat >>confdefs.h <<_ACEOF
2203@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2204_ACEOF
2205
2206cat >>confdefs.h <<_ACEOF
2207@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2208_ACEOF
2209
2210cat >>confdefs.h <<_ACEOF
2211@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2212_ACEOF
2213
2214cat >>confdefs.h <<_ACEOF
2215@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2216_ACEOF
2217
2218cat >>confdefs.h <<_ACEOF
2219@%:@define PACKAGE_URL "$PACKAGE_URL"
2220_ACEOF
2221
2222
2223# Let the site file select an alternate cache file if it wants to.
2224# Prefer an explicitly selected file to automatically selected ones.
2225ac_site_file1=NONE
2226ac_site_file2=NONE
2227if test -n "$CONFIG_SITE"; then
2228  # We do not want a PATH search for config.site.
2229  case $CONFIG_SITE in @%:@((
2230    -*)  ac_site_file1=./$CONFIG_SITE;;
2231    */*) ac_site_file1=$CONFIG_SITE;;
2232    *)   ac_site_file1=./$CONFIG_SITE;;
2233  esac
2234elif test "x$prefix" != xNONE; then
2235  ac_site_file1=$prefix/share/config.site
2236  ac_site_file2=$prefix/etc/config.site
2237else
2238  ac_site_file1=$ac_default_prefix/share/config.site
2239  ac_site_file2=$ac_default_prefix/etc/config.site
2240fi
2241for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2242do
2243  test "x$ac_site_file" = xNONE && continue
2244  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2245    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2246$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2247    sed 's/^/| /' "$ac_site_file" >&5
2248    . "$ac_site_file" \
2249      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251as_fn_error $? "failed to load site script $ac_site_file
2252See \`config.log' for more details" "$LINENO" 5; }
2253  fi
2254done
2255
2256if test -r "$cache_file"; then
2257  # Some versions of bash will fail to source /dev/null (special files
2258  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2259  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2260    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2261$as_echo "$as_me: loading cache $cache_file" >&6;}
2262    case $cache_file in
2263      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2264      *)                      . "./$cache_file";;
2265    esac
2266  fi
2267else
2268  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2269$as_echo "$as_me: creating cache $cache_file" >&6;}
2270  >$cache_file
2271fi
2272
2273as_fn_append ac_func_list " lockf"
2274as_fn_append ac_func_list " lutimes"
2275as_fn_append ac_func_list " chflags"
2276# Check that the precious variables saved in the cache have kept the same
2277# value.
2278ac_cache_corrupted=false
2279for ac_var in $ac_precious_vars; do
2280  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281  eval ac_new_set=\$ac_env_${ac_var}_set
2282  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283  eval ac_new_val=\$ac_env_${ac_var}_value
2284  case $ac_old_set,$ac_new_set in
2285    set,)
2286      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288      ac_cache_corrupted=: ;;
2289    ,set)
2290      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2291$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292      ac_cache_corrupted=: ;;
2293    ,);;
2294    *)
2295      if test "x$ac_old_val" != "x$ac_new_val"; then
2296	# differences in whitespace do not lead to failure.
2297	ac_old_val_w=`echo x $ac_old_val`
2298	ac_new_val_w=`echo x $ac_new_val`
2299	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2300	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2301$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2302	  ac_cache_corrupted=:
2303	else
2304	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2305$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2306	  eval $ac_var=\$ac_old_val
2307	fi
2308	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2309$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2310	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2311$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2312      fi;;
2313  esac
2314  # Pass precious variables to config.status.
2315  if test "$ac_new_set" = set; then
2316    case $ac_new_val in
2317    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318    *) ac_arg=$ac_var=$ac_new_val ;;
2319    esac
2320    case " $ac_configure_args " in
2321      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2322      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2323    esac
2324  fi
2325done
2326if $ac_cache_corrupted; then
2327  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2330$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2332fi
2333## -------------------- ##
2334## Main body of script. ##
2335## -------------------- ##
2336
2337ac_ext=c
2338ac_cpp='$CPP $CPPFLAGS'
2339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342
2343
2344ac_aux_dir=
2345for ac_dir in autoconf "$srcdir"/autoconf; do
2346  if test -f "$ac_dir/install-sh"; then
2347    ac_aux_dir=$ac_dir
2348    ac_install_sh="$ac_aux_dir/install-sh -c"
2349    break
2350  elif test -f "$ac_dir/install.sh"; then
2351    ac_aux_dir=$ac_dir
2352    ac_install_sh="$ac_aux_dir/install.sh -c"
2353    break
2354  elif test -f "$ac_dir/shtool"; then
2355    ac_aux_dir=$ac_dir
2356    ac_install_sh="$ac_aux_dir/shtool install -c"
2357    break
2358  fi
2359done
2360if test -z "$ac_aux_dir"; then
2361  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2362fi
2363
2364# These three variables are undocumented and unsupported,
2365# and are intended to be withdrawn in a future Autoconf release.
2366# They can cause serious problems if a builder's source tree is in a directory
2367# whose full name contains unusual characters.
2368ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2369ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2370ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2371
2372
2373ac_config_headers="$ac_config_headers src/config.h"
2374
2375
2376
2377
2378am__api_version='1.16'
2379
2380# Find a good install program.  We prefer a C program (faster),
2381# so one script is as good as another.  But avoid the broken or
2382# incompatible versions:
2383# SysV /etc/install, /usr/sbin/install
2384# SunOS /usr/etc/install
2385# IRIX /sbin/install
2386# AIX /bin/install
2387# AmigaOS /C/install, which installs bootblocks on floppy discs
2388# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2389# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2390# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2391# OS/2's system install, which has a completely different semantic
2392# ./install, which can be erroneously created by make from ./install.sh.
2393# Reject install programs that cannot install multiple files.
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2395$as_echo_n "checking for a BSD-compatible install... " >&6; }
2396if test -z "$INSTALL"; then
2397if ${ac_cv_path_install+:} false; then :
2398  $as_echo_n "(cached) " >&6
2399else
2400  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401for as_dir in $PATH
2402do
2403  IFS=$as_save_IFS
2404  test -z "$as_dir" && as_dir=.
2405    # Account for people who put trailing slashes in PATH elements.
2406case $as_dir/ in @%:@((
2407  ./ | .// | /[cC]/* | \
2408  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2409  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2410  /usr/ucb/* ) ;;
2411  *)
2412    # OSF1 and SCO ODT 3.0 have their own names for install.
2413    # Don't use installbsd from OSF since it installs stuff as root
2414    # by default.
2415    for ac_prog in ginstall scoinst install; do
2416      for ac_exec_ext in '' $ac_executable_extensions; do
2417	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2418	  if test $ac_prog = install &&
2419	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2420	    # AIX install.  It has an incompatible calling convention.
2421	    :
2422	  elif test $ac_prog = install &&
2423	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424	    # program-specific install script used by HP pwplus--don't use.
2425	    :
2426	  else
2427	    rm -rf conftest.one conftest.two conftest.dir
2428	    echo one > conftest.one
2429	    echo two > conftest.two
2430	    mkdir conftest.dir
2431	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2432	      test -s conftest.one && test -s conftest.two &&
2433	      test -s conftest.dir/conftest.one &&
2434	      test -s conftest.dir/conftest.two
2435	    then
2436	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2437	      break 3
2438	    fi
2439	  fi
2440	fi
2441      done
2442    done
2443    ;;
2444esac
2445
2446  done
2447IFS=$as_save_IFS
2448
2449rm -rf conftest.one conftest.two conftest.dir
2450
2451fi
2452  if test "${ac_cv_path_install+set}" = set; then
2453    INSTALL=$ac_cv_path_install
2454  else
2455    # As a last resort, use the slow shell script.  Don't cache a
2456    # value for INSTALL within a source directory, because that will
2457    # break other packages using the cache if that directory is
2458    # removed, or if the value is a relative name.
2459    INSTALL=$ac_install_sh
2460  fi
2461fi
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2463$as_echo "$INSTALL" >&6; }
2464
2465# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2466# It thinks the first close brace ends the variable substitution.
2467test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2468
2469test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2470
2471test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2472
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2474$as_echo_n "checking whether build environment is sane... " >&6; }
2475# Reject unsafe characters in $srcdir or the absolute working directory
2476# name.  Accept space and tab only in the latter.
2477am_lf='
2478'
2479case `pwd` in
2480  *[\\\"\#\$\&\'\`$am_lf]*)
2481    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2482esac
2483case $srcdir in
2484  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2485    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2486esac
2487
2488# Do 'set' in a subshell so we don't clobber the current shell's
2489# arguments.  Must try -L first in case configure is actually a
2490# symlink; some systems play weird games with the mod time of symlinks
2491# (eg FreeBSD returns the mod time of the symlink's containing
2492# directory).
2493if (
2494   am_has_slept=no
2495   for am_try in 1 2; do
2496     echo "timestamp, slept: $am_has_slept" > conftest.file
2497     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2498     if test "$*" = "X"; then
2499	# -L didn't work.
2500	set X `ls -t "$srcdir/configure" conftest.file`
2501     fi
2502     if test "$*" != "X $srcdir/configure conftest.file" \
2503	&& test "$*" != "X conftest.file $srcdir/configure"; then
2504
2505	# If neither matched, then we have a broken ls.  This can happen
2506	# if, for instance, CONFIG_SHELL is bash and it inherits a
2507	# broken ls alias from the environment.  This has actually
2508	# happened.  Such a system could not be considered "sane".
2509	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2510  alias in your environment" "$LINENO" 5
2511     fi
2512     if test "$2" = conftest.file || test $am_try -eq 2; then
2513       break
2514     fi
2515     # Just in case.
2516     sleep 1
2517     am_has_slept=yes
2518   done
2519   test "$2" = conftest.file
2520   )
2521then
2522   # Ok.
2523   :
2524else
2525   as_fn_error $? "newly created file is older than distributed files!
2526Check your system clock" "$LINENO" 5
2527fi
2528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2529$as_echo "yes" >&6; }
2530# If we didn't sleep, we still need to ensure time stamps of config.status and
2531# generated files are strictly newer.
2532am_sleep_pid=
2533if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2534  ( sleep 1 ) &
2535  am_sleep_pid=$!
2536fi
2537
2538rm -f conftest.file
2539
2540test "$program_prefix" != NONE &&
2541  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2542# Use a double $ so make ignores it.
2543test "$program_suffix" != NONE &&
2544  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2545# Double any \ or $.
2546# By default was `s,x,x', remove it if useless.
2547ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2548program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2549
2550# Expand $ac_aux_dir to an absolute path.
2551am_aux_dir=`cd "$ac_aux_dir" && pwd`
2552
2553if test x"${MISSING+set}" != xset; then
2554  case $am_aux_dir in
2555  *\ * | *\	*)
2556    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2557  *)
2558    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2559  esac
2560fi
2561# Use eval to expand $SHELL
2562if eval "$MISSING --is-lightweight"; then
2563  am_missing_run="$MISSING "
2564else
2565  am_missing_run=
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2567$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2568fi
2569
2570if test x"${install_sh+set}" != xset; then
2571  case $am_aux_dir in
2572  *\ * | *\	*)
2573    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2574  *)
2575    install_sh="\${SHELL} $am_aux_dir/install-sh"
2576  esac
2577fi
2578
2579# Installed binaries are usually stripped using 'strip' when the user
2580# run "make install-strip".  However 'strip' might not be the right
2581# tool to use in cross-compilation environments, therefore Automake
2582# will honor the 'STRIP' environment variable to overrule this program.
2583if test "$cross_compiling" != no; then
2584  if test -n "$ac_tool_prefix"; then
2585  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2586set dummy ${ac_tool_prefix}strip; ac_word=$2
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588$as_echo_n "checking for $ac_word... " >&6; }
2589if ${ac_cv_prog_STRIP+:} false; then :
2590  $as_echo_n "(cached) " >&6
2591else
2592  if test -n "$STRIP"; then
2593  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2594else
2595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596for as_dir in $PATH
2597do
2598  IFS=$as_save_IFS
2599  test -z "$as_dir" && as_dir=.
2600    for ac_exec_ext in '' $ac_executable_extensions; do
2601  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604    break 2
2605  fi
2606done
2607  done
2608IFS=$as_save_IFS
2609
2610fi
2611fi
2612STRIP=$ac_cv_prog_STRIP
2613if test -n "$STRIP"; then
2614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2615$as_echo "$STRIP" >&6; }
2616else
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618$as_echo "no" >&6; }
2619fi
2620
2621
2622fi
2623if test -z "$ac_cv_prog_STRIP"; then
2624  ac_ct_STRIP=$STRIP
2625  # Extract the first word of "strip", so it can be a program name with args.
2626set dummy strip; ac_word=$2
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628$as_echo_n "checking for $ac_word... " >&6; }
2629if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2630  $as_echo_n "(cached) " >&6
2631else
2632  if test -n "$ac_ct_STRIP"; then
2633  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2634else
2635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH
2637do
2638  IFS=$as_save_IFS
2639  test -z "$as_dir" && as_dir=.
2640    for ac_exec_ext in '' $ac_executable_extensions; do
2641  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642    ac_cv_prog_ac_ct_STRIP="strip"
2643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644    break 2
2645  fi
2646done
2647  done
2648IFS=$as_save_IFS
2649
2650fi
2651fi
2652ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2653if test -n "$ac_ct_STRIP"; then
2654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2655$as_echo "$ac_ct_STRIP" >&6; }
2656else
2657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658$as_echo "no" >&6; }
2659fi
2660
2661  if test "x$ac_ct_STRIP" = x; then
2662    STRIP=":"
2663  else
2664    case $cross_compiling:$ac_tool_warned in
2665yes:)
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668ac_tool_warned=yes ;;
2669esac
2670    STRIP=$ac_ct_STRIP
2671  fi
2672else
2673  STRIP="$ac_cv_prog_STRIP"
2674fi
2675
2676fi
2677INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2678
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2680$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2681if test -z "$MKDIR_P"; then
2682  if ${ac_cv_path_mkdir+:} false; then :
2683  $as_echo_n "(cached) " >&6
2684else
2685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2687do
2688  IFS=$as_save_IFS
2689  test -z "$as_dir" && as_dir=.
2690    for ac_prog in mkdir gmkdir; do
2691	 for ac_exec_ext in '' $ac_executable_extensions; do
2692	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2693	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2694	     'mkdir (GNU coreutils) '* | \
2695	     'mkdir (coreutils) '* | \
2696	     'mkdir (fileutils) '4.1*)
2697	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2698	       break 3;;
2699	   esac
2700	 done
2701       done
2702  done
2703IFS=$as_save_IFS
2704
2705fi
2706
2707  test -d ./--version && rmdir ./--version
2708  if test "${ac_cv_path_mkdir+set}" = set; then
2709    MKDIR_P="$ac_cv_path_mkdir -p"
2710  else
2711    # As a last resort, use the slow shell script.  Don't cache a
2712    # value for MKDIR_P within a source directory, because that will
2713    # break other packages using the cache if that directory is
2714    # removed, or if the value is a relative name.
2715    MKDIR_P="$ac_install_sh -d"
2716  fi
2717fi
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2719$as_echo "$MKDIR_P" >&6; }
2720
2721for ac_prog in gawk mawk nawk awk
2722do
2723  # Extract the first word of "$ac_prog", so it can be a program name with args.
2724set dummy $ac_prog; ac_word=$2
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; }
2727if ${ac_cv_prog_AWK+:} false; then :
2728  $as_echo_n "(cached) " >&6
2729else
2730  if test -n "$AWK"; then
2731  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2732else
2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734for as_dir in $PATH
2735do
2736  IFS=$as_save_IFS
2737  test -z "$as_dir" && as_dir=.
2738    for ac_exec_ext in '' $ac_executable_extensions; do
2739  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740    ac_cv_prog_AWK="$ac_prog"
2741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742    break 2
2743  fi
2744done
2745  done
2746IFS=$as_save_IFS
2747
2748fi
2749fi
2750AWK=$ac_cv_prog_AWK
2751if test -n "$AWK"; then
2752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2753$as_echo "$AWK" >&6; }
2754else
2755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756$as_echo "no" >&6; }
2757fi
2758
2759
2760  test -n "$AWK" && break
2761done
2762
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2764$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2765set x ${MAKE-make}
2766ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2767if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2768  $as_echo_n "(cached) " >&6
2769else
2770  cat >conftest.make <<\_ACEOF
2771SHELL = /bin/sh
2772all:
2773	@echo '@@@%%%=$(MAKE)=@@@%%%'
2774_ACEOF
2775# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2776case `${MAKE-make} -f conftest.make 2>/dev/null` in
2777  *@@@%%%=?*=@@@%%%*)
2778    eval ac_cv_prog_make_${ac_make}_set=yes;;
2779  *)
2780    eval ac_cv_prog_make_${ac_make}_set=no;;
2781esac
2782rm -f conftest.make
2783fi
2784if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2786$as_echo "yes" >&6; }
2787  SET_MAKE=
2788else
2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790$as_echo "no" >&6; }
2791  SET_MAKE="MAKE=${MAKE-make}"
2792fi
2793
2794rm -rf .tst 2>/dev/null
2795mkdir .tst 2>/dev/null
2796if test -d .tst; then
2797  am__leading_dot=.
2798else
2799  am__leading_dot=_
2800fi
2801rmdir .tst 2>/dev/null
2802
2803@%:@ Check whether --enable-silent-rules was given.
2804if test "${enable_silent_rules+set}" = set; then :
2805  enableval=$enable_silent_rules;
2806fi
2807
2808case $enable_silent_rules in @%:@ (((
2809  yes) AM_DEFAULT_VERBOSITY=0;;
2810   no) AM_DEFAULT_VERBOSITY=1;;
2811    *) AM_DEFAULT_VERBOSITY=1;;
2812esac
2813am_make=${MAKE-make}
2814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2815$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2816if ${am_cv_make_support_nested_variables+:} false; then :
2817  $as_echo_n "(cached) " >&6
2818else
2819  if $as_echo 'TRUE=$(BAR$(V))
2820BAR0=false
2821BAR1=true
2822V=1
2823am__doit:
2824	@$(TRUE)
2825.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2826  am_cv_make_support_nested_variables=yes
2827else
2828  am_cv_make_support_nested_variables=no
2829fi
2830fi
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2832$as_echo "$am_cv_make_support_nested_variables" >&6; }
2833if test $am_cv_make_support_nested_variables = yes; then
2834    AM_V='$(V)'
2835  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2836else
2837  AM_V=$AM_DEFAULT_VERBOSITY
2838  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2839fi
2840AM_BACKSLASH='\'
2841
2842if test "`cd $srcdir && pwd`" != "`pwd`"; then
2843  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2844  # is not polluted with repeated "-I."
2845  am__isrc=' -I$(srcdir)'
2846  # test to see if srcdir already configured
2847  if test -f $srcdir/config.status; then
2848    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2849  fi
2850fi
2851
2852# test whether we have cygpath
2853if test -z "$CYGPATH_W"; then
2854  if (cygpath --version) >/dev/null 2>/dev/null; then
2855    CYGPATH_W='cygpath -w'
2856  else
2857    CYGPATH_W=echo
2858  fi
2859fi
2860
2861
2862# Define the identity of the package.
2863 PACKAGE='burp'
2864 VERSION='2.4.0'
2865
2866
2867cat >>confdefs.h <<_ACEOF
2868@%:@define PACKAGE "$PACKAGE"
2869_ACEOF
2870
2871
2872cat >>confdefs.h <<_ACEOF
2873@%:@define VERSION "$VERSION"
2874_ACEOF
2875
2876# Some tools Automake needs.
2877
2878ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879
2880
2881AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2882
2883
2884AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885
2886
2887AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2888
2889
2890MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2891
2892# For better backward compatibility.  To be removed once Automake 1.9.x
2893# dies out for good.  For more background, see:
2894# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2895# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2896mkdir_p='$(MKDIR_P)'
2897
2898# We need awk for the "check" target (and possibly the TAP driver).  The
2899# system "awk" is bad on some platforms.
2900# Always define AMTAR for backward compatibility.  Yes, it's still used
2901# in the wild :-(  We should find a proper way to deprecate it ...
2902AMTAR='$${TAR-tar}'
2903
2904
2905# We'll loop over all known methods to create a tar archive until one works.
2906_am_tools='gnutar plaintar pax cpio none'
2907
2908# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2909      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2910      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2911      # and bug#13588).
2912      am_max_uid=2097151 # 2^21 - 1
2913      am_max_gid=$am_max_uid
2914      # The $UID and $GID variables are not portable, so we need to resort
2915      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2916      # below are definitely unexpected, so allow the users to see them
2917      # (that is, avoid stderr redirection).
2918      am_uid=`id -u || echo unknown`
2919      am_gid=`id -g || echo unknown`
2920      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2921$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2922      if test $am_uid -le $am_max_uid; then
2923         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2924$as_echo "yes" >&6; }
2925      else
2926         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927$as_echo "no" >&6; }
2928         _am_tools=none
2929      fi
2930      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2931$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2932      if test $am_gid -le $am_max_gid; then
2933         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2934$as_echo "yes" >&6; }
2935      else
2936        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937$as_echo "no" >&6; }
2938        _am_tools=none
2939      fi
2940
2941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2942$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2943
2944  # Go ahead even if we have the value already cached.  We do so because we
2945  # need to set the values for the 'am__tar' and 'am__untar' variables.
2946  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2947
2948  for _am_tool in $_am_tools; do
2949    case $_am_tool in
2950    gnutar)
2951      for _am_tar in tar gnutar gtar; do
2952        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2953   ($_am_tar --version) >&5 2>&5
2954   ac_status=$?
2955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956   (exit $ac_status); } && break
2957      done
2958      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2959      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2960      am__untar="$_am_tar -xf -"
2961      ;;
2962    plaintar)
2963      # Must skip GNU tar: if it does not support --format= it doesn't create
2964      # ustar tarball either.
2965      (tar --version) >/dev/null 2>&1 && continue
2966      am__tar='tar chf - "$$tardir"'
2967      am__tar_='tar chf - "$tardir"'
2968      am__untar='tar xf -'
2969      ;;
2970    pax)
2971      am__tar='pax -L -x ustar -w "$$tardir"'
2972      am__tar_='pax -L -x ustar -w "$tardir"'
2973      am__untar='pax -r'
2974      ;;
2975    cpio)
2976      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2977      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2978      am__untar='cpio -i -H ustar -d'
2979      ;;
2980    none)
2981      am__tar=false
2982      am__tar_=false
2983      am__untar=false
2984      ;;
2985    esac
2986
2987    # If the value was cached, stop now.  We just wanted to have am__tar
2988    # and am__untar set.
2989    test -n "${am_cv_prog_tar_ustar}" && break
2990
2991    # tar/untar a dummy directory, and stop if the command works.
2992    rm -rf conftest.dir
2993    mkdir conftest.dir
2994    echo GrepMe > conftest.dir/file
2995    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2996   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2997   ac_status=$?
2998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999   (exit $ac_status); }
3000    rm -rf conftest.dir
3001    if test -s conftest.tar; then
3002      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3003   ($am__untar <conftest.tar) >&5 2>&5
3004   ac_status=$?
3005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006   (exit $ac_status); }
3007      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3008   (cat conftest.dir/file) >&5 2>&5
3009   ac_status=$?
3010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011   (exit $ac_status); }
3012      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3013    fi
3014  done
3015  rm -rf conftest.dir
3016
3017  if ${am_cv_prog_tar_ustar+:} false; then :
3018  $as_echo_n "(cached) " >&6
3019else
3020  am_cv_prog_tar_ustar=$_am_tool
3021fi
3022
3023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3024$as_echo "$am_cv_prog_tar_ustar" >&6; }
3025
3026
3027
3028
3029
3030
3031# POSIX will say in a future version that running "rm -f" with no argument
3032# is OK; and we want to be able to make that assumption in our Makefile
3033# recipes.  So use an aggressive probe to check that the usage we want is
3034# actually supported "in the wild" to an acceptable degree.
3035# See automake bug#10828.
3036# To make any issue more visible, cause the running configure to be aborted
3037# by default if the 'rm' program in use doesn't match our expectations; the
3038# user can still override this though.
3039if rm -f && rm -fr && rm -rf; then : OK; else
3040  cat >&2 <<'END'
3041Oops!
3042
3043Your 'rm' program seems unable to run without file operands specified
3044on the command line, even when the '-f' option is present.  This is contrary
3045to the behaviour of most rm programs out there, and not conforming with
3046the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3047
3048Please tell bug-automake@gnu.org about your system, including the value
3049of your $PATH and any error possibly output before this message.  This
3050can help us improve future automake versions.
3051
3052END
3053  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3054    echo 'Configuration will proceed anyway, since you have set the' >&2
3055    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3056    echo >&2
3057  else
3058    cat >&2 <<'END'
3059Aborting the configuration process, to ensure you take notice of the issue.
3060
3061You can download and install GNU coreutils to get an 'rm' implementation
3062that behaves properly: <https://www.gnu.org/software/coreutils/>.
3063
3064If you want to complete the configuration process using your problematic
3065'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3066to "yes", and re-run configure.
3067
3068END
3069    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3070  fi
3071fi
3072
3073@%:@ Check whether --enable-silent-rules was given.
3074if test "${enable_silent_rules+set}" = set; then :
3075  enableval=$enable_silent_rules;
3076fi
3077
3078case $enable_silent_rules in @%:@ (((
3079  yes) AM_DEFAULT_VERBOSITY=0;;
3080   no) AM_DEFAULT_VERBOSITY=1;;
3081    *) AM_DEFAULT_VERBOSITY=0;;
3082esac
3083am_make=${MAKE-make}
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3085$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3086if ${am_cv_make_support_nested_variables+:} false; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  if $as_echo 'TRUE=$(BAR$(V))
3090BAR0=false
3091BAR1=true
3092V=1
3093am__doit:
3094	@$(TRUE)
3095.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3096  am_cv_make_support_nested_variables=yes
3097else
3098  am_cv_make_support_nested_variables=no
3099fi
3100fi
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3102$as_echo "$am_cv_make_support_nested_variables" >&6; }
3103if test $am_cv_make_support_nested_variables = yes; then
3104    AM_V='$(V)'
3105  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3106else
3107  AM_V=$AM_DEFAULT_VERBOSITY
3108  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3109fi
3110AM_BACKSLASH='\'
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3121	if test -n "$ac_tool_prefix"; then
3122  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3123set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125$as_echo_n "checking for $ac_word... " >&6; }
3126if ${ac_cv_path_PKG_CONFIG+:} false; then :
3127  $as_echo_n "(cached) " >&6
3128else
3129  case $PKG_CONFIG in
3130  [\\/]* | ?:[\\/]*)
3131  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3132  ;;
3133  *)
3134  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135for as_dir in $PATH
3136do
3137  IFS=$as_save_IFS
3138  test -z "$as_dir" && as_dir=.
3139    for ac_exec_ext in '' $ac_executable_extensions; do
3140  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143    break 2
3144  fi
3145done
3146  done
3147IFS=$as_save_IFS
3148
3149  ;;
3150esac
3151fi
3152PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3153if test -n "$PKG_CONFIG"; then
3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3155$as_echo "$PKG_CONFIG" >&6; }
3156else
3157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158$as_echo "no" >&6; }
3159fi
3160
3161
3162fi
3163if test -z "$ac_cv_path_PKG_CONFIG"; then
3164  ac_pt_PKG_CONFIG=$PKG_CONFIG
3165  # Extract the first word of "pkg-config", so it can be a program name with args.
3166set dummy pkg-config; ac_word=$2
3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168$as_echo_n "checking for $ac_word... " >&6; }
3169if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3170  $as_echo_n "(cached) " >&6
3171else
3172  case $ac_pt_PKG_CONFIG in
3173  [\\/]* | ?:[\\/]*)
3174  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3175  ;;
3176  *)
3177  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178for as_dir in $PATH
3179do
3180  IFS=$as_save_IFS
3181  test -z "$as_dir" && as_dir=.
3182    for ac_exec_ext in '' $ac_executable_extensions; do
3183  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186    break 2
3187  fi
3188done
3189  done
3190IFS=$as_save_IFS
3191
3192  ;;
3193esac
3194fi
3195ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3196if test -n "$ac_pt_PKG_CONFIG"; then
3197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3198$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3199else
3200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201$as_echo "no" >&6; }
3202fi
3203
3204  if test "x$ac_pt_PKG_CONFIG" = x; then
3205    PKG_CONFIG=""
3206  else
3207    case $cross_compiling:$ac_tool_warned in
3208yes:)
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3211ac_tool_warned=yes ;;
3212esac
3213    PKG_CONFIG=$ac_pt_PKG_CONFIG
3214  fi
3215else
3216  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3217fi
3218
3219fi
3220if test -n "$PKG_CONFIG"; then
3221	_pkg_min_version=0.9.0
3222	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3223$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3224	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3225		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3226$as_echo "yes" >&6; }
3227	else
3228		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229$as_echo "no" >&6; }
3230		PKG_CONFIG=""
3231	fi
3232fi
3233if test x"${PKG_CONFIG}" = "x" ; then
3234	echo ""
3235	echo "  Error!  You must install pkg-config to continue compiling."
3236	exit 1
3237fi
3238
3239ac_ext=c
3240ac_cpp='$CPP $CPPFLAGS'
3241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244
3245
3246: ${CFLAGS="-Wall -g -O2"}
3247
3248# Make sure we can run config.sub.
3249$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3250  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3251
3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3253$as_echo_n "checking build system type... " >&6; }
3254if ${ac_cv_build+:} false; then :
3255  $as_echo_n "(cached) " >&6
3256else
3257  ac_build_alias=$build_alias
3258test "x$ac_build_alias" = x &&
3259  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3260test "x$ac_build_alias" = x &&
3261  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3262ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3263  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3264
3265fi
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3267$as_echo "$ac_cv_build" >&6; }
3268case $ac_cv_build in
3269*-*-*) ;;
3270*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3271esac
3272build=$ac_cv_build
3273ac_save_IFS=$IFS; IFS='-'
3274set x $ac_cv_build
3275shift
3276build_cpu=$1
3277build_vendor=$2
3278shift; shift
3279# Remember, the first character of IFS is used to create $*,
3280# except with old shells:
3281build_os=$*
3282IFS=$ac_save_IFS
3283case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3284
3285
3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3287$as_echo_n "checking host system type... " >&6; }
3288if ${ac_cv_host+:} false; then :
3289  $as_echo_n "(cached) " >&6
3290else
3291  if test "x$host_alias" = x; then
3292  ac_cv_host=$ac_cv_build
3293else
3294  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3295    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3296fi
3297
3298fi
3299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3300$as_echo "$ac_cv_host" >&6; }
3301case $ac_cv_host in
3302*-*-*) ;;
3303*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3304esac
3305host=$ac_cv_host
3306ac_save_IFS=$IFS; IFS='-'
3307set x $ac_cv_host
3308shift
3309host_cpu=$1
3310host_vendor=$2
3311shift; shift
3312# Remember, the first character of IFS is used to create $*,
3313# except with old shells:
3314host_os=$*
3315IFS=$ac_save_IFS
3316case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3317
3318
3319DEPDIR="${am__leading_dot}deps"
3320
3321ac_config_commands="$ac_config_commands depfiles"
3322
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3324$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3325cat > confinc.mk << 'END'
3326am__doit:
3327	@echo this is the am__doit target >confinc.out
3328.PHONY: am__doit
3329END
3330am__include="#"
3331am__quote=
3332# BSD make does it like this.
3333echo '.include "confinc.mk" # ignored' > confmf.BSD
3334# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3335echo 'include confinc.mk # ignored' > confmf.GNU
3336_am_result=no
3337for s in GNU BSD; do
3338  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3339   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3340   ac_status=$?
3341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342   (exit $ac_status); }
3343  case $?:`cat confinc.out 2>/dev/null` in @%:@(
3344  '0:this is the am__doit target') :
3345    case $s in @%:@(
3346  BSD) :
3347    am__include='.include' am__quote='"' ;; @%:@(
3348  *) :
3349    am__include='include' am__quote='' ;;
3350esac ;; @%:@(
3351  *) :
3352     ;;
3353esac
3354  if test "$am__include" != "#"; then
3355    _am_result="yes ($s style)"
3356    break
3357  fi
3358done
3359rm -f confinc.* confmf.*
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3361$as_echo "${_am_result}" >&6; }
3362
3363@%:@ Check whether --enable-dependency-tracking was given.
3364if test "${enable_dependency_tracking+set}" = set; then :
3365  enableval=$enable_dependency_tracking;
3366fi
3367
3368if test "x$enable_dependency_tracking" != xno; then
3369  am_depcomp="$ac_aux_dir/depcomp"
3370  AMDEPBACKSLASH='\'
3371  am__nodep='_no'
3372fi
3373 if test "x$enable_dependency_tracking" != xno; then
3374  AMDEP_TRUE=
3375  AMDEP_FALSE='#'
3376else
3377  AMDEP_TRUE='#'
3378  AMDEP_FALSE=
3379fi
3380
3381
3382ac_ext=c
3383ac_cpp='$CPP $CPPFLAGS'
3384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386ac_compiler_gnu=$ac_cv_c_compiler_gnu
3387if test -n "$ac_tool_prefix"; then
3388  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3389set dummy ${ac_tool_prefix}gcc; ac_word=$2
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391$as_echo_n "checking for $ac_word... " >&6; }
3392if ${ac_cv_prog_CC+:} false; then :
3393  $as_echo_n "(cached) " >&6
3394else
3395  if test -n "$CC"; then
3396  ac_cv_prog_CC="$CC" # Let the user override the test.
3397else
3398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399for as_dir in $PATH
3400do
3401  IFS=$as_save_IFS
3402  test -z "$as_dir" && as_dir=.
3403    for ac_exec_ext in '' $ac_executable_extensions; do
3404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407    break 2
3408  fi
3409done
3410  done
3411IFS=$as_save_IFS
3412
3413fi
3414fi
3415CC=$ac_cv_prog_CC
3416if test -n "$CC"; then
3417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418$as_echo "$CC" >&6; }
3419else
3420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421$as_echo "no" >&6; }
3422fi
3423
3424
3425fi
3426if test -z "$ac_cv_prog_CC"; then
3427  ac_ct_CC=$CC
3428  # Extract the first word of "gcc", so it can be a program name with args.
3429set dummy gcc; ac_word=$2
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431$as_echo_n "checking for $ac_word... " >&6; }
3432if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433  $as_echo_n "(cached) " >&6
3434else
3435  if test -n "$ac_ct_CC"; then
3436  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3437else
3438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439for as_dir in $PATH
3440do
3441  IFS=$as_save_IFS
3442  test -z "$as_dir" && as_dir=.
3443    for ac_exec_ext in '' $ac_executable_extensions; do
3444  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445    ac_cv_prog_ac_ct_CC="gcc"
3446    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447    break 2
3448  fi
3449done
3450  done
3451IFS=$as_save_IFS
3452
3453fi
3454fi
3455ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456if test -n "$ac_ct_CC"; then
3457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458$as_echo "$ac_ct_CC" >&6; }
3459else
3460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461$as_echo "no" >&6; }
3462fi
3463
3464  if test "x$ac_ct_CC" = x; then
3465    CC=""
3466  else
3467    case $cross_compiling:$ac_tool_warned in
3468yes:)
3469{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471ac_tool_warned=yes ;;
3472esac
3473    CC=$ac_ct_CC
3474  fi
3475else
3476  CC="$ac_cv_prog_CC"
3477fi
3478
3479if test -z "$CC"; then
3480          if test -n "$ac_tool_prefix"; then
3481    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3482set dummy ${ac_tool_prefix}cc; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_prog_CC+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  if test -n "$CC"; then
3489  ac_cv_prog_CC="$CC" # Let the user override the test.
3490else
3491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492for as_dir in $PATH
3493do
3494  IFS=$as_save_IFS
3495  test -z "$as_dir" && as_dir=.
3496    for ac_exec_ext in '' $ac_executable_extensions; do
3497  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498    ac_cv_prog_CC="${ac_tool_prefix}cc"
3499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500    break 2
3501  fi
3502done
3503  done
3504IFS=$as_save_IFS
3505
3506fi
3507fi
3508CC=$ac_cv_prog_CC
3509if test -n "$CC"; then
3510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511$as_echo "$CC" >&6; }
3512else
3513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514$as_echo "no" >&6; }
3515fi
3516
3517
3518  fi
3519fi
3520if test -z "$CC"; then
3521  # Extract the first word of "cc", so it can be a program name with args.
3522set dummy cc; ac_word=$2
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524$as_echo_n "checking for $ac_word... " >&6; }
3525if ${ac_cv_prog_CC+:} false; then :
3526  $as_echo_n "(cached) " >&6
3527else
3528  if test -n "$CC"; then
3529  ac_cv_prog_CC="$CC" # Let the user override the test.
3530else
3531  ac_prog_rejected=no
3532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533for as_dir in $PATH
3534do
3535  IFS=$as_save_IFS
3536  test -z "$as_dir" && as_dir=.
3537    for ac_exec_ext in '' $ac_executable_extensions; do
3538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3540       ac_prog_rejected=yes
3541       continue
3542     fi
3543    ac_cv_prog_CC="cc"
3544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545    break 2
3546  fi
3547done
3548  done
3549IFS=$as_save_IFS
3550
3551if test $ac_prog_rejected = yes; then
3552  # We found a bogon in the path, so make sure we never use it.
3553  set dummy $ac_cv_prog_CC
3554  shift
3555  if test $@%:@ != 0; then
3556    # We chose a different compiler from the bogus one.
3557    # However, it has the same basename, so the bogon will be chosen
3558    # first if we set CC to just the basename; use the full file name.
3559    shift
3560    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3561  fi
3562fi
3563fi
3564fi
3565CC=$ac_cv_prog_CC
3566if test -n "$CC"; then
3567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568$as_echo "$CC" >&6; }
3569else
3570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571$as_echo "no" >&6; }
3572fi
3573
3574
3575fi
3576if test -z "$CC"; then
3577  if test -n "$ac_tool_prefix"; then
3578  for ac_prog in cl.exe
3579  do
3580    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3581set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583$as_echo_n "checking for $ac_word... " >&6; }
3584if ${ac_cv_prog_CC+:} false; then :
3585  $as_echo_n "(cached) " >&6
3586else
3587  if test -n "$CC"; then
3588  ac_cv_prog_CC="$CC" # Let the user override the test.
3589else
3590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591for as_dir in $PATH
3592do
3593  IFS=$as_save_IFS
3594  test -z "$as_dir" && as_dir=.
3595    for ac_exec_ext in '' $ac_executable_extensions; do
3596  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599    break 2
3600  fi
3601done
3602  done
3603IFS=$as_save_IFS
3604
3605fi
3606fi
3607CC=$ac_cv_prog_CC
3608if test -n "$CC"; then
3609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610$as_echo "$CC" >&6; }
3611else
3612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613$as_echo "no" >&6; }
3614fi
3615
3616
3617    test -n "$CC" && break
3618  done
3619fi
3620if test -z "$CC"; then
3621  ac_ct_CC=$CC
3622  for ac_prog in cl.exe
3623do
3624  # Extract the first word of "$ac_prog", so it can be a program name with args.
3625set dummy $ac_prog; ac_word=$2
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627$as_echo_n "checking for $ac_word... " >&6; }
3628if ${ac_cv_prog_ac_ct_CC+:} false; then :
3629  $as_echo_n "(cached) " >&6
3630else
3631  if test -n "$ac_ct_CC"; then
3632  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3633else
3634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635for as_dir in $PATH
3636do
3637  IFS=$as_save_IFS
3638  test -z "$as_dir" && as_dir=.
3639    for ac_exec_ext in '' $ac_executable_extensions; do
3640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641    ac_cv_prog_ac_ct_CC="$ac_prog"
3642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643    break 2
3644  fi
3645done
3646  done
3647IFS=$as_save_IFS
3648
3649fi
3650fi
3651ac_ct_CC=$ac_cv_prog_ac_ct_CC
3652if test -n "$ac_ct_CC"; then
3653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3654$as_echo "$ac_ct_CC" >&6; }
3655else
3656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657$as_echo "no" >&6; }
3658fi
3659
3660
3661  test -n "$ac_ct_CC" && break
3662done
3663
3664  if test "x$ac_ct_CC" = x; then
3665    CC=""
3666  else
3667    case $cross_compiling:$ac_tool_warned in
3668yes:)
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3671ac_tool_warned=yes ;;
3672esac
3673    CC=$ac_ct_CC
3674  fi
3675fi
3676
3677fi
3678
3679
3680test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682as_fn_error $? "no acceptable C compiler found in \$PATH
3683See \`config.log' for more details" "$LINENO" 5; }
3684
3685# Provide some information about the compiler.
3686$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3687set X $ac_compile
3688ac_compiler=$2
3689for ac_option in --version -v -V -qversion; do
3690  { { ac_try="$ac_compiler $ac_option >&5"
3691case "(($ac_try" in
3692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693  *) ac_try_echo=$ac_try;;
3694esac
3695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696$as_echo "$ac_try_echo"; } >&5
3697  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3698  ac_status=$?
3699  if test -s conftest.err; then
3700    sed '10a\
3701... rest of stderr output deleted ...
3702         10q' conftest.err >conftest.er1
3703    cat conftest.er1 >&5
3704  fi
3705  rm -f conftest.er1 conftest.err
3706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707  test $ac_status = 0; }
3708done
3709
3710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711/* end confdefs.h.  */
3712
3713int
3714main ()
3715{
3716
3717  ;
3718  return 0;
3719}
3720_ACEOF
3721ac_clean_files_save=$ac_clean_files
3722ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3723# Try to create an executable without -o first, disregard a.out.
3724# It will help us diagnose broken compilers, and finding out an intuition
3725# of exeext.
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3727$as_echo_n "checking whether the C compiler works... " >&6; }
3728ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3729
3730# The possible output files:
3731ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3732
3733ac_rmfiles=
3734for ac_file in $ac_files
3735do
3736  case $ac_file in
3737    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3738    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3739  esac
3740done
3741rm -f $ac_rmfiles
3742
3743if { { ac_try="$ac_link_default"
3744case "(($ac_try" in
3745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746  *) ac_try_echo=$ac_try;;
3747esac
3748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749$as_echo "$ac_try_echo"; } >&5
3750  (eval "$ac_link_default") 2>&5
3751  ac_status=$?
3752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753  test $ac_status = 0; }; then :
3754  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3755# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3756# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3757# so that the user can short-circuit this test for compilers unknown to
3758# Autoconf.
3759for ac_file in $ac_files ''
3760do
3761  test -f "$ac_file" || continue
3762  case $ac_file in
3763    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3764	;;
3765    [ab].out )
3766	# We found the default executable, but exeext='' is most
3767	# certainly right.
3768	break;;
3769    *.* )
3770	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3771	then :; else
3772	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3773	fi
3774	# We set ac_cv_exeext here because the later test for it is not
3775	# safe: cross compilers may not add the suffix if given an `-o'
3776	# argument, so we may need to know it at that point already.
3777	# Even if this section looks crufty: it has the advantage of
3778	# actually working.
3779	break;;
3780    * )
3781	break;;
3782  esac
3783done
3784test "$ac_cv_exeext" = no && ac_cv_exeext=
3785
3786else
3787  ac_file=''
3788fi
3789if test -z "$ac_file"; then :
3790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791$as_echo "no" >&6; }
3792$as_echo "$as_me: failed program was:" >&5
3793sed 's/^/| /' conftest.$ac_ext >&5
3794
3795{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797as_fn_error 77 "C compiler cannot create executables
3798See \`config.log' for more details" "$LINENO" 5; }
3799else
3800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3801$as_echo "yes" >&6; }
3802fi
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3804$as_echo_n "checking for C compiler default output file name... " >&6; }
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3806$as_echo "$ac_file" >&6; }
3807ac_exeext=$ac_cv_exeext
3808
3809rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3810ac_clean_files=$ac_clean_files_save
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3812$as_echo_n "checking for suffix of executables... " >&6; }
3813if { { ac_try="$ac_link"
3814case "(($ac_try" in
3815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816  *) ac_try_echo=$ac_try;;
3817esac
3818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819$as_echo "$ac_try_echo"; } >&5
3820  (eval "$ac_link") 2>&5
3821  ac_status=$?
3822  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823  test $ac_status = 0; }; then :
3824  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3825# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3826# work properly (i.e., refer to `conftest.exe'), while it won't with
3827# `rm'.
3828for ac_file in conftest.exe conftest conftest.*; do
3829  test -f "$ac_file" || continue
3830  case $ac_file in
3831    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833	  break;;
3834    * ) break;;
3835  esac
3836done
3837else
3838  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841See \`config.log' for more details" "$LINENO" 5; }
3842fi
3843rm -f conftest conftest$ac_cv_exeext
3844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3845$as_echo "$ac_cv_exeext" >&6; }
3846
3847rm -f conftest.$ac_ext
3848EXEEXT=$ac_cv_exeext
3849ac_exeext=$EXEEXT
3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851/* end confdefs.h.  */
3852@%:@include <stdio.h>
3853int
3854main ()
3855{
3856FILE *f = fopen ("conftest.out", "w");
3857 return ferror (f) || fclose (f) != 0;
3858
3859  ;
3860  return 0;
3861}
3862_ACEOF
3863ac_clean_files="$ac_clean_files conftest.out"
3864# Check that the compiler produces executables we can run.  If not, either
3865# the compiler is broken, or we cross compile.
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3867$as_echo_n "checking whether we are cross compiling... " >&6; }
3868if test "$cross_compiling" != yes; then
3869  { { ac_try="$ac_link"
3870case "(($ac_try" in
3871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872  *) ac_try_echo=$ac_try;;
3873esac
3874eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875$as_echo "$ac_try_echo"; } >&5
3876  (eval "$ac_link") 2>&5
3877  ac_status=$?
3878  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879  test $ac_status = 0; }
3880  if { ac_try='./conftest$ac_cv_exeext'
3881  { { case "(($ac_try" in
3882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883  *) ac_try_echo=$ac_try;;
3884esac
3885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886$as_echo "$ac_try_echo"; } >&5
3887  (eval "$ac_try") 2>&5
3888  ac_status=$?
3889  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890  test $ac_status = 0; }; }; then
3891    cross_compiling=no
3892  else
3893    if test "$cross_compiling" = maybe; then
3894	cross_compiling=yes
3895    else
3896	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898as_fn_error $? "cannot run C compiled programs.
3899If you meant to cross compile, use \`--host'.
3900See \`config.log' for more details" "$LINENO" 5; }
3901    fi
3902  fi
3903fi
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3905$as_echo "$cross_compiling" >&6; }
3906
3907rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3908ac_clean_files=$ac_clean_files_save
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3910$as_echo_n "checking for suffix of object files... " >&6; }
3911if ${ac_cv_objext+:} false; then :
3912  $as_echo_n "(cached) " >&6
3913else
3914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915/* end confdefs.h.  */
3916
3917int
3918main ()
3919{
3920
3921  ;
3922  return 0;
3923}
3924_ACEOF
3925rm -f conftest.o conftest.obj
3926if { { ac_try="$ac_compile"
3927case "(($ac_try" in
3928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929  *) ac_try_echo=$ac_try;;
3930esac
3931eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932$as_echo "$ac_try_echo"; } >&5
3933  (eval "$ac_compile") 2>&5
3934  ac_status=$?
3935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936  test $ac_status = 0; }; then :
3937  for ac_file in conftest.o conftest.obj conftest.*; do
3938  test -f "$ac_file" || continue;
3939  case $ac_file in
3940    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3941    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3942       break;;
3943  esac
3944done
3945else
3946  $as_echo "$as_me: failed program was:" >&5
3947sed 's/^/| /' conftest.$ac_ext >&5
3948
3949{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3951as_fn_error $? "cannot compute suffix of object files: cannot compile
3952See \`config.log' for more details" "$LINENO" 5; }
3953fi
3954rm -f conftest.$ac_cv_objext conftest.$ac_ext
3955fi
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3957$as_echo "$ac_cv_objext" >&6; }
3958OBJEXT=$ac_cv_objext
3959ac_objext=$OBJEXT
3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3961$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3962if ${ac_cv_c_compiler_gnu+:} false; then :
3963  $as_echo_n "(cached) " >&6
3964else
3965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966/* end confdefs.h.  */
3967
3968int
3969main ()
3970{
3971#ifndef __GNUC__
3972       choke me
3973#endif
3974
3975  ;
3976  return 0;
3977}
3978_ACEOF
3979if ac_fn_c_try_compile "$LINENO"; then :
3980  ac_compiler_gnu=yes
3981else
3982  ac_compiler_gnu=no
3983fi
3984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985ac_cv_c_compiler_gnu=$ac_compiler_gnu
3986
3987fi
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3989$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3990if test $ac_compiler_gnu = yes; then
3991  GCC=yes
3992else
3993  GCC=
3994fi
3995ac_test_CFLAGS=${CFLAGS+set}
3996ac_save_CFLAGS=$CFLAGS
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3998$as_echo_n "checking whether $CC accepts -g... " >&6; }
3999if ${ac_cv_prog_cc_g+:} false; then :
4000  $as_echo_n "(cached) " >&6
4001else
4002  ac_save_c_werror_flag=$ac_c_werror_flag
4003   ac_c_werror_flag=yes
4004   ac_cv_prog_cc_g=no
4005   CFLAGS="-g"
4006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007/* end confdefs.h.  */
4008
4009int
4010main ()
4011{
4012
4013  ;
4014  return 0;
4015}
4016_ACEOF
4017if ac_fn_c_try_compile "$LINENO"; then :
4018  ac_cv_prog_cc_g=yes
4019else
4020  CFLAGS=""
4021      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022/* end confdefs.h.  */
4023
4024int
4025main ()
4026{
4027
4028  ;
4029  return 0;
4030}
4031_ACEOF
4032if ac_fn_c_try_compile "$LINENO"; then :
4033
4034else
4035  ac_c_werror_flag=$ac_save_c_werror_flag
4036	 CFLAGS="-g"
4037	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038/* end confdefs.h.  */
4039
4040int
4041main ()
4042{
4043
4044  ;
4045  return 0;
4046}
4047_ACEOF
4048if ac_fn_c_try_compile "$LINENO"; then :
4049  ac_cv_prog_cc_g=yes
4050fi
4051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052fi
4053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054fi
4055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056   ac_c_werror_flag=$ac_save_c_werror_flag
4057fi
4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4059$as_echo "$ac_cv_prog_cc_g" >&6; }
4060if test "$ac_test_CFLAGS" = set; then
4061  CFLAGS=$ac_save_CFLAGS
4062elif test $ac_cv_prog_cc_g = yes; then
4063  if test "$GCC" = yes; then
4064    CFLAGS="-g -O2"
4065  else
4066    CFLAGS="-g"
4067  fi
4068else
4069  if test "$GCC" = yes; then
4070    CFLAGS="-O2"
4071  else
4072    CFLAGS=
4073  fi
4074fi
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4076$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4077if ${ac_cv_prog_cc_c89+:} false; then :
4078  $as_echo_n "(cached) " >&6
4079else
4080  ac_cv_prog_cc_c89=no
4081ac_save_CC=$CC
4082cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083/* end confdefs.h.  */
4084#include <stdarg.h>
4085#include <stdio.h>
4086struct stat;
4087/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4088struct buf { int x; };
4089FILE * (*rcsopen) (struct buf *, struct stat *, int);
4090static char *e (p, i)
4091     char **p;
4092     int i;
4093{
4094  return p[i];
4095}
4096static char *f (char * (*g) (char **, int), char **p, ...)
4097{
4098  char *s;
4099  va_list v;
4100  va_start (v,p);
4101  s = g (p, va_arg (v,int));
4102  va_end (v);
4103  return s;
4104}
4105
4106/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4107   function prototypes and stuff, but not '\xHH' hex character constants.
4108   These don't provoke an error unfortunately, instead are silently treated
4109   as 'x'.  The following induces an error, until -std is added to get
4110   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4111   array size at least.  It's necessary to write '\x00'==0 to get something
4112   that's true only with -std.  */
4113int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4114
4115/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4116   inside strings and character constants.  */
4117#define FOO(x) 'x'
4118int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4119
4120int test (int i, double x);
4121struct s1 {int (*f) (int a);};
4122struct s2 {int (*f) (double a);};
4123int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4124int argc;
4125char **argv;
4126int
4127main ()
4128{
4129return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4130  ;
4131  return 0;
4132}
4133_ACEOF
4134for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4135	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4136do
4137  CC="$ac_save_CC $ac_arg"
4138  if ac_fn_c_try_compile "$LINENO"; then :
4139  ac_cv_prog_cc_c89=$ac_arg
4140fi
4141rm -f core conftest.err conftest.$ac_objext
4142  test "x$ac_cv_prog_cc_c89" != "xno" && break
4143done
4144rm -f conftest.$ac_ext
4145CC=$ac_save_CC
4146
4147fi
4148# AC_CACHE_VAL
4149case "x$ac_cv_prog_cc_c89" in
4150  x)
4151    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4152$as_echo "none needed" >&6; } ;;
4153  xno)
4154    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4155$as_echo "unsupported" >&6; } ;;
4156  *)
4157    CC="$CC $ac_cv_prog_cc_c89"
4158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4159$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4160esac
4161if test "x$ac_cv_prog_cc_c89" != xno; then :
4162
4163fi
4164
4165ac_ext=c
4166ac_cpp='$CPP $CPPFLAGS'
4167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169ac_compiler_gnu=$ac_cv_c_compiler_gnu
4170
4171ac_ext=c
4172ac_cpp='$CPP $CPPFLAGS'
4173ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4177$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4178if ${am_cv_prog_cc_c_o+:} false; then :
4179  $as_echo_n "(cached) " >&6
4180else
4181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182/* end confdefs.h.  */
4183
4184int
4185main ()
4186{
4187
4188  ;
4189  return 0;
4190}
4191_ACEOF
4192  # Make sure it works both with $CC and with simple cc.
4193  # Following AC_PROG_CC_C_O, we do the test twice because some
4194  # compilers refuse to overwrite an existing .o file with -o,
4195  # though they will create one.
4196  am_cv_prog_cc_c_o=yes
4197  for am_i in 1 2; do
4198    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4199   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4200   ac_status=$?
4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202   (exit $ac_status); } \
4203         && test -f conftest2.$ac_objext; then
4204      : OK
4205    else
4206      am_cv_prog_cc_c_o=no
4207      break
4208    fi
4209  done
4210  rm -f core conftest*
4211  unset am_i
4212fi
4213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4214$as_echo "$am_cv_prog_cc_c_o" >&6; }
4215if test "$am_cv_prog_cc_c_o" != yes; then
4216   # Losing compiler, so override with the script.
4217   # FIXME: It is wrong to rewrite CC.
4218   # But if we don't then we get into trouble of one sort or another.
4219   # A longer-term fix would be to have automake use am__CC in this case,
4220   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4221   CC="$am_aux_dir/compile $CC"
4222fi
4223ac_ext=c
4224ac_cpp='$CPP $CPPFLAGS'
4225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228
4229
4230depcc="$CC"   am_compiler_list=
4231
4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4233$as_echo_n "checking dependency style of $depcc... " >&6; }
4234if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4235  $as_echo_n "(cached) " >&6
4236else
4237  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4238  # We make a subdir and do the tests there.  Otherwise we can end up
4239  # making bogus files that we don't know about and never remove.  For
4240  # instance it was reported that on HP-UX the gcc test will end up
4241  # making a dummy file named 'D' -- because '-MD' means "put the output
4242  # in D".
4243  rm -rf conftest.dir
4244  mkdir conftest.dir
4245  # Copy depcomp to subdir because otherwise we won't find it if we're
4246  # using a relative directory.
4247  cp "$am_depcomp" conftest.dir
4248  cd conftest.dir
4249  # We will build objects and dependencies in a subdirectory because
4250  # it helps to detect inapplicable dependency modes.  For instance
4251  # both Tru64's cc and ICC support -MD to output dependencies as a
4252  # side effect of compilation, but ICC will put the dependencies in
4253  # the current directory while Tru64 will put them in the object
4254  # directory.
4255  mkdir sub
4256
4257  am_cv_CC_dependencies_compiler_type=none
4258  if test "$am_compiler_list" = ""; then
4259     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4260  fi
4261  am__universal=false
4262  case " $depcc " in #(
4263     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4264     esac
4265
4266  for depmode in $am_compiler_list; do
4267    # Setup a source with many dependencies, because some compilers
4268    # like to wrap large dependency lists on column 80 (with \), and
4269    # we should not choose a depcomp mode which is confused by this.
4270    #
4271    # We need to recreate these files for each test, as the compiler may
4272    # overwrite some of them when testing with obscure command lines.
4273    # This happens at least with the AIX C compiler.
4274    : > sub/conftest.c
4275    for i in 1 2 3 4 5 6; do
4276      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4277      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4278      # Solaris 10 /bin/sh.
4279      echo '/* dummy */' > sub/conftst$i.h
4280    done
4281    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4282
4283    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4284    # mode.  It turns out that the SunPro C++ compiler does not properly
4285    # handle '-M -o', and we need to detect this.  Also, some Intel
4286    # versions had trouble with output in subdirs.
4287    am__obj=sub/conftest.${OBJEXT-o}
4288    am__minus_obj="-o $am__obj"
4289    case $depmode in
4290    gcc)
4291      # This depmode causes a compiler race in universal mode.
4292      test "$am__universal" = false || continue
4293      ;;
4294    nosideeffect)
4295      # After this tag, mechanisms are not by side-effect, so they'll
4296      # only be used when explicitly requested.
4297      if test "x$enable_dependency_tracking" = xyes; then
4298	continue
4299      else
4300	break
4301      fi
4302      ;;
4303    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4304      # This compiler won't grok '-c -o', but also, the minuso test has
4305      # not run yet.  These depmodes are late enough in the game, and
4306      # so weak that their functioning should not be impacted.
4307      am__obj=conftest.${OBJEXT-o}
4308      am__minus_obj=
4309      ;;
4310    none) break ;;
4311    esac
4312    if depmode=$depmode \
4313       source=sub/conftest.c object=$am__obj \
4314       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4315       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4316         >/dev/null 2>conftest.err &&
4317       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4318       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4319       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4320       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4321      # icc doesn't choke on unknown options, it will just issue warnings
4322      # or remarks (even with -Werror).  So we grep stderr for any message
4323      # that says an option was ignored or not supported.
4324      # When given -MP, icc 7.0 and 7.1 complain thusly:
4325      #   icc: Command line warning: ignoring option '-M'; no argument required
4326      # The diagnosis changed in icc 8.0:
4327      #   icc: Command line remark: option '-MP' not supported
4328      if (grep 'ignoring option' conftest.err ||
4329          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4330        am_cv_CC_dependencies_compiler_type=$depmode
4331        break
4332      fi
4333    fi
4334  done
4335
4336  cd ..
4337  rm -rf conftest.dir
4338else
4339  am_cv_CC_dependencies_compiler_type=none
4340fi
4341
4342fi
4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4344$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4345CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4346
4347 if
4348  test "x$enable_dependency_tracking" != xno \
4349  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4350  am__fastdepCC_TRUE=
4351  am__fastdepCC_FALSE='#'
4352else
4353  am__fastdepCC_TRUE='#'
4354  am__fastdepCC_FALSE=
4355fi
4356
4357
4358
4359ac_ext=c
4360ac_cpp='$CPP $CPPFLAGS'
4361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4365$as_echo_n "checking how to run the C preprocessor... " >&6; }
4366# On Suns, sometimes $CPP names a directory.
4367if test -n "$CPP" && test -d "$CPP"; then
4368  CPP=
4369fi
4370if test -z "$CPP"; then
4371  if ${ac_cv_prog_CPP+:} false; then :
4372  $as_echo_n "(cached) " >&6
4373else
4374      # Double quotes because CPP needs to be expanded
4375    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4376    do
4377      ac_preproc_ok=false
4378for ac_c_preproc_warn_flag in '' yes
4379do
4380  # Use a header file that comes with gcc, so configuring glibc
4381  # with a fresh cross-compiler works.
4382  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4383  # <limits.h> exists even on freestanding compilers.
4384  # On the NeXT, cc -E runs the code through the compiler's parser,
4385  # not just through cpp. "Syntax error" is here to catch this case.
4386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387/* end confdefs.h.  */
4388@%:@ifdef __STDC__
4389@%:@ include <limits.h>
4390@%:@else
4391@%:@ include <assert.h>
4392@%:@endif
4393		     Syntax error
4394_ACEOF
4395if ac_fn_c_try_cpp "$LINENO"; then :
4396
4397else
4398  # Broken: fails on valid input.
4399continue
4400fi
4401rm -f conftest.err conftest.i conftest.$ac_ext
4402
4403  # OK, works on sane cases.  Now check whether nonexistent headers
4404  # can be detected and how.
4405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407@%:@include <ac_nonexistent.h>
4408_ACEOF
4409if ac_fn_c_try_cpp "$LINENO"; then :
4410  # Broken: success on invalid input.
4411continue
4412else
4413  # Passes both tests.
4414ac_preproc_ok=:
4415break
4416fi
4417rm -f conftest.err conftest.i conftest.$ac_ext
4418
4419done
4420# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4421rm -f conftest.i conftest.err conftest.$ac_ext
4422if $ac_preproc_ok; then :
4423  break
4424fi
4425
4426    done
4427    ac_cv_prog_CPP=$CPP
4428
4429fi
4430  CPP=$ac_cv_prog_CPP
4431else
4432  ac_cv_prog_CPP=$CPP
4433fi
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4435$as_echo "$CPP" >&6; }
4436ac_preproc_ok=false
4437for ac_c_preproc_warn_flag in '' yes
4438do
4439  # Use a header file that comes with gcc, so configuring glibc
4440  # with a fresh cross-compiler works.
4441  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4442  # <limits.h> exists even on freestanding compilers.
4443  # On the NeXT, cc -E runs the code through the compiler's parser,
4444  # not just through cpp. "Syntax error" is here to catch this case.
4445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446/* end confdefs.h.  */
4447@%:@ifdef __STDC__
4448@%:@ include <limits.h>
4449@%:@else
4450@%:@ include <assert.h>
4451@%:@endif
4452		     Syntax error
4453_ACEOF
4454if ac_fn_c_try_cpp "$LINENO"; then :
4455
4456else
4457  # Broken: fails on valid input.
4458continue
4459fi
4460rm -f conftest.err conftest.i conftest.$ac_ext
4461
4462  # OK, works on sane cases.  Now check whether nonexistent headers
4463  # can be detected and how.
4464  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466@%:@include <ac_nonexistent.h>
4467_ACEOF
4468if ac_fn_c_try_cpp "$LINENO"; then :
4469  # Broken: success on invalid input.
4470continue
4471else
4472  # Passes both tests.
4473ac_preproc_ok=:
4474break
4475fi
4476rm -f conftest.err conftest.i conftest.$ac_ext
4477
4478done
4479# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4480rm -f conftest.i conftest.err conftest.$ac_ext
4481if $ac_preproc_ok; then :
4482
4483else
4484  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4487See \`config.log' for more details" "$LINENO" 5; }
4488fi
4489
4490ac_ext=c
4491ac_cpp='$CPP $CPPFLAGS'
4492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4494ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495
4496
4497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4498$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4499if ${ac_cv_path_GREP+:} false; then :
4500  $as_echo_n "(cached) " >&6
4501else
4502  if test -z "$GREP"; then
4503  ac_path_GREP_found=false
4504  # Loop through the user's path and test for each of PROGNAME-LIST
4505  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4507do
4508  IFS=$as_save_IFS
4509  test -z "$as_dir" && as_dir=.
4510    for ac_prog in grep ggrep; do
4511    for ac_exec_ext in '' $ac_executable_extensions; do
4512      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4513      as_fn_executable_p "$ac_path_GREP" || continue
4514# Check for GNU ac_path_GREP and select it if it is found.
4515  # Check for GNU $ac_path_GREP
4516case `"$ac_path_GREP" --version 2>&1` in
4517*GNU*)
4518  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4519*)
4520  ac_count=0
4521  $as_echo_n 0123456789 >"conftest.in"
4522  while :
4523  do
4524    cat "conftest.in" "conftest.in" >"conftest.tmp"
4525    mv "conftest.tmp" "conftest.in"
4526    cp "conftest.in" "conftest.nl"
4527    $as_echo 'GREP' >> "conftest.nl"
4528    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4529    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4530    as_fn_arith $ac_count + 1 && ac_count=$as_val
4531    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4532      # Best one so far, save it but keep looking for a better one
4533      ac_cv_path_GREP="$ac_path_GREP"
4534      ac_path_GREP_max=$ac_count
4535    fi
4536    # 10*(2^10) chars as input seems more than enough
4537    test $ac_count -gt 10 && break
4538  done
4539  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4540esac
4541
4542      $ac_path_GREP_found && break 3
4543    done
4544  done
4545  done
4546IFS=$as_save_IFS
4547  if test -z "$ac_cv_path_GREP"; then
4548    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4549  fi
4550else
4551  ac_cv_path_GREP=$GREP
4552fi
4553
4554fi
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4556$as_echo "$ac_cv_path_GREP" >&6; }
4557 GREP="$ac_cv_path_GREP"
4558
4559
4560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4561$as_echo_n "checking for egrep... " >&6; }
4562if ${ac_cv_path_EGREP+:} false; then :
4563  $as_echo_n "(cached) " >&6
4564else
4565  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4566   then ac_cv_path_EGREP="$GREP -E"
4567   else
4568     if test -z "$EGREP"; then
4569  ac_path_EGREP_found=false
4570  # Loop through the user's path and test for each of PROGNAME-LIST
4571  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4573do
4574  IFS=$as_save_IFS
4575  test -z "$as_dir" && as_dir=.
4576    for ac_prog in egrep; do
4577    for ac_exec_ext in '' $ac_executable_extensions; do
4578      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4579      as_fn_executable_p "$ac_path_EGREP" || continue
4580# Check for GNU ac_path_EGREP and select it if it is found.
4581  # Check for GNU $ac_path_EGREP
4582case `"$ac_path_EGREP" --version 2>&1` in
4583*GNU*)
4584  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4585*)
4586  ac_count=0
4587  $as_echo_n 0123456789 >"conftest.in"
4588  while :
4589  do
4590    cat "conftest.in" "conftest.in" >"conftest.tmp"
4591    mv "conftest.tmp" "conftest.in"
4592    cp "conftest.in" "conftest.nl"
4593    $as_echo 'EGREP' >> "conftest.nl"
4594    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4595    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4596    as_fn_arith $ac_count + 1 && ac_count=$as_val
4597    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4598      # Best one so far, save it but keep looking for a better one
4599      ac_cv_path_EGREP="$ac_path_EGREP"
4600      ac_path_EGREP_max=$ac_count
4601    fi
4602    # 10*(2^10) chars as input seems more than enough
4603    test $ac_count -gt 10 && break
4604  done
4605  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4606esac
4607
4608      $ac_path_EGREP_found && break 3
4609    done
4610  done
4611  done
4612IFS=$as_save_IFS
4613  if test -z "$ac_cv_path_EGREP"; then
4614    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615  fi
4616else
4617  ac_cv_path_EGREP=$EGREP
4618fi
4619
4620   fi
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4623$as_echo "$ac_cv_path_EGREP" >&6; }
4624 EGREP="$ac_cv_path_EGREP"
4625
4626
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4628$as_echo_n "checking for ANSI C header files... " >&6; }
4629if ${ac_cv_header_stdc+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633/* end confdefs.h.  */
4634#include <stdlib.h>
4635#include <stdarg.h>
4636#include <string.h>
4637#include <float.h>
4638
4639int
4640main ()
4641{
4642
4643  ;
4644  return 0;
4645}
4646_ACEOF
4647if ac_fn_c_try_compile "$LINENO"; then :
4648  ac_cv_header_stdc=yes
4649else
4650  ac_cv_header_stdc=no
4651fi
4652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653
4654if test $ac_cv_header_stdc = yes; then
4655  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657/* end confdefs.h.  */
4658#include <string.h>
4659
4660_ACEOF
4661if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4662  $EGREP "memchr" >/dev/null 2>&1; then :
4663
4664else
4665  ac_cv_header_stdc=no
4666fi
4667rm -f conftest*
4668
4669fi
4670
4671if test $ac_cv_header_stdc = yes; then
4672  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674/* end confdefs.h.  */
4675#include <stdlib.h>
4676
4677_ACEOF
4678if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4679  $EGREP "free" >/dev/null 2>&1; then :
4680
4681else
4682  ac_cv_header_stdc=no
4683fi
4684rm -f conftest*
4685
4686fi
4687
4688if test $ac_cv_header_stdc = yes; then
4689  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4690  if test "$cross_compiling" = yes; then :
4691  :
4692else
4693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694/* end confdefs.h.  */
4695#include <ctype.h>
4696#include <stdlib.h>
4697#if ((' ' & 0x0FF) == 0x020)
4698# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4699# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4700#else
4701# define ISLOWER(c) \
4702		   (('a' <= (c) && (c) <= 'i') \
4703		     || ('j' <= (c) && (c) <= 'r') \
4704		     || ('s' <= (c) && (c) <= 'z'))
4705# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4706#endif
4707
4708#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4709int
4710main ()
4711{
4712  int i;
4713  for (i = 0; i < 256; i++)
4714    if (XOR (islower (i), ISLOWER (i))
4715	|| toupper (i) != TOUPPER (i))
4716      return 2;
4717  return 0;
4718}
4719_ACEOF
4720if ac_fn_c_try_run "$LINENO"; then :
4721
4722else
4723  ac_cv_header_stdc=no
4724fi
4725rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4726  conftest.$ac_objext conftest.beam conftest.$ac_ext
4727fi
4728
4729fi
4730fi
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4732$as_echo "$ac_cv_header_stdc" >&6; }
4733if test $ac_cv_header_stdc = yes; then
4734
4735$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4736
4737fi
4738
4739# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4740for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4741		  inttypes.h stdint.h unistd.h
4742do :
4743  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4744ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4745"
4746if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4747  cat >>confdefs.h <<_ACEOF
4748@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4749_ACEOF
4750
4751fi
4752
4753done
4754
4755
4756
4757  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4758if test "x$ac_cv_header_minix_config_h" = xyes; then :
4759  MINIX=yes
4760else
4761  MINIX=
4762fi
4763
4764
4765  if test "$MINIX" = yes; then
4766
4767$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
4768
4769
4770$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
4771
4772
4773$as_echo "@%:@define _MINIX 1" >>confdefs.h
4774
4775  fi
4776
4777
4778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4779$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4780if ${ac_cv_safe_to_define___extensions__+:} false; then :
4781  $as_echo_n "(cached) " >&6
4782else
4783  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784/* end confdefs.h.  */
4785
4786#         define __EXTENSIONS__ 1
4787          $ac_includes_default
4788int
4789main ()
4790{
4791
4792  ;
4793  return 0;
4794}
4795_ACEOF
4796if ac_fn_c_try_compile "$LINENO"; then :
4797  ac_cv_safe_to_define___extensions__=yes
4798else
4799  ac_cv_safe_to_define___extensions__=no
4800fi
4801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802fi
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4804$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4805  test $ac_cv_safe_to_define___extensions__ = yes &&
4806    $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
4807
4808  $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
4809
4810  $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
4811
4812  $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4813
4814  $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
4815
4816
4817
4818
4819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4820$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4821if ${ac_cv_prog_cc_c99+:} false; then :
4822  $as_echo_n "(cached) " >&6
4823else
4824  ac_cv_prog_cc_c99=no
4825ac_save_CC=$CC
4826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827/* end confdefs.h.  */
4828#include <stdarg.h>
4829#include <stdbool.h>
4830#include <stdlib.h>
4831#include <wchar.h>
4832#include <stdio.h>
4833
4834// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4835#define debug(...) fprintf (stderr, __VA_ARGS__)
4836#define showlist(...) puts (#__VA_ARGS__)
4837#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4838static void
4839test_varargs_macros (void)
4840{
4841  int x = 1234;
4842  int y = 5678;
4843  debug ("Flag");
4844  debug ("X = %d\n", x);
4845  showlist (The first, second, and third items.);
4846  report (x>y, "x is %d but y is %d", x, y);
4847}
4848
4849// Check long long types.
4850#define BIG64 18446744073709551615ull
4851#define BIG32 4294967295ul
4852#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4853#if !BIG_OK
4854  your preprocessor is broken;
4855#endif
4856#if BIG_OK
4857#else
4858  your preprocessor is broken;
4859#endif
4860static long long int bignum = -9223372036854775807LL;
4861static unsigned long long int ubignum = BIG64;
4862
4863struct incomplete_array
4864{
4865  int datasize;
4866  double data[];
4867};
4868
4869struct named_init {
4870  int number;
4871  const wchar_t *name;
4872  double average;
4873};
4874
4875typedef const char *ccp;
4876
4877static inline int
4878test_restrict (ccp restrict text)
4879{
4880  // See if C++-style comments work.
4881  // Iterate through items via the restricted pointer.
4882  // Also check for declarations in for loops.
4883  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4884    continue;
4885  return 0;
4886}
4887
4888// Check varargs and va_copy.
4889static void
4890test_varargs (const char *format, ...)
4891{
4892  va_list args;
4893  va_start (args, format);
4894  va_list args_copy;
4895  va_copy (args_copy, args);
4896
4897  const char *str;
4898  int number;
4899  float fnumber;
4900
4901  while (*format)
4902    {
4903      switch (*format++)
4904	{
4905	case 's': // string
4906	  str = va_arg (args_copy, const char *);
4907	  break;
4908	case 'd': // int
4909	  number = va_arg (args_copy, int);
4910	  break;
4911	case 'f': // float
4912	  fnumber = va_arg (args_copy, double);
4913	  break;
4914	default:
4915	  break;
4916	}
4917    }
4918  va_end (args_copy);
4919  va_end (args);
4920}
4921
4922int
4923main ()
4924{
4925
4926  // Check bool.
4927  _Bool success = false;
4928
4929  // Check restrict.
4930  if (test_restrict ("String literal") == 0)
4931    success = true;
4932  char *restrict newvar = "Another string";
4933
4934  // Check varargs.
4935  test_varargs ("s, d' f .", "string", 65, 34.234);
4936  test_varargs_macros ();
4937
4938  // Check flexible array members.
4939  struct incomplete_array *ia =
4940    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4941  ia->datasize = 10;
4942  for (int i = 0; i < ia->datasize; ++i)
4943    ia->data[i] = i * 1.234;
4944
4945  // Check named initializers.
4946  struct named_init ni = {
4947    .number = 34,
4948    .name = L"Test wide string",
4949    .average = 543.34343,
4950  };
4951
4952  ni.number = 58;
4953
4954  int dynamic_array[ni.number];
4955  dynamic_array[ni.number - 1] = 543;
4956
4957  // work around unused variable warnings
4958  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4959	  || dynamic_array[ni.number - 1] != 543);
4960
4961  ;
4962  return 0;
4963}
4964_ACEOF
4965for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4966do
4967  CC="$ac_save_CC $ac_arg"
4968  if ac_fn_c_try_compile "$LINENO"; then :
4969  ac_cv_prog_cc_c99=$ac_arg
4970fi
4971rm -f core conftest.err conftest.$ac_objext
4972  test "x$ac_cv_prog_cc_c99" != "xno" && break
4973done
4974rm -f conftest.$ac_ext
4975CC=$ac_save_CC
4976
4977fi
4978# AC_CACHE_VAL
4979case "x$ac_cv_prog_cc_c99" in
4980  x)
4981    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4982$as_echo "none needed" >&6; } ;;
4983  xno)
4984    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4985$as_echo "unsupported" >&6; } ;;
4986  *)
4987    CC="$CC $ac_cv_prog_cc_c99"
4988    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4989$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4990esac
4991if test "x$ac_cv_prog_cc_c99" != xno; then :
4992
4993fi
4994
4995
4996
4997
4998
4999
5000
5001
5002#LT_INIT([disable-static])
5003
5004
5005case $host in
5006  *-*-linux*)
5007
5008$as_echo "@%:@define HAVE_LINUX_OS 1" >>confdefs.h
5009
5010    ;;
5011  *-*-darwin*)
5012
5013$as_echo "@%:@define HAVE_DARWIN_OS 1" >>confdefs.h
5014
5015    ;;
5016  *-*-dragonfly*)
5017
5018$as_echo "@%:@define HAVE_DRAGONFLY_OS 1" >>confdefs.h
5019
5020    CPPFLAGS="-I/usr/local/include $CPPFLAGS"
5021    LDFLAGS="-L/usr/local/lib $LDFLAGS"
5022    ;;
5023  *-*-freebsd*)
5024
5025$as_echo "@%:@define HAVE_FREEBSD_OS 1" >>confdefs.h
5026
5027    CPPFLAGS="-I/usr/local/include $CPPFLAGS"
5028    LDFLAGS="-L/usr/local/lib $LDFLAGS"
5029    ;;
5030  *-*-netbsd*)
5031
5032$as_echo "@%:@define HAVE_NETBSD_OS 1" >>confdefs.h
5033
5034    CPPFLAGS="-I/usr/pkg/include"
5035    LDFLAGS="-L/usr/pkg/lib"
5036    ;;
5037  *-*-openbsd*)
5038
5039$as_echo "@%:@define HAVE_OPENBSD_OS 1" >>confdefs.h
5040
5041    CPPFLAGS="-I/usr/local/include $CPPFLAGS"
5042    LDFLAGS="-L/usr/local/lib $LDFLAGS"
5043    ;;
5044  *-*-solaris*)
5045
5046$as_echo "@%:@define HAVE_SUN_OS 1" >>confdefs.h
5047
5048    ;;
5049esac
5050
5051@%:@ Check whether --enable-largefile was given.
5052if test "${enable_largefile+set}" = set; then :
5053  enableval=$enable_largefile;
5054fi
5055
5056if test "$enable_largefile" != no; then
5057
5058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5059$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5060if ${ac_cv_sys_largefile_CC+:} false; then :
5061  $as_echo_n "(cached) " >&6
5062else
5063  ac_cv_sys_largefile_CC=no
5064     if test "$GCC" != yes; then
5065       ac_save_CC=$CC
5066       while :; do
5067	 # IRIX 6.2 and later do not support large files by default,
5068	 # so use the C compiler's -n32 option if that helps.
5069	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070/* end confdefs.h.  */
5071@%:@include <sys/types.h>
5072 /* Check that off_t can represent 2**63 - 1 correctly.
5073    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5074    since some C++ compilers masquerading as C compilers
5075    incorrectly reject 9223372036854775807.  */
5076@%:@define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5077  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5078		       && LARGE_OFF_T % 2147483647 == 1)
5079		      ? 1 : -1];
5080int
5081main ()
5082{
5083
5084  ;
5085  return 0;
5086}
5087_ACEOF
5088	 if ac_fn_c_try_compile "$LINENO"; then :
5089  break
5090fi
5091rm -f core conftest.err conftest.$ac_objext
5092	 CC="$CC -n32"
5093	 if ac_fn_c_try_compile "$LINENO"; then :
5094  ac_cv_sys_largefile_CC=' -n32'; break
5095fi
5096rm -f core conftest.err conftest.$ac_objext
5097	 break
5098       done
5099       CC=$ac_save_CC
5100       rm -f conftest.$ac_ext
5101    fi
5102fi
5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5104$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5105  if test "$ac_cv_sys_largefile_CC" != no; then
5106    CC=$CC$ac_cv_sys_largefile_CC
5107  fi
5108
5109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5110$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5111if ${ac_cv_sys_file_offset_bits+:} false; then :
5112  $as_echo_n "(cached) " >&6
5113else
5114  while :; do
5115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116/* end confdefs.h.  */
5117@%:@include <sys/types.h>
5118 /* Check that off_t can represent 2**63 - 1 correctly.
5119    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5120    since some C++ compilers masquerading as C compilers
5121    incorrectly reject 9223372036854775807.  */
5122@%:@define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5123  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5124		       && LARGE_OFF_T % 2147483647 == 1)
5125		      ? 1 : -1];
5126int
5127main ()
5128{
5129
5130  ;
5131  return 0;
5132}
5133_ACEOF
5134if ac_fn_c_try_compile "$LINENO"; then :
5135  ac_cv_sys_file_offset_bits=no; break
5136fi
5137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139/* end confdefs.h.  */
5140@%:@define _FILE_OFFSET_BITS 64
5141@%:@include <sys/types.h>
5142 /* Check that off_t can represent 2**63 - 1 correctly.
5143    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5144    since some C++ compilers masquerading as C compilers
5145    incorrectly reject 9223372036854775807.  */
5146@%:@define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5147  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5148		       && LARGE_OFF_T % 2147483647 == 1)
5149		      ? 1 : -1];
5150int
5151main ()
5152{
5153
5154  ;
5155  return 0;
5156}
5157_ACEOF
5158if ac_fn_c_try_compile "$LINENO"; then :
5159  ac_cv_sys_file_offset_bits=64; break
5160fi
5161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162  ac_cv_sys_file_offset_bits=unknown
5163  break
5164done
5165fi
5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5167$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5168case $ac_cv_sys_file_offset_bits in #(
5169  no | unknown) ;;
5170  *)
5171cat >>confdefs.h <<_ACEOF
5172@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5173_ACEOF
5174;;
5175esac
5176rm -rf conftest*
5177  if test $ac_cv_sys_file_offset_bits = unknown; then
5178    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5179$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5180if ${ac_cv_sys_large_files+:} false; then :
5181  $as_echo_n "(cached) " >&6
5182else
5183  while :; do
5184  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185/* end confdefs.h.  */
5186@%:@include <sys/types.h>
5187 /* Check that off_t can represent 2**63 - 1 correctly.
5188    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5189    since some C++ compilers masquerading as C compilers
5190    incorrectly reject 9223372036854775807.  */
5191@%:@define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5192  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5193		       && LARGE_OFF_T % 2147483647 == 1)
5194		      ? 1 : -1];
5195int
5196main ()
5197{
5198
5199  ;
5200  return 0;
5201}
5202_ACEOF
5203if ac_fn_c_try_compile "$LINENO"; then :
5204  ac_cv_sys_large_files=no; break
5205fi
5206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5207  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208/* end confdefs.h.  */
5209@%:@define _LARGE_FILES 1
5210@%:@include <sys/types.h>
5211 /* Check that off_t can represent 2**63 - 1 correctly.
5212    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5213    since some C++ compilers masquerading as C compilers
5214    incorrectly reject 9223372036854775807.  */
5215@%:@define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5216  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5217		       && LARGE_OFF_T % 2147483647 == 1)
5218		      ? 1 : -1];
5219int
5220main ()
5221{
5222
5223  ;
5224  return 0;
5225}
5226_ACEOF
5227if ac_fn_c_try_compile "$LINENO"; then :
5228  ac_cv_sys_large_files=1; break
5229fi
5230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5231  ac_cv_sys_large_files=unknown
5232  break
5233done
5234fi
5235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5236$as_echo "$ac_cv_sys_large_files" >&6; }
5237case $ac_cv_sys_large_files in #(
5238  no | unknown) ;;
5239  *)
5240cat >>confdefs.h <<_ACEOF
5241@%:@define _LARGE_FILES $ac_cv_sys_large_files
5242_ACEOF
5243;;
5244esac
5245rm -rf conftest*
5246  fi
5247
5248
5249fi
5250
5251
5252ac_fn_c_check_type "$LINENO" "struct utimbuf" "ac_cv_type_struct_utimbuf" "
5253    #include <sys/types.h>
5254    #include <utime.h>
5255
5256
5257"
5258if test "x$ac_cv_type_struct_utimbuf" = xyes; then :
5259
5260cat >>confdefs.h <<_ACEOF
5261@%:@define HAVE_STRUCT_UTIMBUF 1
5262_ACEOF
5263
5264
5265fi
5266
5267
5268for ac_header in endian.h sys/endian.h sys/byteorder.h libkern/OSByteOrder.h
5269do :
5270  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5271ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5272if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5273  cat >>confdefs.h <<_ACEOF
5274@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5275_ACEOF
5276 break
5277
5278fi
5279
5280done
5281
5282
5283
5284
5285
5286
5287  for ac_func in $ac_func_list
5288do :
5289  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5290ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5291if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5292  cat >>confdefs.h <<_ACEOF
5293@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5294_ACEOF
5295
5296fi
5297done
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5308if test "x$ac_cv_type_size_t" = xyes; then :
5309
5310else
5311
5312cat >>confdefs.h <<_ACEOF
5313@%:@define size_t unsigned int
5314_ACEOF
5315
5316fi
5317
5318# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5319# for constant arguments.  Useless!
5320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5321$as_echo_n "checking for working alloca.h... " >&6; }
5322if ${ac_cv_working_alloca_h+:} false; then :
5323  $as_echo_n "(cached) " >&6
5324else
5325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326/* end confdefs.h.  */
5327@%:@include <alloca.h>
5328int
5329main ()
5330{
5331char *p = (char *) alloca (2 * sizeof (int));
5332			  if (p) return 0;
5333  ;
5334  return 0;
5335}
5336_ACEOF
5337if ac_fn_c_try_link "$LINENO"; then :
5338  ac_cv_working_alloca_h=yes
5339else
5340  ac_cv_working_alloca_h=no
5341fi
5342rm -f core conftest.err conftest.$ac_objext \
5343    conftest$ac_exeext conftest.$ac_ext
5344fi
5345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5346$as_echo "$ac_cv_working_alloca_h" >&6; }
5347if test $ac_cv_working_alloca_h = yes; then
5348
5349$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
5350
5351fi
5352
5353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5354$as_echo_n "checking for alloca... " >&6; }
5355if ${ac_cv_func_alloca_works+:} false; then :
5356  $as_echo_n "(cached) " >&6
5357else
5358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359/* end confdefs.h.  */
5360#ifdef __GNUC__
5361# define alloca __builtin_alloca
5362#else
5363# ifdef _MSC_VER
5364#  include <malloc.h>
5365#  define alloca _alloca
5366# else
5367#  ifdef HAVE_ALLOCA_H
5368#   include <alloca.h>
5369#  else
5370#   ifdef _AIX
5371 #pragma alloca
5372#   else
5373#    ifndef alloca /* predefined by HP cc +Olibcalls */
5374void *alloca (size_t);
5375#    endif
5376#   endif
5377#  endif
5378# endif
5379#endif
5380
5381int
5382main ()
5383{
5384char *p = (char *) alloca (1);
5385				    if (p) return 0;
5386  ;
5387  return 0;
5388}
5389_ACEOF
5390if ac_fn_c_try_link "$LINENO"; then :
5391  ac_cv_func_alloca_works=yes
5392else
5393  ac_cv_func_alloca_works=no
5394fi
5395rm -f core conftest.err conftest.$ac_objext \
5396    conftest$ac_exeext conftest.$ac_ext
5397fi
5398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5399$as_echo "$ac_cv_func_alloca_works" >&6; }
5400
5401if test $ac_cv_func_alloca_works = yes; then
5402
5403$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
5404
5405else
5406  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5407# that cause trouble.  Some versions do not even contain alloca or
5408# contain a buggy version.  If you still want to use their alloca,
5409# use ar to extract alloca.o from them instead of compiling alloca.c.
5410
5411ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5412
5413$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
5414
5415
5416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5417$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5418if ${ac_cv_os_cray+:} false; then :
5419  $as_echo_n "(cached) " >&6
5420else
5421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422/* end confdefs.h.  */
5423#if defined CRAY && ! defined CRAY2
5424webecray
5425#else
5426wenotbecray
5427#endif
5428
5429_ACEOF
5430if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5431  $EGREP "webecray" >/dev/null 2>&1; then :
5432  ac_cv_os_cray=yes
5433else
5434  ac_cv_os_cray=no
5435fi
5436rm -f conftest*
5437
5438fi
5439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5440$as_echo "$ac_cv_os_cray" >&6; }
5441if test $ac_cv_os_cray = yes; then
5442  for ac_func in _getb67 GETB67 getb67; do
5443    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5444ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5445if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5446
5447cat >>confdefs.h <<_ACEOF
5448@%:@define CRAY_STACKSEG_END $ac_func
5449_ACEOF
5450
5451    break
5452fi
5453
5454  done
5455fi
5456
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5458$as_echo_n "checking stack direction for C alloca... " >&6; }
5459if ${ac_cv_c_stack_direction+:} false; then :
5460  $as_echo_n "(cached) " >&6
5461else
5462  if test "$cross_compiling" = yes; then :
5463  ac_cv_c_stack_direction=0
5464else
5465  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5466/* end confdefs.h.  */
5467$ac_includes_default
5468int
5469find_stack_direction (int *addr, int depth)
5470{
5471  int dir, dummy = 0;
5472  if (! addr)
5473    addr = &dummy;
5474  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5475  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5476  return dir + dummy;
5477}
5478
5479int
5480main (int argc, char **argv)
5481{
5482  return find_stack_direction (0, argc + !argv + 20) < 0;
5483}
5484_ACEOF
5485if ac_fn_c_try_run "$LINENO"; then :
5486  ac_cv_c_stack_direction=1
5487else
5488  ac_cv_c_stack_direction=-1
5489fi
5490rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5491  conftest.$ac_objext conftest.beam conftest.$ac_ext
5492fi
5493
5494fi
5495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5496$as_echo "$ac_cv_c_stack_direction" >&6; }
5497cat >>confdefs.h <<_ACEOF
5498@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
5499_ACEOF
5500
5501
5502fi
5503
5504
5505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
5506$as_echo_n "checking for library containing sqrt... " >&6; }
5507if ${ac_cv_search_sqrt+:} false; then :
5508  $as_echo_n "(cached) " >&6
5509else
5510  ac_func_search_save_LIBS=$LIBS
5511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512/* end confdefs.h.  */
5513
5514/* Override any GCC internal prototype to avoid an error.
5515   Use char because int might match the return type of a GCC
5516   builtin and then its argument prototype would still apply.  */
5517#ifdef __cplusplus
5518extern "C"
5519#endif
5520char sqrt ();
5521int
5522main ()
5523{
5524return sqrt ();
5525  ;
5526  return 0;
5527}
5528_ACEOF
5529for ac_lib in '' m; do
5530  if test -z "$ac_lib"; then
5531    ac_res="none required"
5532  else
5533    ac_res=-l$ac_lib
5534    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5535  fi
5536  if ac_fn_c_try_link "$LINENO"; then :
5537  ac_cv_search_sqrt=$ac_res
5538fi
5539rm -f core conftest.err conftest.$ac_objext \
5540    conftest$ac_exeext
5541  if ${ac_cv_search_sqrt+:} false; then :
5542  break
5543fi
5544done
5545if ${ac_cv_search_sqrt+:} false; then :
5546
5547else
5548  ac_cv_search_sqrt=no
5549fi
5550rm conftest.$ac_ext
5551LIBS=$ac_func_search_save_LIBS
5552fi
5553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
5554$as_echo "$ac_cv_search_sqrt" >&6; }
5555ac_res=$ac_cv_search_sqrt
5556if test "$ac_res" != no; then :
5557  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5558
5559fi
5560
5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
5562$as_echo_n "checking for library containing inet_ntop... " >&6; }
5563if ${ac_cv_search_inet_ntop+:} false; then :
5564  $as_echo_n "(cached) " >&6
5565else
5566  ac_func_search_save_LIBS=$LIBS
5567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5568/* end confdefs.h.  */
5569
5570/* Override any GCC internal prototype to avoid an error.
5571   Use char because int might match the return type of a GCC
5572   builtin and then its argument prototype would still apply.  */
5573#ifdef __cplusplus
5574extern "C"
5575#endif
5576char inet_ntop ();
5577int
5578main ()
5579{
5580return inet_ntop ();
5581  ;
5582  return 0;
5583}
5584_ACEOF
5585for ac_lib in '' nsl; do
5586  if test -z "$ac_lib"; then
5587    ac_res="none required"
5588  else
5589    ac_res=-l$ac_lib
5590    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5591  fi
5592  if ac_fn_c_try_link "$LINENO"; then :
5593  ac_cv_search_inet_ntop=$ac_res
5594fi
5595rm -f core conftest.err conftest.$ac_objext \
5596    conftest$ac_exeext
5597  if ${ac_cv_search_inet_ntop+:} false; then :
5598  break
5599fi
5600done
5601if ${ac_cv_search_inet_ntop+:} false; then :
5602
5603else
5604  ac_cv_search_inet_ntop=no
5605fi
5606rm conftest.$ac_ext
5607LIBS=$ac_func_search_save_LIBS
5608fi
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
5610$as_echo "$ac_cv_search_inet_ntop" >&6; }
5611ac_res=$ac_cv_search_inet_ntop
5612if test "$ac_res" != no; then :
5613  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5614
5615fi
5616
5617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5618$as_echo_n "checking for library containing socket... " >&6; }
5619if ${ac_cv_search_socket+:} false; then :
5620  $as_echo_n "(cached) " >&6
5621else
5622  ac_func_search_save_LIBS=$LIBS
5623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624/* end confdefs.h.  */
5625
5626/* Override any GCC internal prototype to avoid an error.
5627   Use char because int might match the return type of a GCC
5628   builtin and then its argument prototype would still apply.  */
5629#ifdef __cplusplus
5630extern "C"
5631#endif
5632char socket ();
5633int
5634main ()
5635{
5636return socket ();
5637  ;
5638  return 0;
5639}
5640_ACEOF
5641for ac_lib in '' socket; do
5642  if test -z "$ac_lib"; then
5643    ac_res="none required"
5644  else
5645    ac_res=-l$ac_lib
5646    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5647  fi
5648  if ac_fn_c_try_link "$LINENO"; then :
5649  ac_cv_search_socket=$ac_res
5650fi
5651rm -f core conftest.err conftest.$ac_objext \
5652    conftest$ac_exeext
5653  if ${ac_cv_search_socket+:} false; then :
5654  break
5655fi
5656done
5657if ${ac_cv_search_socket+:} false; then :
5658
5659else
5660  ac_cv_search_socket=no
5661fi
5662rm conftest.$ac_ext
5663LIBS=$ac_func_search_save_LIBS
5664fi
5665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5666$as_echo "$ac_cv_search_socket" >&6; }
5667ac_res=$ac_cv_search_socket
5668if test "$ac_res" != no; then :
5669  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5670
5671fi
5672
5673
5674
5675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6 support" >&5
5676$as_echo_n "checking whether to enable IPv6 support... " >&6; }
5677@%:@ Check whether --enable-ipv6 was given.
5678if test "${enable_ipv6+set}" = set; then :
5679  enableval=$enable_ipv6;
5680else
5681  enable_ipv6=auto
5682
5683fi
5684
5685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_ipv6" >&5
5686$as_echo "$enable_ipv6" >&6; }
5687
5688if test "$enable_ipv6" != "no"; then
5689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5
5690$as_echo_n "checking for IPv6 support... " >&6; }
5691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692/* end confdefs.h.  */
5693
5694        #include <sys/types.h>
5695        #include <sys/socket.h>
5696        #include <netinet/in.h>
5697
5698int
5699main ()
5700{
5701
5702        int fd;
5703        struct sockaddr_in6 foo;
5704        fd = socket(AF_INET6, SOCK_STREAM, 0);
5705        return(fd >= 0 ? 0 : 1);
5706
5707
5708  ;
5709  return 0;
5710}
5711_ACEOF
5712if ac_fn_c_try_compile "$LINENO"; then :
5713
5714      enable_ipv6=yes
5715
5716$as_echo "@%:@define HAVE_IPV6 1" >>confdefs.h
5717
5718
5719else
5720
5721      if test "$enable_ipv6" = "yes"; then
5722	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723$as_echo "no" >&6; }
5724        as_fn_error $? "Unable to detect IPv6 support" "$LINENO" 5
5725      fi
5726
5727
5728fi
5729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730
5731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5732$as_echo "yes" >&6; }
5733fi
5734
5735
5736
5737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking For OpenSSL" >&5
5738$as_echo_n "checking For OpenSSL... " >&6; }
5739
5740@%:@ Check whether --with-openssl was given.
5741if test "${with_openssl+set}" = set; then :
5742  withval=$with_openssl;
5743    case "$withval" in
5744     "" | yes | no)
5745       as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
5746       ;;
5747     *)
5748       openssl_dir=$withval
5749       ;;
5750    esac
5751
5752
5753fi
5754
5755
5756OPENSSL_LIBS="-lssl -lcrypto"
5757
5758
5759
5760
5761if test "$openssl_dir" != ""; then
5762  OPENSSL_LDFLAGS="-L${openssl_dir}/lib"
5763  OPENSSL_INC="-I${openssl_dir}/include"
5764fi
5765
5766save_LIBS="$LIBS"
5767save_LDFLAGS="$LDFLAGS"
5768save_CPPFLAGS="$CPPFLAGS"
5769LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
5770LIBS="$LIBS $OPENSSL_LIBS"
5771CPPFLAGS="$OPENSSL_INC $CPPFLAGS"
5772
5773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774/* end confdefs.h.  */
5775#include <openssl/ssl.h>
5776int
5777main ()
5778{
5779SSL_new(NULL)
5780
5781  ;
5782  return 0;
5783}
5784_ACEOF
5785if ac_fn_c_try_link "$LINENO"; then :
5786
5787    have_ssl=yes
5788    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5789$as_echo "yes" >&6; }
5790
5791$as_echo "@%:@define HAVE_OPENSSL 1" >>confdefs.h
5792
5793
5794else
5795
5796    have_ssl=no
5797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798$as_echo "no" >&6; }
5799    as_fn_error $? "Unable to find OpenSSL library" "$LINENO" 5
5800
5801
5802fi
5803rm -f core conftest.err conftest.$ac_objext \
5804    conftest$ac_exeext conftest.$ac_ext
5805CPPFLAGS="$save_CPPFLAGS"
5806LDFLAGS="$save_LDFLAGS"
5807LIBS="$save_LIBS"
5808
5809
5810
5811for ac_header in zlib.h
5812do :
5813  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5814if test "x$ac_cv_header_zlib_h" = xyes; then :
5815  cat >>confdefs.h <<_ACEOF
5816@%:@define HAVE_ZLIB_H 1
5817_ACEOF
5818
5819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
5820$as_echo_n "checking for deflate in -lz... " >&6; }
5821if ${ac_cv_lib_z_deflate+:} false; then :
5822  $as_echo_n "(cached) " >&6
5823else
5824  ac_check_lib_save_LIBS=$LIBS
5825LIBS="-lz  $LIBS"
5826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827/* end confdefs.h.  */
5828
5829/* Override any GCC internal prototype to avoid an error.
5830   Use char because int might match the return type of a GCC
5831   builtin and then its argument prototype would still apply.  */
5832#ifdef __cplusplus
5833extern "C"
5834#endif
5835char deflate ();
5836int
5837main ()
5838{
5839return deflate ();
5840  ;
5841  return 0;
5842}
5843_ACEOF
5844if ac_fn_c_try_link "$LINENO"; then :
5845  ac_cv_lib_z_deflate=yes
5846else
5847  ac_cv_lib_z_deflate=no
5848fi
5849rm -f core conftest.err conftest.$ac_objext \
5850    conftest$ac_exeext conftest.$ac_ext
5851LIBS=$ac_check_lib_save_LIBS
5852fi
5853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
5854$as_echo "$ac_cv_lib_z_deflate" >&6; }
5855if test "x$ac_cv_lib_z_deflate" = xyes; then :
5856
5857        ZLIBS="-lz"
5858
5859else
5860  as_fn_error $? "Unable to find libz" "$LINENO" 5
5861
5862fi
5863
5864
5865else
5866  as_fn_error $? "Unable to find zlib.h" "$LINENO" 5
5867
5868fi
5869
5870done
5871
5872
5873
5874
5875
5876
5877save_LIBS="$LIBS"
5878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
5879$as_echo_n "checking for library containing crypt... " >&6; }
5880if ${ac_cv_search_crypt+:} false; then :
5881  $as_echo_n "(cached) " >&6
5882else
5883  ac_func_search_save_LIBS=$LIBS
5884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885/* end confdefs.h.  */
5886
5887/* Override any GCC internal prototype to avoid an error.
5888   Use char because int might match the return type of a GCC
5889   builtin and then its argument prototype would still apply.  */
5890#ifdef __cplusplus
5891extern "C"
5892#endif
5893char crypt ();
5894int
5895main ()
5896{
5897return crypt ();
5898  ;
5899  return 0;
5900}
5901_ACEOF
5902for ac_lib in '' crypt; do
5903  if test -z "$ac_lib"; then
5904    ac_res="none required"
5905  else
5906    ac_res=-l$ac_lib
5907    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5908  fi
5909  if ac_fn_c_try_link "$LINENO"; then :
5910  ac_cv_search_crypt=$ac_res
5911fi
5912rm -f core conftest.err conftest.$ac_objext \
5913    conftest$ac_exeext
5914  if ${ac_cv_search_crypt+:} false; then :
5915  break
5916fi
5917done
5918if ${ac_cv_search_crypt+:} false; then :
5919
5920else
5921  ac_cv_search_crypt=no
5922fi
5923rm conftest.$ac_ext
5924LIBS=$ac_func_search_save_LIBS
5925fi
5926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
5927$as_echo "$ac_cv_search_crypt" >&6; }
5928ac_res=$ac_cv_search_crypt
5929if test "$ac_res" != no; then :
5930  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5931
5932	have_crypt=yes
5933    CRYPT_LIBS="$LIBS"
5934
5935$as_echo "@%:@define HAVE_CRYPT 1" >>confdefs.h
5936
5937
5938else
5939  have_crypt=no
5940
5941fi
5942
5943LIBS="$save_LIBS"
5944
5945
5946
5947
5948for ac_header in uthash.h
5949do :
5950  ac_fn_c_check_header_mongrel "$LINENO" "uthash.h" "ac_cv_header_uthash_h" "$ac_includes_default"
5951if test "x$ac_cv_header_uthash_h" = xyes; then :
5952  cat >>confdefs.h <<_ACEOF
5953@%:@define HAVE_UTHASH_H 1
5954_ACEOF
5955
5956else
5957  as_fn_error $? "Cannot find uthash.h, please install uthash" "$LINENO" 5
5958
5959fi
5960
5961done
5962
5963
5964
5965
5966for ac_header in librsync.h
5967do :
5968  ac_fn_c_check_header_mongrel "$LINENO" "librsync.h" "ac_cv_header_librsync_h" "$ac_includes_default"
5969if test "x$ac_cv_header_librsync_h" = xyes; then :
5970  cat >>confdefs.h <<_ACEOF
5971@%:@define HAVE_LIBRSYNC_H 1
5972_ACEOF
5973
5974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rs_delta_begin in -lrsync" >&5
5975$as_echo_n "checking for rs_delta_begin in -lrsync... " >&6; }
5976if ${ac_cv_lib_rsync_rs_delta_begin+:} false; then :
5977  $as_echo_n "(cached) " >&6
5978else
5979  ac_check_lib_save_LIBS=$LIBS
5980LIBS="-lrsync  $LIBS"
5981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5982/* end confdefs.h.  */
5983
5984/* Override any GCC internal prototype to avoid an error.
5985   Use char because int might match the return type of a GCC
5986   builtin and then its argument prototype would still apply.  */
5987#ifdef __cplusplus
5988extern "C"
5989#endif
5990char rs_delta_begin ();
5991int
5992main ()
5993{
5994return rs_delta_begin ();
5995  ;
5996  return 0;
5997}
5998_ACEOF
5999if ac_fn_c_try_link "$LINENO"; then :
6000  ac_cv_lib_rsync_rs_delta_begin=yes
6001else
6002  ac_cv_lib_rsync_rs_delta_begin=no
6003fi
6004rm -f core conftest.err conftest.$ac_objext \
6005    conftest$ac_exeext conftest.$ac_ext
6006LIBS=$ac_check_lib_save_LIBS
6007fi
6008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rsync_rs_delta_begin" >&5
6009$as_echo "$ac_cv_lib_rsync_rs_delta_begin" >&6; }
6010if test "x$ac_cv_lib_rsync_rs_delta_begin" = xyes; then :
6011  RSYNC_LIBS="-lrsync"
6012else
6013  as_fn_error $? "Unable to find librsync" "$LINENO" 5
6014
6015fi
6016
6017
6018else
6019  as_fn_error $? "Unable to find librsync.h, please install librsync" "$LINENO" 5
6020
6021fi
6022
6023done
6024
6025
6026
6027
6028
6029have_readall=no
6030for ac_header in sys/prctl.h sys/capability.h
6031do :
6032  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6033ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6034if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6035  cat >>confdefs.h <<_ACEOF
6036@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6037_ACEOF
6038
6039fi
6040
6041done
6042
6043for ac_func in prctl setreuid
6044do :
6045  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6046ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6047if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6048  cat >>confdefs.h <<_ACEOF
6049@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6050_ACEOF
6051
6052fi
6053done
6054
6055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_set_proc in -lcap" >&5
6056$as_echo_n "checking for cap_set_proc in -lcap... " >&6; }
6057if ${ac_cv_lib_cap_cap_set_proc+:} false; then :
6058  $as_echo_n "(cached) " >&6
6059else
6060  ac_check_lib_save_LIBS=$LIBS
6061LIBS="-lcap  $LIBS"
6062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063/* end confdefs.h.  */
6064
6065/* Override any GCC internal prototype to avoid an error.
6066   Use char because int might match the return type of a GCC
6067   builtin and then its argument prototype would still apply.  */
6068#ifdef __cplusplus
6069extern "C"
6070#endif
6071char cap_set_proc ();
6072int
6073main ()
6074{
6075return cap_set_proc ();
6076  ;
6077  return 0;
6078}
6079_ACEOF
6080if ac_fn_c_try_link "$LINENO"; then :
6081  ac_cv_lib_cap_cap_set_proc=yes
6082else
6083  ac_cv_lib_cap_cap_set_proc=no
6084fi
6085rm -f core conftest.err conftest.$ac_objext \
6086    conftest$ac_exeext conftest.$ac_ext
6087LIBS=$ac_check_lib_save_LIBS
6088fi
6089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_set_proc" >&5
6090$as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; }
6091if test "x$ac_cv_lib_cap_cap_set_proc" = xyes; then :
6092  CAP_LIBS="-lcap"
6093else
6094  CAP_LIBS=
6095fi
6096
6097if test x$CAP_LIBS = x-lcap; then
6098   have_readall=yes
6099
6100$as_echo "@%:@define HAVE_LIBCAP 1" >>confdefs.h
6101
6102fi
6103
6104
6105
6106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether librsync has RS_BLAKE2_SIG_MAGIC" >&5
6107$as_echo_n "checking whether librsync has RS_BLAKE2_SIG_MAGIC... " >&6; }
6108cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109/* end confdefs.h.  */
6110
6111      #include <librsync.h>
6112
6113int
6114main ()
6115{
6116
6117      int x=RS_BLAKE2_SIG_MAGIC;
6118      return x;
6119
6120
6121  ;
6122  return 0;
6123}
6124_ACEOF
6125if ac_fn_c_try_compile "$LINENO"; then :
6126
6127    enable_blake2=yes
6128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6129$as_echo "yes" >&6; }
6130
6131$as_echo "@%:@define HAVE_BLAKE2 1" >>confdefs.h
6132
6133
6134else
6135
6136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137$as_echo "no" >&6; }
6138
6139
6140fi
6141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6142
6143
6144have_ncurses=no
6145
6146
6147pkg_failed=no
6148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
6149$as_echo_n "checking for ncurses... " >&6; }
6150
6151if test -n "$ncurses_CFLAGS"; then
6152    pkg_cv_ncurses_CFLAGS="$ncurses_CFLAGS"
6153 elif test -n "$PKG_CONFIG"; then
6154    if test -n "$PKG_CONFIG" && \
6155    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
6156  ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
6157  ac_status=$?
6158  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6159  test $ac_status = 0; }; then
6160  pkg_cv_ncurses_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
6161		      test "x$?" != "x0" && pkg_failed=yes
6162else
6163  pkg_failed=yes
6164fi
6165 else
6166    pkg_failed=untried
6167fi
6168if test -n "$ncurses_LIBS"; then
6169    pkg_cv_ncurses_LIBS="$ncurses_LIBS"
6170 elif test -n "$PKG_CONFIG"; then
6171    if test -n "$PKG_CONFIG" && \
6172    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
6173  ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
6174  ac_status=$?
6175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6176  test $ac_status = 0; }; then
6177  pkg_cv_ncurses_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
6178		      test "x$?" != "x0" && pkg_failed=yes
6179else
6180  pkg_failed=yes
6181fi
6182 else
6183    pkg_failed=untried
6184fi
6185
6186
6187
6188if test $pkg_failed = yes; then
6189   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190$as_echo "no" >&6; }
6191
6192if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6193        _pkg_short_errors_supported=yes
6194else
6195        _pkg_short_errors_supported=no
6196fi
6197        if test $_pkg_short_errors_supported = yes; then
6198	        ncurses_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
6199        else
6200	        ncurses_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
6201        fi
6202	# Put the nasty error message in config.log where it belongs
6203	echo "$ncurses_PKG_ERRORS" >&5
6204
6205
6206       for ac_header in ncurses.h ncurses/ncurses.h
6207do :
6208  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6209ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6210if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6211  cat >>confdefs.h <<_ACEOF
6212@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6213_ACEOF
6214
6215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curs_set in -lncurses" >&5
6216$as_echo_n "checking for curs_set in -lncurses... " >&6; }
6217if ${ac_cv_lib_ncurses_curs_set+:} false; then :
6218  $as_echo_n "(cached) " >&6
6219else
6220  ac_check_lib_save_LIBS=$LIBS
6221LIBS="-lncurses  $LIBS"
6222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223/* end confdefs.h.  */
6224
6225/* Override any GCC internal prototype to avoid an error.
6226   Use char because int might match the return type of a GCC
6227   builtin and then its argument prototype would still apply.  */
6228#ifdef __cplusplus
6229extern "C"
6230#endif
6231char curs_set ();
6232int
6233main ()
6234{
6235return curs_set ();
6236  ;
6237  return 0;
6238}
6239_ACEOF
6240if ac_fn_c_try_link "$LINENO"; then :
6241  ac_cv_lib_ncurses_curs_set=yes
6242else
6243  ac_cv_lib_ncurses_curs_set=no
6244fi
6245rm -f core conftest.err conftest.$ac_objext \
6246    conftest$ac_exeext conftest.$ac_ext
6247LIBS=$ac_check_lib_save_LIBS
6248fi
6249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_curs_set" >&5
6250$as_echo "$ac_cv_lib_ncurses_curs_set" >&6; }
6251if test "x$ac_cv_lib_ncurses_curs_set" = xyes; then :
6252
6253               NCURSES_LIBS="-lncurses"
6254               have_ncurses=yes
6255
6256$as_echo "@%:@define HAVE_NCURSES 1" >>confdefs.h
6257
6258
6259
6260fi
6261
6262
6263
6264fi
6265
6266done
6267
6268
6269
6270elif test $pkg_failed = untried; then
6271     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272$as_echo "no" >&6; }
6273
6274       for ac_header in ncurses.h ncurses/ncurses.h
6275do :
6276  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6277ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6278if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6279  cat >>confdefs.h <<_ACEOF
6280@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6281_ACEOF
6282
6283           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curs_set in -lncurses" >&5
6284$as_echo_n "checking for curs_set in -lncurses... " >&6; }
6285if ${ac_cv_lib_ncurses_curs_set+:} false; then :
6286  $as_echo_n "(cached) " >&6
6287else
6288  ac_check_lib_save_LIBS=$LIBS
6289LIBS="-lncurses  $LIBS"
6290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291/* end confdefs.h.  */
6292
6293/* Override any GCC internal prototype to avoid an error.
6294   Use char because int might match the return type of a GCC
6295   builtin and then its argument prototype would still apply.  */
6296#ifdef __cplusplus
6297extern "C"
6298#endif
6299char curs_set ();
6300int
6301main ()
6302{
6303return curs_set ();
6304  ;
6305  return 0;
6306}
6307_ACEOF
6308if ac_fn_c_try_link "$LINENO"; then :
6309  ac_cv_lib_ncurses_curs_set=yes
6310else
6311  ac_cv_lib_ncurses_curs_set=no
6312fi
6313rm -f core conftest.err conftest.$ac_objext \
6314    conftest$ac_exeext conftest.$ac_ext
6315LIBS=$ac_check_lib_save_LIBS
6316fi
6317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_curs_set" >&5
6318$as_echo "$ac_cv_lib_ncurses_curs_set" >&6; }
6319if test "x$ac_cv_lib_ncurses_curs_set" = xyes; then :
6320
6321               NCURSES_LIBS="-lncurses"
6322               have_ncurses=yes
6323
6324$as_echo "@%:@define HAVE_NCURSES 1" >>confdefs.h
6325
6326
6327
6328fi
6329
6330
6331
6332fi
6333
6334done
6335
6336
6337
6338else
6339	ncurses_CFLAGS=$pkg_cv_ncurses_CFLAGS
6340	ncurses_LIBS=$pkg_cv_ncurses_LIBS
6341        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6342$as_echo "yes" >&6; }
6343
6344       have_ncurses=yes
6345       NCURSES_LIBS="$ncurses_LIBS"
6346       CFLAGS="$CFLAGS $ncurses_CFLAGS -DHAVE_NCURSES_H=1"
6347
6348$as_echo "@%:@define HAVE_NCURSES 1" >>confdefs.h
6349
6350
6351fi
6352
6353
6354
6355
6356
6357
6358
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable systemd integration" >&5
6360$as_echo_n "checking whether to enable systemd integration... " >&6; }
6361@%:@ Check whether --enable-systemd was given.
6362if test "${enable_systemd+set}" = set; then :
6363  enableval=$enable_systemd;
6364else
6365  enable_systemd=auto
6366
6367fi
6368
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
6370$as_echo "$enable_systemd" >&6; }
6371
6372have_systemd=no
6373
6374if test "$enable_systemd" != "no"; then
6375
6376
6377pkg_failed=no
6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
6379$as_echo_n "checking for systemd... " >&6; }
6380
6381if test -n "$systemd_CFLAGS"; then
6382    pkg_cv_systemd_CFLAGS="$systemd_CFLAGS"
6383 elif test -n "$PKG_CONFIG"; then
6384    if test -n "$PKG_CONFIG" && \
6385    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
6386  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
6387  ac_status=$?
6388  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389  test $ac_status = 0; }; then
6390  pkg_cv_systemd_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
6391		      test "x$?" != "x0" && pkg_failed=yes
6392else
6393  pkg_failed=yes
6394fi
6395 else
6396    pkg_failed=untried
6397fi
6398if test -n "$systemd_LIBS"; then
6399    pkg_cv_systemd_LIBS="$systemd_LIBS"
6400 elif test -n "$PKG_CONFIG"; then
6401    if test -n "$PKG_CONFIG" && \
6402    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
6403  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
6404  ac_status=$?
6405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406  test $ac_status = 0; }; then
6407  pkg_cv_systemd_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
6408		      test "x$?" != "x0" && pkg_failed=yes
6409else
6410  pkg_failed=yes
6411fi
6412 else
6413    pkg_failed=untried
6414fi
6415
6416
6417
6418if test $pkg_failed = yes; then
6419   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420$as_echo "no" >&6; }
6421
6422if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6423        _pkg_short_errors_supported=yes
6424else
6425        _pkg_short_errors_supported=no
6426fi
6427        if test $_pkg_short_errors_supported = yes; then
6428	        systemd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
6429        else
6430	        systemd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
6431        fi
6432	# Put the nasty error message in config.log where it belongs
6433	echo "$systemd_PKG_ERRORS" >&5
6434
6435
6436         for ac_header in systemd/sd-daemon.h
6437do :
6438  ac_fn_c_check_header_mongrel "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default"
6439if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes; then :
6440  cat >>confdefs.h <<_ACEOF
6441@%:@define HAVE_SYSTEMD_SD_DAEMON_H 1
6442_ACEOF
6443
6444             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sd_listen_fds in -lsystemd" >&5
6445$as_echo_n "checking for sd_listen_fds in -lsystemd... " >&6; }
6446if ${ac_cv_lib_systemd_sd_listen_fds+:} false; then :
6447  $as_echo_n "(cached) " >&6
6448else
6449  ac_check_lib_save_LIBS=$LIBS
6450LIBS="-lsystemd  $LIBS"
6451cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452/* end confdefs.h.  */
6453
6454/* Override any GCC internal prototype to avoid an error.
6455   Use char because int might match the return type of a GCC
6456   builtin and then its argument prototype would still apply.  */
6457#ifdef __cplusplus
6458extern "C"
6459#endif
6460char sd_listen_fds ();
6461int
6462main ()
6463{
6464return sd_listen_fds ();
6465  ;
6466  return 0;
6467}
6468_ACEOF
6469if ac_fn_c_try_link "$LINENO"; then :
6470  ac_cv_lib_systemd_sd_listen_fds=yes
6471else
6472  ac_cv_lib_systemd_sd_listen_fds=no
6473fi
6474rm -f core conftest.err conftest.$ac_objext \
6475    conftest$ac_exeext conftest.$ac_ext
6476LIBS=$ac_check_lib_save_LIBS
6477fi
6478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systemd_sd_listen_fds" >&5
6479$as_echo "$ac_cv_lib_systemd_sd_listen_fds" >&6; }
6480if test "x$ac_cv_lib_systemd_sd_listen_fds" = xyes; then :
6481
6482                 SYSTEMD_LIBS="-lsystemd"
6483                 have_systemd=yes
6484
6485$as_echo "@%:@define HAVE_SYSTEMD 1" >>confdefs.h
6486
6487
6488
6489fi
6490
6491
6492
6493             if test "$enable_systemd" = "yes"; then
6494               as_fn_error $? "systemd integration cannot be enabled; perhaps systemd is not installed?" "$LINENO" 5
6495             fi
6496
6497
6498fi
6499
6500done
6501
6502
6503
6504elif test $pkg_failed = untried; then
6505     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506$as_echo "no" >&6; }
6507
6508         for ac_header in systemd/sd-daemon.h
6509do :
6510  ac_fn_c_check_header_mongrel "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default"
6511if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes; then :
6512  cat >>confdefs.h <<_ACEOF
6513@%:@define HAVE_SYSTEMD_SD_DAEMON_H 1
6514_ACEOF
6515
6516             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sd_listen_fds in -lsystemd" >&5
6517$as_echo_n "checking for sd_listen_fds in -lsystemd... " >&6; }
6518if ${ac_cv_lib_systemd_sd_listen_fds+:} false; then :
6519  $as_echo_n "(cached) " >&6
6520else
6521  ac_check_lib_save_LIBS=$LIBS
6522LIBS="-lsystemd  $LIBS"
6523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524/* end confdefs.h.  */
6525
6526/* Override any GCC internal prototype to avoid an error.
6527   Use char because int might match the return type of a GCC
6528   builtin and then its argument prototype would still apply.  */
6529#ifdef __cplusplus
6530extern "C"
6531#endif
6532char sd_listen_fds ();
6533int
6534main ()
6535{
6536return sd_listen_fds ();
6537  ;
6538  return 0;
6539}
6540_ACEOF
6541if ac_fn_c_try_link "$LINENO"; then :
6542  ac_cv_lib_systemd_sd_listen_fds=yes
6543else
6544  ac_cv_lib_systemd_sd_listen_fds=no
6545fi
6546rm -f core conftest.err conftest.$ac_objext \
6547    conftest$ac_exeext conftest.$ac_ext
6548LIBS=$ac_check_lib_save_LIBS
6549fi
6550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systemd_sd_listen_fds" >&5
6551$as_echo "$ac_cv_lib_systemd_sd_listen_fds" >&6; }
6552if test "x$ac_cv_lib_systemd_sd_listen_fds" = xyes; then :
6553
6554                 SYSTEMD_LIBS="-lsystemd"
6555                 have_systemd=yes
6556
6557$as_echo "@%:@define HAVE_SYSTEMD 1" >>confdefs.h
6558
6559
6560
6561fi
6562
6563
6564
6565             if test "$enable_systemd" = "yes"; then
6566               as_fn_error $? "systemd integration cannot be enabled; perhaps systemd is not installed?" "$LINENO" 5
6567             fi
6568
6569
6570fi
6571
6572done
6573
6574
6575
6576else
6577	systemd_CFLAGS=$pkg_cv_systemd_CFLAGS
6578	systemd_LIBS=$pkg_cv_systemd_LIBS
6579        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6580$as_echo "yes" >&6; }
6581
6582         have_systemd=yes
6583         SYSTEMD_LIBS="$systemd_LIBS"
6584         CFLAGS="$CFLAGS $systemd_CFLAGS -DHAVE_SYSTEMD=1"
6585
6586$as_echo "@%:@define HAVE_SYSTEMD 1" >>confdefs.h
6587
6588
6589fi
6590
6591
6592
6593
6594fi
6595
6596
6597
6598
6599
6600pkg_failed=no
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
6602$as_echo_n "checking for CHECK... " >&6; }
6603
6604if test -n "$CHECK_CFLAGS"; then
6605    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
6606 elif test -n "$PKG_CONFIG"; then
6607    if test -n "$PKG_CONFIG" && \
6608    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
6609  ($PKG_CONFIG --exists --print-errors "check") 2>&5
6610  ac_status=$?
6611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6612  test $ac_status = 0; }; then
6613  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
6614		      test "x$?" != "x0" && pkg_failed=yes
6615else
6616  pkg_failed=yes
6617fi
6618 else
6619    pkg_failed=untried
6620fi
6621if test -n "$CHECK_LIBS"; then
6622    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
6623 elif test -n "$PKG_CONFIG"; then
6624    if test -n "$PKG_CONFIG" && \
6625    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
6626  ($PKG_CONFIG --exists --print-errors "check") 2>&5
6627  ac_status=$?
6628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629  test $ac_status = 0; }; then
6630  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
6631		      test "x$?" != "x0" && pkg_failed=yes
6632else
6633  pkg_failed=yes
6634fi
6635 else
6636    pkg_failed=untried
6637fi
6638
6639
6640
6641if test $pkg_failed = yes; then
6642   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643$as_echo "no" >&6; }
6644
6645if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6646        _pkg_short_errors_supported=yes
6647else
6648        _pkg_short_errors_supported=no
6649fi
6650        if test $_pkg_short_errors_supported = yes; then
6651	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
6652        else
6653	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
6654        fi
6655	# Put the nasty error message in config.log where it belongs
6656	echo "$CHECK_PKG_ERRORS" >&5
6657
6658
6659        { $as_echo "$as_me:${as_lineno-$LINENO}: You will need to install 'Check' to run the test suite" >&5
6660$as_echo "$as_me: You will need to install 'Check' to run the test suite" >&6;}
6661
6662
6663elif test $pkg_failed = untried; then
6664     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665$as_echo "no" >&6; }
6666
6667        { $as_echo "$as_me:${as_lineno-$LINENO}: You will need to install 'Check' to run the test suite" >&5
6668$as_echo "$as_me: You will need to install 'Check' to run the test suite" >&6;}
6669
6670
6671else
6672	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
6673	CHECK_LIBS=$pkg_cv_CHECK_LIBS
6674        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6675$as_echo "yes" >&6; }
6676
6677fi
6678
6679
6680
6681
6682
6683
6684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ACL support" >&5
6685$as_echo_n "checking whether to enable ACL support... " >&6; }
6686@%:@ Check whether --enable-acl was given.
6687if test "${enable_acl+set}" = set; then :
6688  enableval=$enable_acl;
6689else
6690  enable_acl=auto
6691
6692fi
6693
6694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_acl" >&5
6695$as_echo "$enable_acl" >&6; }
6696
6697have_acl=no
6698if test "$enable_acl" != "no"; then
6699  for ac_header in sys/acl.h
6700do :
6701  ac_fn_c_check_header_mongrel "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default"
6702if test "x$ac_cv_header_sys_acl_h" = xyes; then :
6703  cat >>confdefs.h <<_ACEOF
6704@%:@define HAVE_SYS_ACL_H 1
6705_ACEOF
6706
6707      save_LIBS="$LIBS"
6708      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_get_file" >&5
6709$as_echo_n "checking for library containing acl_get_file... " >&6; }
6710if ${ac_cv_search_acl_get_file+:} false; then :
6711  $as_echo_n "(cached) " >&6
6712else
6713  ac_func_search_save_LIBS=$LIBS
6714cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715/* end confdefs.h.  */
6716
6717/* Override any GCC internal prototype to avoid an error.
6718   Use char because int might match the return type of a GCC
6719   builtin and then its argument prototype would still apply.  */
6720#ifdef __cplusplus
6721extern "C"
6722#endif
6723char acl_get_file ();
6724int
6725main ()
6726{
6727return acl_get_file ();
6728  ;
6729  return 0;
6730}
6731_ACEOF
6732for ac_lib in '' acl posix1e; do
6733  if test -z "$ac_lib"; then
6734    ac_res="none required"
6735  else
6736    ac_res=-l$ac_lib
6737    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6738  fi
6739  if ac_fn_c_try_link "$LINENO"; then :
6740  ac_cv_search_acl_get_file=$ac_res
6741fi
6742rm -f core conftest.err conftest.$ac_objext \
6743    conftest$ac_exeext
6744  if ${ac_cv_search_acl_get_file+:} false; then :
6745  break
6746fi
6747done
6748if ${ac_cv_search_acl_get_file+:} false; then :
6749
6750else
6751  ac_cv_search_acl_get_file=no
6752fi
6753rm conftest.$ac_ext
6754LIBS=$ac_func_search_save_LIBS
6755fi
6756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_get_file" >&5
6757$as_echo "$ac_cv_search_acl_get_file" >&6; }
6758ac_res=$ac_cv_search_acl_get_file
6759if test "$ac_res" != no; then :
6760  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6761
6762          have_acl=yes
6763          ACL_LIBS="$LIBS"
6764
6765$as_echo "@%:@define HAVE_ACL 1" >>confdefs.h
6766
6767
6768else
6769
6770          if test "$enable_acl" = "yes"; then
6771            as_fn_error $? "function 'acl_get_file not found'. Perhaps you need to install libacl?" "$LINENO" 5
6772          fi
6773
6774
6775fi
6776
6777      ACL_LIBS="$LIBS"
6778      LIBS="$save_LIBS"
6779
6780else
6781
6782      if test "$enable_acl" = "yes"; then
6783        as_fn_error $? "sys/acl.h not found" "$LINENO" 5
6784      fi
6785
6786
6787fi
6788
6789done
6790
6791fi
6792
6793
6794
6795
6796
6797
6798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XATTR support" >&5
6799$as_echo_n "checking whether to enable XATTR support... " >&6; }
6800@%:@ Check whether --enable-xattr was given.
6801if test "${enable_xattr+set}" = set; then :
6802  enableval=$enable_xattr;
6803else
6804  enable_xattr=auto
6805
6806fi
6807
6808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xattr" >&5
6809$as_echo "$enable_xattr" >&6; }
6810
6811have_xattr=no
6812
6813if test "$enable_xattr" != "no"; then
6814  for ac_header in sys/extattr.h
6815do :
6816  ac_fn_c_check_header_mongrel "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
6817if test "x$ac_cv_header_sys_extattr_h" = xyes; then :
6818  cat >>confdefs.h <<_ACEOF
6819@%:@define HAVE_SYS_EXTATTR_H 1
6820_ACEOF
6821
6822      for ac_header in libutil.h
6823do :
6824  ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
6825if test "x$ac_cv_header_libutil_h" = xyes; then :
6826  cat >>confdefs.h <<_ACEOF
6827@%:@define HAVE_LIBUTIL_H 1
6828_ACEOF
6829
6830fi
6831
6832done
6833
6834      ac_fn_c_check_decl "$LINENO" "extattr_get_link" "ac_cv_have_decl_extattr_get_link" "$ac_includes_default
6835
6836            #ifdef HAVE_SYS_EXTATTR_H
6837            #include <sys/extattr.h>
6838            #endif
6839            #ifdef HAVE_LIBUTIL_H
6840            #include <libutil.h>
6841            #endif
6842
6843
6844
6845"
6846if test "x$ac_cv_have_decl_extattr_get_link" = xyes; then :
6847  ac_have_decl=1
6848else
6849  ac_have_decl=0
6850fi
6851
6852cat >>confdefs.h <<_ACEOF
6853@%:@define HAVE_DECL_EXTATTR_GET_LINK $ac_have_decl
6854_ACEOF
6855if test $ac_have_decl = 1; then :
6856  have_xattr=yes
6857else
6858  have_xattr=no
6859fi
6860ac_fn_c_check_decl "$LINENO" "extattr_set_link" "ac_cv_have_decl_extattr_set_link" "$ac_includes_default
6861
6862            #ifdef HAVE_SYS_EXTATTR_H
6863            #include <sys/extattr.h>
6864            #endif
6865            #ifdef HAVE_LIBUTIL_H
6866            #include <libutil.h>
6867            #endif
6868
6869
6870
6871"
6872if test "x$ac_cv_have_decl_extattr_set_link" = xyes; then :
6873  ac_have_decl=1
6874else
6875  ac_have_decl=0
6876fi
6877
6878cat >>confdefs.h <<_ACEOF
6879@%:@define HAVE_DECL_EXTATTR_SET_LINK $ac_have_decl
6880_ACEOF
6881if test $ac_have_decl = 1; then :
6882  have_xattr=yes
6883else
6884  have_xattr=no
6885fi
6886ac_fn_c_check_decl "$LINENO" "extattr_list_link" "ac_cv_have_decl_extattr_list_link" "$ac_includes_default
6887
6888            #ifdef HAVE_SYS_EXTATTR_H
6889            #include <sys/extattr.h>
6890            #endif
6891            #ifdef HAVE_LIBUTIL_H
6892            #include <libutil.h>
6893            #endif
6894
6895
6896
6897"
6898if test "x$ac_cv_have_decl_extattr_list_link" = xyes; then :
6899  ac_have_decl=1
6900else
6901  ac_have_decl=0
6902fi
6903
6904cat >>confdefs.h <<_ACEOF
6905@%:@define HAVE_DECL_EXTATTR_LIST_LINK $ac_have_decl
6906_ACEOF
6907if test $ac_have_decl = 1; then :
6908  have_xattr=yes
6909else
6910  have_xattr=no
6911fi
6912ac_fn_c_check_decl "$LINENO" "extattr_namespace_to_string" "ac_cv_have_decl_extattr_namespace_to_string" "$ac_includes_default
6913
6914            #ifdef HAVE_SYS_EXTATTR_H
6915            #include <sys/extattr.h>
6916            #endif
6917            #ifdef HAVE_LIBUTIL_H
6918            #include <libutil.h>
6919            #endif
6920
6921
6922
6923"
6924if test "x$ac_cv_have_decl_extattr_namespace_to_string" = xyes; then :
6925  ac_have_decl=1
6926else
6927  ac_have_decl=0
6928fi
6929
6930cat >>confdefs.h <<_ACEOF
6931@%:@define HAVE_DECL_EXTATTR_NAMESPACE_TO_STRING $ac_have_decl
6932_ACEOF
6933if test $ac_have_decl = 1; then :
6934  have_xattr=yes
6935else
6936  have_xattr=no
6937fi
6938ac_fn_c_check_decl "$LINENO" "extattr_string_to_namespace" "ac_cv_have_decl_extattr_string_to_namespace" "$ac_includes_default
6939
6940            #ifdef HAVE_SYS_EXTATTR_H
6941            #include <sys/extattr.h>
6942            #endif
6943            #ifdef HAVE_LIBUTIL_H
6944            #include <libutil.h>
6945            #endif
6946
6947
6948
6949"
6950if test "x$ac_cv_have_decl_extattr_string_to_namespace" = xyes; then :
6951  ac_have_decl=1
6952else
6953  ac_have_decl=0
6954fi
6955
6956cat >>confdefs.h <<_ACEOF
6957@%:@define HAVE_DECL_EXTATTR_STRING_TO_NAMESPACE $ac_have_decl
6958_ACEOF
6959if test $ac_have_decl = 1; then :
6960  have_xattr=yes
6961else
6962  have_xattr=no
6963fi
6964
6965
6966else
6967  have_xattr=no
6968
6969fi
6970
6971done
6972
6973fi
6974
6975if test "$enable_xattr" != "no" && test "$have_xattr" = "no" ; then
6976  for ac_header in sys/xattr.h
6977do :
6978  ac_fn_c_check_header_mongrel "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
6979if test "x$ac_cv_header_sys_xattr_h" = xyes; then :
6980  cat >>confdefs.h <<_ACEOF
6981@%:@define HAVE_SYS_XATTR_H 1
6982_ACEOF
6983
6984      for ac_func in llistxattr lgetxattr lsetxattr listxattr getxattr setxattr
6985do :
6986  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6987ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6988if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6989  cat >>confdefs.h <<_ACEOF
6990@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6991_ACEOF
6992 have_xattr=yes
6993else
6994  have_xattr=no
6995
6996fi
6997done
6998
6999
7000else
7001  have_xattr=no
7002
7003fi
7004
7005done
7006
7007fi
7008
7009if test "$enable_xattr" = "yes" && test "$have_xattr" = "no"; then
7010  as_fn_error $? "xattr support explicitly enabled but no supported xattr implementation found" "$LINENO" 5
7011fi
7012
7013if test "$have_xattr" = "yes"; then
7014
7015$as_echo "@%:@define HAVE_XATTR 1" >>confdefs.h
7016
7017fi
7018
7019 if test "$have_xattr" = "yes"; then
7020  WITH_XATTR_TRUE=
7021  WITH_XATTR_FALSE='#'
7022else
7023  WITH_XATTR_TRUE='#'
7024  WITH_XATTR_FALSE=
7025fi
7026
7027
7028
7029
7030
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the test suite with code coverage support" >&5
7032$as_echo_n "checking whether to build the test suite with code coverage support... " >&6; }
7033
7034@%:@ Check whether --with-coverage was given.
7035if test "${with_coverage+set}" = set; then :
7036  withval=$with_coverage;
7037    COVERAGE_CFLAGS=--coverage
7038
7039    COVERAGE_LDFLAGS=--coverage
7040
7041
7042else
7043  with_coverage=no
7044
7045fi
7046
7047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_coverage" >&5
7048$as_echo "$with_coverage" >&6; }
7049 if test "$with_coverage" = "yes"; then
7050  WITH_COVERAGE_TRUE=
7051  WITH_COVERAGE_FALSE='#'
7052else
7053  WITH_COVERAGE_TRUE='#'
7054  WITH_COVERAGE_FALSE=
7055fi
7056
7057if test "$with_coverage" = "yes"; then
7058  # Extract the first word of "lcov", so it can be a program name with args.
7059set dummy lcov; ac_word=$2
7060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061$as_echo_n "checking for $ac_word... " >&6; }
7062if ${ac_cv_path_LCOV+:} false; then :
7063  $as_echo_n "(cached) " >&6
7064else
7065  case $LCOV in
7066  [\\/]* | ?:[\\/]*)
7067  ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
7068  ;;
7069  *)
7070  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071for as_dir in $PATH
7072do
7073  IFS=$as_save_IFS
7074  test -z "$as_dir" && as_dir=.
7075    for ac_exec_ext in '' $ac_executable_extensions; do
7076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077    ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
7078    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079    break 2
7080  fi
7081done
7082  done
7083IFS=$as_save_IFS
7084
7085  test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
7086  ;;
7087esac
7088fi
7089LCOV=$ac_cv_path_LCOV
7090if test -n "$LCOV"; then
7091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
7092$as_echo "$LCOV" >&6; }
7093else
7094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095$as_echo "no" >&6; }
7096fi
7097
7098
7099fi
7100
7101if test "$with_coverage" = "yes" && test "$LCOV" = "no"; then
7102  as_fn_error $? "Unable to find lcov" "$LINENO" 5
7103fi
7104
7105if test "$with_coverage" = "yes"; then
7106  # Extract the first word of "genhtml", so it can be a program name with args.
7107set dummy genhtml; ac_word=$2
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109$as_echo_n "checking for $ac_word... " >&6; }
7110if ${ac_cv_path_GENHTML+:} false; then :
7111  $as_echo_n "(cached) " >&6
7112else
7113  case $GENHTML in
7114  [\\/]* | ?:[\\/]*)
7115  ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
7116  ;;
7117  *)
7118  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119for as_dir in $PATH
7120do
7121  IFS=$as_save_IFS
7122  test -z "$as_dir" && as_dir=.
7123    for ac_exec_ext in '' $ac_executable_extensions; do
7124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125    ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
7126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127    break 2
7128  fi
7129done
7130  done
7131IFS=$as_save_IFS
7132
7133  test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
7134  ;;
7135esac
7136fi
7137GENHTML=$ac_cv_path_GENHTML
7138if test -n "$GENHTML"; then
7139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
7140$as_echo "$GENHTML" >&6; }
7141else
7142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143$as_echo "no" >&6; }
7144fi
7145
7146
7147fi
7148
7149if test "$with_coverage" = "yes" && test "$GENHTML" = "no"; then
7150  as_fn_error $? "Unable to find genhtml" "$LINENO" 5
7151fi
7152
7153
7154if test "$prefix" = "NONE" && test "$sysconfdir" = '${prefix}/etc'; then
7155  sysconfdir="/etc/${PACKAGE_TARNAME}"
7156fi
7157
7158if test "x$runstatedir" = x; then
7159  runstatedir='${localstatedir}/run'
7160
7161fi
7162
7163if test "x$scriptdir" = x; then
7164  scriptdir='${pkgdatadir}/scripts'
7165
7166fi
7167
7168# we only build with a c++ compiler at the moment
7169
7170ac_config_files="$ac_config_files Makefile"
7171
7172cat >confcache <<\_ACEOF
7173# This file is a shell script that caches the results of configure
7174# tests run on this system so they can be shared between configure
7175# scripts and configure runs, see configure's option --config-cache.
7176# It is not useful on other systems.  If it contains results you don't
7177# want to keep, you may remove or edit it.
7178#
7179# config.status only pays attention to the cache file if you give it
7180# the --recheck option to rerun configure.
7181#
7182# `ac_cv_env_foo' variables (set or unset) will be overridden when
7183# loading this file, other *unset* `ac_cv_foo' will be assigned the
7184# following values.
7185
7186_ACEOF
7187
7188# The following way of writing the cache mishandles newlines in values,
7189# but we know of no workaround that is simple, portable, and efficient.
7190# So, we kill variables containing newlines.
7191# Ultrix sh set writes to stderr and can't be redirected directly,
7192# and sets the high bit in the cache file unless we assign to the vars.
7193(
7194  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7195    eval ac_val=\$$ac_var
7196    case $ac_val in #(
7197    *${as_nl}*)
7198      case $ac_var in #(
7199      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7200$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7201      esac
7202      case $ac_var in #(
7203      _ | IFS | as_nl) ;; #(
7204      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7205      *) { eval $ac_var=; unset $ac_var;} ;;
7206      esac ;;
7207    esac
7208  done
7209
7210  (set) 2>&1 |
7211    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7212    *${as_nl}ac_space=\ *)
7213      # `set' does not quote correctly, so add quotes: double-quote
7214      # substitution turns \\\\ into \\, and sed turns \\ into \.
7215      sed -n \
7216	"s/'/'\\\\''/g;
7217	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7218      ;; #(
7219    *)
7220      # `set' quotes correctly as required by POSIX, so do not add quotes.
7221      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7222      ;;
7223    esac |
7224    sort
7225) |
7226  sed '
7227     /^ac_cv_env_/b end
7228     t clear
7229     :clear
7230     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7231     t end
7232     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7233     :end' >>confcache
7234if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7235  if test -w "$cache_file"; then
7236    if test "x$cache_file" != "x/dev/null"; then
7237      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7238$as_echo "$as_me: updating cache $cache_file" >&6;}
7239      if test ! -f "$cache_file" || test -h "$cache_file"; then
7240	cat confcache >"$cache_file"
7241      else
7242        case $cache_file in #(
7243        */* | ?:*)
7244	  mv -f confcache "$cache_file"$$ &&
7245	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7246        *)
7247	  mv -f confcache "$cache_file" ;;
7248	esac
7249      fi
7250    fi
7251  else
7252    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7253$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7254  fi
7255fi
7256rm -f confcache
7257
7258test "x$prefix" = xNONE && prefix=$ac_default_prefix
7259# Let make expand exec_prefix.
7260test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7261
7262DEFS=-DHAVE_CONFIG_H
7263
7264ac_libobjs=
7265ac_ltlibobjs=
7266U=
7267for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
7268  # 1. Remove the extension, and $U if already installed.
7269  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7270  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7271  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7272  #    will be set to the directory where LIBOBJS objects are built.
7273  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7274  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7275done
7276LIB@&t@OBJS=$ac_libobjs
7277
7278LTLIBOBJS=$ac_ltlibobjs
7279
7280
7281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7282$as_echo_n "checking that generated files are newer than configure... " >&6; }
7283   if test -n "$am_sleep_pid"; then
7284     # Hide warnings about reused PIDs.
7285     wait $am_sleep_pid 2>/dev/null
7286   fi
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7288$as_echo "done" >&6; }
7289 if test -n "$EXEEXT"; then
7290  am__EXEEXT_TRUE=
7291  am__EXEEXT_FALSE='#'
7292else
7293  am__EXEEXT_TRUE='#'
7294  am__EXEEXT_FALSE=
7295fi
7296
7297if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7298  as_fn_error $? "conditional \"AMDEP\" was never defined.
7299Usually this means the macro was only invoked conditionally." "$LINENO" 5
7300fi
7301if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7302  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7303Usually this means the macro was only invoked conditionally." "$LINENO" 5
7304fi
7305if test -z "${WITH_XATTR_TRUE}" && test -z "${WITH_XATTR_FALSE}"; then
7306  as_fn_error $? "conditional \"WITH_XATTR\" was never defined.
7307Usually this means the macro was only invoked conditionally." "$LINENO" 5
7308fi
7309if test -z "${WITH_COVERAGE_TRUE}" && test -z "${WITH_COVERAGE_FALSE}"; then
7310  as_fn_error $? "conditional \"WITH_COVERAGE\" was never defined.
7311Usually this means the macro was only invoked conditionally." "$LINENO" 5
7312fi
7313
7314: "${CONFIG_STATUS=./config.status}"
7315ac_write_fail=0
7316ac_clean_files_save=$ac_clean_files
7317ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7318{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7319$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7320as_write_fail=0
7321cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7322#! $SHELL
7323# Generated by $as_me.
7324# Run this file to recreate the current configuration.
7325# Compiler output produced by configure, useful for debugging
7326# configure, is in config.log if it exists.
7327
7328debug=false
7329ac_cs_recheck=false
7330ac_cs_silent=false
7331
7332SHELL=\${CONFIG_SHELL-$SHELL}
7333export SHELL
7334_ASEOF
7335cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7336## -------------------- ##
7337## M4sh Initialization. ##
7338## -------------------- ##
7339
7340# Be more Bourne compatible
7341DUALCASE=1; export DUALCASE # for MKS sh
7342if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7343  emulate sh
7344  NULLCMD=:
7345  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7346  # is contrary to our usage.  Disable this feature.
7347  alias -g '${1+"$@"}'='"$@"'
7348  setopt NO_GLOB_SUBST
7349else
7350  case `(set -o) 2>/dev/null` in @%:@(
7351  *posix*) :
7352    set -o posix ;; @%:@(
7353  *) :
7354     ;;
7355esac
7356fi
7357
7358
7359as_nl='
7360'
7361export as_nl
7362# Printing a long string crashes Solaris 7 /usr/bin/printf.
7363as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7364as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7365as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7366# Prefer a ksh shell builtin over an external printf program on Solaris,
7367# but without wasting forks for bash or zsh.
7368if test -z "$BASH_VERSION$ZSH_VERSION" \
7369    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7370  as_echo='print -r --'
7371  as_echo_n='print -rn --'
7372elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7373  as_echo='printf %s\n'
7374  as_echo_n='printf %s'
7375else
7376  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7377    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7378    as_echo_n='/usr/ucb/echo -n'
7379  else
7380    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7381    as_echo_n_body='eval
7382      arg=$1;
7383      case $arg in @%:@(
7384      *"$as_nl"*)
7385	expr "X$arg" : "X\\(.*\\)$as_nl";
7386	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7387      esac;
7388      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7389    '
7390    export as_echo_n_body
7391    as_echo_n='sh -c $as_echo_n_body as_echo'
7392  fi
7393  export as_echo_body
7394  as_echo='sh -c $as_echo_body as_echo'
7395fi
7396
7397# The user is always right.
7398if test "${PATH_SEPARATOR+set}" != set; then
7399  PATH_SEPARATOR=:
7400  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7401    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7402      PATH_SEPARATOR=';'
7403  }
7404fi
7405
7406
7407# IFS
7408# We need space, tab and new line, in precisely that order.  Quoting is
7409# there to prevent editors from complaining about space-tab.
7410# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7411# splitting by setting IFS to empty value.)
7412IFS=" ""	$as_nl"
7413
7414# Find who we are.  Look in the path if we contain no directory separator.
7415as_myself=
7416case $0 in @%:@((
7417  *[\\/]* ) as_myself=$0 ;;
7418  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419for as_dir in $PATH
7420do
7421  IFS=$as_save_IFS
7422  test -z "$as_dir" && as_dir=.
7423    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7424  done
7425IFS=$as_save_IFS
7426
7427     ;;
7428esac
7429# We did not find ourselves, most probably we were run as `sh COMMAND'
7430# in which case we are not to be found in the path.
7431if test "x$as_myself" = x; then
7432  as_myself=$0
7433fi
7434if test ! -f "$as_myself"; then
7435  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7436  exit 1
7437fi
7438
7439# Unset variables that we do not need and which cause bugs (e.g. in
7440# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7441# suppresses any "Segmentation fault" message there.  '((' could
7442# trigger a bug in pdksh 5.2.14.
7443for as_var in BASH_ENV ENV MAIL MAILPATH
7444do eval test x\${$as_var+set} = xset \
7445  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7446done
7447PS1='$ '
7448PS2='> '
7449PS4='+ '
7450
7451# NLS nuisances.
7452LC_ALL=C
7453export LC_ALL
7454LANGUAGE=C
7455export LANGUAGE
7456
7457# CDPATH.
7458(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7459
7460
7461@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
7462@%:@ ----------------------------------------
7463@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7464@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7465@%:@ script with STATUS, using 1 if that was 0.
7466as_fn_error ()
7467{
7468  as_status=$1; test $as_status -eq 0 && as_status=1
7469  if test "$4"; then
7470    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7471    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7472  fi
7473  $as_echo "$as_me: error: $2" >&2
7474  as_fn_exit $as_status
7475} @%:@ as_fn_error
7476
7477
7478@%:@ as_fn_set_status STATUS
7479@%:@ -----------------------
7480@%:@ Set @S|@? to STATUS, without forking.
7481as_fn_set_status ()
7482{
7483  return $1
7484} @%:@ as_fn_set_status
7485
7486@%:@ as_fn_exit STATUS
7487@%:@ -----------------
7488@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7489as_fn_exit ()
7490{
7491  set +e
7492  as_fn_set_status $1
7493  exit $1
7494} @%:@ as_fn_exit
7495
7496@%:@ as_fn_unset VAR
7497@%:@ ---------------
7498@%:@ Portably unset VAR.
7499as_fn_unset ()
7500{
7501  { eval $1=; unset $1;}
7502}
7503as_unset=as_fn_unset
7504@%:@ as_fn_append VAR VALUE
7505@%:@ ----------------------
7506@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
7507@%:@ advantage of any shell optimizations that allow amortized linear growth over
7508@%:@ repeated appends, instead of the typical quadratic growth present in naive
7509@%:@ implementations.
7510if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7511  eval 'as_fn_append ()
7512  {
7513    eval $1+=\$2
7514  }'
7515else
7516  as_fn_append ()
7517  {
7518    eval $1=\$$1\$2
7519  }
7520fi # as_fn_append
7521
7522@%:@ as_fn_arith ARG...
7523@%:@ ------------------
7524@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
7525@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
7526@%:@ must be portable across @S|@(()) and expr.
7527if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7528  eval 'as_fn_arith ()
7529  {
7530    as_val=$(( $* ))
7531  }'
7532else
7533  as_fn_arith ()
7534  {
7535    as_val=`expr "$@" || test $? -eq 1`
7536  }
7537fi # as_fn_arith
7538
7539
7540if expr a : '\(a\)' >/dev/null 2>&1 &&
7541   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7542  as_expr=expr
7543else
7544  as_expr=false
7545fi
7546
7547if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7548  as_basename=basename
7549else
7550  as_basename=false
7551fi
7552
7553if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7554  as_dirname=dirname
7555else
7556  as_dirname=false
7557fi
7558
7559as_me=`$as_basename -- "$0" ||
7560$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7561	 X"$0" : 'X\(//\)$' \| \
7562	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7563$as_echo X/"$0" |
7564    sed '/^.*\/\([^/][^/]*\)\/*$/{
7565	    s//\1/
7566	    q
7567	  }
7568	  /^X\/\(\/\/\)$/{
7569	    s//\1/
7570	    q
7571	  }
7572	  /^X\/\(\/\).*/{
7573	    s//\1/
7574	    q
7575	  }
7576	  s/.*/./; q'`
7577
7578# Avoid depending upon Character Ranges.
7579as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7580as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7581as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7582as_cr_digits='0123456789'
7583as_cr_alnum=$as_cr_Letters$as_cr_digits
7584
7585ECHO_C= ECHO_N= ECHO_T=
7586case `echo -n x` in @%:@(((((
7587-n*)
7588  case `echo 'xy\c'` in
7589  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7590  xy)  ECHO_C='\c';;
7591  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7592       ECHO_T='	';;
7593  esac;;
7594*)
7595  ECHO_N='-n';;
7596esac
7597
7598rm -f conf$$ conf$$.exe conf$$.file
7599if test -d conf$$.dir; then
7600  rm -f conf$$.dir/conf$$.file
7601else
7602  rm -f conf$$.dir
7603  mkdir conf$$.dir 2>/dev/null
7604fi
7605if (echo >conf$$.file) 2>/dev/null; then
7606  if ln -s conf$$.file conf$$ 2>/dev/null; then
7607    as_ln_s='ln -s'
7608    # ... but there are two gotchas:
7609    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7610    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7611    # In both cases, we have to default to `cp -pR'.
7612    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7613      as_ln_s='cp -pR'
7614  elif ln conf$$.file conf$$ 2>/dev/null; then
7615    as_ln_s=ln
7616  else
7617    as_ln_s='cp -pR'
7618  fi
7619else
7620  as_ln_s='cp -pR'
7621fi
7622rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7623rmdir conf$$.dir 2>/dev/null
7624
7625
7626@%:@ as_fn_mkdir_p
7627@%:@ -------------
7628@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
7629as_fn_mkdir_p ()
7630{
7631
7632  case $as_dir in #(
7633  -*) as_dir=./$as_dir;;
7634  esac
7635  test -d "$as_dir" || eval $as_mkdir_p || {
7636    as_dirs=
7637    while :; do
7638      case $as_dir in #(
7639      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7640      *) as_qdir=$as_dir;;
7641      esac
7642      as_dirs="'$as_qdir' $as_dirs"
7643      as_dir=`$as_dirname -- "$as_dir" ||
7644$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7645	 X"$as_dir" : 'X\(//\)[^/]' \| \
7646	 X"$as_dir" : 'X\(//\)$' \| \
7647	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7648$as_echo X"$as_dir" |
7649    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7650	    s//\1/
7651	    q
7652	  }
7653	  /^X\(\/\/\)[^/].*/{
7654	    s//\1/
7655	    q
7656	  }
7657	  /^X\(\/\/\)$/{
7658	    s//\1/
7659	    q
7660	  }
7661	  /^X\(\/\).*/{
7662	    s//\1/
7663	    q
7664	  }
7665	  s/.*/./; q'`
7666      test -d "$as_dir" && break
7667    done
7668    test -z "$as_dirs" || eval "mkdir $as_dirs"
7669  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7670
7671
7672} @%:@ as_fn_mkdir_p
7673if mkdir -p . 2>/dev/null; then
7674  as_mkdir_p='mkdir -p "$as_dir"'
7675else
7676  test -d ./-p && rmdir ./-p
7677  as_mkdir_p=false
7678fi
7679
7680
7681@%:@ as_fn_executable_p FILE
7682@%:@ -----------------------
7683@%:@ Test if FILE is an executable regular file.
7684as_fn_executable_p ()
7685{
7686  test -f "$1" && test -x "$1"
7687} @%:@ as_fn_executable_p
7688as_test_x='test -x'
7689as_executable_p=as_fn_executable_p
7690
7691# Sed expression to map a string onto a valid CPP name.
7692as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7693
7694# Sed expression to map a string onto a valid variable name.
7695as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7696
7697
7698exec 6>&1
7699## ----------------------------------- ##
7700## Main body of $CONFIG_STATUS script. ##
7701## ----------------------------------- ##
7702_ASEOF
7703test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7704
7705cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7706# Save the log message, to keep $0 and so on meaningful, and to
7707# report actual input values of CONFIG_FILES etc. instead of their
7708# values after options handling.
7709ac_log="
7710This file was extended by Burp $as_me 2.4.0, which was
7711generated by GNU Autoconf 2.69.  Invocation command line was
7712
7713  CONFIG_FILES    = $CONFIG_FILES
7714  CONFIG_HEADERS  = $CONFIG_HEADERS
7715  CONFIG_LINKS    = $CONFIG_LINKS
7716  CONFIG_COMMANDS = $CONFIG_COMMANDS
7717  $ $0 $@
7718
7719on `(hostname || uname -n) 2>/dev/null | sed 1q`
7720"
7721
7722_ACEOF
7723
7724case $ac_config_files in *"
7725"*) set x $ac_config_files; shift; ac_config_files=$*;;
7726esac
7727
7728case $ac_config_headers in *"
7729"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7730esac
7731
7732
7733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7734# Files that config.status was made for.
7735config_files="$ac_config_files"
7736config_headers="$ac_config_headers"
7737config_commands="$ac_config_commands"
7738
7739_ACEOF
7740
7741cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7742ac_cs_usage="\
7743\`$as_me' instantiates files and other configuration actions
7744from templates according to the current configuration.  Unless the files
7745and actions are specified as TAGs, all are instantiated by default.
7746
7747Usage: $0 [OPTION]... [TAG]...
7748
7749  -h, --help       print this help, then exit
7750  -V, --version    print version number and configuration settings, then exit
7751      --config     print configuration, then exit
7752  -q, --quiet, --silent
7753                   do not print progress messages
7754  -d, --debug      don't remove temporary files
7755      --recheck    update $as_me by reconfiguring in the same conditions
7756      --file=FILE[:TEMPLATE]
7757                   instantiate the configuration file FILE
7758      --header=FILE[:TEMPLATE]
7759                   instantiate the configuration header FILE
7760
7761Configuration files:
7762$config_files
7763
7764Configuration headers:
7765$config_headers
7766
7767Configuration commands:
7768$config_commands
7769
7770Report bugs to <https://github.com/grke/burp/issues>.
7771Burp home page: <http://burp.grke.net/>."
7772
7773_ACEOF
7774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7775ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7776ac_cs_version="\\
7777Burp config.status 2.4.0
7778configured by $0, generated by GNU Autoconf 2.69,
7779  with options \\"\$ac_cs_config\\"
7780
7781Copyright (C) 2012 Free Software Foundation, Inc.
7782This config.status script is free software; the Free Software Foundation
7783gives unlimited permission to copy, distribute and modify it."
7784
7785ac_pwd='$ac_pwd'
7786srcdir='$srcdir'
7787INSTALL='$INSTALL'
7788MKDIR_P='$MKDIR_P'
7789AWK='$AWK'
7790test -n "\$AWK" || AWK=awk
7791_ACEOF
7792
7793cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7794# The default lists apply if the user does not specify any file.
7795ac_need_defaults=:
7796while test $# != 0
7797do
7798  case $1 in
7799  --*=?*)
7800    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7801    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7802    ac_shift=:
7803    ;;
7804  --*=)
7805    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7806    ac_optarg=
7807    ac_shift=:
7808    ;;
7809  *)
7810    ac_option=$1
7811    ac_optarg=$2
7812    ac_shift=shift
7813    ;;
7814  esac
7815
7816  case $ac_option in
7817  # Handling of the options.
7818  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7819    ac_cs_recheck=: ;;
7820  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7821    $as_echo "$ac_cs_version"; exit ;;
7822  --config | --confi | --conf | --con | --co | --c )
7823    $as_echo "$ac_cs_config"; exit ;;
7824  --debug | --debu | --deb | --de | --d | -d )
7825    debug=: ;;
7826  --file | --fil | --fi | --f )
7827    $ac_shift
7828    case $ac_optarg in
7829    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7830    '') as_fn_error $? "missing file argument" ;;
7831    esac
7832    as_fn_append CONFIG_FILES " '$ac_optarg'"
7833    ac_need_defaults=false;;
7834  --header | --heade | --head | --hea )
7835    $ac_shift
7836    case $ac_optarg in
7837    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7838    esac
7839    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7840    ac_need_defaults=false;;
7841  --he | --h)
7842    # Conflict between --help and --header
7843    as_fn_error $? "ambiguous option: \`$1'
7844Try \`$0 --help' for more information.";;
7845  --help | --hel | -h )
7846    $as_echo "$ac_cs_usage"; exit ;;
7847  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7848  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7849    ac_cs_silent=: ;;
7850
7851  # This is an error.
7852  -*) as_fn_error $? "unrecognized option: \`$1'
7853Try \`$0 --help' for more information." ;;
7854
7855  *) as_fn_append ac_config_targets " $1"
7856     ac_need_defaults=false ;;
7857
7858  esac
7859  shift
7860done
7861
7862ac_configure_extra_args=
7863
7864if $ac_cs_silent; then
7865  exec 6>/dev/null
7866  ac_configure_extra_args="$ac_configure_extra_args --silent"
7867fi
7868
7869_ACEOF
7870cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7871if \$ac_cs_recheck; then
7872  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7873  shift
7874  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7875  CONFIG_SHELL='$SHELL'
7876  export CONFIG_SHELL
7877  exec "\$@"
7878fi
7879
7880_ACEOF
7881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7882exec 5>>config.log
7883{
7884  echo
7885  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
7886@%:@@%:@ Running $as_me. @%:@@%:@
7887_ASBOX
7888  $as_echo "$ac_log"
7889} >&5
7890
7891_ACEOF
7892cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7893#
7894# INIT-COMMANDS
7895#
7896AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7897
7898_ACEOF
7899
7900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7901
7902# Handling of arguments.
7903for ac_config_target in $ac_config_targets
7904do
7905  case $ac_config_target in
7906    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
7907    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7908    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7909
7910  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7911  esac
7912done
7913
7914
7915# If the user did not use the arguments to specify the items to instantiate,
7916# then the envvar interface is used.  Set only those that are not.
7917# We use the long form for the default assignment because of an extremely
7918# bizarre bug on SunOS 4.1.3.
7919if $ac_need_defaults; then
7920  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7921  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7922  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7923fi
7924
7925# Have a temporary directory for convenience.  Make it in the build tree
7926# simply because there is no reason against having it here, and in addition,
7927# creating and moving files from /tmp can sometimes cause problems.
7928# Hook for its removal unless debugging.
7929# Note that there is a small window in which the directory will not be cleaned:
7930# after its creation but before its name has been assigned to `$tmp'.
7931$debug ||
7932{
7933  tmp= ac_tmp=
7934  trap 'exit_status=$?
7935  : "${ac_tmp:=$tmp}"
7936  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7937' 0
7938  trap 'as_fn_exit 1' 1 2 13 15
7939}
7940# Create a (secure) tmp directory for tmp files.
7941
7942{
7943  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7944  test -d "$tmp"
7945}  ||
7946{
7947  tmp=./conf$$-$RANDOM
7948  (umask 077 && mkdir "$tmp")
7949} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7950ac_tmp=$tmp
7951
7952# Set up the scripts for CONFIG_FILES section.
7953# No need to generate them if there are no CONFIG_FILES.
7954# This happens for instance with `./config.status config.h'.
7955if test -n "$CONFIG_FILES"; then
7956
7957
7958ac_cr=`echo X | tr X '\015'`
7959# On cygwin, bash can eat \r inside `` if the user requested igncr.
7960# But we know of no other shell where ac_cr would be empty at this
7961# point, so we can use a bashism as a fallback.
7962if test "x$ac_cr" = x; then
7963  eval ac_cr=\$\'\\r\'
7964fi
7965ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7966if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7967  ac_cs_awk_cr='\\r'
7968else
7969  ac_cs_awk_cr=$ac_cr
7970fi
7971
7972echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7973_ACEOF
7974
7975
7976{
7977  echo "cat >conf$$subs.awk <<_ACEOF" &&
7978  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7979  echo "_ACEOF"
7980} >conf$$subs.sh ||
7981  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7982ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7983ac_delim='%!_!# '
7984for ac_last_try in false false false false false :; do
7985  . ./conf$$subs.sh ||
7986    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7987
7988  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7989  if test $ac_delim_n = $ac_delim_num; then
7990    break
7991  elif $ac_last_try; then
7992    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7993  else
7994    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7995  fi
7996done
7997rm -f conf$$subs.sh
7998
7999cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8000cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8001_ACEOF
8002sed -n '
8003h
8004s/^/S["/; s/!.*/"]=/
8005p
8006g
8007s/^[^!]*!//
8008:repl
8009t repl
8010s/'"$ac_delim"'$//
8011t delim
8012:nl
8013h
8014s/\(.\{148\}\)..*/\1/
8015t more1
8016s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8017p
8018n
8019b repl
8020:more1
8021s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8022p
8023g
8024s/.\{148\}//
8025t nl
8026:delim
8027h
8028s/\(.\{148\}\)..*/\1/
8029t more2
8030s/["\\]/\\&/g; s/^/"/; s/$/"/
8031p
8032b
8033:more2
8034s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8035p
8036g
8037s/.\{148\}//
8038t delim
8039' <conf$$subs.awk | sed '
8040/^[^""]/{
8041  N
8042  s/\n//
8043}
8044' >>$CONFIG_STATUS || ac_write_fail=1
8045rm -f conf$$subs.awk
8046cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8047_ACAWK
8048cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8049  for (key in S) S_is_set[key] = 1
8050  FS = ""
8051
8052}
8053{
8054  line = $ 0
8055  nfields = split(line, field, "@")
8056  substed = 0
8057  len = length(field[1])
8058  for (i = 2; i < nfields; i++) {
8059    key = field[i]
8060    keylen = length(key)
8061    if (S_is_set[key]) {
8062      value = S[key]
8063      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8064      len += length(value) + length(field[++i])
8065      substed = 1
8066    } else
8067      len += 1 + keylen
8068  }
8069
8070  print line
8071}
8072
8073_ACAWK
8074_ACEOF
8075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8076if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8077  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8078else
8079  cat
8080fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8081  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8082_ACEOF
8083
8084# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8085# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8086# trailing colons and then remove the whole line if VPATH becomes empty
8087# (actually we leave an empty line to preserve line numbers).
8088if test "x$srcdir" = x.; then
8089  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8090h
8091s///
8092s/^/:/
8093s/[	 ]*$/:/
8094s/:\$(srcdir):/:/g
8095s/:\${srcdir}:/:/g
8096s/:@srcdir@:/:/g
8097s/^:*//
8098s/:*$//
8099x
8100s/\(=[	 ]*\).*/\1/
8101G
8102s/\n//
8103s/^[^=]*=[	 ]*$//
8104}'
8105fi
8106
8107cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8108fi # test -n "$CONFIG_FILES"
8109
8110# Set up the scripts for CONFIG_HEADERS section.
8111# No need to generate them if there are no CONFIG_HEADERS.
8112# This happens for instance with `./config.status Makefile'.
8113if test -n "$CONFIG_HEADERS"; then
8114cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8115BEGIN {
8116_ACEOF
8117
8118# Transform confdefs.h into an awk script `defines.awk', embedded as
8119# here-document in config.status, that substitutes the proper values into
8120# config.h.in to produce config.h.
8121
8122# Create a delimiter string that does not exist in confdefs.h, to ease
8123# handling of long lines.
8124ac_delim='%!_!# '
8125for ac_last_try in false false :; do
8126  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8127  if test -z "$ac_tt"; then
8128    break
8129  elif $ac_last_try; then
8130    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8131  else
8132    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8133  fi
8134done
8135
8136# For the awk script, D is an array of macro values keyed by name,
8137# likewise P contains macro parameters if any.  Preserve backslash
8138# newline sequences.
8139
8140ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8141sed -n '
8142s/.\{148\}/&'"$ac_delim"'/g
8143t rset
8144:rset
8145s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
8146t def
8147d
8148:def
8149s/\\$//
8150t bsnl
8151s/["\\]/\\&/g
8152s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8153D["\1"]=" \3"/p
8154s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
8155d
8156:bsnl
8157s/["\\]/\\&/g
8158s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
8159D["\1"]=" \3\\\\\\n"\\/p
8160t cont
8161s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8162t cont
8163d
8164:cont
8165n
8166s/.\{148\}/&'"$ac_delim"'/g
8167t clear
8168:clear
8169s/\\$//
8170t bsnlc
8171s/["\\]/\\&/g; s/^/"/; s/$/"/p
8172d
8173:bsnlc
8174s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8175b cont
8176' <confdefs.h | sed '
8177s/'"$ac_delim"'/"\\\
8178"/g' >>$CONFIG_STATUS || ac_write_fail=1
8179
8180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8181  for (key in D) D_is_set[key] = 1
8182  FS = ""
8183}
8184/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8185  line = \$ 0
8186  split(line, arg, " ")
8187  if (arg[1] == "#") {
8188    defundef = arg[2]
8189    mac1 = arg[3]
8190  } else {
8191    defundef = substr(arg[1], 2)
8192    mac1 = arg[2]
8193  }
8194  split(mac1, mac2, "(") #)
8195  macro = mac2[1]
8196  prefix = substr(line, 1, index(line, defundef) - 1)
8197  if (D_is_set[macro]) {
8198    # Preserve the white space surrounding the "#".
8199    print prefix "define", macro P[macro] D[macro]
8200    next
8201  } else {
8202    # Replace #undef with comments.  This is necessary, for example,
8203    # in the case of _POSIX_SOURCE, which is predefined and required
8204    # on some systems where configure will not decide to define it.
8205    if (defundef == "undef") {
8206      print "/*", prefix defundef, macro, "*/"
8207      next
8208    }
8209  }
8210}
8211{ print }
8212_ACAWK
8213_ACEOF
8214cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8215  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8216fi # test -n "$CONFIG_HEADERS"
8217
8218
8219eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8220shift
8221for ac_tag
8222do
8223  case $ac_tag in
8224  :[FHLC]) ac_mode=$ac_tag; continue;;
8225  esac
8226  case $ac_mode$ac_tag in
8227  :[FHL]*:*);;
8228  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8229  :[FH]-) ac_tag=-:-;;
8230  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8231  esac
8232  ac_save_IFS=$IFS
8233  IFS=:
8234  set x $ac_tag
8235  IFS=$ac_save_IFS
8236  shift
8237  ac_file=$1
8238  shift
8239
8240  case $ac_mode in
8241  :L) ac_source=$1;;
8242  :[FH])
8243    ac_file_inputs=
8244    for ac_f
8245    do
8246      case $ac_f in
8247      -) ac_f="$ac_tmp/stdin";;
8248      *) # Look for the file first in the build tree, then in the source tree
8249	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8250	 # because $ac_f cannot contain `:'.
8251	 test -f "$ac_f" ||
8252	   case $ac_f in
8253	   [\\/$]*) false;;
8254	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8255	   esac ||
8256	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8257      esac
8258      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8259      as_fn_append ac_file_inputs " '$ac_f'"
8260    done
8261
8262    # Let's still pretend it is `configure' which instantiates (i.e., don't
8263    # use $as_me), people would be surprised to read:
8264    #    /* config.h.  Generated by config.status.  */
8265    configure_input='Generated from '`
8266	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8267	`' by configure.'
8268    if test x"$ac_file" != x-; then
8269      configure_input="$ac_file.  $configure_input"
8270      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8271$as_echo "$as_me: creating $ac_file" >&6;}
8272    fi
8273    # Neutralize special characters interpreted by sed in replacement strings.
8274    case $configure_input in #(
8275    *\&* | *\|* | *\\* )
8276       ac_sed_conf_input=`$as_echo "$configure_input" |
8277       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8278    *) ac_sed_conf_input=$configure_input;;
8279    esac
8280
8281    case $ac_tag in
8282    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8283      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8284    esac
8285    ;;
8286  esac
8287
8288  ac_dir=`$as_dirname -- "$ac_file" ||
8289$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8290	 X"$ac_file" : 'X\(//\)[^/]' \| \
8291	 X"$ac_file" : 'X\(//\)$' \| \
8292	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8293$as_echo X"$ac_file" |
8294    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8295	    s//\1/
8296	    q
8297	  }
8298	  /^X\(\/\/\)[^/].*/{
8299	    s//\1/
8300	    q
8301	  }
8302	  /^X\(\/\/\)$/{
8303	    s//\1/
8304	    q
8305	  }
8306	  /^X\(\/\).*/{
8307	    s//\1/
8308	    q
8309	  }
8310	  s/.*/./; q'`
8311  as_dir="$ac_dir"; as_fn_mkdir_p
8312  ac_builddir=.
8313
8314case "$ac_dir" in
8315.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8316*)
8317  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8318  # A ".." for each directory in $ac_dir_suffix.
8319  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8320  case $ac_top_builddir_sub in
8321  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8322  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8323  esac ;;
8324esac
8325ac_abs_top_builddir=$ac_pwd
8326ac_abs_builddir=$ac_pwd$ac_dir_suffix
8327# for backward compatibility:
8328ac_top_builddir=$ac_top_build_prefix
8329
8330case $srcdir in
8331  .)  # We are building in place.
8332    ac_srcdir=.
8333    ac_top_srcdir=$ac_top_builddir_sub
8334    ac_abs_top_srcdir=$ac_pwd ;;
8335  [\\/]* | ?:[\\/]* )  # Absolute name.
8336    ac_srcdir=$srcdir$ac_dir_suffix;
8337    ac_top_srcdir=$srcdir
8338    ac_abs_top_srcdir=$srcdir ;;
8339  *) # Relative name.
8340    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8341    ac_top_srcdir=$ac_top_build_prefix$srcdir
8342    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8343esac
8344ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8345
8346
8347  case $ac_mode in
8348  :F)
8349  #
8350  # CONFIG_FILE
8351  #
8352
8353  case $INSTALL in
8354  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8355  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8356  esac
8357  ac_MKDIR_P=$MKDIR_P
8358  case $MKDIR_P in
8359  [\\/$]* | ?:[\\/]* ) ;;
8360  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8361  esac
8362_ACEOF
8363
8364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8365# If the template does not know about datarootdir, expand it.
8366# FIXME: This hack should be removed a few years after 2.60.
8367ac_datarootdir_hack=; ac_datarootdir_seen=
8368ac_sed_dataroot='
8369/datarootdir/ {
8370  p
8371  q
8372}
8373/@datadir@/p
8374/@docdir@/p
8375/@infodir@/p
8376/@localedir@/p
8377/@mandir@/p'
8378case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8379*datarootdir*) ac_datarootdir_seen=yes;;
8380*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8381  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8382$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8383_ACEOF
8384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8385  ac_datarootdir_hack='
8386  s&@datadir@&$datadir&g
8387  s&@docdir@&$docdir&g
8388  s&@infodir@&$infodir&g
8389  s&@localedir@&$localedir&g
8390  s&@mandir@&$mandir&g
8391  s&\\\${datarootdir}&$datarootdir&g' ;;
8392esac
8393_ACEOF
8394
8395# Neutralize VPATH when `$srcdir' = `.'.
8396# Shell code in configure.ac might set extrasub.
8397# FIXME: do we really want to maintain this feature?
8398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8399ac_sed_extra="$ac_vpsub
8400$extrasub
8401_ACEOF
8402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8403:t
8404/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8405s|@configure_input@|$ac_sed_conf_input|;t t
8406s&@top_builddir@&$ac_top_builddir_sub&;t t
8407s&@top_build_prefix@&$ac_top_build_prefix&;t t
8408s&@srcdir@&$ac_srcdir&;t t
8409s&@abs_srcdir@&$ac_abs_srcdir&;t t
8410s&@top_srcdir@&$ac_top_srcdir&;t t
8411s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8412s&@builddir@&$ac_builddir&;t t
8413s&@abs_builddir@&$ac_abs_builddir&;t t
8414s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8415s&@INSTALL@&$ac_INSTALL&;t t
8416s&@MKDIR_P@&$ac_MKDIR_P&;t t
8417$ac_datarootdir_hack
8418"
8419eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8420  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8421
8422test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8423  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8424  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8425      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8426  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8427which seems to be undefined.  Please make sure it is defined" >&5
8428$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8429which seems to be undefined.  Please make sure it is defined" >&2;}
8430
8431  rm -f "$ac_tmp/stdin"
8432  case $ac_file in
8433  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8434  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8435  esac \
8436  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8437 ;;
8438  :H)
8439  #
8440  # CONFIG_HEADER
8441  #
8442  if test x"$ac_file" != x-; then
8443    {
8444      $as_echo "/* $configure_input  */" \
8445      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8446    } >"$ac_tmp/config.h" \
8447      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8448    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8449      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8450$as_echo "$as_me: $ac_file is unchanged" >&6;}
8451    else
8452      rm -f "$ac_file"
8453      mv "$ac_tmp/config.h" "$ac_file" \
8454	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8455    fi
8456  else
8457    $as_echo "/* $configure_input  */" \
8458      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8459      || as_fn_error $? "could not create -" "$LINENO" 5
8460  fi
8461# Compute "$ac_file"'s index in $config_headers.
8462_am_arg="$ac_file"
8463_am_stamp_count=1
8464for _am_header in $config_headers :; do
8465  case $_am_header in
8466    $_am_arg | $_am_arg:* )
8467      break ;;
8468    * )
8469      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8470  esac
8471done
8472echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8473$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8474	 X"$_am_arg" : 'X\(//\)[^/]' \| \
8475	 X"$_am_arg" : 'X\(//\)$' \| \
8476	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8477$as_echo X"$_am_arg" |
8478    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8479	    s//\1/
8480	    q
8481	  }
8482	  /^X\(\/\/\)[^/].*/{
8483	    s//\1/
8484	    q
8485	  }
8486	  /^X\(\/\/\)$/{
8487	    s//\1/
8488	    q
8489	  }
8490	  /^X\(\/\).*/{
8491	    s//\1/
8492	    q
8493	  }
8494	  s/.*/./; q'`/stamp-h$_am_stamp_count
8495 ;;
8496
8497  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8498$as_echo "$as_me: executing $ac_file commands" >&6;}
8499 ;;
8500  esac
8501
8502
8503  case $ac_file$ac_mode in
8504    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8505  # Older Autoconf quotes --file arguments for eval, but not when files
8506  # are listed without --file.  Let's play safe and only enable the eval
8507  # if we detect the quoting.
8508  # TODO: see whether this extra hack can be removed once we start
8509  # requiring Autoconf 2.70 or later.
8510  case $CONFIG_FILES in @%:@(
8511  *\'*) :
8512    eval set x "$CONFIG_FILES" ;; @%:@(
8513  *) :
8514    set x $CONFIG_FILES ;; @%:@(
8515  *) :
8516     ;;
8517esac
8518  shift
8519  # Used to flag and report bootstrapping failures.
8520  am_rc=0
8521  for am_mf
8522  do
8523    # Strip MF so we end up with the name of the file.
8524    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
8525    # Check whether this is an Automake generated Makefile which includes
8526    # dependency-tracking related rules and includes.
8527    # Grep'ing the whole file directly is not great: AIX grep has a line
8528    # limit of 2048, but all sed's we know have understand at least 4000.
8529    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
8530      || continue
8531    am_dirpart=`$as_dirname -- "$am_mf" ||
8532$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8533	 X"$am_mf" : 'X\(//\)[^/]' \| \
8534	 X"$am_mf" : 'X\(//\)$' \| \
8535	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8536$as_echo X"$am_mf" |
8537    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8538	    s//\1/
8539	    q
8540	  }
8541	  /^X\(\/\/\)[^/].*/{
8542	    s//\1/
8543	    q
8544	  }
8545	  /^X\(\/\/\)$/{
8546	    s//\1/
8547	    q
8548	  }
8549	  /^X\(\/\).*/{
8550	    s//\1/
8551	    q
8552	  }
8553	  s/.*/./; q'`
8554    am_filepart=`$as_basename -- "$am_mf" ||
8555$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8556	 X"$am_mf" : 'X\(//\)$' \| \
8557	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8558$as_echo X/"$am_mf" |
8559    sed '/^.*\/\([^/][^/]*\)\/*$/{
8560	    s//\1/
8561	    q
8562	  }
8563	  /^X\/\(\/\/\)$/{
8564	    s//\1/
8565	    q
8566	  }
8567	  /^X\/\(\/\).*/{
8568	    s//\1/
8569	    q
8570	  }
8571	  s/.*/./; q'`
8572    { echo "$as_me:$LINENO: cd "$am_dirpart" \
8573      && sed -e '/# am--include-marker/d' "$am_filepart" \
8574        | $MAKE -f - am--depfiles" >&5
8575   (cd "$am_dirpart" \
8576      && sed -e '/# am--include-marker/d' "$am_filepart" \
8577        | $MAKE -f - am--depfiles) >&5 2>&5
8578   ac_status=$?
8579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580   (exit $ac_status); } || am_rc=$?
8581  done
8582  if test $am_rc -ne 0; then
8583    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8585as_fn_error $? "Something went wrong bootstrapping makefile fragments
8586    for automatic dependency tracking.  Try re-running configure with the
8587    '--disable-dependency-tracking' option to at least be able to build
8588    the package (albeit without support for automatic dependency tracking).
8589See \`config.log' for more details" "$LINENO" 5; }
8590  fi
8591  { am_dirpart=; unset am_dirpart;}
8592  { am_filepart=; unset am_filepart;}
8593  { am_mf=; unset am_mf;}
8594  { am_rc=; unset am_rc;}
8595  rm -f conftest-deps.mk
8596}
8597 ;;
8598
8599  esac
8600done # for ac_tag
8601
8602
8603as_fn_exit 0
8604_ACEOF
8605ac_clean_files=$ac_clean_files_save
8606
8607test $ac_write_fail = 0 ||
8608  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8609
8610
8611# configure is writing to config.log, and then calls config.status.
8612# config.status does its own redirection, appending to config.log.
8613# Unfortunately, on DOS this fails, as config.log is still kept open
8614# by configure, so config.status won't be able to write to it; its
8615# output is simply discarded.  So we exec the FD to /dev/null,
8616# effectively closing config.log, so it can be properly (re)opened and
8617# appended to by config.status.  When coming back to configure, we
8618# need to make the FD available again.
8619if test "$no_create" != yes; then
8620  ac_cs_success=:
8621  ac_config_status_args=
8622  test "$silent" = yes &&
8623    ac_config_status_args="$ac_config_status_args --quiet"
8624  exec 5>/dev/null
8625  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8626  exec 5>>config.log
8627  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8628  # would make configure fail if this is the last instruction.
8629  $ac_cs_success || as_fn_exit 1
8630fi
8631if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8632  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8633$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8634fi
8635
8636
8637{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8638$as_echo "$as_me: " >&6;}
8639{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5
8640$as_echo "$as_me: Configuration summary" >&6;}
8641{ $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5
8642$as_echo "$as_me: =====================" >&6;}
8643{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8644$as_echo "$as_me: " >&6;}
8645{ $as_echo "$as_me:${as_lineno-$LINENO}:                Package: ${PACKAGE_NAME}" >&5
8646$as_echo "$as_me:                Package: ${PACKAGE_NAME}" >&6;}
8647{ $as_echo "$as_me:${as_lineno-$LINENO}:               Tar name: ${PACKAGE_TARNAME}" >&5
8648$as_echo "$as_me:               Tar name: ${PACKAGE_TARNAME}" >&6;}
8649{ $as_echo "$as_me:${as_lineno-$LINENO}:                Version: ${PACKAGE_VERSION}" >&5
8650$as_echo "$as_me:                Version: ${PACKAGE_VERSION}" >&6;}
8651{ $as_echo "$as_me:${as_lineno-$LINENO}:                   Host: ${host}" >&5
8652$as_echo "$as_me:                   Host: ${host}" >&6;}
8653{ $as_echo "$as_me:${as_lineno-$LINENO}:       Install binaries: ${sbindir}" >&5
8654$as_echo "$as_me:       Install binaries: ${sbindir}" >&6;}
8655{ $as_echo "$as_me:${as_lineno-$LINENO}:   Install config files: ${sysconfdir}" >&5
8656$as_echo "$as_me:   Install config files: ${sysconfdir}" >&6;}
8657{ $as_echo "$as_me:${as_lineno-$LINENO}:             C Compiler: ${CC}" >&5
8658$as_echo "$as_me:             C Compiler: ${CC}" >&6;}
8659{ $as_echo "$as_me:${as_lineno-$LINENO}:     Preprocessor flags: ${CPPFLAGS}" >&5
8660$as_echo "$as_me:     Preprocessor flags: ${CPPFLAGS}" >&6;}
8661{ $as_echo "$as_me:${as_lineno-$LINENO}:         Compiler flags: ${CFLAGS}" >&5
8662$as_echo "$as_me:         Compiler flags: ${CFLAGS}" >&6;}
8663{ $as_echo "$as_me:${as_lineno-$LINENO}:           Linker flags: ${LDFLAGS}" >&5
8664$as_echo "$as_me:           Linker flags: ${LDFLAGS}" >&6;}
8665{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8666$as_echo "$as_me: " >&6;}
8667{ $as_echo "$as_me:${as_lineno-$LINENO}:                    acl: ${have_acl}" >&5
8668$as_echo "$as_me:                    acl: ${have_acl}" >&6;}
8669{ $as_echo "$as_me:${as_lineno-$LINENO}:                  crypt: ${have_crypt}" >&5
8670$as_echo "$as_me:                  crypt: ${have_crypt}" >&6;}
8671{ $as_echo "$as_me:${as_lineno-$LINENO}:                   ipv6: ${enable_ipv6}" >&5
8672$as_echo "$as_me:                   ipv6: ${enable_ipv6}" >&6;}
8673{ $as_echo "$as_me:${as_lineno-$LINENO}:                ncurses: ${have_ncurses}" >&5
8674$as_echo "$as_me:                ncurses: ${have_ncurses}" >&6;}
8675{ $as_echo "$as_me:${as_lineno-$LINENO}:                systemd: ${have_systemd}" >&5
8676$as_echo "$as_me:                systemd: ${have_systemd}" >&6;}
8677{ $as_echo "$as_me:${as_lineno-$LINENO}:                readall: ${have_readall}" >&5
8678$as_echo "$as_me:                readall: ${have_readall}" >&6;}
8679{ $as_echo "$as_me:${as_lineno-$LINENO}:                openssl: ${have_ssl}" >&5
8680$as_echo "$as_me:                openssl: ${have_ssl}" >&6;}
8681{ $as_echo "$as_me:${as_lineno-$LINENO}:                  xattr: ${have_xattr}" >&5
8682$as_echo "$as_me:                  xattr: ${have_xattr}" >&6;}
8683{ $as_echo "$as_me:${as_lineno-$LINENO}:                   zlib: ${ac_cv_header_zlib_h}" >&5
8684$as_echo "$as_me:                   zlib: ${ac_cv_header_zlib_h}" >&6;}
8685{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
8686$as_echo "$as_me: " >&6;}
8687
8688