1481a5ccdes#! /bin/sh
2481a5ccdes# Guess values for system-dependent variables and create Makefiles.
393ec55edes# Generated by GNU Autoconf 2.69 for ldns 1.7.0.
4481a5ccdes#
5481a5ccdes# Report bugs to <libdns@nlnetlabs.nl>.
6481a5ccdes#
7481a5ccdes#
893ec55edes# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9481a5ccdes#
10481a5ccdes#
11481a5ccdes# This configure script is free software; the Free Software Foundation
12481a5ccdes# gives unlimited permission to copy, distribute and modify it.
13481a5ccdes## -------------------- ##
14481a5ccdes## M4sh Initialization. ##
15481a5ccdes## -------------------- ##
16481a5ccdes
17481a5ccdes# Be more Bourne compatible
18481a5ccdesDUALCASE=1; export DUALCASE # for MKS sh
19481a5ccdesif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20481a5ccdes  emulate sh
21481a5ccdes  NULLCMD=:
22481a5ccdes  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23481a5ccdes  # is contrary to our usage.  Disable this feature.
24481a5ccdes  alias -g '${1+"$@"}'='"$@"'
25481a5ccdes  setopt NO_GLOB_SUBST
26481a5ccdeselse
27481a5ccdes  case `(set -o) 2>/dev/null` in #(
28481a5ccdes  *posix*) :
29481a5ccdes    set -o posix ;; #(
30481a5ccdes  *) :
31481a5ccdes     ;;
32481a5ccdesesac
33481a5ccdesfi
34481a5ccdes
35481a5ccdes
36481a5ccdesas_nl='
37481a5ccdes'
38481a5ccdesexport as_nl
39481a5ccdes# Printing a long string crashes Solaris 7 /usr/bin/printf.
40481a5ccdesas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41481a5ccdesas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42481a5ccdesas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43481a5ccdes# Prefer a ksh shell builtin over an external printf program on Solaris,
44481a5ccdes# but without wasting forks for bash or zsh.
45481a5ccdesif test -z "$BASH_VERSION$ZSH_VERSION" \
46481a5ccdes    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47481a5ccdes  as_echo='print -r --'
48481a5ccdes  as_echo_n='print -rn --'
49481a5ccdeselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50481a5ccdes  as_echo='printf %s\n'
51481a5ccdes  as_echo_n='printf %s'
52481a5ccdeselse
53481a5ccdes  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54481a5ccdes    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55481a5ccdes    as_echo_n='/usr/ucb/echo -n'
56481a5ccdes  else
57481a5ccdes    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58481a5ccdes    as_echo_n_body='eval
59481a5ccdes      arg=$1;
60481a5ccdes      case $arg in #(
61481a5ccdes      *"$as_nl"*)
62481a5ccdes	expr "X$arg" : "X\\(.*\\)$as_nl";
63481a5ccdes	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64481a5ccdes      esac;
65481a5ccdes      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66481a5ccdes    '
67481a5ccdes    export as_echo_n_body
68481a5ccdes    as_echo_n='sh -c $as_echo_n_body as_echo'
69481a5ccdes  fi
70481a5ccdes  export as_echo_body
71481a5ccdes  as_echo='sh -c $as_echo_body as_echo'
72481a5ccdesfi
73481a5ccdes
74481a5ccdes# The user is always right.
75481a5ccdesif test "${PATH_SEPARATOR+set}" != set; then
76481a5ccdes  PATH_SEPARATOR=:
77481a5ccdes  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78481a5ccdes    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79481a5ccdes      PATH_SEPARATOR=';'
80481a5ccdes  }
81481a5ccdesfi
82481a5ccdes
83481a5ccdes
84481a5ccdes# IFS
85481a5ccdes# We need space, tab and new line, in precisely that order.  Quoting is
86481a5ccdes# there to prevent editors from complaining about space-tab.
87481a5ccdes# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88481a5ccdes# splitting by setting IFS to empty value.)
89481a5ccdesIFS=" ""	$as_nl"
90481a5ccdes
91481a5ccdes# Find who we are.  Look in the path if we contain no directory separator.
92481a5ccdesas_myself=
93481a5ccdescase $0 in #((
94481a5ccdes  *[\\/]* ) as_myself=$0 ;;
95481a5ccdes  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96481a5ccdesfor as_dir in $PATH
97481a5ccdesdo
98481a5ccdes  IFS=$as_save_IFS
99481a5ccdes  test -z "$as_dir" && as_dir=.
100481a5ccdes    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101481a5ccdes  done
102481a5ccdesIFS=$as_save_IFS
103481a5ccdes
104481a5ccdes     ;;
105481a5ccdesesac
106481a5ccdes# We did not find ourselves, most probably we were run as `sh COMMAND'
107481a5ccdes# in which case we are not to be found in the path.
108481a5ccdesif test "x$as_myself" = x; then
109481a5ccdes  as_myself=$0
110481a5ccdesfi
111481a5ccdesif test ! -f "$as_myself"; then
112481a5ccdes  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113481a5ccdes  exit 1
114481a5ccdesfi
115481a5ccdes
116481a5ccdes# Unset variables that we do not need and which cause bugs (e.g. in
117481a5ccdes# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118481a5ccdes# suppresses any "Segmentation fault" message there.  '((' could
119481a5ccdes# trigger a bug in pdksh 5.2.14.
120481a5ccdesfor as_var in BASH_ENV ENV MAIL MAILPATH
121481a5ccdesdo eval test x\${$as_var+set} = xset \
122481a5ccdes  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123481a5ccdesdone
124481a5ccdesPS1='$ '
125481a5ccdesPS2='> '
126481a5ccdesPS4='+ '
127481a5ccdes
128481a5ccdes# NLS nuisances.
129481a5ccdesLC_ALL=C
130481a5ccdesexport LC_ALL
131481a5ccdesLANGUAGE=C
132481a5ccdesexport LANGUAGE
133481a5ccdes
134481a5ccdes# CDPATH.
135481a5ccdes(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136481a5ccdes
13793ec55edes# Use a proper internal environment variable to ensure we don't fall
13893ec55edes  # into an infinite loop, continuously re-executing ourselves.
13993ec55edes  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
14093ec55edes    _as_can_reexec=no; export _as_can_reexec;
14193ec55edes    # We cannot yet assume a decent shell, so we have to provide a
14293ec55edes# neutralization value for shells without unset; and this also
14393ec55edes# works around shells that cannot unset nonexistent variables.
14493ec55edes# Preserve -v and -x to the replacement shell.
14593ec55edesBASH_ENV=/dev/null
14693ec55edesENV=/dev/null
14793ec55edes(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
14893ec55edescase $- in # ((((
14993ec55edes  *v*x* | *x*v* ) as_opts=-vx ;;
15093ec55edes  *v* ) as_opts=-v ;;
15193ec55edes  *x* ) as_opts=-x ;;
15293ec55edes  * ) as_opts= ;;
15393ec55edesesac
15493ec55edesexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
15593ec55edes# Admittedly, this is quite paranoid, since all the known shells bail
15693ec55edes# out after a failed `exec'.
15793ec55edes$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
15893ec55edesas_fn_exit 255
15993ec55edes  fi
16093ec55edes  # We don't want this to propagate to other subprocesses.
16193ec55edes          { _as_can_reexec=; unset _as_can_reexec;}
162481a5ccdesif test "x$CONFIG_SHELL" = x; then
163481a5ccdes  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164481a5ccdes  emulate sh
165481a5ccdes  NULLCMD=:
166481a5ccdes  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167481a5ccdes  # is contrary to our usage.  Disable this feature.
168481a5ccdes  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169481a5ccdes  setopt NO_GLOB_SUBST
170481a5ccdeselse
171481a5ccdes  case \`(set -o) 2>/dev/null\` in #(
172481a5ccdes  *posix*) :
173481a5ccdes    set -o posix ;; #(
174481a5ccdes  *) :
175481a5ccdes     ;;
176481a5ccdesesac
177481a5ccdesfi
178481a5ccdes"
179481a5ccdes  as_required="as_fn_return () { (exit \$1); }
180481a5ccdesas_fn_success () { as_fn_return 0; }
181481a5ccdesas_fn_failure () { as_fn_return 1; }
182481a5ccdesas_fn_ret_success () { return 0; }
183481a5ccdesas_fn_ret_failure () { return 1; }
184481a5ccdes
185481a5ccdesexitcode=0
186481a5ccdesas_fn_success || { exitcode=1; echo as_fn_success failed.; }
187481a5ccdesas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188481a5ccdesas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189481a5ccdesas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190481a5ccdesif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191481a5ccdes
192481a5ccdeselse
193481a5ccdes  exitcode=1; echo positional parameters were not saved.
194481a5ccdesfi
19593ec55edestest x\$exitcode = x0 || exit 1
19693ec55edestest -x / || exit 1"
197481a5ccdes  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198481a5ccdes  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199481a5ccdes  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200481a5ccdes  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201481a5ccdestest \$(( 1 + 1 )) = 2 || exit 1"
202481a5ccdes  if (eval "$as_required") 2>/dev/null; then :
203481a5ccdes  as_have_required=yes
204481a5ccdeselse
205481a5ccdes  as_have_required=no
206481a5ccdesfi
207481a5ccdes  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208481a5ccdes
209481a5ccdeselse
210481a5ccdes  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211481a5ccdesas_found=false
212481a5ccdesfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213481a5ccdesdo
214481a5ccdes  IFS=$as_save_IFS
215481a5ccdes  test -z "$as_dir" && as_dir=.
216481a5ccdes  as_found=:
217481a5ccdes  case $as_dir in #(
218481a5ccdes	 /*)
219481a5ccdes	   for as_base in sh bash ksh sh5; do
220481a5ccdes	     # Try only shells that exist, to save several forks.
221481a5ccdes	     as_shell=$as_dir/$as_base
222481a5ccdes	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223481a5ccdes		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224481a5ccdes  CONFIG_SHELL=$as_shell as_have_required=yes
225481a5ccdes		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226481a5ccdes  break 2
227481a5ccdesfi
228481a5ccdesfi
229481a5ccdes	   done;;
230481a5ccdes       esac
231481a5ccdes  as_found=false
232481a5ccdesdone
233481a5ccdes$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234481a5ccdes	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235481a5ccdes  CONFIG_SHELL=$SHELL as_have_required=yes
236481a5ccdesfi; }
237481a5ccdesIFS=$as_save_IFS
238481a5ccdes
239481a5ccdes
240481a5ccdes      if test "x$CONFIG_SHELL" != x; then :
24193ec55edes  export CONFIG_SHELL
24293ec55edes             # We cannot yet assume a decent shell, so we have to provide a
24393ec55edes# neutralization value for shells without unset; and this also
24493ec55edes# works around shells that cannot unset nonexistent variables.
24593ec55edes# Preserve -v and -x to the replacement shell.
24693ec55edesBASH_ENV=/dev/null
24793ec55edesENV=/dev/null
24893ec55edes(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
24993ec55edescase $- in # ((((
25093ec55edes  *v*x* | *x*v* ) as_opts=-vx ;;
25193ec55edes  *v* ) as_opts=-v ;;
25293ec55edes  *x* ) as_opts=-x ;;
25393ec55edes  * ) as_opts= ;;
25493ec55edesesac
25593ec55edesexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
25693ec55edes# Admittedly, this is quite paranoid, since all the known shells bail
25793ec55edes# out after a failed `exec'.
25893ec55edes$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
25993ec55edesexit 255
260481a5ccdesfi
261481a5ccdes
262481a5ccdes    if test x$as_have_required = xno; then :
263481a5ccdes  $as_echo "$0: This script requires a shell more modern than all"
264481a5ccdes  $as_echo "$0: the shells that I found on your system."
265481a5ccdes  if test x${ZSH_VERSION+set} = xset ; then
266481a5ccdes    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267481a5ccdes    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268481a5ccdes  else
269481a5ccdes    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270481a5ccdes$0: libdns@nlnetlabs.nl about your system, including any
271481a5ccdes$0: error possibly output before this message. Then install
272481a5ccdes$0: a modern shell, or manually run the script under such a
273481a5ccdes$0: shell if you do have one."
274481a5ccdes  fi
275481a5ccdes  exit 1
276481a5ccdesfi
277481a5ccdesfi
278481a5ccdesfi
279481a5ccdesSHELL=${CONFIG_SHELL-/bin/sh}
280481a5ccdesexport SHELL
281481a5ccdes# Unset more variables known to interfere with behavior of common tools.
282481a5ccdesCLICOLOR_FORCE= GREP_OPTIONS=
283481a5ccdesunset CLICOLOR_FORCE GREP_OPTIONS
284481a5ccdes
285481a5ccdes## --------------------- ##
286481a5ccdes## M4sh Shell Functions. ##
287481a5ccdes## --------------------- ##
288481a5ccdes# as_fn_unset VAR
289481a5ccdes# ---------------
290481a5ccdes# Portably unset VAR.
291481a5ccdesas_fn_unset ()
292481a5ccdes{
293481a5ccdes  { eval $1=; unset $1;}
294481a5ccdes}
295481a5ccdesas_unset=as_fn_unset
296481a5ccdes
297481a5ccdes# as_fn_set_status STATUS
298481a5ccdes# -----------------------
299481a5ccdes# Set $? to STATUS, without forking.
300481a5ccdesas_fn_set_status ()
301481a5ccdes{
302481a5ccdes  return $1
303481a5ccdes} # as_fn_set_status
304481a5ccdes
305481a5ccdes# as_fn_exit STATUS
306481a5ccdes# -----------------
307481a5ccdes# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308481a5ccdesas_fn_exit ()
309481a5ccdes{
310481a5ccdes  set +e
311481a5ccdes  as_fn_set_status $1
312481a5ccdes  exit $1
313481a5ccdes} # as_fn_exit
314481a5ccdes
315481a5ccdes# as_fn_mkdir_p
316481a5ccdes# -------------
317481a5ccdes# Create "$as_dir" as a directory, including parents if necessary.
318481a5ccdesas_fn_mkdir_p ()
319481a5ccdes{
320481a5ccdes
321481a5ccdes  case $as_dir in #(
322481a5ccdes  -*) as_dir=./$as_dir;;
323481a5ccdes  esac
324481a5ccdes  test -d "$as_dir" || eval $as_mkdir_p || {
325481a5ccdes    as_dirs=
326481a5ccdes    while :; do
327481a5ccdes      case $as_dir in #(
328481a5ccdes      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329481a5ccdes      *) as_qdir=$as_dir;;
330481a5ccdes      esac
331481a5ccdes      as_dirs="'$as_qdir' $as_dirs"
332481a5ccdes      as_dir=`$as_dirname -- "$as_dir" ||
333481a5ccdes$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334481a5ccdes	 X"$as_dir" : 'X\(//\)[^/]' \| \
335481a5ccdes	 X"$as_dir" : 'X\(//\)$' \| \
336481a5ccdes	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337481a5ccdes$as_echo X"$as_dir" |
338481a5ccdes    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339481a5ccdes	    s//\1/
340481a5ccdes	    q
341481a5ccdes	  }
342481a5ccdes	  /^X\(\/\/\)[^/].*/{
343481a5ccdes	    s//\1/
344481a5ccdes	    q
345481a5ccdes	  }
346481a5ccdes	  /^X\(\/\/\)$/{
347481a5ccdes	    s//\1/
348481a5ccdes	    q
349481a5ccdes	  }
350481a5ccdes	  /^X\(\/\).*/{
351481a5ccdes	    s//\1/
352481a5ccdes	    q
353481a5ccdes	  }
354481a5ccdes	  s/.*/./; q'`
355481a5ccdes      test -d "$as_dir" && break
356481a5ccdes    done
357481a5ccdes    test -z "$as_dirs" || eval "mkdir $as_dirs"
358481a5ccdes  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359481a5ccdes
360481a5ccdes
361481a5ccdes} # as_fn_mkdir_p
36293ec55edes
36393ec55edes# as_fn_executable_p FILE
36493ec55edes# -----------------------
36593ec55edes# Test if FILE is an executable regular file.
36693ec55edesas_fn_executable_p ()
36793ec55edes{
36893ec55edes  test -f "$1" && test -x "$1"
36993ec55edes} # as_fn_executable_p
370481a5ccdes# as_fn_append VAR VALUE
371481a5ccdes# ----------------------
372481a5ccdes# Append the text in VALUE to the end of the definition contained in VAR. Take
373481a5ccdes# advantage of any shell optimizations that allow amortized linear growth over
374481a5ccdes# repeated appends, instead of the typical quadratic growth present in naive
375481a5ccdes# implementations.
376481a5ccdesif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377481a5ccdes  eval 'as_fn_append ()
378481a5ccdes  {
379481a5ccdes    eval $1+=\$2
380481a5ccdes  }'
381481a5ccdeselse
382481a5ccdes  as_fn_append ()
383481a5ccdes  {
384481a5ccdes    eval $1=\$$1\$2
385481a5ccdes  }
386481a5ccdesfi # as_fn_append
387481a5ccdes
388481a5ccdes# as_fn_arith ARG...
389481a5ccdes# ------------------
390481a5ccdes# Perform arithmetic evaluation on the ARGs, and store the result in the
391481a5ccdes# global $as_val. Take advantage of shells that can avoid forks. The arguments
392481a5ccdes# must be portable across $(()) and expr.
393481a5ccdesif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394481a5ccdes  eval 'as_fn_arith ()
395481a5ccdes  {
396481a5ccdes    as_val=$(( $* ))
397481a5ccdes  }'
398481a5ccdeselse
399481a5ccdes  as_fn_arith ()
400481a5ccdes  {
401481a5ccdes    as_val=`expr "$@" || test $? -eq 1`
402481a5ccdes  }
403481a5ccdesfi # as_fn_arith
404481a5ccdes
405481a5ccdes
406481a5ccdes# as_fn_error STATUS ERROR [LINENO LOG_FD]
407481a5ccdes# ----------------------------------------
408481a5ccdes# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409481a5ccdes# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410481a5ccdes# script with STATUS, using 1 if that was 0.
411481a5ccdesas_fn_error ()
412481a5ccdes{
413481a5ccdes  as_status=$1; test $as_status -eq 0 && as_status=1
414481a5ccdes  if test "$4"; then
415481a5ccdes    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417481a5ccdes  fi
418481a5ccdes  $as_echo "$as_me: error: $2" >&2
419481a5ccdes  as_fn_exit $as_status
420481a5ccdes} # as_fn_error
421481a5ccdes
422481a5ccdesif expr a : '\(a\)' >/dev/null 2>&1 &&
423481a5ccdes   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424481a5ccdes  as_expr=expr
425481a5ccdeselse
426481a5ccdes  as_expr=false
427481a5ccdesfi
428481a5ccdes
429481a5ccdesif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430481a5ccdes  as_basename=basename
431481a5ccdeselse
432481a5ccdes  as_basename=false
433481a5ccdesfi
434481a5ccdes
435481a5ccdesif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436481a5ccdes  as_dirname=dirname
437481a5ccdeselse
438481a5ccdes  as_dirname=false
439481a5ccdesfi
440481a5ccdes
441481a5ccdesas_me=`$as_basename -- "$0" ||
442481a5ccdes$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443481a5ccdes	 X"$0" : 'X\(//\)$' \| \
444481a5ccdes	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445481a5ccdes$as_echo X/"$0" |
446481a5ccdes    sed '/^.*\/\([^/][^/]*\)\/*$/{
447481a5ccdes	    s//\1/
448481a5ccdes	    q
449481a5ccdes	  }
450481a5ccdes	  /^X\/\(\/\/\)$/{
451481a5ccdes	    s//\1/
452481a5ccdes	    q
453481a5ccdes	  }
454481a5ccdes	  /^X\/\(\/\).*/{
455481a5ccdes	    s//\1/
456481a5ccdes	    q
457481a5ccdes	  }
458481a5ccdes	  s/.*/./; q'`
459481a5ccdes
460481a5ccdes# Avoid depending upon Character Ranges.
461481a5ccdesas_cr_letters='abcdefghijklmnopqrstuvwxyz'
462481a5ccdesas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463481a5ccdesas_cr_Letters=$as_cr_letters$as_cr_LETTERS
464481a5ccdesas_cr_digits='0123456789'
465481a5ccdesas_cr_alnum=$as_cr_Letters$as_cr_digits
466481a5ccdes
467481a5ccdes
468481a5ccdes  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469481a5ccdes  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470481a5ccdes  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471481a5ccdes  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472481a5ccdes  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473481a5ccdes  sed -n '
474481a5ccdes    p
475481a5ccdes    /[$]LINENO/=
476481a5ccdes  ' <$as_myself |
477481a5ccdes    sed '
478481a5ccdes      s/[$]LINENO.*/&-/
479481a5ccdes      t lineno
480481a5ccdes      b
481481a5ccdes      :lineno
482481a5ccdes      N
483481a5ccdes      :loop
484481a5ccdes      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485481a5ccdes      t loop
486481a5ccdes      s/-\n.*//
487481a5ccdes    ' >$as_me.lineno &&
488481a5ccdes  chmod +x "$as_me.lineno" ||
489481a5ccdes    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490481a5ccdes
49193ec55edes  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
49293ec55edes  # already done that, so ensure we don't try to do so again and fall
49393ec55edes  # in an infinite loop.  This has already happened in practice.
49493ec55edes  _as_can_reexec=no; export _as_can_reexec
495481a5ccdes  # Don't try to exec as it changes $[0], causing all sort of problems
496481a5ccdes  # (the dirname of $[0] is not the place where we might find the
497481a5ccdes  # original and so on.  Autoconf is especially sensitive to this).
498481a5ccdes  . "./$as_me.lineno"
499481a5ccdes  # Exit status is that of the last command.
500481a5ccdes  exit
501481a5ccdes}
502481a5ccdes
503481a5ccdesECHO_C= ECHO_N= ECHO_T=
504481a5ccdescase `echo -n x` in #(((((
505481a5ccdes-n*)
506481a5ccdes  case `echo 'xy\c'` in
507481a5ccdes  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508481a5ccdes  xy)  ECHO_C='\c';;
509481a5ccdes  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510481a5ccdes       ECHO_T='	';;
511481a5ccdes  esac;;
512481a5ccdes*)
513481a5ccdes  ECHO_N='-n';;
514481a5ccdesesac
515481a5ccdes
516481a5ccdesrm -f conf$$ conf$$.exe conf$$.file
517481a5ccdesif test -d conf$$.dir; then
518481a5ccdes  rm -f conf$$.dir/conf$$.file
519481a5ccdeselse
520481a5ccdes  rm -f conf$$.dir
521481a5ccdes  mkdir conf$$.dir 2>/dev/null
522481a5ccdesfi
523481a5ccdesif (echo >conf$$.file) 2>/dev/null; then
524481a5ccdes  if ln -s conf$$.file conf$$ 2>/dev/null; then
525481a5ccdes    as_ln_s='ln -s'
526481a5ccdes    # ... but there are two gotchas:
527481a5ccdes    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528481a5ccdes    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52993ec55edes    # In both cases, we have to default to `cp -pR'.
530481a5ccdes    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53193ec55edes      as_ln_s='cp -pR'
532481a5ccdes  elif ln conf$$.file conf$$ 2>/dev/null; then
533481a5ccdes    as_ln_s=ln
534481a5ccdes  else
53593ec55edes    as_ln_s='cp -pR'
536481a5ccdes  fi
537481a5ccdeselse
53893ec55edes  as_ln_s='cp -pR'
539481a5ccdesfi
540481a5ccdesrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541481a5ccdesrmdir conf$$.dir 2>/dev/null
542481a5ccdes
543481a5ccdesif mkdir -p . 2>/dev/null; then
544481a5ccdes  as_mkdir_p='mkdir -p "$as_dir"'
545481a5ccdeselse
546481a5ccdes  test -d ./-p && rmdir ./-p
547481a5ccdes  as_mkdir_p=false
548481a5ccdesfi
549481a5ccdes
55093ec55edesas_test_x='test -x'
55193ec55edesas_executable_p=as_fn_executable_p
552481a5ccdes
553481a5ccdes# Sed expression to map a string onto a valid CPP name.
554481a5ccdesas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555481a5ccdes
556481a5ccdes# Sed expression to map a string onto a valid variable name.
557481a5ccdesas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558481a5ccdes
559481a5ccdes
560481a5ccdestest -n "$DJDIR" || exec 7<&0 </dev/null
561481a5ccdesexec 6>&1
562481a5ccdes
563481a5ccdes# Name of the host.
564481a5ccdes# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565481a5ccdes# so uname gets run too.
566481a5ccdesac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567481a5ccdes
568481a5ccdes#
569481a5ccdes# Initializations.
570481a5ccdes#
571481a5ccdesac_default_prefix=/usr/local
572481a5ccdesac_clean_files=
573481a5ccdesac_config_libobj_dir=.
574481a5ccdesLIBOBJS=
575481a5ccdescross_compiling=no
576481a5ccdessubdirs=
577481a5ccdesMFLAGS=
578481a5ccdesMAKEFLAGS=
579481a5ccdes
580481a5ccdes# Identity of this package.
581481a5ccdesPACKAGE_NAME='ldns'
582481a5ccdesPACKAGE_TARNAME='libdns'
58393ec55edesPACKAGE_VERSION='1.7.0'
58493ec55edesPACKAGE_STRING='ldns 1.7.0'
585481a5ccdesPACKAGE_BUGREPORT='libdns@nlnetlabs.nl'
586481a5ccdesPACKAGE_URL=''
587481a5ccdes
588481a5ccdesac_unique_file="drill.c"
589481a5ccdes# Factoring default headers for most tests.
590481a5ccdesac_includes_default="\
591481a5ccdes#include <stdio.h>
592481a5ccdes#ifdef HAVE_SYS_TYPES_H
593481a5ccdes# include <sys/types.h>
594481a5ccdes#endif
595481a5ccdes#ifdef HAVE_SYS_STAT_H
596481a5ccdes# include <sys/stat.h>
597481a5ccdes#endif
598481a5ccdes#ifdef STDC_HEADERS
599481a5ccdes# include <stdlib.h>
600481a5ccdes# include <stddef.h>
601481a5ccdes#else
602481a5ccdes# ifdef HAVE_STDLIB_H
603481a5ccdes#  include <stdlib.h>
604481a5ccdes# endif
605481a5ccdes#endif
606481a5ccdes#ifdef HAVE_STRING_H
607481a5ccdes# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608481a5ccdes#  include <memory.h>
609481a5ccdes# endif
610481a5ccdes# include <string.h>
611481a5ccdes#endif
612481a5ccdes#ifdef HAVE_STRINGS_H
613481a5ccdes# include <strings.h>
614481a5ccdes#endif
615481a5ccdes#ifdef HAVE_INTTYPES_H
616481a5ccdes# include <inttypes.h>
617481a5ccdes#endif
618481a5ccdes#ifdef HAVE_STDINT_H
619481a5ccdes# include <stdint.h>
620481a5ccdes#endif
621481a5ccdes#ifdef HAVE_UNISTD_H
622481a5ccdes# include <unistd.h>
623481a5ccdes#endif"
624481a5ccdes
625481a5ccdesac_subst_vars='LTLIBOBJS
626481a5ccdesLIBOBJS
627f748542desLDNS_TRUST_ANCHOR_FILE
628481a5ccdesLDNSDIR
629481a5ccdesLIBS_STC
630481a5ccdesRUNTIME_PATH
631481a5ccdesHAVE_SSL
632481a5ccdeslibtool
633481a5ccdesSET_MAKE
634481a5ccdesEGREP
635481a5ccdesGREP
636481a5ccdesCPP
637481a5ccdesOBJEXT
638481a5ccdesEXEEXT
639481a5ccdesac_ct_CC
640481a5ccdesCPPFLAGS
641481a5ccdesLDFLAGS
642481a5ccdesCFLAGS
643481a5ccdesCC
644481a5ccdestarget_alias
645481a5ccdeshost_alias
646481a5ccdesbuild_alias
647481a5ccdesLIBS
648481a5ccdesECHO_T
649481a5ccdesECHO_N
650481a5ccdesECHO_C
651481a5ccdesDEFS
652481a5ccdesmandir
653481a5ccdeslocaledir
654481a5ccdeslibdir
655481a5ccdespsdir
656481a5ccdespdfdir
657481a5ccdesdvidir
658481a5ccdeshtmldir
659481a5ccdesinfodir
660481a5ccdesdocdir
661481a5ccdesoldincludedir
662481a5ccdesincludedir
663481a5ccdeslocalstatedir
664481a5ccdessharedstatedir
665481a5ccdessysconfdir
666481a5ccdesdatadir
667481a5ccdesdatarootdir
668481a5ccdeslibexecdir
669481a5ccdessbindir
670481a5ccdesbindir
671481a5ccdesprogram_transform_name
672481a5ccdesprefix
673481a5ccdesexec_prefix
674481a5ccdesPACKAGE_URL
675481a5ccdesPACKAGE_BUGREPORT
676481a5ccdesPACKAGE_STRING
677481a5ccdesPACKAGE_VERSION
678481a5ccdesPACKAGE_TARNAME
679481a5ccdesPACKAGE_NAME
680481a5ccdesPATH_SEPARATOR
681481a5ccdesSHELL'
682481a5ccdesac_subst_files=''
683481a5ccdesac_user_opts='
684481a5ccdesenable_option_checking
685481a5ccdesenable_rpath
686481a5ccdeswith_ssl
687481a5ccdeswith_ldns
688f748542deswith_trust_anchor
689481a5ccdes'
690481a5ccdes      ac_precious_vars='build_alias
691481a5ccdeshost_alias
692481a5ccdestarget_alias
693481a5ccdesCC
694481a5ccdesCFLAGS
695481a5ccdesLDFLAGS
696481a5ccdesLIBS
697481a5ccdesCPPFLAGS
698481a5ccdesCPP'
699481a5ccdes
700481a5ccdes
701481a5ccdes# Initialize some variables set by options.
702481a5ccdesac_init_help=
703481a5ccdesac_init_version=false
704481a5ccdesac_unrecognized_opts=
705481a5ccdesac_unrecognized_sep=
706481a5ccdes# The variables have the same names as the options, with
707481a5ccdes# dashes changed to underlines.
708481a5ccdescache_file=/dev/null
709481a5ccdesexec_prefix=NONE
710481a5ccdesno_create=
711481a5ccdesno_recursion=
712481a5ccdesprefix=NONE
713481a5ccdesprogram_prefix=NONE
714481a5ccdesprogram_suffix=NONE
715481a5ccdesprogram_transform_name=s,x,x,
716481a5ccdessilent=
717481a5ccdessite=
718481a5ccdessrcdir=
719481a5ccdesverbose=
720481a5ccdesx_includes=NONE
721481a5ccdesx_libraries=NONE
722481a5ccdes
723481a5ccdes# Installation directory options.
724481a5ccdes# These are left unexpanded so users can "make install exec_prefix=/foo"
725481a5ccdes# and all the variables that are supposed to be based on exec_prefix
726481a5ccdes# by default will actually change.
727481a5ccdes# Use braces instead of parens because sh, perl, etc. also accept them.
728481a5ccdes# (The list follows the same order as the GNU Coding Standards.)
729481a5ccdesbindir='${exec_prefix}/bin'
730481a5ccdessbindir='${exec_prefix}/sbin'
731481a5ccdeslibexecdir='${exec_prefix}/libexec'
732481a5ccdesdatarootdir='${prefix}/share'
733481a5ccdesdatadir='${datarootdir}'
734481a5ccdessysconfdir='${prefix}/etc'
735481a5ccdessharedstatedir='${prefix}/com'
736481a5ccdeslocalstatedir='${prefix}/var'
737481a5ccdesincludedir='${prefix}/include'
738481a5ccdesoldincludedir='/usr/include'
739481a5ccdesdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740481a5ccdesinfodir='${datarootdir}/info'
741481a5ccdeshtmldir='${docdir}'
742481a5ccdesdvidir='${docdir}'
743481a5ccdespdfdir='${docdir}'
744481a5ccdespsdir='${docdir}'
745481a5ccdeslibdir='${exec_prefix}/lib'
746481a5ccdeslocaledir='${datarootdir}/locale'
747481a5ccdesmandir='${datarootdir}/man'
748481a5ccdes
749481a5ccdesac_prev=
750481a5ccdesac_dashdash=
751481a5ccdesfor ac_option
752481a5ccdesdo
753481a5ccdes  # If the previous option needs an argument, assign it.
754481a5ccdes  if test -n "$ac_prev"; then
755481a5ccdes    eval $ac_prev=\$ac_option
756481a5ccdes    ac_prev=
757481a5ccdes    continue
758481a5ccdes  fi
759481a5ccdes
760481a5ccdes  case $ac_option in
761481a5ccdes  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762481a5ccdes  *=)   ac_optarg= ;;
763481a5ccdes  *)    ac_optarg=yes ;;
764481a5ccdes  esac
765481a5ccdes
766481a5ccdes  # Accept the important Cygnus configure options, so we can diagnose typos.
767481a5ccdes
768481a5ccdes  case $ac_dashdash$ac_option in
769481a5ccdes  --)
770481a5ccdes    ac_dashdash=yes ;;
771481a5ccdes
772481a5ccdes  -bindir | --bindir | --bindi | --bind | --bin | --bi)
773481a5ccdes    ac_prev=bindir ;;
774481a5ccdes  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775481a5ccdes    bindir=$ac_optarg ;;
776481a5ccdes
777481a5ccdes  -build | --build | --buil | --bui | --bu)
778481a5ccdes    ac_prev=build_alias ;;
779481a5ccdes  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780481a5ccdes    build_alias=$ac_optarg ;;
781481a5ccdes
782481a5ccdes  -cache-file | --cache-file | --cache-fil | --cache-fi \
783481a5ccdes  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784481a5ccdes    ac_prev=cache_file ;;
785481a5ccdes  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786481a5ccdes  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787481a5ccdes    cache_file=$ac_optarg ;;
788481a5ccdes
789481a5ccdes  --config-cache | -C)
790481a5ccdes    cache_file=config.cache ;;
791481a5ccdes
792481a5ccdes  -datadir | --datadir | --datadi | --datad)
793481a5ccdes    ac_prev=datadir ;;
794481a5ccdes  -datadir=* | --datadir=* | --datadi=* | --datad=*)
795481a5ccdes    datadir=$ac_optarg ;;
796481a5ccdes
797481a5ccdes  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798481a5ccdes  | --dataroo | --dataro | --datar)
799481a5ccdes    ac_prev=datarootdir ;;
800481a5ccdes  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801481a5ccdes  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802481a5ccdes    datarootdir=$ac_optarg ;;
803481a5ccdes
804481a5ccdes  -disable-* | --disable-*)
805481a5ccdes    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806481a5ccdes    # Reject names that are not valid shell variable names.
807481a5ccdes    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808481a5ccdes      as_fn_error $? "invalid feature name: $ac_useropt"
809481a5ccdes    ac_useropt_orig=$ac_useropt
810481a5ccdes    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811481a5ccdes    case $ac_user_opts in
812481a5ccdes      *"
813481a5ccdes"enable_$ac_useropt"
814481a5ccdes"*) ;;
815481a5ccdes      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816481a5ccdes	 ac_unrecognized_sep=', ';;
817481a5ccdes    esac
818481a5ccdes    eval enable_$ac_useropt=no ;;
819481a5ccdes
820481a5ccdes  -docdir | --docdir | --docdi | --doc | --do)
821481a5ccdes    ac_prev=docdir ;;
822481a5ccdes  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823481a5ccdes    docdir=$ac_optarg ;;
824481a5ccdes
825481a5ccdes  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826481a5ccdes    ac_prev=dvidir ;;
827481a5ccdes  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828481a5ccdes    dvidir=$ac_optarg ;;
829481a5ccdes
830481a5ccdes  -enable-* | --enable-*)
831481a5ccdes    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832481a5ccdes    # Reject names that are not valid shell variable names.
833481a5ccdes    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834481a5ccdes      as_fn_error $? "invalid feature name: $ac_useropt"
835481a5ccdes    ac_useropt_orig=$ac_useropt
836481a5ccdes    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837481a5ccdes    case $ac_user_opts in
838481a5ccdes      *"
839481a5ccdes"enable_$ac_useropt"
840481a5ccdes"*) ;;
841481a5ccdes      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842481a5ccdes	 ac_unrecognized_sep=', ';;
843481a5ccdes    esac
844481a5ccdes    eval enable_$ac_useropt=\$ac_optarg ;;
845481a5ccdes
846481a5ccdes  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847481a5ccdes  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848481a5ccdes  | --exec | --exe | --ex)
849481a5ccdes    ac_prev=exec_prefix ;;
850481a5ccdes  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851481a5ccdes  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852481a5ccdes  | --exec=* | --exe=* | --ex=*)
853481a5ccdes    exec_prefix=$ac_optarg ;;
854481a5ccdes
855481a5ccdes  -gas | --gas | --ga | --g)
856481a5ccdes    # Obsolete; use --with-gas.
857481a5ccdes    with_gas=yes ;;
858481a5ccdes
859481a5ccdes  -help | --help | --hel | --he | -h)
860481a5ccdes    ac_init_help=long ;;
861481a5ccdes  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862481a5ccdes    ac_init_help=recursive ;;
863481a5ccdes  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864481a5ccdes    ac_init_help=short ;;
865481a5ccdes
866481a5ccdes  -host | --host | --hos | --ho)
867481a5ccdes    ac_prev=host_alias ;;
868481a5ccdes  -host=* | --host=* | --hos=* | --ho=*)
869481a5ccdes    host_alias=$ac_optarg ;;
870481a5ccdes
871481a5ccdes  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872481a5ccdes    ac_prev=htmldir ;;
873481a5ccdes  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874481a5ccdes  | --ht=*)
875481a5ccdes    htmldir=$ac_optarg ;;
876481a5ccdes
877481a5ccdes  -includedir | --includedir | --includedi | --included | --include \
878481a5ccdes  | --includ | --inclu | --incl | --inc)
879481a5ccdes    ac_prev=includedir ;;
880481a5ccdes  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881481a5ccdes  | --includ=* | --inclu=* | --incl=* | --inc=*)
882481a5ccdes    includedir=$ac_optarg ;;
883481a5ccdes
884481a5ccdes  -infodir | --infodir | --infodi | --infod | --info | --inf)
885481a5ccdes    ac_prev=infodir ;;
886481a5ccdes  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887481a5ccdes    infodir=$ac_optarg ;;
888481a5ccdes
889481a5ccdes  -libdir | --libdir | --libdi | --libd)
890481a5ccdes    ac_prev=libdir ;;
891481a5ccdes  -libdir=* | --libdir=* | --libdi=* | --libd=*)
892481a5ccdes    libdir=$ac_optarg ;;
893481a5ccdes
894481a5ccdes  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895481a5ccdes  | --libexe | --libex | --libe)
896481a5ccdes    ac_prev=libexecdir ;;
897481a5ccdes  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898481a5ccdes  | --libexe=* | --libex=* | --libe=*)
899481a5ccdes    libexecdir=$ac_optarg ;;
900481a5ccdes
901481a5ccdes  -localedir | --localedir | --localedi | --localed | --locale)
902481a5ccdes    ac_prev=localedir ;;
903481a5ccdes  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904481a5ccdes    localedir=$ac_optarg ;;
905481a5ccdes
906481a5ccdes  -localstatedir | --localstatedir | --localstatedi | --localstated \
907481a5ccdes  | --localstate | --localstat | --localsta | --localst | --locals)
908481a5ccdes    ac_prev=localstatedir ;;
909481a5ccdes  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910481a5ccdes  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911481a5ccdes    localstatedir=$ac_optarg ;;
912481a5ccdes
913481a5ccdes  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914481a5ccdes    ac_prev=mandir ;;
915481a5ccdes  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916481a5ccdes    mandir=$ac_optarg ;;
917481a5ccdes
918481a5ccdes  -nfp | --nfp | --nf)
919481a5ccdes    # Obsolete; use --without-fp.
920481a5ccdes    with_fp=no ;;
921481a5ccdes
922481a5ccdes  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923481a5ccdes  | --no-cr | --no-c | -n)
924481a5ccdes    no_create=yes ;;
925481a5ccdes
926481a5ccdes  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927481a5ccdes  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928481a5ccdes    no_recursion=yes ;;
929481a5ccdes
930481a5ccdes  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931481a5ccdes  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932481a5ccdes  | --oldin | --oldi | --old | --ol | --o)
933481a5ccdes    ac_prev=oldincludedir ;;
934481a5ccdes  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935481a5ccdes  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936481a5ccdes  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937481a5ccdes    oldincludedir=$ac_optarg ;;
938481a5ccdes
939481a5ccdes  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940481a5ccdes    ac_prev=prefix ;;
941481a5ccdes  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942481a5ccdes    prefix=$ac_optarg ;;
943481a5ccdes
944481a5ccdes  -program-prefix | --program-prefix | --program-prefi | --program-pref \
945481a5ccdes  | --program-pre | --program-pr | --program-p)
946481a5ccdes    ac_prev=program_prefix ;;
947481a5ccdes  -program-prefix=* | --program-prefix=* | --program-prefi=* \
948481a5ccdes  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949481a5ccdes    program_prefix=$ac_optarg ;;
950481a5ccdes
951481a5ccdes  -program-suffix | --program-suffix | --program-suffi | --program-suff \
952481a5ccdes  | --program-suf | --program-su | --program-s)
953481a5ccdes    ac_prev=program_suffix ;;
954481a5ccdes  -program-suffix=* | --program-suffix=* | --program-suffi=* \
955481a5ccdes  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956481a5ccdes    program_suffix=$ac_optarg ;;
957481a5ccdes
958481a5ccdes  -program-transform-name | --program-transform-name \
959481a5ccdes  | --program-transform-nam | --program-transform-na \
960481a5ccdes  | --program-transform-n | --program-transform- \
961481a5ccdes  | --program-transform | --program-transfor \
962481a5ccdes  | --program-transfo | --program-transf \
963481a5ccdes  | --program-trans | --program-tran \
964481a5ccdes  | --progr-tra | --program-tr | --program-t)
965481a5ccdes    ac_prev=program_transform_name ;;
966481a5ccdes  -program-transform-name=* | --program-transform-name=* \
967481a5ccdes  | --program-transform-nam=* | --program-transform-na=* \
968481a5ccdes  | --program-transform-n=* | --program-transform-=* \
969481a5ccdes  | --program-transform=* | --program-transfor=* \
970481a5ccdes  | --program-transfo=* | --program-transf=* \
971481a5ccdes  | --program-trans=* | --program-tran=* \
972481a5ccdes  | --progr-tra=* | --program-tr=* | --program-t=*)
973481a5ccdes    program_transform_name=$ac_optarg ;;
974481a5ccdes
975481a5ccdes  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976481a5ccdes    ac_prev=pdfdir ;;
977481a5ccdes  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978481a5ccdes    pdfdir=$ac_optarg ;;
979481a5ccdes
980481a5ccdes  -psdir | --psdir | --psdi | --psd | --ps)
981481a5ccdes    ac_prev=psdir ;;
982481a5ccdes  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983481a5ccdes    psdir=$ac_optarg ;;
984481a5ccdes
985481a5ccdes  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986481a5ccdes  | -silent | --silent | --silen | --sile | --sil)
987481a5ccdes    silent=yes ;;
988481a5ccdes
989481a5ccdes  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990481a5ccdes    ac_prev=sbindir ;;
991481a5ccdes  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992481a5ccdes  | --sbi=* | --sb=*)
993481a5ccdes    sbindir=$ac_optarg ;;
994481a5ccdes
995481a5ccdes  -sharedstatedir | --sharedstatedir | --sharedstatedi \
996481a5ccdes  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997481a5ccdes  | --sharedst | --shareds | --shared | --share | --shar \
998481a5ccdes  | --sha | --sh)
999481a5ccdes    ac_prev=sharedstatedir ;;
1000481a5ccdes  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001481a5ccdes  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002481a5ccdes  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003481a5ccdes  | --sha=* | --sh=*)
1004481a5ccdes    sharedstatedir=$ac_optarg ;;
1005481a5ccdes
1006481a5ccdes  -site | --site | --sit)
1007481a5ccdes    ac_prev=site ;;
1008481a5ccdes  -site=* | --site=* | --sit=*)
1009481a5ccdes    site=$ac_optarg ;;
1010481a5ccdes
1011481a5ccdes  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012481a5ccdes    ac_prev=srcdir ;;
1013481a5ccdes  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014481a5ccdes    srcdir=$ac_optarg ;;
1015481a5ccdes
1016481a5ccdes  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017481a5ccdes  | --syscon | --sysco | --sysc | --sys | --sy)
1018481a5ccdes    ac_prev=sysconfdir ;;
1019481a5ccdes  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020481a5ccdes  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021481a5ccdes    sysconfdir=$ac_optarg ;;
1022481a5ccdes
1023481a5ccdes  -target | --target | --targe | --targ | --tar | --ta | --t)
1024481a5ccdes    ac_prev=target_alias ;;
1025481a5ccdes  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026481a5ccdes    target_alias=$ac_optarg ;;
1027481a5ccdes
1028481a5ccdes  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029481a5ccdes    verbose=yes ;;
1030481a5ccdes
1031481a5ccdes  -version | --version | --versio | --versi | --vers | -V)
1032481a5ccdes    ac_init_version=: ;;
1033481a5ccdes
1034481a5ccdes  -with-* | --with-*)
1035481a5ccdes    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036481a5ccdes    # Reject names that are not valid shell variable names.
1037481a5ccdes    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038481a5ccdes      as_fn_error $? "invalid package name: $ac_useropt"
1039481a5ccdes    ac_useropt_orig=$ac_useropt
1040481a5ccdes    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041481a5ccdes    case $ac_user_opts in
1042481a5ccdes      *"
1043481a5ccdes"with_$ac_useropt"
1044481a5ccdes"*) ;;
1045481a5ccdes      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046481a5ccdes	 ac_unrecognized_sep=', ';;
1047481a5ccdes    esac
1048481a5ccdes    eval with_$ac_useropt=\$ac_optarg ;;
1049481a5ccdes
1050481a5ccdes  -without-* | --without-*)
1051481a5ccdes    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052481a5ccdes    # Reject names that are not valid shell variable names.
1053481a5ccdes    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054481a5ccdes      as_fn_error $? "invalid package name: $ac_useropt"
1055481a5ccdes    ac_useropt_orig=$ac_useropt
1056481a5ccdes    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057481a5ccdes    case $ac_user_opts in
1058481a5ccdes      *"
1059481a5ccdes"with_$ac_useropt"
1060481a5ccdes"*) ;;
1061481a5ccdes      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062481a5ccdes	 ac_unrecognized_sep=', ';;
1063481a5ccdes    esac
1064481a5ccdes    eval with_$ac_useropt=no ;;
1065481a5ccdes
1066481a5ccdes  --x)
1067481a5ccdes    # Obsolete; use --with-x.
1068481a5ccdes    with_x=yes ;;
1069481a5ccdes
1070481a5ccdes  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071481a5ccdes  | --x-incl | --x-inc | --x-in | --x-i)
1072481a5ccdes    ac_prev=x_includes ;;
1073481a5ccdes  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074481a5ccdes  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075481a5ccdes    x_includes=$ac_optarg ;;
1076481a5ccdes
1077481a5ccdes  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078481a5ccdes  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079481a5ccdes    ac_prev=x_libraries ;;
1080481a5ccdes  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081481a5ccdes  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082481a5ccdes    x_libraries=$ac_optarg ;;
1083481a5ccdes
1084481a5ccdes  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085481a5ccdesTry \`$0 --help' for more information"
1086481a5ccdes    ;;
1087481a5ccdes
1088481a5ccdes  *=*)
1089481a5ccdes    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090481a5ccdes    # Reject names that are not valid shell variable names.
1091481a5ccdes    case $ac_envvar in #(
1092481a5ccdes      '' | [0-9]* | *[!_$as_cr_alnum]* )
1093481a5ccdes      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094481a5ccdes    esac
1095481a5ccdes    eval $ac_envvar=\$ac_optarg
1096481a5ccdes    export $ac_envvar ;;
1097481a5ccdes
1098481a5ccdes  *)
1099481a5ccdes    # FIXME: should be removed in autoconf 3.0.
1100481a5ccdes    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101481a5ccdes    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102481a5ccdes      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103481a5ccdes    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104481a5ccdes    ;;
1105481a5ccdes
1106481a5ccdes  esac
1107481a5ccdesdone
1108481a5ccdes
1109481a5ccdesif test -n "$ac_prev"; then
1110481a5ccdes  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111481a5ccdes  as_fn_error $? "missing argument to $ac_option"
1112481a5ccdesfi
1113481a5ccdes
1114481a5ccdesif test -n "$ac_unrecognized_opts"; then
1115481a5ccdes  case $enable_option_checking in
1116481a5ccdes    no) ;;
1117481a5ccdes    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118481a5ccdes    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119481a5ccdes  esac
1120481a5ccdesfi
1121481a5ccdes
1122481a5ccdes# Check all directory arguments for consistency.
1123481a5ccdesfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124481a5ccdes		datadir sysconfdir sharedstatedir localstatedir includedir \
1125481a5ccdes		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126481a5ccdes		libdir localedir mandir
1127481a5ccdesdo
1128481a5ccdes  eval ac_val=\$$ac_var
1129481a5ccdes  # Remove trailing slashes.
1130481a5ccdes  case $ac_val in
1131481a5ccdes    */ )
1132481a5ccdes      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133481a5ccdes      eval $ac_var=\$ac_val;;
1134481a5ccdes  esac
1135481a5ccdes  # Be sure to have absolute directory names.
1136481a5ccdes  case $ac_val in
1137481a5ccdes    [\\/$]* | ?:[\\/]* )  continue;;
1138481a5ccdes    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139481a5ccdes  esac
1140481a5ccdes  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141481a5ccdesdone
1142481a5ccdes
1143481a5ccdes# There might be people who depend on the old broken behavior: `$host'
1144481a5ccdes# used to hold the argument of --host etc.
1145481a5ccdes# FIXME: To remove some day.
1146481a5ccdesbuild=$build_alias
1147481a5ccdeshost=$host_alias
1148481a5ccdestarget=$target_alias
1149481a5ccdes
1150481a5ccdes# FIXME: To remove some day.
1151481a5ccdesif test "x$host_alias" != x; then
1152481a5ccdes  if test "x$build_alias" = x; then
1153481a5ccdes    cross_compiling=maybe
1154481a5ccdes  elif test "x$build_alias" != "x$host_alias"; then
1155481a5ccdes    cross_compiling=yes
1156481a5ccdes  fi
1157481a5ccdesfi
1158481a5ccdes
1159481a5ccdesac_tool_prefix=
1160481a5ccdestest -n "$host_alias" && ac_tool_prefix=$host_alias-
1161481a5ccdes
1162481a5ccdestest "$silent" = yes && exec 6>/dev/null
1163481a5ccdes
1164481a5ccdes
1165481a5ccdesac_pwd=`pwd` && test -n "$ac_pwd" &&
1166481a5ccdesac_ls_di=`ls -di .` &&
1167481a5ccdesac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168481a5ccdes  as_fn_error $? "working directory cannot be determined"
1169481a5ccdestest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170481a5ccdes  as_fn_error $? "pwd does not report name of working directory"
1171481a5ccdes
1172481a5ccdes
1173481a5ccdes# Find the source files, if location was not specified.
1174481a5ccdesif test -z "$srcdir"; then
1175481a5ccdes  ac_srcdir_defaulted=yes
1176481a5ccdes  # Try the directory containing this script, then the parent directory.
1177481a5ccdes  ac_confdir=`$as_dirname -- "$as_myself" ||
1178481a5ccdes$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179481a5ccdes	 X"$as_myself" : 'X\(//\)[^/]' \| \
1180481a5ccdes	 X"$as_myself" : 'X\(//\)$' \| \
1181481a5ccdes	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182481a5ccdes$as_echo X"$as_myself" |
1183481a5ccdes    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184481a5ccdes	    s//\1/
1185481a5ccdes	    q
1186481a5ccdes	  }
1187481a5ccdes	  /^X\(\/\/\)[^/].*/{
1188481a5ccdes	    s//\1/
1189481a5ccdes	    q
1190481a5ccdes	  }
1191481a5ccdes	  /^X\(\/\/\)$/{
1192481a5ccdes	    s//\1/
1193481a5ccdes	    q
1194481a5ccdes	  }
1195481a5ccdes	  /^X\(\/\).*/{
1196481a5ccdes	    s//\1/
1197481a5ccdes	    q
1198481a5ccdes	  }
1199481a5ccdes	  s/.*/./; q'`
1200481a5ccdes  srcdir=$ac_confdir
1201481a5ccdes  if test ! -r "$srcdir/$ac_unique_file"; then
1202481a5ccdes    srcdir=..
1203481a5ccdes  fi
1204481a5ccdeselse
1205481a5ccdes  ac_srcdir_defaulted=no
1206481a5ccdesfi
1207481a5ccdesif test ! -r "$srcdir/$ac_unique_file"; then
1208481a5ccdes  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209481a5ccdes  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210481a5ccdesfi
1211481a5ccdesac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212481a5ccdesac_abs_confdir=`(
1213481a5ccdes	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1214481a5ccdes	pwd)`
1215481a5ccdes# When building in place, set srcdir=.
1216481a5ccdesif test "$ac_abs_confdir" = "$ac_pwd"; then
1217481a5ccdes  srcdir=.
1218481a5ccdesfi
1219481a5ccdes# Remove unnecessary trailing slashes from srcdir.
1220481a5ccdes# Double slashes in file names in object file debugging info
1221481a5ccdes# mess up M-x gdb in Emacs.
1222481a5ccdescase $srcdir in
1223481a5ccdes*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224481a5ccdesesac
1225481a5ccdesfor ac_var in $ac_precious_vars; do
1226481a5ccdes  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227481a5ccdes  eval ac_env_${ac_var}_value=\$${ac_var}
1228481a5ccdes  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229481a5ccdes  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230481a5ccdesdone
1231481a5ccdes
1232481a5ccdes#
1233481a5ccdes# Report the --help message.
1234481a5ccdes#
1235481a5ccdesif test "$ac_init_help" = "long"; then
1236481a5ccdes  # Omit some internal or obsolete options to make the list less imposing.
1237481a5ccdes  # This message is too long to be a string in the A/UX 3.1 sh.
1238481a5ccdes  cat <<_ACEOF
123993ec55edes\`configure' configures ldns 1.7.0 to adapt to many kinds of systems.
1240481a5ccdes
1241481a5ccdesUsage: $0 [OPTION]... [VAR=VALUE]...
1242481a5ccdes
1243481a5ccdesTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1244481a5ccdesVAR=VALUE.  See below for descriptions of some of the useful variables.
1245481a5ccdes
1246481a5ccdesDefaults for the options are specified in brackets.
1247481a5ccdes
1248481a5ccdesConfiguration:
1249481a5ccdes  -h, --help              display this help and exit
1250481a5ccdes      --help=short        display options specific to this package
1251481a5ccdes      --help=recursive    display the short help of all the included packages
1252481a5ccdes  -V, --version           display version information and exit
1253481a5ccdes  -q, --quiet, --silent   do not print \`checking ...' messages
1254481a5ccdes      --cache-file=FILE   cache test results in FILE [disabled]
1255481a5ccdes  -C, --config-cache      alias for \`--cache-file=config.cache'
1256481a5ccdes  -n, --no-create         do not create output files
1257481a5ccdes      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1258481a5ccdes
1259481a5ccdesInstallation directories:
1260481a5ccdes  --prefix=PREFIX         install architecture-independent files in PREFIX
1261481a5ccdes                          [$ac_default_prefix]
1262481a5ccdes  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1263481a5ccdes                          [PREFIX]
1264481a5ccdes
1265481a5ccdesBy default, \`make install' will install all the files in
1266481a5ccdes\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1267481a5ccdesan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268481a5ccdesfor instance \`--prefix=\$HOME'.
1269481a5ccdes
1270481a5ccdesFor better control, use the options below.
1271481a5ccdes
1272481a5ccdesFine tuning of the installation directories:
1273481a5ccdes  --bindir=DIR            user executables [EPREFIX/bin]
1274481a5ccdes  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1275481a5ccdes  --libexecdir=DIR        program executables [EPREFIX/libexec]
1276481a5ccdes  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1277481a5ccdes  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1278481a5ccdes  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1279481a5ccdes  --libdir=DIR            object code libraries [EPREFIX/lib]
1280481a5ccdes  --includedir=DIR        C header files [PREFIX/include]
1281481a5ccdes  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1282481a5ccdes  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1283481a5ccdes  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1284481a5ccdes  --infodir=DIR           info documentation [DATAROOTDIR/info]
1285481a5ccdes  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1286481a5ccdes  --mandir=DIR            man documentation [DATAROOTDIR/man]
1287481a5ccdes  --docdir=DIR            documentation root [DATAROOTDIR/doc/libdns]
1288481a5ccdes  --htmldir=DIR           html documentation [DOCDIR]
1289481a5ccdes  --dvidir=DIR            dvi documentation [DOCDIR]
1290481a5ccdes  --pdfdir=DIR            pdf documentation [DOCDIR]
1291481a5ccdes  --psdir=DIR             ps documentation [DOCDIR]
1292481a5ccdes_ACEOF
1293481a5ccdes
1294481a5ccdes  cat <<\_ACEOF
1295481a5ccdes_ACEOF
1296481a5ccdesfi
1297481a5ccdes
1298481a5ccdesif test -n "$ac_init_help"; then
1299481a5ccdes  case $ac_init_help in
130093ec55edes     short | recursive ) echo "Configuration of ldns 1.7.0:";;
1301481a5ccdes   esac
1302481a5ccdes  cat <<\_ACEOF
1303481a5ccdes
1304481a5ccdesOptional Features:
1305481a5ccdes  --disable-option-checking  ignore unrecognized --enable/--with options
1306481a5ccdes  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1307481a5ccdes  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1308481a5ccdes  --disable-rpath                disable hardcoded rpath (default=enabled)
1309481a5ccdes
1310481a5ccdesOptional Packages:
1311481a5ccdes  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1312481a5ccdes  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1313481a5ccdes  --with-ssl=pathname     enable SSL (will check /usr/local/ssl /usr/lib/ssl
1314481a5ccdes                          /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw
1315481a5ccdes                          /usr)
1316481a5ccdes  --with-ldns=PATH        specify prefix of path of ldns library to use
1317481a5ccdes
1318481a5ccdes
1319f748542des  --with-trust-anchor=KEYFILE
1320f748542des                          Default location of the trust anchor file.
1321f748542des                          [default=SYSCONFDIR/unbound/root.key]
1322481a5ccdes
1323481a5ccdesSome influential environment variables:
1324481a5ccdes  CC          C compiler command
1325481a5ccdes  CFLAGS      C compiler flags
1326481a5ccdes  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1327481a5ccdes              nonstandard directory <lib dir>
1328481a5ccdes  LIBS        libraries to pass to the linker, e.g. -l<library>
1329481a5ccdes  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1330481a5ccdes              you have headers in a nonstandard directory <include dir>
1331481a5ccdes  CPP         C preprocessor
1332481a5ccdes
1333481a5ccdesUse these variables to override the choices made by `configure' or to help
1334481a5ccdesit to find libraries and programs with nonstandard names/locations.
1335481a5ccdes
1336481a5ccdesReport bugs to <libdns@nlnetlabs.nl>.
1337481a5ccdes_ACEOF
1338481a5ccdesac_status=$?
1339481a5ccdesfi
1340481a5ccdes
1341481a5ccdesif test "$ac_init_help" = "recursive"; then
1342481a5ccdes  # If there are subdirs, report their specific --help.
1343481a5ccdes  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1344481a5ccdes    test -d "$ac_dir" ||
1345481a5ccdes      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1346481a5ccdes      continue
1347481a5ccdes    ac_builddir=.
1348481a5ccdes
1349481a5ccdescase "$ac_dir" in
1350481a5ccdes.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351481a5ccdes*)
1352481a5ccdes  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1353481a5ccdes  # A ".." for each directory in $ac_dir_suffix.
1354481a5ccdes  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1355481a5ccdes  case $ac_top_builddir_sub in
1356481a5ccdes  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357481a5ccdes  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358481a5ccdes  esac ;;
1359481a5ccdesesac
1360481a5ccdesac_abs_top_builddir=$ac_pwd
1361481a5ccdesac_abs_builddir=$ac_pwd$ac_dir_suffix
1362481a5ccdes# for backward compatibility:
1363481a5ccdesac_top_builddir=$ac_top_build_prefix
1364481a5ccdes
1365481a5ccdescase $srcdir in
1366481a5ccdes  .)  # We are building in place.
1367481a5ccdes    ac_srcdir=.
1368481a5ccdes    ac_top_srcdir=$ac_top_builddir_sub
1369481a5ccdes    ac_abs_top_srcdir=$ac_pwd ;;
1370481a5ccdes  [\\/]* | ?:[\\/]* )  # Absolute name.
1371481a5ccdes    ac_srcdir=$srcdir$ac_dir_suffix;
1372481a5ccdes    ac_top_srcdir=$srcdir
1373481a5ccdes    ac_abs_top_srcdir=$srcdir ;;
1374481a5ccdes  *) # Relative name.
1375481a5ccdes    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376481a5ccdes    ac_top_srcdir=$ac_top_build_prefix$srcdir
1377481a5ccdes    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1378481a5ccdesesac
1379481a5ccdesac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1380481a5ccdes
1381481a5ccdes    cd "$ac_dir" || { ac_status=$?; continue; }
1382481a5ccdes    # Check for guested configure.
1383481a5ccdes    if test -f "$ac_srcdir/configure.gnu"; then
1384481a5ccdes      echo &&
1385481a5ccdes      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386481a5ccdes    elif test -f "$ac_srcdir/configure"; then
1387481a5ccdes      echo &&
1388481a5ccdes      $SHELL "$ac_srcdir/configure" --help=recursive
1389481a5ccdes    else
1390481a5ccdes      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391481a5ccdes    fi || ac_status=$?
1392481a5ccdes    cd "$ac_pwd" || { ac_status=$?; break; }
1393481a5ccdes  done
1394481a5ccdesfi
1395481a5ccdes
1396481a5ccdestest -n "$ac_init_help" && exit $ac_status
1397481a5ccdesif $ac_init_version; then
1398481a5ccdes  cat <<\_ACEOF
139993ec55edesldns configure 1.7.0
140093ec55edesgenerated by GNU Autoconf 2.69
1401481a5ccdes
140293ec55edesCopyright (C) 2012 Free Software Foundation, Inc.
1403481a5ccdesThis configure script is free software; the Free Software Foundation
1404481a5ccdesgives unlimited permission to copy, distribute and modify it.
1405481a5ccdes_ACEOF
1406481a5ccdes  exit
1407481a5ccdesfi
1408481a5ccdes
1409481a5ccdes## ------------------------ ##
1410481a5ccdes## Autoconf initialization. ##
1411481a5ccdes## ------------------------ ##
1412481a5ccdes
1413481a5ccdes# ac_fn_c_try_compile LINENO
1414481a5ccdes# --------------------------
1415481a5ccdes# Try to compile conftest.$ac_ext, and return whether this succeeded.
1416481a5ccdesac_fn_c_try_compile ()
1417481a5ccdes{
1418481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1419481a5ccdes  rm -f conftest.$ac_objext
1420481a5ccdes  if { { ac_try="$ac_compile"
1421481a5ccdescase "(($ac_try" in
1422481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1423481a5ccdes  *) ac_try_echo=$ac_try;;
1424481a5ccdesesac
1425481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1426481a5ccdes$as_echo "$ac_try_echo"; } >&5
1427481a5ccdes  (eval "$ac_compile") 2>conftest.err
1428481a5ccdes  ac_status=$?
1429481a5ccdes  if test -s conftest.err; then
1430481a5ccdes    grep -v '^ *+' conftest.err >conftest.er1
1431481a5ccdes    cat conftest.er1 >&5
1432481a5ccdes    mv -f conftest.er1 conftest.err
1433481a5ccdes  fi
1434481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1435481a5ccdes  test $ac_status = 0; } && {
1436481a5ccdes	 test -z "$ac_c_werror_flag" ||
1437481a5ccdes	 test ! -s conftest.err
1438481a5ccdes       } && test -s conftest.$ac_objext; then :
1439481a5ccdes  ac_retval=0
1440481a5ccdeselse
1441481a5ccdes  $as_echo "$as_me: failed program was:" >&5
1442481a5ccdessed 's/^/| /' conftest.$ac_ext >&5
1443481a5ccdes
1444481a5ccdes	ac_retval=1
1445481a5ccdesfi
1446481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1447481a5ccdes  as_fn_set_status $ac_retval
1448481a5ccdes
1449481a5ccdes} # ac_fn_c_try_compile
1450481a5ccdes
1451481a5ccdes# ac_fn_c_try_cpp LINENO
1452481a5ccdes# ----------------------
1453481a5ccdes# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1454481a5ccdesac_fn_c_try_cpp ()
1455481a5ccdes{
1456481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457481a5ccdes  if { { ac_try="$ac_cpp conftest.$ac_ext"
1458481a5ccdescase "(($ac_try" in
1459481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1460481a5ccdes  *) ac_try_echo=$ac_try;;
1461481a5ccdesesac
1462481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463481a5ccdes$as_echo "$ac_try_echo"; } >&5
1464481a5ccdes  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1465481a5ccdes  ac_status=$?
1466481a5ccdes  if test -s conftest.err; then
1467481a5ccdes    grep -v '^ *+' conftest.err >conftest.er1
1468481a5ccdes    cat conftest.er1 >&5
1469481a5ccdes    mv -f conftest.er1 conftest.err
1470481a5ccdes  fi
1471481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472481a5ccdes  test $ac_status = 0; } > conftest.i && {
1473481a5ccdes	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1474481a5ccdes	 test ! -s conftest.err
1475481a5ccdes       }; then :
1476481a5ccdes  ac_retval=0
1477481a5ccdeselse
1478481a5ccdes  $as_echo "$as_me: failed program was:" >&5
1479481a5ccdessed 's/^/| /' conftest.$ac_ext >&5
1480481a5ccdes
1481481a5ccdes    ac_retval=1
1482481a5ccdesfi
1483481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1484481a5ccdes  as_fn_set_status $ac_retval
1485481a5ccdes
1486481a5ccdes} # ac_fn_c_try_cpp
1487481a5ccdes
1488481a5ccdes# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1489481a5ccdes# -------------------------------------------------------
1490481a5ccdes# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1491481a5ccdes# the include files in INCLUDES and setting the cache variable VAR
1492481a5ccdes# accordingly.
1493481a5ccdesac_fn_c_check_header_mongrel ()
1494481a5ccdes{
1495481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496481a5ccdes  if eval \${$3+:} false; then :
1497481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1498481a5ccdes$as_echo_n "checking for $2... " >&6; }
1499481a5ccdesif eval \${$3+:} false; then :
1500481a5ccdes  $as_echo_n "(cached) " >&6
1501481a5ccdesfi
1502481a5ccdeseval ac_res=\$$3
1503481a5ccdes	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1504481a5ccdes$as_echo "$ac_res" >&6; }
1505481a5ccdeselse
1506481a5ccdes  # Is the header compilable?
1507481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1508481a5ccdes$as_echo_n "checking $2 usability... " >&6; }
1509481a5ccdescat confdefs.h - <<_ACEOF >conftest.$ac_ext
1510481a5ccdes/* end confdefs.h.  */
1511481a5ccdes$4
1512481a5ccdes#include <$2>
1513481a5ccdes_ACEOF
1514481a5ccdesif ac_fn_c_try_compile "$LINENO"; then :
1515481a5ccdes  ac_header_compiler=yes
1516481a5ccdeselse
1517481a5ccdes  ac_header_compiler=no
1518481a5ccdesfi
1519481a5ccdesrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1520481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1521481a5ccdes$as_echo "$ac_header_compiler" >&6; }
1522481a5ccdes
1523481a5ccdes# Is the header present?
1524481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1525481a5ccdes$as_echo_n "checking $2 presence... " >&6; }
1526481a5ccdescat confdefs.h - <<_ACEOF >conftest.$ac_ext
1527481a5ccdes/* end confdefs.h.  */
1528481a5ccdes#include <$2>
1529481a5ccdes_ACEOF
1530481a5ccdesif ac_fn_c_try_cpp "$LINENO"; then :
1531481a5ccdes  ac_header_preproc=yes
1532481a5ccdeselse
1533481a5ccdes  ac_header_preproc=no
1534481a5ccdesfi
1535481a5ccdesrm -f conftest.err conftest.i conftest.$ac_ext
1536481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1537481a5ccdes$as_echo "$ac_header_preproc" >&6; }
1538481a5ccdes
1539481a5ccdes# So?  What about this header?
1540481a5ccdescase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1541481a5ccdes  yes:no: )
1542481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1543481a5ccdes$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1544481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1545481a5ccdes$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1546481a5ccdes    ;;
1547481a5ccdes  no:yes:* )
1548481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1549481a5ccdes$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1550481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1551481a5ccdes$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1552481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1553481a5ccdes$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1554481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1555481a5ccdes$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1556481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557481a5ccdes$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558481a5ccdes( $as_echo "## ---------------------------------- ##
1559481a5ccdes## Report this to libdns@nlnetlabs.nl ##
1560481a5ccdes## ---------------------------------- ##"
1561481a5ccdes     ) | sed "s/^/$as_me: WARNING:     /" >&2
1562481a5ccdes    ;;
1563481a5ccdesesac
1564481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565481a5ccdes$as_echo_n "checking for $2... " >&6; }
1566481a5ccdesif eval \${$3+:} false; then :
1567481a5ccdes  $as_echo_n "(cached) " >&6
1568481a5ccdeselse
1569481a5ccdes  eval "$3=\$ac_header_compiler"
1570481a5ccdesfi
1571481a5ccdeseval ac_res=\$$3
1572481a5ccdes	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1573481a5ccdes$as_echo "$ac_res" >&6; }
1574481a5ccdesfi
1575481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576481a5ccdes
1577481a5ccdes} # ac_fn_c_check_header_mongrel
1578481a5ccdes
1579481a5ccdes# ac_fn_c_try_run LINENO
1580481a5ccdes# ----------------------
1581481a5ccdes# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1582481a5ccdes# that executables *can* be run.
1583481a5ccdesac_fn_c_try_run ()
1584481a5ccdes{
1585481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586481a5ccdes  if { { ac_try="$ac_link"
1587481a5ccdescase "(($ac_try" in
1588481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589481a5ccdes  *) ac_try_echo=$ac_try;;
1590481a5ccdesesac
1591481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592481a5ccdes$as_echo "$ac_try_echo"; } >&5
1593481a5ccdes  (eval "$ac_link") 2>&5
1594481a5ccdes  ac_status=$?
1595481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596481a5ccdes  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1597481a5ccdes  { { case "(($ac_try" in
1598481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599481a5ccdes  *) ac_try_echo=$ac_try;;
1600481a5ccdesesac
1601481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602481a5ccdes$as_echo "$ac_try_echo"; } >&5
1603481a5ccdes  (eval "$ac_try") 2>&5
1604481a5ccdes  ac_status=$?
1605481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606481a5ccdes  test $ac_status = 0; }; }; then :
1607481a5ccdes  ac_retval=0
1608481a5ccdeselse
1609481a5ccdes  $as_echo "$as_me: program exited with status $ac_status" >&5
1610481a5ccdes       $as_echo "$as_me: failed program was:" >&5
1611481a5ccdessed 's/^/| /' conftest.$ac_ext >&5
1612481a5ccdes
1613481a5ccdes       ac_retval=$ac_status
1614481a5ccdesfi
1615481a5ccdes  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1616481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617481a5ccdes  as_fn_set_status $ac_retval
1618481a5ccdes
1619481a5ccdes} # ac_fn_c_try_run
1620481a5ccdes
1621481a5ccdes# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1622481a5ccdes# -------------------------------------------------------
1623481a5ccdes# Tests whether HEADER exists and can be compiled using the include files in
1624481a5ccdes# INCLUDES, setting the cache variable VAR accordingly.
1625481a5ccdesac_fn_c_check_header_compile ()
1626481a5ccdes{
1627481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629481a5ccdes$as_echo_n "checking for $2... " >&6; }
1630481a5ccdesif eval \${$3+:} false; then :
1631481a5ccdes  $as_echo_n "(cached) " >&6
1632481a5ccdeselse
1633481a5ccdes  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634481a5ccdes/* end confdefs.h.  */
1635481a5ccdes$4
1636481a5ccdes#include <$2>
1637481a5ccdes_ACEOF
1638481a5ccdesif ac_fn_c_try_compile "$LINENO"; then :
1639481a5ccdes  eval "$3=yes"
1640481a5ccdeselse
1641481a5ccdes  eval "$3=no"
1642481a5ccdesfi
1643481a5ccdesrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644481a5ccdesfi
1645481a5ccdeseval ac_res=\$$3
1646481a5ccdes	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647481a5ccdes$as_echo "$ac_res" >&6; }
1648481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649481a5ccdes
1650481a5ccdes} # ac_fn_c_check_header_compile
1651481a5ccdes
1652481a5ccdes# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1653481a5ccdes# -------------------------------------------
1654481a5ccdes# Tests whether TYPE exists after having included INCLUDES, setting cache
1655481a5ccdes# variable VAR accordingly.
1656481a5ccdesac_fn_c_check_type ()
1657481a5ccdes{
1658481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660481a5ccdes$as_echo_n "checking for $2... " >&6; }
1661481a5ccdesif eval \${$3+:} false; then :
1662481a5ccdes  $as_echo_n "(cached) " >&6
1663481a5ccdeselse
1664481a5ccdes  eval "$3=no"
1665481a5ccdes  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666481a5ccdes/* end confdefs.h.  */
1667481a5ccdes$4
1668481a5ccdesint
1669481a5ccdesmain ()
1670481a5ccdes{
1671481a5ccdesif (sizeof ($2))
1672481a5ccdes	 return 0;
1673481a5ccdes  ;
1674481a5ccdes  return 0;
1675481a5ccdes}
1676481a5ccdes_ACEOF
1677481a5ccdesif ac_fn_c_try_compile "$LINENO"; then :
1678481a5ccdes  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679481a5ccdes/* end confdefs.h.  */
1680481a5ccdes$4
1681481a5ccdesint
1682481a5ccdesmain ()
1683481a5ccdes{
1684481a5ccdesif (sizeof (($2)))
1685481a5ccdes	    return 0;
1686481a5ccdes  ;
1687481a5ccdes  return 0;
1688481a5ccdes}
1689481a5ccdes_ACEOF
1690481a5ccdesif ac_fn_c_try_compile "$LINENO"; then :
1691481a5ccdes
1692481a5ccdeselse
1693481a5ccdes  eval "$3=yes"
1694481a5ccdesfi
1695481a5ccdesrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696481a5ccdesfi
1697481a5ccdesrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698481a5ccdesfi
1699481a5ccdeseval ac_res=\$$3
1700481a5ccdes	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701481a5ccdes$as_echo "$ac_res" >&6; }
1702481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703481a5ccdes
1704481a5ccdes} # ac_fn_c_check_type
1705481a5ccdes
1706481a5ccdes# ac_fn_c_try_link LINENO
1707481a5ccdes# -----------------------
1708481a5ccdes# Try to link conftest.$ac_ext, and return whether this succeeded.
1709481a5ccdesac_fn_c_try_link ()
1710481a5ccdes{
1711481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712481a5ccdes  rm -f conftest.$ac_objext conftest$ac_exeext
1713481a5ccdes  if { { ac_try="$ac_link"
1714481a5ccdescase "(($ac_try" in
1715481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716481a5ccdes  *) ac_try_echo=$ac_try;;
1717481a5ccdesesac
1718481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719481a5ccdes$as_echo "$ac_try_echo"; } >&5
1720481a5ccdes  (eval "$ac_link") 2>conftest.err
1721481a5ccdes  ac_status=$?
1722481a5ccdes  if test -s conftest.err; then
1723481a5ccdes    grep -v '^ *+' conftest.err >conftest.er1
1724481a5ccdes    cat conftest.er1 >&5
1725481a5ccdes    mv -f conftest.er1 conftest.err
1726481a5ccdes  fi
1727481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728481a5ccdes  test $ac_status = 0; } && {
1729481a5ccdes	 test -z "$ac_c_werror_flag" ||
1730481a5ccdes	 test ! -s conftest.err
1731481a5ccdes       } && test -s conftest$ac_exeext && {
1732481a5ccdes	 test "$cross_compiling" = yes ||
173393ec55edes	 test -x conftest$ac_exeext
1734481a5ccdes       }; then :
1735481a5ccdes  ac_retval=0
1736481a5ccdeselse
1737481a5ccdes  $as_echo "$as_me: failed program was:" >&5
1738481a5ccdessed 's/^/| /' conftest.$ac_ext >&5
1739481a5ccdes
1740481a5ccdes	ac_retval=1
1741481a5ccdesfi
1742481a5ccdes  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743481a5ccdes  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744481a5ccdes  # interfere with the next link command; also delete a directory that is
1745481a5ccdes  # left behind by Apple's compiler.  We do this before executing the actions.
1746481a5ccdes  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748481a5ccdes  as_fn_set_status $ac_retval
1749481a5ccdes
1750481a5ccdes} # ac_fn_c_try_link
1751481a5ccdes
1752481a5ccdes# ac_fn_c_check_func LINENO FUNC VAR
1753481a5ccdes# ----------------------------------
1754481a5ccdes# Tests whether FUNC exists, setting the cache variable VAR accordingly
1755481a5ccdesac_fn_c_check_func ()
1756481a5ccdes{
1757481a5ccdes  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759481a5ccdes$as_echo_n "checking for $2... " >&6; }
1760481a5ccdesif eval \${$3+:} false; then :
1761481a5ccdes  $as_echo_n "(cached) " >&6
1762481a5ccdeselse
1763481a5ccdes  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764481a5ccdes/* end confdefs.h.  */
1765481a5ccdes/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766481a5ccdes   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1767481a5ccdes#define $2 innocuous_$2
1768481a5ccdes
1769481a5ccdes/* System header to define __stub macros and hopefully few prototypes,
1770481a5ccdes    which can conflict with char $2 (); below.
1771481a5ccdes    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772481a5ccdes    <limits.h> exists even on freestanding compilers.  */
1773481a5ccdes
1774481a5ccdes#ifdef __STDC__
1775481a5ccdes# include <limits.h>
1776481a5ccdes#else
1777481a5ccdes# include <assert.h>
1778481a5ccdes#endif
1779481a5ccdes
1780481a5ccdes#undef $2
1781481a5ccdes
1782481a5ccdes/* Override any GCC internal prototype to avoid an error.
1783481a5ccdes   Use char because int might match the return type of a GCC
1784481a5ccdes   builtin and then its argument prototype would still apply.  */
1785481a5ccdes#ifdef __cplusplus
1786481a5ccdesextern "C"
1787481a5ccdes#endif
1788481a5ccdeschar $2 ();
1789481a5ccdes/* The GNU C library defines this for functions which it implements
1790481a5ccdes    to always fail with ENOSYS.  Some functions are actually named
1791481a5ccdes    something starting with __ and the normal name is an alias.  */
1792481a5ccdes#if defined __stub_$2 || defined __stub___$2
1793481a5ccdeschoke me
1794481a5ccdes#endif
1795481a5ccdes
1796481a5ccdesint
1797481a5ccdesmain ()
1798481a5ccdes{
1799481a5ccdesreturn $2 ();
1800481a5ccdes  ;
1801481a5ccdes  return 0;
1802481a5ccdes}
1803481a5ccdes_ACEOF
1804481a5ccdesif ac_fn_c_try_link "$LINENO"; then :
1805481a5ccdes  eval "$3=yes"
1806481a5ccdeselse
1807481a5ccdes  eval "$3=no"
1808481a5ccdesfi
1809481a5ccdesrm -f core conftest.err conftest.$ac_objext \
1810481a5ccdes    conftest$ac_exeext conftest.$ac_ext
1811481a5ccdesfi
1812481a5ccdeseval ac_res=\$$3
1813481a5ccdes	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814481a5ccdes$as_echo "$ac_res" >&6; }
1815481a5ccdes  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816481a5ccdes
1817481a5ccdes} # ac_fn_c_check_func
1818481a5ccdescat >config.log <<_ACEOF
1819481a5ccdesThis file contains any messages produced by compilers while
1820481a5ccdesrunning configure, to aid debugging if configure makes a mistake.
1821481a5ccdes
182293ec55edesIt was created by ldns $as_me 1.7.0, which was
182393ec55edesgenerated by GNU Autoconf 2.69.  Invocation command line was
1824481a5ccdes
1825481a5ccdes  $ $0 $@
1826481a5ccdes
1827481a5ccdes_ACEOF
1828481a5ccdesexec 5>>config.log
1829481a5ccdes{
1830481a5ccdescat <<_ASUNAME
1831481a5ccdes## --------- ##
1832481a5ccdes## Platform. ##
1833481a5ccdes## --------- ##
1834481a5ccdes
1835481a5ccdeshostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1836481a5ccdesuname -m = `(uname -m) 2>/dev/null || echo unknown`
1837481a5ccdesuname -r = `(uname -r) 2>/dev/null || echo unknown`
1838481a5ccdesuname -s = `(uname -s) 2>/dev/null || echo unknown`
1839481a5ccdesuname -v = `(uname -v) 2>/dev/null || echo unknown`
1840481a5ccdes
1841481a5ccdes/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1842481a5ccdes/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1843481a5ccdes
1844481a5ccdes/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1845481a5ccdes/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1846481a5ccdes/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1847481a5ccdes/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1848481a5ccdes/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1849481a5ccdes/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1850481a5ccdes/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1851481a5ccdes
1852481a5ccdes_ASUNAME
1853481a5ccdes
1854481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855481a5ccdesfor as_dir in $PATH
1856481a5ccdesdo
1857481a5ccdes  IFS=$as_save_IFS
1858481a5ccdes  test -z "$as_dir" && as_dir=.
1859481a5ccdes    $as_echo "PATH: $as_dir"
1860481a5ccdes  done
1861481a5ccdesIFS=$as_save_IFS
1862481a5ccdes
1863481a5ccdes} >&5
1864481a5ccdes
1865481a5ccdescat >&5 <<_ACEOF
1866481a5ccdes
1867481a5ccdes
1868481a5ccdes## ----------- ##
1869481a5ccdes## Core tests. ##
1870481a5ccdes## ----------- ##
1871481a5ccdes
1872481a5ccdes_ACEOF
1873481a5ccdes
1874481a5ccdes
1875481a5ccdes# Keep a trace of the command line.
1876481a5ccdes# Strip out --no-create and --no-recursion so they do not pile up.
1877481a5ccdes# Strip out --silent because we don't want to record it for future runs.
1878481a5ccdes# Also quote any args containing shell meta-characters.
1879481a5ccdes# Make two passes to allow for proper duplicate-argument suppression.
1880481a5ccdesac_configure_args=
1881481a5ccdesac_configure_args0=
1882481a5ccdesac_configure_args1=
1883481a5ccdesac_must_keep_next=false
1884481a5ccdesfor ac_pass in 1 2
1885481a5ccdesdo
1886481a5ccdes  for ac_arg
1887481a5ccdes  do
1888481a5ccdes    case $ac_arg in
1889481a5ccdes    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1890481a5ccdes    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1891481a5ccdes    | -silent | --silent | --silen | --sile | --sil)
1892481a5ccdes      continue ;;
1893481a5ccdes    *\'*)
1894481a5ccdes      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1895481a5ccdes    esac
1896481a5ccdes    case $ac_pass in
1897481a5ccdes    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1898481a5ccdes    2)
1899481a5ccdes      as_fn_append ac_configure_args1 " '$ac_arg'"
1900481a5ccdes      if test $ac_must_keep_next = true; then
1901481a5ccdes	ac_must_keep_next=false # Got value, back to normal.
1902481a5ccdes      else
1903481a5ccdes	case $ac_arg in
1904481a5ccdes	  *=* | --config-cache | -C | -disable-* | --disable-* \
1905481a5ccdes	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1906481a5ccdes	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1907481a5ccdes	  | -with-* | --with-* | -without-* | --without-* | --x)
1908481a5ccdes	    case "$ac_configure_args0 " in
1909481a5ccdes	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910481a5ccdes	    esac
1911481a5ccdes	    ;;
1912481a5ccdes	  -* ) ac_must_keep_next=true ;;
1913481a5ccdes	esac
1914481a5ccdes      fi
1915481a5ccdes      as_fn_append ac_configure_args " '$ac_arg'"
1916481a5ccdes      ;;
1917481a5ccdes    esac
1918481a5ccdes  done
1919481a5ccdesdone
1920481a5ccdes{ ac_configure_args0=; unset ac_configure_args0;}
1921481a5ccdes{ ac_configure_args1=; unset ac_configure_args1;}
1922481a5ccdes
1923481a5ccdes# When interrupted or exit'd, cleanup temporary files, and complete
1924481a5ccdes# config.log.  We remove comments because anyway the quotes in there
1925481a5ccdes# would cause problems or look ugly.
1926481a5ccdes# WARNING: Use '\'' to represent an apostrophe within the trap.
1927481a5ccdes# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1928481a5ccdestrap 'exit_status=$?
1929481a5ccdes  # Save into config.log some information that might help in debugging.
1930481a5ccdes  {
1931481a5ccdes    echo
1932481a5ccdes
1933481a5ccdes    $as_echo "## ---------------- ##
1934481a5ccdes## Cache variables. ##
1935481a5ccdes## ---------------- ##"
1936481a5ccdes    echo
1937481a5ccdes    # The following way of writing the cache mishandles newlines in values,
1938481a5ccdes(
1939481a5ccdes  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1940481a5ccdes    eval ac_val=\$$ac_var
1941481a5ccdes    case $ac_val in #(
1942481a5ccdes    *${as_nl}*)
1943481a5ccdes      case $ac_var in #(
1944481a5ccdes      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1945481a5ccdes$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1946481a5ccdes      esac
1947481a5ccdes      case $ac_var in #(
1948481a5ccdes      _ | IFS | as_nl) ;; #(
1949481a5ccdes      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1950481a5ccdes      *) { eval $ac_var=; unset $ac_var;} ;;
1951481a5ccdes      esac ;;
1952481a5ccdes    esac
1953481a5ccdes  done
1954481a5ccdes  (set) 2>&1 |
1955481a5ccdes    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1956481a5ccdes    *${as_nl}ac_space=\ *)
1957481a5ccdes      sed -n \
1958481a5ccdes	"s/'\''/'\''\\\\'\'''\''/g;
1959481a5ccdes	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1960481a5ccdes      ;; #(
1961481a5ccdes    *)
1962481a5ccdes      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1963481a5ccdes      ;;
1964481a5ccdes    esac |
1965481a5ccdes    sort
1966481a5ccdes)
1967481a5ccdes    echo
1968481a5ccdes
1969481a5ccdes    $as_echo "## ----------------- ##
1970481a5ccdes## Output variables. ##
1971481a5ccdes## ----------------- ##"
1972481a5ccdes    echo
1973481a5ccdes    for ac_var in $ac_subst_vars
1974481a5ccdes    do
1975481a5ccdes      eval ac_val=\$$ac_var
1976481a5ccdes      case $ac_val in
1977481a5ccdes      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1978481a5ccdes      esac
1979481a5ccdes      $as_echo "$ac_var='\''$ac_val'\''"
1980481a5ccdes    done | sort
1981481a5ccdes    echo
1982481a5ccdes
1983481a5ccdes    if test -n "$ac_subst_files"; then
1984481a5ccdes      $as_echo "## ------------------- ##
1985481a5ccdes## File substitutions. ##
1986481a5ccdes## ------------------- ##"
1987481a5ccdes      echo
1988481a5ccdes      for ac_var in $ac_subst_files
1989481a5ccdes      do
1990481a5ccdes	eval ac_val=\$$ac_var
1991481a5ccdes	case $ac_val in
1992481a5ccdes	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1993481a5ccdes	esac
1994481a5ccdes	$as_echo "$ac_var='\''$ac_val'\''"
1995481a5ccdes      done | sort
1996481a5ccdes      echo
1997481a5ccdes    fi
1998481a5ccdes
1999481a5ccdes    if test -s confdefs.h; then
2000481a5ccdes      $as_echo "## ----------- ##
2001481a5ccdes## confdefs.h. ##
2002481a5ccdes## ----------- ##"
2003481a5ccdes      echo
2004481a5ccdes      cat confdefs.h
2005481a5ccdes      echo
2006481a5ccdes    fi
2007481a5ccdes    test "$ac_signal" != 0 &&
2008481a5ccdes      $as_echo "$as_me: caught signal $ac_signal"
2009481a5ccdes    $as_echo "$as_me: exit $exit_status"
2010481a5ccdes  } >&5
2011481a5ccdes  rm -f core *.core core.conftest.* &&
2012481a5ccdes    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2013481a5ccdes    exit $exit_status
2014481a5ccdes' 0
2015481a5ccdesfor ac_signal in 1 2 13 15; do
2016481a5ccdes  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2017481a5ccdesdone
2018481a5ccdesac_signal=0
2019481a5ccdes
2020481a5ccdes# confdefs.h avoids OS command line length limits that DEFS can exceed.
2021481a5ccdesrm -f -r conftest* confdefs.h
2022481a5ccdes
2023481a5ccdes$as_echo "/* confdefs.h */" > confdefs.h
2024481a5ccdes
2025481a5ccdes# Predefined preprocessor variables.
2026481a5ccdes
2027481a5ccdescat >>confdefs.h <<_ACEOF
2028481a5ccdes#define PACKAGE_NAME "$PACKAGE_NAME"
2029481a5ccdes_ACEOF
2030481a5ccdes
2031481a5ccdescat >>confdefs.h <<_ACEOF
2032481a5ccdes#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2033481a5ccdes_ACEOF
2034481a5ccdes
2035481a5ccdescat >>confdefs.h <<_ACEOF
2036481a5ccdes#define PACKAGE_VERSION "$PACKAGE_VERSION"
2037481a5ccdes_ACEOF
2038481a5ccdes
2039481a5ccdescat >>confdefs.h <<_ACEOF
2040481a5ccdes#define PACKAGE_STRING "$PACKAGE_STRING"
2041481a5ccdes_ACEOF
2042481a5ccdes
2043481a5ccdescat >>confdefs.h <<_ACEOF
2044481a5ccdes#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2045481a5ccdes_ACEOF
2046481a5ccdes
2047481a5ccdescat >>confdefs.h <<_ACEOF
2048481a5ccdes#define PACKAGE_URL "$PACKAGE_URL"
2049481a5ccdes_ACEOF
2050481a5ccdes
2051481a5ccdes
2052481a5ccdes# Let the site file select an alternate cache file if it wants to.
2053481a5ccdes# Prefer an explicitly selected file to automatically selected ones.
2054481a5ccdesac_site_file1=NONE
2055481a5ccdesac_site_file2=NONE
2056481a5ccdesif test -n "$CONFIG_SITE"; then
2057481a5ccdes  # We do not want a PATH search for config.site.
2058481a5ccdes  case $CONFIG_SITE in #((
2059481a5ccdes    -*)  ac_site_file1=./$CONFIG_SITE;;
2060481a5ccdes    */*) ac_site_file1=$CONFIG_SITE;;
2061481a5ccdes    *)   ac_site_file1=./$CONFIG_SITE;;
2062481a5ccdes  esac
2063481a5ccdeselif test "x$prefix" != xNONE; then
2064481a5ccdes  ac_site_file1=$prefix/share/config.site
2065481a5ccdes  ac_site_file2=$prefix/etc/config.site
2066481a5ccdeselse
2067481a5ccdes  ac_site_file1=$ac_default_prefix/share/config.site
2068481a5ccdes  ac_site_file2=$ac_default_prefix/etc/config.site
2069481a5ccdesfi
2070481a5ccdesfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
2071481a5ccdesdo
2072481a5ccdes  test "x$ac_site_file" = xNONE && continue
2073481a5ccdes  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2074481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2075481a5ccdes$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2076481a5ccdes    sed 's/^/| /' "$ac_site_file" >&5
2077481a5ccdes    . "$ac_site_file" \
2078481a5ccdes      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2079481a5ccdes$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080481a5ccdesas_fn_error $? "failed to load site script $ac_site_file
2081481a5ccdesSee \`config.log' for more details" "$LINENO" 5; }
2082481a5ccdes  fi
2083481a5ccdesdone
2084481a5ccdes
2085481a5ccdesif test -r "$cache_file"; then
2086481a5ccdes  # Some versions of bash will fail to source /dev/null (special files
2087481a5ccdes  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2088481a5ccdes  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2089481a5ccdes    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2090481a5ccdes$as_echo "$as_me: loading cache $cache_file" >&6;}
2091481a5ccdes    case $cache_file in
2092481a5ccdes      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2093481a5ccdes      *)                      . "./$cache_file";;
2094481a5ccdes    esac
2095481a5ccdes  fi
2096481a5ccdeselse
2097481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2098481a5ccdes$as_echo "$as_me: creating cache $cache_file" >&6;}
2099481a5ccdes  >$cache_file
2100481a5ccdesfi
2101481a5ccdes
2102481a5ccdes# Check that the precious variables saved in the cache have kept the same
2103481a5ccdes# value.
2104481a5ccdesac_cache_corrupted=false
2105481a5ccdesfor ac_var in $ac_precious_vars; do
2106481a5ccdes  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2107481a5ccdes  eval ac_new_set=\$ac_env_${ac_var}_set
2108481a5ccdes  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2109481a5ccdes  eval ac_new_val=\$ac_env_${ac_var}_value
2110481a5ccdes  case $ac_old_set,$ac_new_set in
2111481a5ccdes    set,)
2112481a5ccdes      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2113481a5ccdes$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2114481a5ccdes      ac_cache_corrupted=: ;;
2115481a5ccdes    ,set)
2116481a5ccdes      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2117481a5ccdes$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2118481a5ccdes      ac_cache_corrupted=: ;;
2119481a5ccdes    ,);;
2120481a5ccdes    *)
2121481a5ccdes      if test "x$ac_old_val" != "x$ac_new_val"; then
2122481a5ccdes	# differences in whitespace do not lead to failure.
2123481a5ccdes	ac_old_val_w=`echo x $ac_old_val`
2124481a5ccdes	ac_new_val_w=`echo x $ac_new_val`
2125481a5ccdes	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2126481a5ccdes	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2127481a5ccdes$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2128481a5ccdes	  ac_cache_corrupted=:
2129481a5ccdes	else
2130481a5ccdes	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2131481a5ccdes$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2132481a5ccdes	  eval $ac_var=\$ac_old_val
2133481a5ccdes	fi
2134481a5ccdes	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2135481a5ccdes$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2136481a5ccdes	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2137481a5ccdes$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2138481a5ccdes      fi;;
2139481a5ccdes  esac
2140481a5ccdes  # Pass precious variables to config.status.
2141481a5ccdes  if test "$ac_new_set" = set; then
2142481a5ccdes    case $ac_new_val in
2143481a5ccdes    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2144481a5ccdes    *) ac_arg=$ac_var=$ac_new_val ;;
2145481a5ccdes    esac
2146481a5ccdes    case " $ac_configure_args " in
2147481a5ccdes      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2148481a5ccdes      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2149481a5ccdes    esac
2150481a5ccdes  fi
2151481a5ccdesdone
2152481a5ccdesif $ac_cache_corrupted; then
2153481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2154481a5ccdes$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2156481a5ccdes$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2157481a5ccdes  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2158481a5ccdesfi
2159481a5ccdes## -------------------- ##
2160481a5ccdes## Main body of script. ##
2161481a5ccdes## -------------------- ##
2162481a5ccdes
2163481a5ccdesac_ext=c
2164481a5ccdesac_cpp='$CPP $CPPFLAGS'
2165481a5ccdesac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166481a5ccdesac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167481a5ccdesac_compiler_gnu=$ac_cv_c_compiler_gnu
2168481a5ccdes
2169481a5ccdes
2170481a5ccdes
2171481a5ccdes# acx_nlnetlabs.m4 - common macros for configure checks
2172481a5ccdes# Copyright 2009, Wouter Wijngaards, NLnet Labs.
2173481a5ccdes# BSD licensed.
2174481a5ccdes#
217593ec55edes# Version 34
217693ec55edes# 2016-03-21 Check -ldl -pthread for libcrypto for ldns and openssl 1.1.0.
217793ec55edes# 2016-03-21 Use HMAC_Update instead of HMAC_CTX_Init (for openssl-1.1.0).
217893ec55edes# 2016-01-04 -D_DEFAULT_SOURCE defined with -D_BSD_SOURCE for Linux glibc 2.20
217993ec55edes# 2015-12-11 FLTO check for new OSX, clang.
218093ec55edes# 2015-11-18 spelling check fix.
218193ec55edes# 2015-11-05 ACX_SSL_CHECKS no longer adds -ldl needlessly.
218293ec55edes# 2015-08-28 ACX_CHECK_PIE and ACX_CHECK_RELRO_NOW added.
218393ec55edes# 2015-03-17 AHX_CONFIG_REALLOCARRAY added
2184ea0dad8des# 2013-09-19 FLTO help text improved.
2185ea0dad8des# 2013-07-18 Enable ACX_CHECK_COMPILER_FLAG to test for -Wstrict-prototypes
2186ea0dad8des# 2013-06-25 FLTO has --disable-flto option.
2187ea0dad8des# 2013-05-03 Update W32_SLEEP for newer mingw that links but not defines it.
2188ea0dad8des# 2013-03-22 Fix ACX_RSRC_VERSION for long version numbers.
2189481a5ccdes# 2012-02-09 Fix AHX_MEMCMP_BROKEN with undef in compat/memcmp.h.
2190481a5ccdes# 2012-01-20 Fix COMPILER_FLAGS_UNBOUND for gcc 4.6.2 assigned-not-used-warns.
2191481a5ccdes# 2011-12-05 Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc.
2192481a5ccdes# 	     Fix ACX_MALLOC for redefined malloc error.
2193481a5ccdes# 	     Fix GETADDRINFO_WITH_INCLUDES to add -lws2_32
2194481a5ccdes# 2011-11-10 Fix FLTO test to not drop a.out in current directory.
2195481a5ccdes# 2011-11-01 Fix FLTO test for llvm on Lion.
2196481a5ccdes# 2011-08-01 Fix nonblock test (broken at v13).
2197481a5ccdes# 2011-08-01 Fix autoconf 2.68 warnings
2198481a5ccdes# 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
2199481a5ccdes# 2010-08-16 Fix FLAG_OMITTED for AS_TR_CPP changes in autoconf-2.66.
2200481a5ccdes# 2010-07-02 Add check for ss_family (for minix).
2201481a5ccdes# 2010-04-26 Fix to use CPPFLAGS for CHECK_COMPILER_FLAGS.
2202481a5ccdes# 2010-03-01 Fix RPATH using CONFIG_COMMANDS to run at the very end.
2203ea0dad8des# 2010-02-18 WITH_SSL outputs the LIBSSL_LDFLAGS, LIBS, CPPFLAGS separate, -ldl
2204481a5ccdes# 2010-02-01 added ACX_CHECK_MEMCMP_SIGNED, AHX_MEMCMP_BROKEN
2205481a5ccdes# 2010-01-20 added AHX_COONFIG_STRLCAT
2206481a5ccdes# 2009-07-14 U_CHAR detection improved for windows crosscompile.
2207481a5ccdes#            added ACX_FUNC_MALLOC
2208481a5ccdes#            fixup some #if to #ifdef
2209481a5ccdes#            NONBLOCKING test for mingw crosscompile.
2210481a5ccdes# 2009-07-13 added ACX_WITH_SSL_OPTIONAL
2211481a5ccdes# 2009-07-03 fixup LDFLAGS for empty ssl dir.
2212481a5ccdes#
2213481a5ccdes# Automates some of the checking constructs.  Aims at portability for POSIX.
2214481a5ccdes# Documentation for functions is below.
2215481a5ccdes#
2216481a5ccdes# the following macro's are provided in this file:
2217481a5ccdes# (see below for details on each macro).
2218481a5ccdes#
2219481a5ccdes# ACX_ESCAPE_BACKSLASH		- escape backslashes in var for C-preproc.
2220481a5ccdes# ACX_RSRC_VERSION		- create windows resource version number.
2221481a5ccdes# ACX_CHECK_COMPILER_FLAG	- see if cc supports a flag.
2222481a5ccdes# ACX_CHECK_ERROR_FLAGS		- see which flag is -werror (used below).
2223481a5ccdes# ACX_CHECK_COMPILER_FLAG_NEEDED - see if flags make the code compile cleanly.
2224481a5ccdes# ACX_DEPFLAG			- find cc dependency flags.
2225481a5ccdes# ACX_DETERMINE_EXT_FLAGS_UNBOUND - find out which flags enable BSD and POSIX.
2226481a5ccdes# ACX_CHECK_FORMAT_ATTRIBUTE	- find cc printf format syntax.
2227481a5ccdes# ACX_CHECK_UNUSED_ATTRIBUTE	- find cc variable unused syntax.
2228481a5ccdes# ACX_CHECK_FLTO		- see if cc supports -flto and use it if so.
2229481a5ccdes# ACX_LIBTOOL_C_ONLY		- create libtool for C only, improved.
2230481a5ccdes# ACX_TYPE_U_CHAR		- u_char type.
2231481a5ccdes# ACX_TYPE_RLIM_T		- rlim_t type.
2232481a5ccdes# ACX_TYPE_SOCKLEN_T		- socklen_t type.
2233481a5ccdes# ACX_TYPE_IN_ADDR_T		- in_addr_t type.
2234481a5ccdes# ACX_TYPE_IN_PORT_T		- in_port_t type.
2235481a5ccdes# ACX_ARG_RPATH			- add --disable-rpath option.
2236481a5ccdes# ACX_WITH_SSL			- add --with-ssl option, link -lcrypto.
2237481a5ccdes# ACX_WITH_SSL_OPTIONAL		- add --with-ssl option, link -lcrypto,
2238481a5ccdes#				  where --without-ssl is also accepted
2239481a5ccdes# ACX_LIB_SSL			- setup to link -lssl.
2240481a5ccdes# ACX_SYS_LARGEFILE		- improved sys_largefile, fseeko, >2G files.
2241481a5ccdes# ACX_CHECK_GETADDRINFO_WITH_INCLUDES - find getaddrinfo, portably.
2242481a5ccdes# ACX_FUNC_DEPRECATED		- see if func is deprecated.
2243481a5ccdes# ACX_CHECK_NONBLOCKING_BROKEN	- see if nonblocking sockets really work.
2244481a5ccdes# ACX_MKDIR_ONE_ARG		- determine mkdir(2) number of arguments.
2245481a5ccdes# ACX_FUNC_IOCTLSOCKET		- find ioctlsocket, portably.
2246481a5ccdes# ACX_FUNC_MALLOC		- check malloc, define replacement .
2247481a5ccdes# AHX_CONFIG_FORMAT_ATTRIBUTE	- config.h text for format.
2248481a5ccdes# AHX_CONFIG_UNUSED_ATTRIBUTE	- config.h text for unused.
2249481a5ccdes# AHX_CONFIG_FSEEKO		- define fseeko, ftello fallback.
2250481a5ccdes# AHX_CONFIG_RAND_MAX		- define RAND_MAX if needed.
2251481a5ccdes# AHX_CONFIG_MAXHOSTNAMELEN	- define MAXHOSTNAMELEN if needed.
2252481a5ccdes# AHX_CONFIG_IPV6_MIN_MTU	- define IPV6_MIN_MTU if needed.
2253481a5ccdes# AHX_CONFIG_SNPRINTF		- snprintf compat prototype
2254481a5ccdes# AHX_CONFIG_INET_PTON		- inet_pton compat prototype
2255481a5ccdes# AHX_CONFIG_INET_NTOP		- inet_ntop compat prototype
2256481a5ccdes# AHX_CONFIG_INET_ATON		- inet_aton compat prototype
2257481a5ccdes# AHX_CONFIG_MEMMOVE		- memmove compat prototype
2258481a5ccdes# AHX_CONFIG_STRLCAT		- strlcat compat prototype
2259481a5ccdes# AHX_CONFIG_STRLCPY		- strlcpy compat prototype
2260481a5ccdes# AHX_CONFIG_GMTIME_R		- gmtime_r compat prototype
2261481a5ccdes# AHX_CONFIG_W32_SLEEP		- w32 compat for sleep
2262481a5ccdes# AHX_CONFIG_W32_USLEEP		- w32 compat for usleep
2263481a5ccdes# AHX_CONFIG_W32_RANDOM		- w32 compat for random
2264481a5ccdes# AHX_CONFIG_W32_SRANDOM	- w32 compat for srandom
2265481a5ccdes# AHX_CONFIG_W32_FD_SET_T	- w32 detection of FD_SET_T.
2266481a5ccdes# ACX_CFLAGS_STRIP		- strip one flag from CFLAGS
2267481a5ccdes# ACX_STRIP_EXT_FLAGS		- strip extension flags from CFLAGS
2268481a5ccdes# AHX_CONFIG_FLAG_OMITTED	- define omitted flag
2269481a5ccdes# AHX_CONFIG_FLAG_EXT		- define omitted extension flag
2270481a5ccdes# AHX_CONFIG_EXT_FLAGS		- define the stripped extension flags
2271481a5ccdes# ACX_CHECK_MEMCMP_SIGNED	- check if memcmp uses signed characters.
2272481a5ccdes# AHX_MEMCMP_BROKEN		- replace memcmp func for CHECK_MEMCMP_SIGNED.
2273481a5ccdes# ACX_CHECK_SS_FAMILY           - check for sockaddr_storage.ss_family
227493ec55edes# ACX_CHECK_PIE			- add --enable-pie option and check if works
227593ec55edes# ACX_CHECK_RELRO_NOW		- add --enable-relro-now option and check it
2276481a5ccdes#
2277481a5ccdes
2278481a5ccdes
2279481a5ccdes
2280481a5ccdes
2281481a5ccdes
2282481a5ccdes
2283481a5ccdes
2284481a5ccdes
2285481a5ccdes
2286481a5ccdes
2287481a5ccdes
2288481a5ccdes
2289481a5ccdes
2290481a5ccdes
2291481a5ccdes
2292481a5ccdes
2293481a5ccdes
2294481a5ccdes
2295481a5ccdes
2296481a5ccdes
2297481a5ccdes
2298481a5ccdes
2299481a5ccdes
2300481a5ccdes
2301481a5ccdes
2302481a5ccdes
2303481a5ccdes
2304481a5ccdes
2305481a5ccdes
2306481a5ccdes
2307481a5ccdes
2308481a5ccdes
2309481a5ccdes
2310481a5ccdes
2311481a5ccdes
2312481a5ccdes
2313481a5ccdes
2314481a5ccdes
2315481a5ccdes
2316481a5ccdes
2317481a5ccdes
2318481a5ccdes
2319481a5ccdes
2320481a5ccdes
2321481a5ccdes
2322481a5ccdes
2323481a5ccdes
2324481a5ccdes
2325481a5ccdes
2326481a5ccdes
2327481a5ccdes
2328481a5ccdes
2329481a5ccdes
2330481a5ccdes
2331481a5ccdes
2332481a5ccdes
2333481a5ccdes
2334481a5ccdes
2335481a5ccdes
2336481a5ccdes
2337481a5ccdes
2338481a5ccdes
2339481a5ccdes
2340481a5ccdes
2341481a5ccdes
2342481a5ccdes
2343481a5ccdes
2344481a5ccdes
2345481a5ccdes
2346481a5ccdes
2347481a5ccdes
2348481a5ccdes
2349481a5ccdes
2350481a5ccdes
2351481a5ccdes
2352481a5ccdes
2353481a5ccdes
2354481a5ccdes
2355481a5ccdes
2356481a5ccdes
2357481a5ccdes
2358481a5ccdes
2359481a5ccdes
2360481a5ccdes
2361481a5ccdes
2362481a5ccdes
2363481a5ccdes
2364481a5ccdes
2365481a5ccdes
2366481a5ccdes
2367481a5ccdes
2368481a5ccdes
2369481a5ccdes
2370481a5ccdes
2371481a5ccdes
2372481a5ccdes
2373481a5ccdes
2374481a5ccdes
2375481a5ccdes
2376481a5ccdes
2377481a5ccdes
2378481a5ccdes
237993ec55edes
238093ec55edes
238193ec55edes
238293ec55edes
238393ec55edes
238493ec55edes
2385481a5ccdesOURCPPFLAGS=''
2386481a5ccdesCPPFLAGS=${CPPFLAGS:-${OURCPPFLAGS}}
2387481a5ccdesOURCFLAGS='-g'
2388481a5ccdesCFLAGS=${CFLAGS:-${OURCFLAGS}}
2389481a5ccdes
2390481a5ccdes$as_echo "#define WINVER 0x0502" >>confdefs.h
2391481a5ccdes
2392481a5ccdes
2393481a5ccdesac_ext=c
2394481a5ccdesac_cpp='$CPP $CPPFLAGS'
2395481a5ccdesac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396481a5ccdesac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397481a5ccdesac_compiler_gnu=$ac_cv_c_compiler_gnu
2398481a5ccdesif test -n "$ac_tool_prefix"; then
2399481a5ccdes  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2400481a5ccdesset dummy ${ac_tool_prefix}gcc; ac_word=$2
2401481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2403481a5ccdesif ${ac_cv_prog_CC+:} false; then :
2404481a5ccdes  $as_echo_n "(cached) " >&6
2405481a5ccdeselse
2406481a5ccdes  if test -n "$CC"; then
2407481a5ccdes  ac_cv_prog_CC="$CC" # Let the user override the test.
2408481a5ccdeselse
2409481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410481a5ccdesfor as_dir in $PATH
2411481a5ccdesdo
2412481a5ccdes  IFS=$as_save_IFS
2413481a5ccdes  test -z "$as_dir" && as_dir=.
2414481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
241593ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416481a5ccdes    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2417481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418481a5ccdes    break 2
2419481a5ccdes  fi
2420481a5ccdesdone
2421481a5ccdes  done
2422481a5ccdesIFS=$as_save_IFS
2423481a5ccdes
2424481a5ccdesfi
2425481a5ccdesfi
2426481a5ccdesCC=$ac_cv_prog_CC
2427481a5ccdesif test -n "$CC"; then
2428481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2429481a5ccdes$as_echo "$CC" >&6; }
2430481a5ccdeselse
2431481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432481a5ccdes$as_echo "no" >&6; }
2433481a5ccdesfi
2434481a5ccdes
2435481a5ccdes
2436481a5ccdesfi
2437481a5ccdesif test -z "$ac_cv_prog_CC"; then
2438481a5ccdes  ac_ct_CC=$CC
2439481a5ccdes  # Extract the first word of "gcc", so it can be a program name with args.
2440481a5ccdesset dummy gcc; ac_word=$2
2441481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2443481a5ccdesif ${ac_cv_prog_ac_ct_CC+:} false; then :
2444481a5ccdes  $as_echo_n "(cached) " >&6
2445481a5ccdeselse
2446481a5ccdes  if test -n "$ac_ct_CC"; then
2447481a5ccdes  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2448481a5ccdeselse
2449481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450481a5ccdesfor as_dir in $PATH
2451481a5ccdesdo
2452481a5ccdes  IFS=$as_save_IFS
2453481a5ccdes  test -z "$as_dir" && as_dir=.
2454481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
245593ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456481a5ccdes    ac_cv_prog_ac_ct_CC="gcc"
2457481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458481a5ccdes    break 2
2459481a5ccdes  fi
2460481a5ccdesdone
2461481a5ccdes  done
2462481a5ccdesIFS=$as_save_IFS
2463481a5ccdes
2464481a5ccdesfi
2465481a5ccdesfi
2466481a5ccdesac_ct_CC=$ac_cv_prog_ac_ct_CC
2467481a5ccdesif test -n "$ac_ct_CC"; then
2468481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2469481a5ccdes$as_echo "$ac_ct_CC" >&6; }
2470481a5ccdeselse
2471481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472481a5ccdes$as_echo "no" >&6; }
2473481a5ccdesfi
2474481a5ccdes
2475481a5ccdes  if test "x$ac_ct_CC" = x; then
2476481a5ccdes    CC=""
2477481a5ccdes  else
2478481a5ccdes    case $cross_compiling:$ac_tool_warned in
2479481a5ccdesyes:)
2480481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2481481a5ccdes$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2482481a5ccdesac_tool_warned=yes ;;
2483481a5ccdesesac
2484481a5ccdes    CC=$ac_ct_CC
2485481a5ccdes  fi
2486481a5ccdeselse
2487481a5ccdes  CC="$ac_cv_prog_CC"
2488481a5ccdesfi
2489481a5ccdes
2490481a5ccdesif test -z "$CC"; then
2491481a5ccdes          if test -n "$ac_tool_prefix"; then
2492481a5ccdes    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2493481a5ccdesset dummy ${ac_tool_prefix}cc; ac_word=$2
2494481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2496481a5ccdesif ${ac_cv_prog_CC+:} false; then :
2497481a5ccdes  $as_echo_n "(cached) " >&6
2498481a5ccdeselse
2499481a5ccdes  if test -n "$CC"; then
2500481a5ccdes  ac_cv_prog_CC="$CC" # Let the user override the test.
2501481a5ccdeselse
2502481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503481a5ccdesfor as_dir in $PATH
2504481a5ccdesdo
2505481a5ccdes  IFS=$as_save_IFS
2506481a5ccdes  test -z "$as_dir" && as_dir=.
2507481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
250893ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509481a5ccdes    ac_cv_prog_CC="${ac_tool_prefix}cc"
2510481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511481a5ccdes    break 2
2512481a5ccdes  fi
2513481a5ccdesdone
2514481a5ccdes  done
2515481a5ccdesIFS=$as_save_IFS
2516481a5ccdes
2517481a5ccdesfi
2518481a5ccdesfi
2519481a5ccdesCC=$ac_cv_prog_CC
2520481a5ccdesif test -n "$CC"; then
2521481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522481a5ccdes$as_echo "$CC" >&6; }
2523481a5ccdeselse
2524481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525481a5ccdes$as_echo "no" >&6; }
2526481a5ccdesfi
2527481a5ccdes
2528481a5ccdes
2529481a5ccdes  fi
2530481a5ccdesfi
2531481a5ccdesif test -z "$CC"; then
2532481a5ccdes  # Extract the first word of "cc", so it can be a program name with args.
2533481a5ccdesset dummy cc; ac_word=$2
2534481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2536481a5ccdesif ${ac_cv_prog_CC+:} false; then :
2537481a5ccdes  $as_echo_n "(cached) " >&6
2538481a5ccdeselse
2539481a5ccdes  if test -n "$CC"; then
2540481a5ccdes  ac_cv_prog_CC="$CC" # Let the user override the test.
2541481a5ccdeselse
2542481a5ccdes  ac_prog_rejected=no
2543481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544481a5ccdesfor as_dir in $PATH
2545481a5ccdesdo
2546481a5ccdes  IFS=$as_save_IFS
2547481a5ccdes  test -z "$as_dir" && as_dir=.
2548481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
254993ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550481a5ccdes    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2551481a5ccdes       ac_prog_rejected=yes
2552481a5ccdes       continue
2553481a5ccdes     fi
2554481a5ccdes    ac_cv_prog_CC="cc"
2555481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556481a5ccdes    break 2
2557481a5ccdes  fi
2558481a5ccdesdone
2559481a5ccdes  done
2560481a5ccdesIFS=$as_save_IFS
2561481a5ccdes
2562481a5ccdesif test $ac_prog_rejected = yes; then
2563481a5ccdes  # We found a bogon in the path, so make sure we never use it.
2564481a5ccdes  set dummy $ac_cv_prog_CC
2565481a5ccdes  shift
2566481a5ccdes  if test $# != 0; then
2567481a5ccdes    # We chose a different compiler from the bogus one.
2568481a5ccdes    # However, it has the same basename, so the bogon will be chosen
2569481a5ccdes    # first if we set CC to just the basename; use the full file name.
2570481a5ccdes    shift
2571481a5ccdes    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2572481a5ccdes  fi
2573481a5ccdesfi
2574481a5ccdesfi
2575481a5ccdesfi
2576481a5ccdesCC=$ac_cv_prog_CC
2577481a5ccdesif test -n "$CC"; then
2578481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2579481a5ccdes$as_echo "$CC" >&6; }
2580481a5ccdeselse
2581481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582481a5ccdes$as_echo "no" >&6; }
2583481a5ccdesfi
2584481a5ccdes
2585481a5ccdes
2586481a5ccdesfi
2587481a5ccdesif test -z "$CC"; then
2588481a5ccdes  if test -n "$ac_tool_prefix"; then
2589481a5ccdes  for ac_prog in cl.exe
2590481a5ccdes  do
2591481a5ccdes    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2592481a5ccdesset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2593481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2595481a5ccdesif ${ac_cv_prog_CC+:} false; then :
2596481a5ccdes  $as_echo_n "(cached) " >&6
2597481a5ccdeselse
2598481a5ccdes  if test -n "$CC"; then
2599481a5ccdes  ac_cv_prog_CC="$CC" # Let the user override the test.
2600481a5ccdeselse
2601481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602481a5ccdesfor as_dir in $PATH
2603481a5ccdesdo
2604481a5ccdes  IFS=$as_save_IFS
2605481a5ccdes  test -z "$as_dir" && as_dir=.
2606481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
260793ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608481a5ccdes    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2609481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610481a5ccdes    break 2
2611481a5ccdes  fi
2612481a5ccdesdone
2613481a5ccdes  done
2614481a5ccdesIFS=$as_save_IFS
2615481a5ccdes
2616481a5ccdesfi
2617481a5ccdesfi
2618481a5ccdesCC=$ac_cv_prog_CC
2619481a5ccdesif test -n "$CC"; then
2620481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2621481a5ccdes$as_echo "$CC" >&6; }
2622481a5ccdeselse
2623481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624481a5ccdes$as_echo "no" >&6; }
2625481a5ccdesfi
2626481a5ccdes
2627481a5ccdes
2628481a5ccdes    test -n "$CC" && break
2629481a5ccdes  done
2630481a5ccdesfi
2631481a5ccdesif test -z "$CC"; then
2632481a5ccdes  ac_ct_CC=$CC
2633481a5ccdes  for ac_prog in cl.exe
2634481a5ccdesdo
2635481a5ccdes  # Extract the first word of "$ac_prog", so it can be a program name with args.
2636481a5ccdesset dummy $ac_prog; ac_word=$2
2637481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638481a5ccdes$as_echo_n "checking for $ac_word... " >&6; }
2639481a5ccdesif ${ac_cv_prog_ac_ct_CC+:} false; then :
2640481a5ccdes  $as_echo_n "(cached) " >&6
2641481a5ccdeselse
2642481a5ccdes  if test -n "$ac_ct_CC"; then
2643481a5ccdes  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2644481a5ccdeselse
2645481a5ccdesas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646481a5ccdesfor as_dir in $PATH
2647481a5ccdesdo
2648481a5ccdes  IFS=$as_save_IFS
2649481a5ccdes  test -z "$as_dir" && as_dir=.
2650481a5ccdes    for ac_exec_ext in '' $ac_executable_extensions; do
265193ec55edes  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652481a5ccdes    ac_cv_prog_ac_ct_CC="$ac_prog"
2653481a5ccdes    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654481a5ccdes    break 2
2655481a5ccdes  fi
2656481a5ccdesdone
2657481a5ccdes  done
2658481a5ccdesIFS=$as_save_IFS
2659481a5ccdes
2660481a5ccdesfi
2661481a5ccdesfi
2662481a5ccdesac_ct_CC=$ac_cv_prog_ac_ct_CC
2663481a5ccdesif test -n "$ac_ct_CC"; then
2664481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2665481a5ccdes$as_echo "$ac_ct_CC" >&6; }
2666481a5ccdeselse
2667481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668481a5ccdes$as_echo "no" >&6; }
2669481a5ccdesfi
2670481a5ccdes
2671481a5ccdes
2672481a5ccdes  test -n "$ac_ct_CC" && break
2673481a5ccdesdone
2674481a5ccdes
2675481a5ccdes  if test "x$ac_ct_CC" = x; then
2676481a5ccdes    CC=""
2677481a5ccdes  else
2678481a5ccdes    case $cross_compiling:$ac_tool_warned in
2679481a5ccdesyes:)
2680481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2681481a5ccdes$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2682481a5ccdesac_tool_warned=yes ;;
2683481a5ccdesesac
2684481a5ccdes    CC=$ac_ct_CC
2685481a5ccdes  fi
2686481a5ccdesfi
2687481a5ccdes
2688481a5ccdesfi
2689481a5ccdes
2690481a5ccdes
2691481a5ccdestest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692481a5ccdes$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693481a5ccdesas_fn_error $? "no acceptable C compiler found in \$PATH
2694481a5ccdesSee \`config.log' for more details" "$LINENO" 5; }
2695481a5ccdes
2696481a5ccdes# Provide some information about the compiler.
2697481a5ccdes$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2698481a5ccdesset X $ac_compile
2699481a5ccdesac_compiler=$2
2700481a5ccdesfor ac_option in --version -v -V -qversion; do
2701481a5ccdes  { { ac_try="$ac_compiler $ac_option >&5"
2702481a5ccdescase "(($ac_try" in
2703481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704481a5ccdes  *) ac_try_echo=$ac_try;;
2705481a5ccdesesac
2706481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2707481a5ccdes$as_echo "$ac_try_echo"; } >&5
2708481a5ccdes  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2709481a5ccdes  ac_status=$?
2710481a5ccdes  if test -s conftest.err; then
2711481a5ccdes    sed '10a\
2712481a5ccdes... rest of stderr output deleted ...
2713481a5ccdes         10q' conftest.err >conftest.er1
2714481a5ccdes    cat conftest.er1 >&5
2715481a5ccdes  fi
2716481a5ccdes  rm -f conftest.er1 conftest.err
2717481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718481a5ccdes  test $ac_status = 0; }
2719481a5ccdesdone
2720481a5ccdes
2721481a5ccdescat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722481a5ccdes/* end confdefs.h.  */
2723481a5ccdes
2724481a5ccdesint
2725481a5ccdesmain ()
2726481a5ccdes{
2727481a5ccdes
2728481a5ccdes  ;
2729481a5ccdes  return 0;
2730481a5ccdes}
2731481a5ccdes_ACEOF
2732481a5ccdesac_clean_files_save=$ac_clean_files
2733481a5ccdesac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2734481a5ccdes# Try to create an executable without -o first, disregard a.out.
2735481a5ccdes# It will help us diagnose broken compilers, and finding out an intuition
2736481a5ccdes# of exeext.
2737481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2738481a5ccdes$as_echo_n "checking whether the C compiler works... " >&6; }
2739481a5ccdesac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2740481a5ccdes
2741481a5ccdes# The possible output files:
2742481a5ccdesac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2743481a5ccdes
2744481a5ccdesac_rmfiles=
2745481a5ccdesfor ac_file in $ac_files
2746481a5ccdesdo
2747481a5ccdes  case $ac_file in
2748481a5ccdes    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2749481a5ccdes    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2750481a5ccdes  esac
2751481a5ccdesdone
2752481a5ccdesrm -f $ac_rmfiles
2753481a5ccdes
2754481a5ccdesif { { ac_try="$ac_link_default"
2755481a5ccdescase "(($ac_try" in
2756481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757481a5ccdes  *) ac_try_echo=$ac_try;;
2758481a5ccdesesac
2759481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760481a5ccdes$as_echo "$ac_try_echo"; } >&5
2761481a5ccdes  (eval "$ac_link_default") 2>&5
2762481a5ccdes  ac_status=$?
2763481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764481a5ccdes  test $ac_status = 0; }; then :
2765481a5ccdes  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2766481a5ccdes# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2767481a5ccdes# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2768481a5ccdes# so that the user can short-circuit this test for compilers unknown to
2769481a5ccdes# Autoconf.
2770481a5ccdesfor ac_file in $ac_files ''
2771481a5ccdesdo
2772481a5ccdes  test -f "$ac_file" || continue
2773481a5ccdes  case $ac_file in
2774481a5ccdes    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2775481a5ccdes	;;
2776481a5ccdes    [ab].out )
2777481a5ccdes	# We found the default executable, but exeext='' is most
2778481a5ccdes	# certainly right.
2779481a5ccdes	break;;
2780481a5ccdes    *.* )
2781481a5ccdes	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2782481a5ccdes	then :; else
2783481a5ccdes	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2784481a5ccdes	fi
2785481a5ccdes	# We set ac_cv_exeext here because the later test for it is not
2786481a5ccdes	# safe: cross compilers may not add the suffix if given an `-o'
2787481a5ccdes	# argument, so we may need to know it at that point already.
2788481a5ccdes	# Even if this section looks crufty: it has the advantage of
2789481a5ccdes	# actually working.
2790481a5ccdes	break;;
2791481a5ccdes    * )
2792481a5ccdes	break;;
2793481a5ccdes  esac
2794481a5ccdesdone
2795481a5ccdestest "$ac_cv_exeext" = no && ac_cv_exeext=
2796481a5ccdes
2797481a5ccdeselse
2798481a5ccdes  ac_file=''
2799481a5ccdesfi
2800481a5ccdesif test -z "$ac_file"; then :
2801481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802481a5ccdes$as_echo "no" >&6; }
2803481a5ccdes$as_echo "$as_me: failed program was:" >&5
2804481a5ccdessed 's/^/| /' conftest.$ac_ext >&5
2805481a5ccdes
2806481a5ccdes{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2807481a5ccdes$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2808481a5ccdesas_fn_error 77 "C compiler cannot create executables
2809481a5ccdesSee \`config.log' for more details" "$LINENO" 5; }
2810481a5ccdeselse
2811481a5ccdes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2812481a5ccdes$as_echo "yes" >&6; }
2813481a5ccdesfi
2814481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2815481a5ccdes$as_echo_n "checking for C compiler default output file name... " >&6; }
2816481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2817481a5ccdes$as_echo "$ac_file" >&6; }
2818481a5ccdesac_exeext=$ac_cv_exeext
2819481a5ccdes
2820481a5ccdesrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2821481a5ccdesac_clean_files=$ac_clean_files_save
2822481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2823481a5ccdes$as_echo_n "checking for suffix of executables... " >&6; }
2824481a5ccdesif { { ac_try="$ac_link"
2825481a5ccdescase "(($ac_try" in
2826481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827481a5ccdes  *) ac_try_echo=$ac_try;;
2828481a5ccdesesac
2829481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830481a5ccdes$as_echo "$ac_try_echo"; } >&5
2831481a5ccdes  (eval "$ac_link") 2>&5
2832481a5ccdes  ac_status=$?
2833481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834481a5ccdes  test $ac_status = 0; }; then :
2835481a5ccdes  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2836481a5ccdes# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2837481a5ccdes# work properly (i.e., refer to `conftest.exe'), while it won't with
2838481a5ccdes# `rm'.
2839481a5ccdesfor ac_file in conftest.exe conftest conftest.*; do
2840481a5ccdes  test -f "$ac_file" || continue
2841481a5ccdes  case $ac_file in
2842481a5ccdes    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2843481a5ccdes    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2844481a5ccdes	  break;;
2845481a5ccdes    * ) break;;
2846481a5ccdes  esac
2847481a5ccdesdone
2848481a5ccdeselse
2849481a5ccdes  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2850481a5ccdes$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2851481a5ccdesas_fn_error $? "cannot compute suffix of executables: cannot compile and link
2852481a5ccdesSee \`config.log' for more details" "$LINENO" 5; }
2853481a5ccdesfi
2854481a5ccdesrm -f conftest conftest$ac_cv_exeext
2855481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2856481a5ccdes$as_echo "$ac_cv_exeext" >&6; }
2857481a5ccdes
2858481a5ccdesrm -f conftest.$ac_ext
2859481a5ccdesEXEEXT=$ac_cv_exeext
2860481a5ccdesac_exeext=$EXEEXT
2861481a5ccdescat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862481a5ccdes/* end confdefs.h.  */
2863481a5ccdes#include <stdio.h>
2864481a5ccdesint
2865481a5ccdesmain ()
2866481a5ccdes{
2867481a5ccdesFILE *f = fopen ("conftest.out", "w");
2868481a5ccdes return ferror (f) || fclose (f) != 0;
2869481a5ccdes
2870481a5ccdes  ;
2871481a5ccdes  return 0;
2872481a5ccdes}
2873481a5ccdes_ACEOF
2874481a5ccdesac_clean_files="$ac_clean_files conftest.out"
2875481a5ccdes# Check that the compiler produces executables we can run.  If not, either
2876481a5ccdes# the compiler is broken, or we cross compile.
2877481a5ccdes{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2878481a5ccdes$as_echo_n "checking whether we are cross compiling... " >&6; }
2879481a5ccdesif test "$cross_compiling" != yes; then
2880481a5ccdes  { { ac_try="$ac_link"
2881481a5ccdescase "(($ac_try" in
2882481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883481a5ccdes  *) ac_try_echo=$ac_try;;
2884481a5ccdesesac
2885481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886481a5ccdes$as_echo "$ac_try_echo"; } >&5
2887481a5ccdes  (eval "$ac_link") 2>&5
2888481a5ccdes  ac_status=$?
2889481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890481a5ccdes  test $ac_status = 0; }
2891481a5ccdes  if { ac_try='./conftest$ac_cv_exeext'
2892481a5ccdes  { { case "(($ac_try" in
2893481a5ccdes  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894481a5ccdes  *) ac_try_echo=$ac_try;;
2895481a5ccdesesac
2896481a5ccdeseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897481a5ccdes$as_echo "$ac_try_echo"; } >&5
2898481a5ccdes  (eval "$ac_try") 2>&5
2899481a5ccdes  ac_status=$?
2900481a5ccdes  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901481a5ccdes  test $ac_status = 0; }; }; then
2902481a5ccdes    cross_compiling=no
2903481a5ccdes  else
290448