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