1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ZKT 1.1.3.
4#
5# Report bugs to <Holger Zuleger hznet.de>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and Holger Zuleger
270$0: hznet.de about your system, including any error
271$0: possibly output before this message. Then install a
272$0: modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='ZKT'
582PACKAGE_TARNAME='zkt'
583PACKAGE_VERSION='1.1.3'
584PACKAGE_STRING='ZKT 1.1.3'
585PACKAGE_BUGREPORT='Holger Zuleger hznet.de'
586PACKAGE_URL=''
587
588ac_unique_file="zkt-signer.c"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_header_list=
626ac_func_list=
627ac_subst_vars='LTLIBOBJS
628LIBOBJS
629EGREP
630GREP
631CPP
632SIGNZONE_PROG
633OBJEXT
634EXEEXT
635ac_ct_CC
636CPPFLAGS
637LDFLAGS
638CFLAGS
639CC
640target_alias
641host_alias
642build_alias
643LIBS
644ECHO_T
645ECHO_N
646ECHO_C
647DEFS
648mandir
649localedir
650libdir
651psdir
652pdfdir
653dvidir
654htmldir
655infodir
656docdir
657oldincludedir
658includedir
659localstatedir
660sharedstatedir
661sysconfdir
662datadir
663datarootdir
664libexecdir
665sbindir
666bindir
667program_transform_name
668prefix
669exec_prefix
670PACKAGE_URL
671PACKAGE_BUGREPORT
672PACKAGE_STRING
673PACKAGE_VERSION
674PACKAGE_TARNAME
675PACKAGE_NAME
676PATH_SEPARATOR
677SHELL'
678ac_subst_files=''
679ac_user_opts='
680enable_option_checking
681enable_bind_util_path
682enable_color_mode
683with_curses
684enable_printtimezone
685enable_printyear
686enable_logprogname
687enable_logtimestamp
688enable_loglevel
689enable_ttl_in_keyfile
690enable_configpath
691enable_tree
692'
693      ac_precious_vars='build_alias
694host_alias
695target_alias
696CC
697CFLAGS
698LDFLAGS
699LIBS
700CPPFLAGS
701CPP'
702
703
704# Initialize some variables set by options.
705ac_init_help=
706ac_init_version=false
707ac_unrecognized_opts=
708ac_unrecognized_sep=
709# The variables have the same names as the options, with
710# dashes changed to underlines.
711cache_file=/dev/null
712exec_prefix=NONE
713no_create=
714no_recursion=
715prefix=NONE
716program_prefix=NONE
717program_suffix=NONE
718program_transform_name=s,x,x,
719silent=
720site=
721srcdir=
722verbose=
723x_includes=NONE
724x_libraries=NONE
725
726# Installation directory options.
727# These are left unexpanded so users can "make install exec_prefix=/foo"
728# and all the variables that are supposed to be based on exec_prefix
729# by default will actually change.
730# Use braces instead of parens because sh, perl, etc. also accept them.
731# (The list follows the same order as the GNU Coding Standards.)
732bindir='${exec_prefix}/bin'
733sbindir='${exec_prefix}/sbin'
734libexecdir='${exec_prefix}/libexec'
735datarootdir='${prefix}/share'
736datadir='${datarootdir}'
737sysconfdir='${prefix}/etc'
738sharedstatedir='${prefix}/com'
739localstatedir='${prefix}/var'
740includedir='${prefix}/include'
741oldincludedir='/usr/include'
742docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
743infodir='${datarootdir}/info'
744htmldir='${docdir}'
745dvidir='${docdir}'
746pdfdir='${docdir}'
747psdir='${docdir}'
748libdir='${exec_prefix}/lib'
749localedir='${datarootdir}/locale'
750mandir='${datarootdir}/man'
751
752ac_prev=
753ac_dashdash=
754for ac_option
755do
756  # If the previous option needs an argument, assign it.
757  if test -n "$ac_prev"; then
758    eval $ac_prev=\$ac_option
759    ac_prev=
760    continue
761  fi
762
763  case $ac_option in
764  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
765  *=)   ac_optarg= ;;
766  *)    ac_optarg=yes ;;
767  esac
768
769  # Accept the important Cygnus configure options, so we can diagnose typos.
770
771  case $ac_dashdash$ac_option in
772  --)
773    ac_dashdash=yes ;;
774
775  -bindir | --bindir | --bindi | --bind | --bin | --bi)
776    ac_prev=bindir ;;
777  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
778    bindir=$ac_optarg ;;
779
780  -build | --build | --buil | --bui | --bu)
781    ac_prev=build_alias ;;
782  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783    build_alias=$ac_optarg ;;
784
785  -cache-file | --cache-file | --cache-fil | --cache-fi \
786  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787    ac_prev=cache_file ;;
788  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790    cache_file=$ac_optarg ;;
791
792  --config-cache | -C)
793    cache_file=config.cache ;;
794
795  -datadir | --datadir | --datadi | --datad)
796    ac_prev=datadir ;;
797  -datadir=* | --datadir=* | --datadi=* | --datad=*)
798    datadir=$ac_optarg ;;
799
800  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801  | --dataroo | --dataro | --datar)
802    ac_prev=datarootdir ;;
803  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805    datarootdir=$ac_optarg ;;
806
807  -disable-* | --disable-*)
808    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809    # Reject names that are not valid shell variable names.
810    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811      as_fn_error $? "invalid feature name: $ac_useropt"
812    ac_useropt_orig=$ac_useropt
813    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814    case $ac_user_opts in
815      *"
816"enable_$ac_useropt"
817"*) ;;
818      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
819	 ac_unrecognized_sep=', ';;
820    esac
821    eval enable_$ac_useropt=no ;;
822
823  -docdir | --docdir | --docdi | --doc | --do)
824    ac_prev=docdir ;;
825  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
826    docdir=$ac_optarg ;;
827
828  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829    ac_prev=dvidir ;;
830  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
831    dvidir=$ac_optarg ;;
832
833  -enable-* | --enable-*)
834    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835    # Reject names that are not valid shell variable names.
836    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837      as_fn_error $? "invalid feature name: $ac_useropt"
838    ac_useropt_orig=$ac_useropt
839    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840    case $ac_user_opts in
841      *"
842"enable_$ac_useropt"
843"*) ;;
844      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
845	 ac_unrecognized_sep=', ';;
846    esac
847    eval enable_$ac_useropt=\$ac_optarg ;;
848
849  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
850  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
851  | --exec | --exe | --ex)
852    ac_prev=exec_prefix ;;
853  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
854  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
855  | --exec=* | --exe=* | --ex=*)
856    exec_prefix=$ac_optarg ;;
857
858  -gas | --gas | --ga | --g)
859    # Obsolete; use --with-gas.
860    with_gas=yes ;;
861
862  -help | --help | --hel | --he | -h)
863    ac_init_help=long ;;
864  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
865    ac_init_help=recursive ;;
866  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
867    ac_init_help=short ;;
868
869  -host | --host | --hos | --ho)
870    ac_prev=host_alias ;;
871  -host=* | --host=* | --hos=* | --ho=*)
872    host_alias=$ac_optarg ;;
873
874  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
875    ac_prev=htmldir ;;
876  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
877  | --ht=*)
878    htmldir=$ac_optarg ;;
879
880  -includedir | --includedir | --includedi | --included | --include \
881  | --includ | --inclu | --incl | --inc)
882    ac_prev=includedir ;;
883  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
884  | --includ=* | --inclu=* | --incl=* | --inc=*)
885    includedir=$ac_optarg ;;
886
887  -infodir | --infodir | --infodi | --infod | --info | --inf)
888    ac_prev=infodir ;;
889  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
890    infodir=$ac_optarg ;;
891
892  -libdir | --libdir | --libdi | --libd)
893    ac_prev=libdir ;;
894  -libdir=* | --libdir=* | --libdi=* | --libd=*)
895    libdir=$ac_optarg ;;
896
897  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
898  | --libexe | --libex | --libe)
899    ac_prev=libexecdir ;;
900  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
901  | --libexe=* | --libex=* | --libe=*)
902    libexecdir=$ac_optarg ;;
903
904  -localedir | --localedir | --localedi | --localed | --locale)
905    ac_prev=localedir ;;
906  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
907    localedir=$ac_optarg ;;
908
909  -localstatedir | --localstatedir | --localstatedi | --localstated \
910  | --localstate | --localstat | --localsta | --localst | --locals)
911    ac_prev=localstatedir ;;
912  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
913  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
914    localstatedir=$ac_optarg ;;
915
916  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
917    ac_prev=mandir ;;
918  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919    mandir=$ac_optarg ;;
920
921  -nfp | --nfp | --nf)
922    # Obsolete; use --without-fp.
923    with_fp=no ;;
924
925  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
926  | --no-cr | --no-c | -n)
927    no_create=yes ;;
928
929  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
930  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
931    no_recursion=yes ;;
932
933  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
934  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
935  | --oldin | --oldi | --old | --ol | --o)
936    ac_prev=oldincludedir ;;
937  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
938  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
939  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
940    oldincludedir=$ac_optarg ;;
941
942  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
943    ac_prev=prefix ;;
944  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
945    prefix=$ac_optarg ;;
946
947  -program-prefix | --program-prefix | --program-prefi | --program-pref \
948  | --program-pre | --program-pr | --program-p)
949    ac_prev=program_prefix ;;
950  -program-prefix=* | --program-prefix=* | --program-prefi=* \
951  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
952    program_prefix=$ac_optarg ;;
953
954  -program-suffix | --program-suffix | --program-suffi | --program-suff \
955  | --program-suf | --program-su | --program-s)
956    ac_prev=program_suffix ;;
957  -program-suffix=* | --program-suffix=* | --program-suffi=* \
958  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
959    program_suffix=$ac_optarg ;;
960
961  -program-transform-name | --program-transform-name \
962  | --program-transform-nam | --program-transform-na \
963  | --program-transform-n | --program-transform- \
964  | --program-transform | --program-transfor \
965  | --program-transfo | --program-transf \
966  | --program-trans | --program-tran \
967  | --progr-tra | --program-tr | --program-t)
968    ac_prev=program_transform_name ;;
969  -program-transform-name=* | --program-transform-name=* \
970  | --program-transform-nam=* | --program-transform-na=* \
971  | --program-transform-n=* | --program-transform-=* \
972  | --program-transform=* | --program-transfor=* \
973  | --program-transfo=* | --program-transf=* \
974  | --program-trans=* | --program-tran=* \
975  | --progr-tra=* | --program-tr=* | --program-t=*)
976    program_transform_name=$ac_optarg ;;
977
978  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
979    ac_prev=pdfdir ;;
980  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
981    pdfdir=$ac_optarg ;;
982
983  -psdir | --psdir | --psdi | --psd | --ps)
984    ac_prev=psdir ;;
985  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
986    psdir=$ac_optarg ;;
987
988  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989  | -silent | --silent | --silen | --sile | --sil)
990    silent=yes ;;
991
992  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993    ac_prev=sbindir ;;
994  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995  | --sbi=* | --sb=*)
996    sbindir=$ac_optarg ;;
997
998  -sharedstatedir | --sharedstatedir | --sharedstatedi \
999  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1000  | --sharedst | --shareds | --shared | --share | --shar \
1001  | --sha | --sh)
1002    ac_prev=sharedstatedir ;;
1003  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1004  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1005  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1006  | --sha=* | --sh=*)
1007    sharedstatedir=$ac_optarg ;;
1008
1009  -site | --site | --sit)
1010    ac_prev=site ;;
1011  -site=* | --site=* | --sit=*)
1012    site=$ac_optarg ;;
1013
1014  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1015    ac_prev=srcdir ;;
1016  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1017    srcdir=$ac_optarg ;;
1018
1019  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1020  | --syscon | --sysco | --sysc | --sys | --sy)
1021    ac_prev=sysconfdir ;;
1022  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1023  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1024    sysconfdir=$ac_optarg ;;
1025
1026  -target | --target | --targe | --targ | --tar | --ta | --t)
1027    ac_prev=target_alias ;;
1028  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1029    target_alias=$ac_optarg ;;
1030
1031  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1032    verbose=yes ;;
1033
1034  -version | --version | --versio | --versi | --vers | -V)
1035    ac_init_version=: ;;
1036
1037  -with-* | --with-*)
1038    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041      as_fn_error $? "invalid package name: $ac_useropt"
1042    ac_useropt_orig=$ac_useropt
1043    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044    case $ac_user_opts in
1045      *"
1046"with_$ac_useropt"
1047"*) ;;
1048      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049	 ac_unrecognized_sep=', ';;
1050    esac
1051    eval with_$ac_useropt=\$ac_optarg ;;
1052
1053  -without-* | --without-*)
1054    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055    # Reject names that are not valid shell variable names.
1056    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057      as_fn_error $? "invalid package name: $ac_useropt"
1058    ac_useropt_orig=$ac_useropt
1059    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060    case $ac_user_opts in
1061      *"
1062"with_$ac_useropt"
1063"*) ;;
1064      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1065	 ac_unrecognized_sep=', ';;
1066    esac
1067    eval with_$ac_useropt=no ;;
1068
1069  --x)
1070    # Obsolete; use --with-x.
1071    with_x=yes ;;
1072
1073  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1074  | --x-incl | --x-inc | --x-in | --x-i)
1075    ac_prev=x_includes ;;
1076  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1077  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1078    x_includes=$ac_optarg ;;
1079
1080  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1081  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1082    ac_prev=x_libraries ;;
1083  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1084  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1085    x_libraries=$ac_optarg ;;
1086
1087  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1088Try \`$0 --help' for more information"
1089    ;;
1090
1091  *=*)
1092    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1093    # Reject names that are not valid shell variable names.
1094    case $ac_envvar in #(
1095      '' | [0-9]* | *[!_$as_cr_alnum]* )
1096      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1097    esac
1098    eval $ac_envvar=\$ac_optarg
1099    export $ac_envvar ;;
1100
1101  *)
1102    # FIXME: should be removed in autoconf 3.0.
1103    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1104    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1105      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1106    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1107    ;;
1108
1109  esac
1110done
1111
1112if test -n "$ac_prev"; then
1113  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1114  as_fn_error $? "missing argument to $ac_option"
1115fi
1116
1117if test -n "$ac_unrecognized_opts"; then
1118  case $enable_option_checking in
1119    no) ;;
1120    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1121    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122  esac
1123fi
1124
1125# Check all directory arguments for consistency.
1126for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127		datadir sysconfdir sharedstatedir localstatedir includedir \
1128		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129		libdir localedir mandir
1130do
1131  eval ac_val=\$$ac_var
1132  # Remove trailing slashes.
1133  case $ac_val in
1134    */ )
1135      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1136      eval $ac_var=\$ac_val;;
1137  esac
1138  # Be sure to have absolute directory names.
1139  case $ac_val in
1140    [\\/$]* | ?:[\\/]* )  continue;;
1141    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142  esac
1143  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1144done
1145
1146# There might be people who depend on the old broken behavior: `$host'
1147# used to hold the argument of --host etc.
1148# FIXME: To remove some day.
1149build=$build_alias
1150host=$host_alias
1151target=$target_alias
1152
1153# FIXME: To remove some day.
1154if test "x$host_alias" != x; then
1155  if test "x$build_alias" = x; then
1156    cross_compiling=maybe
1157  elif test "x$build_alias" != "x$host_alias"; then
1158    cross_compiling=yes
1159  fi
1160fi
1161
1162ac_tool_prefix=
1163test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164
1165test "$silent" = yes && exec 6>/dev/null
1166
1167
1168ac_pwd=`pwd` && test -n "$ac_pwd" &&
1169ac_ls_di=`ls -di .` &&
1170ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1171  as_fn_error $? "working directory cannot be determined"
1172test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173  as_fn_error $? "pwd does not report name of working directory"
1174
1175
1176# Find the source files, if location was not specified.
1177if test -z "$srcdir"; then
1178  ac_srcdir_defaulted=yes
1179  # Try the directory containing this script, then the parent directory.
1180  ac_confdir=`$as_dirname -- "$as_myself" ||
1181$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182	 X"$as_myself" : 'X\(//\)[^/]' \| \
1183	 X"$as_myself" : 'X\(//\)$' \| \
1184	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185$as_echo X"$as_myself" |
1186    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187	    s//\1/
1188	    q
1189	  }
1190	  /^X\(\/\/\)[^/].*/{
1191	    s//\1/
1192	    q
1193	  }
1194	  /^X\(\/\/\)$/{
1195	    s//\1/
1196	    q
1197	  }
1198	  /^X\(\/\).*/{
1199	    s//\1/
1200	    q
1201	  }
1202	  s/.*/./; q'`
1203  srcdir=$ac_confdir
1204  if test ! -r "$srcdir/$ac_unique_file"; then
1205    srcdir=..
1206  fi
1207else
1208  ac_srcdir_defaulted=no
1209fi
1210if test ! -r "$srcdir/$ac_unique_file"; then
1211  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1212  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213fi
1214ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215ac_abs_confdir=`(
1216	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1217	pwd)`
1218# When building in place, set srcdir=.
1219if test "$ac_abs_confdir" = "$ac_pwd"; then
1220  srcdir=.
1221fi
1222# Remove unnecessary trailing slashes from srcdir.
1223# Double slashes in file names in object file debugging info
1224# mess up M-x gdb in Emacs.
1225case $srcdir in
1226*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227esac
1228for ac_var in $ac_precious_vars; do
1229  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230  eval ac_env_${ac_var}_value=\$${ac_var}
1231  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233done
1234
1235#
1236# Report the --help message.
1237#
1238if test "$ac_init_help" = "long"; then
1239  # Omit some internal or obsolete options to make the list less imposing.
1240  # This message is too long to be a string in the A/UX 3.1 sh.
1241  cat <<_ACEOF
1242\`configure' configures ZKT 1.1.3 to adapt to many kinds of systems.
1243
1244Usage: $0 [OPTION]... [VAR=VALUE]...
1245
1246To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247VAR=VALUE.  See below for descriptions of some of the useful variables.
1248
1249Defaults for the options are specified in brackets.
1250
1251Configuration:
1252  -h, --help              display this help and exit
1253      --help=short        display options specific to this package
1254      --help=recursive    display the short help of all the included packages
1255  -V, --version           display version information and exit
1256  -q, --quiet, --silent   do not print \`checking ...' messages
1257      --cache-file=FILE   cache test results in FILE [disabled]
1258  -C, --config-cache      alias for \`--cache-file=config.cache'
1259  -n, --no-create         do not create output files
1260      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1261
1262Installation directories:
1263  --prefix=PREFIX         install architecture-independent files in PREFIX
1264                          [$ac_default_prefix]
1265  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1266                          [PREFIX]
1267
1268By default, \`make install' will install all the files in
1269\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1270an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271for instance \`--prefix=\$HOME'.
1272
1273For better control, use the options below.
1274
1275Fine tuning of the installation directories:
1276  --bindir=DIR            user executables [EPREFIX/bin]
1277  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1278  --libexecdir=DIR        program executables [EPREFIX/libexec]
1279  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1280  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1281  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1282  --libdir=DIR            object code libraries [EPREFIX/lib]
1283  --includedir=DIR        C header files [PREFIX/include]
1284  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1285  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1286  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1287  --infodir=DIR           info documentation [DATAROOTDIR/info]
1288  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1289  --mandir=DIR            man documentation [DATAROOTDIR/man]
1290  --docdir=DIR            documentation root [DATAROOTDIR/doc/zkt]
1291  --htmldir=DIR           html documentation [DOCDIR]
1292  --dvidir=DIR            dvi documentation [DOCDIR]
1293  --pdfdir=DIR            pdf documentation [DOCDIR]
1294  --psdir=DIR             ps documentation [DOCDIR]
1295_ACEOF
1296
1297  cat <<\_ACEOF
1298_ACEOF
1299fi
1300
1301if test -n "$ac_init_help"; then
1302  case $ac_init_help in
1303     short | recursive ) echo "Configuration of ZKT 1.1.3:";;
1304   esac
1305  cat <<\_ACEOF
1306
1307Optional Features:
1308  --disable-option-checking  ignore unrecognized --enable/--with options
1309  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1310  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1311  --enable-bind_util_path=PATH
1312                          Define path to BIND utilities, default is path to
1313                          dnssec-signzone
1314  --disable-color-mode    zkt without colors
1315  --enable-print-timezone print out timezone
1316  --enable-print-age      print age with year
1317  --enable-log-progname   log with progname
1318  --disable-log-timestamp do not log with timestamp
1319  --disable-log-level     do not log with level
1320  --disable-ttl-in-keyfiles
1321                          do not allow TTL values in keyfiles
1322  --enable-configpath=PATH
1323                          set path of config file (defaults to /var/named)
1324  --disable-tree          use single linked list instead of binary tree data
1325                          structure for dnssec-zkt
1326
1327Optional Packages:
1328  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1329  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1330  --without-curses        Ignore presence of curses and disable color mode
1331
1332Some influential environment variables:
1333  CC          C compiler command
1334  CFLAGS      C compiler flags
1335  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1336              nonstandard directory <lib dir>
1337  LIBS        libraries to pass to the linker, e.g. -l<library>
1338  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1339              you have headers in a nonstandard directory <include dir>
1340  CPP         C preprocessor
1341
1342Use these variables to override the choices made by `configure' or to help
1343it to find libraries and programs with nonstandard names/locations.
1344
1345Report bugs to <Holger Zuleger hznet.de>.
1346_ACEOF
1347ac_status=$?
1348fi
1349
1350if test "$ac_init_help" = "recursive"; then
1351  # If there are subdirs, report their specific --help.
1352  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353    test -d "$ac_dir" ||
1354      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1355      continue
1356    ac_builddir=.
1357
1358case "$ac_dir" in
1359.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360*)
1361  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1362  # A ".." for each directory in $ac_dir_suffix.
1363  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1364  case $ac_top_builddir_sub in
1365  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367  esac ;;
1368esac
1369ac_abs_top_builddir=$ac_pwd
1370ac_abs_builddir=$ac_pwd$ac_dir_suffix
1371# for backward compatibility:
1372ac_top_builddir=$ac_top_build_prefix
1373
1374case $srcdir in
1375  .)  # We are building in place.
1376    ac_srcdir=.
1377    ac_top_srcdir=$ac_top_builddir_sub
1378    ac_abs_top_srcdir=$ac_pwd ;;
1379  [\\/]* | ?:[\\/]* )  # Absolute name.
1380    ac_srcdir=$srcdir$ac_dir_suffix;
1381    ac_top_srcdir=$srcdir
1382    ac_abs_top_srcdir=$srcdir ;;
1383  *) # Relative name.
1384    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1385    ac_top_srcdir=$ac_top_build_prefix$srcdir
1386    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1387esac
1388ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389
1390    cd "$ac_dir" || { ac_status=$?; continue; }
1391    # Check for guested configure.
1392    if test -f "$ac_srcdir/configure.gnu"; then
1393      echo &&
1394      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1395    elif test -f "$ac_srcdir/configure"; then
1396      echo &&
1397      $SHELL "$ac_srcdir/configure" --help=recursive
1398    else
1399      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1400    fi || ac_status=$?
1401    cd "$ac_pwd" || { ac_status=$?; break; }
1402  done
1403fi
1404
1405test -n "$ac_init_help" && exit $ac_status
1406if $ac_init_version; then
1407  cat <<\_ACEOF
1408ZKT configure 1.1.3
1409generated by GNU Autoconf 2.69
1410
1411Copyright (C) 2012 Free Software Foundation, Inc.
1412This configure script is free software; the Free Software Foundation
1413gives unlimited permission to copy, distribute and modify it.
1414_ACEOF
1415  exit
1416fi
1417
1418## ------------------------ ##
1419## Autoconf initialization. ##
1420## ------------------------ ##
1421
1422# ac_fn_c_try_compile LINENO
1423# --------------------------
1424# Try to compile conftest.$ac_ext, and return whether this succeeded.
1425ac_fn_c_try_compile ()
1426{
1427  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428  rm -f conftest.$ac_objext
1429  if { { ac_try="$ac_compile"
1430case "(($ac_try" in
1431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1432  *) ac_try_echo=$ac_try;;
1433esac
1434eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1435$as_echo "$ac_try_echo"; } >&5
1436  (eval "$ac_compile") 2>conftest.err
1437  ac_status=$?
1438  if test -s conftest.err; then
1439    grep -v '^ *+' conftest.err >conftest.er1
1440    cat conftest.er1 >&5
1441    mv -f conftest.er1 conftest.err
1442  fi
1443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1444  test $ac_status = 0; } && {
1445	 test -z "$ac_c_werror_flag" ||
1446	 test ! -s conftest.err
1447       } && test -s conftest.$ac_objext; then :
1448  ac_retval=0
1449else
1450  $as_echo "$as_me: failed program was:" >&5
1451sed 's/^/| /' conftest.$ac_ext >&5
1452
1453	ac_retval=1
1454fi
1455  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456  as_fn_set_status $ac_retval
1457
1458} # ac_fn_c_try_compile
1459
1460# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1461# -------------------------------------------
1462# Tests whether TYPE exists after having included INCLUDES, setting cache
1463# variable VAR accordingly.
1464ac_fn_c_check_type ()
1465{
1466  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1468$as_echo_n "checking for $2... " >&6; }
1469if eval \${$3+:} false; then :
1470  $as_echo_n "(cached) " >&6
1471else
1472  eval "$3=no"
1473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1474/* end confdefs.h.  */
1475$4
1476int
1477main ()
1478{
1479if (sizeof ($2))
1480	 return 0;
1481  ;
1482  return 0;
1483}
1484_ACEOF
1485if ac_fn_c_try_compile "$LINENO"; then :
1486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1487/* end confdefs.h.  */
1488$4
1489int
1490main ()
1491{
1492if (sizeof (($2)))
1493	    return 0;
1494  ;
1495  return 0;
1496}
1497_ACEOF
1498if ac_fn_c_try_compile "$LINENO"; then :
1499
1500else
1501  eval "$3=yes"
1502fi
1503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1504fi
1505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1506fi
1507eval ac_res=\$$3
1508	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1509$as_echo "$ac_res" >&6; }
1510  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511
1512} # ac_fn_c_check_type
1513
1514# ac_fn_c_try_cpp LINENO
1515# ----------------------
1516# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1517ac_fn_c_try_cpp ()
1518{
1519  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520  if { { ac_try="$ac_cpp conftest.$ac_ext"
1521case "(($ac_try" in
1522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523  *) ac_try_echo=$ac_try;;
1524esac
1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526$as_echo "$ac_try_echo"; } >&5
1527  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1528  ac_status=$?
1529  if test -s conftest.err; then
1530    grep -v '^ *+' conftest.err >conftest.er1
1531    cat conftest.er1 >&5
1532    mv -f conftest.er1 conftest.err
1533  fi
1534  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535  test $ac_status = 0; } > conftest.i && {
1536	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1537	 test ! -s conftest.err
1538       }; then :
1539  ac_retval=0
1540else
1541  $as_echo "$as_me: failed program was:" >&5
1542sed 's/^/| /' conftest.$ac_ext >&5
1543
1544    ac_retval=1
1545fi
1546  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547  as_fn_set_status $ac_retval
1548
1549} # ac_fn_c_try_cpp
1550
1551# ac_fn_c_try_run LINENO
1552# ----------------------
1553# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1554# that executables *can* be run.
1555ac_fn_c_try_run ()
1556{
1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558  if { { ac_try="$ac_link"
1559case "(($ac_try" in
1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561  *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565  (eval "$ac_link") 2>&5
1566  ac_status=$?
1567  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1569  { { case "(($ac_try" in
1570  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571  *) ac_try_echo=$ac_try;;
1572esac
1573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574$as_echo "$ac_try_echo"; } >&5
1575  (eval "$ac_try") 2>&5
1576  ac_status=$?
1577  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578  test $ac_status = 0; }; }; then :
1579  ac_retval=0
1580else
1581  $as_echo "$as_me: program exited with status $ac_status" >&5
1582       $as_echo "$as_me: failed program was:" >&5
1583sed 's/^/| /' conftest.$ac_ext >&5
1584
1585       ac_retval=$ac_status
1586fi
1587  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589  as_fn_set_status $ac_retval
1590
1591} # ac_fn_c_try_run
1592
1593# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594# -------------------------------------------------------
1595# Tests whether HEADER exists and can be compiled using the include files in
1596# INCLUDES, setting the cache variable VAR accordingly.
1597ac_fn_c_check_header_compile ()
1598{
1599  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601$as_echo_n "checking for $2... " >&6; }
1602if eval \${$3+:} false; then :
1603  $as_echo_n "(cached) " >&6
1604else
1605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606/* end confdefs.h.  */
1607$4
1608#include <$2>
1609_ACEOF
1610if ac_fn_c_try_compile "$LINENO"; then :
1611  eval "$3=yes"
1612else
1613  eval "$3=no"
1614fi
1615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1616fi
1617eval ac_res=\$$3
1618	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619$as_echo "$ac_res" >&6; }
1620  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621
1622} # ac_fn_c_check_header_compile
1623
1624# ac_fn_c_try_link LINENO
1625# -----------------------
1626# Try to link conftest.$ac_ext, and return whether this succeeded.
1627ac_fn_c_try_link ()
1628{
1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630  rm -f conftest.$ac_objext conftest$ac_exeext
1631  if { { ac_try="$ac_link"
1632case "(($ac_try" in
1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634  *) ac_try_echo=$ac_try;;
1635esac
1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637$as_echo "$ac_try_echo"; } >&5
1638  (eval "$ac_link") 2>conftest.err
1639  ac_status=$?
1640  if test -s conftest.err; then
1641    grep -v '^ *+' conftest.err >conftest.er1
1642    cat conftest.er1 >&5
1643    mv -f conftest.er1 conftest.err
1644  fi
1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646  test $ac_status = 0; } && {
1647	 test -z "$ac_c_werror_flag" ||
1648	 test ! -s conftest.err
1649       } && test -s conftest$ac_exeext && {
1650	 test "$cross_compiling" = yes ||
1651	 test -x conftest$ac_exeext
1652       }; then :
1653  ac_retval=0
1654else
1655  $as_echo "$as_me: failed program was:" >&5
1656sed 's/^/| /' conftest.$ac_ext >&5
1657
1658	ac_retval=1
1659fi
1660  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1661  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1662  # interfere with the next link command; also delete a directory that is
1663  # left behind by Apple's compiler.  We do this before executing the actions.
1664  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666  as_fn_set_status $ac_retval
1667
1668} # ac_fn_c_try_link
1669
1670# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1671# -------------------------------------------------------
1672# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1673# the include files in INCLUDES and setting the cache variable VAR
1674# accordingly.
1675ac_fn_c_check_header_mongrel ()
1676{
1677  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678  if eval \${$3+:} false; then :
1679  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680$as_echo_n "checking for $2... " >&6; }
1681if eval \${$3+:} false; then :
1682  $as_echo_n "(cached) " >&6
1683fi
1684eval ac_res=\$$3
1685	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686$as_echo "$ac_res" >&6; }
1687else
1688  # Is the header compilable?
1689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1690$as_echo_n "checking $2 usability... " >&6; }
1691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692/* end confdefs.h.  */
1693$4
1694#include <$2>
1695_ACEOF
1696if ac_fn_c_try_compile "$LINENO"; then :
1697  ac_header_compiler=yes
1698else
1699  ac_header_compiler=no
1700fi
1701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1703$as_echo "$ac_header_compiler" >&6; }
1704
1705# Is the header present?
1706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1707$as_echo_n "checking $2 presence... " >&6; }
1708cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709/* end confdefs.h.  */
1710#include <$2>
1711_ACEOF
1712if ac_fn_c_try_cpp "$LINENO"; then :
1713  ac_header_preproc=yes
1714else
1715  ac_header_preproc=no
1716fi
1717rm -f conftest.err conftest.i conftest.$ac_ext
1718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1719$as_echo "$ac_header_preproc" >&6; }
1720
1721# So?  What about this header?
1722case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1723  yes:no: )
1724    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1725$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1726    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728    ;;
1729  no:yes:* )
1730    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1731$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1732    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1733$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1734    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1735$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1736    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1737$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1738    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1740( $as_echo "## -------------------------------------- ##
1741## Report this to Holger Zuleger hznet.de ##
1742## -------------------------------------- ##"
1743     ) | sed "s/^/$as_me: WARNING:     /" >&2
1744    ;;
1745esac
1746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747$as_echo_n "checking for $2... " >&6; }
1748if eval \${$3+:} false; then :
1749  $as_echo_n "(cached) " >&6
1750else
1751  eval "$3=\$ac_header_compiler"
1752fi
1753eval ac_res=\$$3
1754	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755$as_echo "$ac_res" >&6; }
1756fi
1757  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1759} # ac_fn_c_check_header_mongrel
1760
1761# ac_fn_c_check_func LINENO FUNC VAR
1762# ----------------------------------
1763# Tests whether FUNC exists, setting the cache variable VAR accordingly
1764ac_fn_c_check_func ()
1765{
1766  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768$as_echo_n "checking for $2... " >&6; }
1769if eval \${$3+:} false; then :
1770  $as_echo_n "(cached) " >&6
1771else
1772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773/* end confdefs.h.  */
1774/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1776#define $2 innocuous_$2
1777
1778/* System header to define __stub macros and hopefully few prototypes,
1779    which can conflict with char $2 (); below.
1780    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781    <limits.h> exists even on freestanding compilers.  */
1782
1783#ifdef __STDC__
1784# include <limits.h>
1785#else
1786# include <assert.h>
1787#endif
1788
1789#undef $2
1790
1791/* Override any GCC internal prototype to avoid an error.
1792   Use char because int might match the return type of a GCC
1793   builtin and then its argument prototype would still apply.  */
1794#ifdef __cplusplus
1795extern "C"
1796#endif
1797char $2 ();
1798/* The GNU C library defines this for functions which it implements
1799    to always fail with ENOSYS.  Some functions are actually named
1800    something starting with __ and the normal name is an alias.  */
1801#if defined __stub_$2 || defined __stub___$2
1802choke me
1803#endif
1804
1805int
1806main ()
1807{
1808return $2 ();
1809  ;
1810  return 0;
1811}
1812_ACEOF
1813if ac_fn_c_try_link "$LINENO"; then :
1814  eval "$3=yes"
1815else
1816  eval "$3=no"
1817fi
1818rm -f core conftest.err conftest.$ac_objext \
1819    conftest$ac_exeext conftest.$ac_ext
1820fi
1821eval ac_res=\$$3
1822	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823$as_echo "$ac_res" >&6; }
1824  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
1826} # ac_fn_c_check_func
1827cat >config.log <<_ACEOF
1828This file contains any messages produced by compilers while
1829running configure, to aid debugging if configure makes a mistake.
1830
1831It was created by ZKT $as_me 1.1.3, which was
1832generated by GNU Autoconf 2.69.  Invocation command line was
1833
1834  $ $0 $@
1835
1836_ACEOF
1837exec 5>>config.log
1838{
1839cat <<_ASUNAME
1840## --------- ##
1841## Platform. ##
1842## --------- ##
1843
1844hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1845uname -m = `(uname -m) 2>/dev/null || echo unknown`
1846uname -r = `(uname -r) 2>/dev/null || echo unknown`
1847uname -s = `(uname -s) 2>/dev/null || echo unknown`
1848uname -v = `(uname -v) 2>/dev/null || echo unknown`
1849
1850/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1851/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1852
1853/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1854/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1855/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1856/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1857/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1858/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1859/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1860
1861_ASUNAME
1862
1863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864for as_dir in $PATH
1865do
1866  IFS=$as_save_IFS
1867  test -z "$as_dir" && as_dir=.
1868    $as_echo "PATH: $as_dir"
1869  done
1870IFS=$as_save_IFS
1871
1872} >&5
1873
1874cat >&5 <<_ACEOF
1875
1876
1877## ----------- ##
1878## Core tests. ##
1879## ----------- ##
1880
1881_ACEOF
1882
1883
1884# Keep a trace of the command line.
1885# Strip out --no-create and --no-recursion so they do not pile up.
1886# Strip out --silent because we don't want to record it for future runs.
1887# Also quote any args containing shell meta-characters.
1888# Make two passes to allow for proper duplicate-argument suppression.
1889ac_configure_args=
1890ac_configure_args0=
1891ac_configure_args1=
1892ac_must_keep_next=false
1893for ac_pass in 1 2
1894do
1895  for ac_arg
1896  do
1897    case $ac_arg in
1898    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1899    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1900    | -silent | --silent | --silen | --sile | --sil)
1901      continue ;;
1902    *\'*)
1903      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1904    esac
1905    case $ac_pass in
1906    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1907    2)
1908      as_fn_append ac_configure_args1 " '$ac_arg'"
1909      if test $ac_must_keep_next = true; then
1910	ac_must_keep_next=false # Got value, back to normal.
1911      else
1912	case $ac_arg in
1913	  *=* | --config-cache | -C | -disable-* | --disable-* \
1914	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1915	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1916	  | -with-* | --with-* | -without-* | --without-* | --x)
1917	    case "$ac_configure_args0 " in
1918	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1919	    esac
1920	    ;;
1921	  -* ) ac_must_keep_next=true ;;
1922	esac
1923      fi
1924      as_fn_append ac_configure_args " '$ac_arg'"
1925      ;;
1926    esac
1927  done
1928done
1929{ ac_configure_args0=; unset ac_configure_args0;}
1930{ ac_configure_args1=; unset ac_configure_args1;}
1931
1932# When interrupted or exit'd, cleanup temporary files, and complete
1933# config.log.  We remove comments because anyway the quotes in there
1934# would cause problems or look ugly.
1935# WARNING: Use '\'' to represent an apostrophe within the trap.
1936# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1937trap 'exit_status=$?
1938  # Save into config.log some information that might help in debugging.
1939  {
1940    echo
1941
1942    $as_echo "## ---------------- ##
1943## Cache variables. ##
1944## ---------------- ##"
1945    echo
1946    # The following way of writing the cache mishandles newlines in values,
1947(
1948  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1949    eval ac_val=\$$ac_var
1950    case $ac_val in #(
1951    *${as_nl}*)
1952      case $ac_var in #(
1953      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1954$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1955      esac
1956      case $ac_var in #(
1957      _ | IFS | as_nl) ;; #(
1958      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1959      *) { eval $ac_var=; unset $ac_var;} ;;
1960      esac ;;
1961    esac
1962  done
1963  (set) 2>&1 |
1964    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1965    *${as_nl}ac_space=\ *)
1966      sed -n \
1967	"s/'\''/'\''\\\\'\'''\''/g;
1968	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1969      ;; #(
1970    *)
1971      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1972      ;;
1973    esac |
1974    sort
1975)
1976    echo
1977
1978    $as_echo "## ----------------- ##
1979## Output variables. ##
1980## ----------------- ##"
1981    echo
1982    for ac_var in $ac_subst_vars
1983    do
1984      eval ac_val=\$$ac_var
1985      case $ac_val in
1986      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1987      esac
1988      $as_echo "$ac_var='\''$ac_val'\''"
1989    done | sort
1990    echo
1991
1992    if test -n "$ac_subst_files"; then
1993      $as_echo "## ------------------- ##
1994## File substitutions. ##
1995## ------------------- ##"
1996      echo
1997      for ac_var in $ac_subst_files
1998      do
1999	eval ac_val=\$$ac_var
2000	case $ac_val in
2001	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2002	esac
2003	$as_echo "$ac_var='\''$ac_val'\''"
2004      done | sort
2005      echo
2006    fi
2007
2008    if test -s confdefs.h; then
2009      $as_echo "## ----------- ##
2010## confdefs.h. ##
2011## ----------- ##"
2012      echo
2013      cat confdefs.h
2014      echo
2015    fi
2016    test "$ac_signal" != 0 &&
2017      $as_echo "$as_me: caught signal $ac_signal"
2018    $as_echo "$as_me: exit $exit_status"
2019  } >&5
2020  rm -f core *.core core.conftest.* &&
2021    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2022    exit $exit_status
2023' 0
2024for ac_signal in 1 2 13 15; do
2025  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2026done
2027ac_signal=0
2028
2029# confdefs.h avoids OS command line length limits that DEFS can exceed.
2030rm -f -r conftest* confdefs.h
2031
2032$as_echo "/* confdefs.h */" > confdefs.h
2033
2034# Predefined preprocessor variables.
2035
2036cat >>confdefs.h <<_ACEOF
2037#define PACKAGE_NAME "$PACKAGE_NAME"
2038_ACEOF
2039
2040cat >>confdefs.h <<_ACEOF
2041#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2042_ACEOF
2043
2044cat >>confdefs.h <<_ACEOF
2045#define PACKAGE_VERSION "$PACKAGE_VERSION"
2046_ACEOF
2047
2048cat >>confdefs.h <<_ACEOF
2049#define PACKAGE_STRING "$PACKAGE_STRING"
2050_ACEOF
2051
2052cat >>confdefs.h <<_ACEOF
2053#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2054_ACEOF
2055
2056cat >>confdefs.h <<_ACEOF
2057#define PACKAGE_URL "$PACKAGE_URL"
2058_ACEOF
2059
2060
2061# Let the site file select an alternate cache file if it wants to.
2062# Prefer an explicitly selected file to automatically selected ones.
2063ac_site_file1=NONE
2064ac_site_file2=NONE
2065if test -n "$CONFIG_SITE"; then
2066  # We do not want a PATH search for config.site.
2067  case $CONFIG_SITE in #((
2068    -*)  ac_site_file1=./$CONFIG_SITE;;
2069    */*) ac_site_file1=$CONFIG_SITE;;
2070    *)   ac_site_file1=./$CONFIG_SITE;;
2071  esac
2072elif test "x$prefix" != xNONE; then
2073  ac_site_file1=$prefix/share/config.site
2074  ac_site_file2=$prefix/etc/config.site
2075else
2076  ac_site_file1=$ac_default_prefix/share/config.site
2077  ac_site_file2=$ac_default_prefix/etc/config.site
2078fi
2079for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2080do
2081  test "x$ac_site_file" = xNONE && continue
2082  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2083    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2084$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2085    sed 's/^/| /' "$ac_site_file" >&5
2086    . "$ac_site_file" \
2087      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089as_fn_error $? "failed to load site script $ac_site_file
2090See \`config.log' for more details" "$LINENO" 5; }
2091  fi
2092done
2093
2094if test -r "$cache_file"; then
2095  # Some versions of bash will fail to source /dev/null (special files
2096  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2097  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2098    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2099$as_echo "$as_me: loading cache $cache_file" >&6;}
2100    case $cache_file in
2101      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2102      *)                      . "./$cache_file";;
2103    esac
2104  fi
2105else
2106  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2107$as_echo "$as_me: creating cache $cache_file" >&6;}
2108  >$cache_file
2109fi
2110
2111as_fn_append ac_header_list " sys/time.h"
2112as_fn_append ac_header_list " unistd.h"
2113as_fn_append ac_func_list " alarm"
2114as_fn_append ac_header_list " utime.h"
2115# Check that the precious variables saved in the cache have kept the same
2116# value.
2117ac_cache_corrupted=false
2118for ac_var in $ac_precious_vars; do
2119  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2120  eval ac_new_set=\$ac_env_${ac_var}_set
2121  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2122  eval ac_new_val=\$ac_env_${ac_var}_value
2123  case $ac_old_set,$ac_new_set in
2124    set,)
2125      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2126$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2127      ac_cache_corrupted=: ;;
2128    ,set)
2129      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2130$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2131      ac_cache_corrupted=: ;;
2132    ,);;
2133    *)
2134      if test "x$ac_old_val" != "x$ac_new_val"; then
2135	# differences in whitespace do not lead to failure.
2136	ac_old_val_w=`echo x $ac_old_val`
2137	ac_new_val_w=`echo x $ac_new_val`
2138	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2139	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2140$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2141	  ac_cache_corrupted=:
2142	else
2143	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2144$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2145	  eval $ac_var=\$ac_old_val
2146	fi
2147	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2148$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2149	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2150$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2151      fi;;
2152  esac
2153  # Pass precious variables to config.status.
2154  if test "$ac_new_set" = set; then
2155    case $ac_new_val in
2156    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2157    *) ac_arg=$ac_var=$ac_new_val ;;
2158    esac
2159    case " $ac_configure_args " in
2160      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2161      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2162    esac
2163  fi
2164done
2165if $ac_cache_corrupted; then
2166  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2168  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2169$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2170  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171fi
2172## -------------------- ##
2173## Main body of script. ##
2174## -------------------- ##
2175
2176ac_ext=c
2177ac_cpp='$CPP $CPPFLAGS'
2178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2180ac_compiler_gnu=$ac_cv_c_compiler_gnu
2181
2182
2183
2184### Files to test to check if src dir contains the package
2185
2186ac_config_headers="$ac_config_headers config.h"
2187
2188
2189
2190### Checks for programs.
2191ac_ext=c
2192ac_cpp='$CPP $CPPFLAGS'
2193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196if test -n "$ac_tool_prefix"; then
2197  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2198set dummy ${ac_tool_prefix}gcc; ac_word=$2
2199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2200$as_echo_n "checking for $ac_word... " >&6; }
2201if ${ac_cv_prog_CC+:} false; then :
2202  $as_echo_n "(cached) " >&6
2203else
2204  if test -n "$CC"; then
2205  ac_cv_prog_CC="$CC" # Let the user override the test.
2206else
2207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208for as_dir in $PATH
2209do
2210  IFS=$as_save_IFS
2211  test -z "$as_dir" && as_dir=.
2212    for ac_exec_ext in '' $ac_executable_extensions; do
2213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2216    break 2
2217  fi
2218done
2219  done
2220IFS=$as_save_IFS
2221
2222fi
2223fi
2224CC=$ac_cv_prog_CC
2225if test -n "$CC"; then
2226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2227$as_echo "$CC" >&6; }
2228else
2229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230$as_echo "no" >&6; }
2231fi
2232
2233
2234fi
2235if test -z "$ac_cv_prog_CC"; then
2236  ac_ct_CC=$CC
2237  # Extract the first word of "gcc", so it can be a program name with args.
2238set dummy gcc; ac_word=$2
2239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2240$as_echo_n "checking for $ac_word... " >&6; }
2241if ${ac_cv_prog_ac_ct_CC+:} false; then :
2242  $as_echo_n "(cached) " >&6
2243else
2244  if test -n "$ac_ct_CC"; then
2245  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2246else
2247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248for as_dir in $PATH
2249do
2250  IFS=$as_save_IFS
2251  test -z "$as_dir" && as_dir=.
2252    for ac_exec_ext in '' $ac_executable_extensions; do
2253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2254    ac_cv_prog_ac_ct_CC="gcc"
2255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2256    break 2
2257  fi
2258done
2259  done
2260IFS=$as_save_IFS
2261
2262fi
2263fi
2264ac_ct_CC=$ac_cv_prog_ac_ct_CC
2265if test -n "$ac_ct_CC"; then
2266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2267$as_echo "$ac_ct_CC" >&6; }
2268else
2269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2270$as_echo "no" >&6; }
2271fi
2272
2273  if test "x$ac_ct_CC" = x; then
2274    CC=""
2275  else
2276    case $cross_compiling:$ac_tool_warned in
2277yes:)
2278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2280ac_tool_warned=yes ;;
2281esac
2282    CC=$ac_ct_CC
2283  fi
2284else
2285  CC="$ac_cv_prog_CC"
2286fi
2287
2288if test -z "$CC"; then
2289          if test -n "$ac_tool_prefix"; then
2290    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2291set dummy ${ac_tool_prefix}cc; ac_word=$2
2292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293$as_echo_n "checking for $ac_word... " >&6; }
2294if ${ac_cv_prog_CC+:} false; then :
2295  $as_echo_n "(cached) " >&6
2296else
2297  if test -n "$CC"; then
2298  ac_cv_prog_CC="$CC" # Let the user override the test.
2299else
2300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301for as_dir in $PATH
2302do
2303  IFS=$as_save_IFS
2304  test -z "$as_dir" && as_dir=.
2305    for ac_exec_ext in '' $ac_executable_extensions; do
2306  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307    ac_cv_prog_CC="${ac_tool_prefix}cc"
2308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2309    break 2
2310  fi
2311done
2312  done
2313IFS=$as_save_IFS
2314
2315fi
2316fi
2317CC=$ac_cv_prog_CC
2318if test -n "$CC"; then
2319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2320$as_echo "$CC" >&6; }
2321else
2322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323$as_echo "no" >&6; }
2324fi
2325
2326
2327  fi
2328fi
2329if test -z "$CC"; then
2330  # Extract the first word of "cc", so it can be a program name with args.
2331set dummy cc; ac_word=$2
2332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333$as_echo_n "checking for $ac_word... " >&6; }
2334if ${ac_cv_prog_CC+:} false; then :
2335  $as_echo_n "(cached) " >&6
2336else
2337  if test -n "$CC"; then
2338  ac_cv_prog_CC="$CC" # Let the user override the test.
2339else
2340  ac_prog_rejected=no
2341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342for as_dir in $PATH
2343do
2344  IFS=$as_save_IFS
2345  test -z "$as_dir" && as_dir=.
2346    for ac_exec_ext in '' $ac_executable_extensions; do
2347  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2349       ac_prog_rejected=yes
2350       continue
2351     fi
2352    ac_cv_prog_CC="cc"
2353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354    break 2
2355  fi
2356done
2357  done
2358IFS=$as_save_IFS
2359
2360if test $ac_prog_rejected = yes; then
2361  # We found a bogon in the path, so make sure we never use it.
2362  set dummy $ac_cv_prog_CC
2363  shift
2364  if test $# != 0; then
2365    # We chose a different compiler from the bogus one.
2366    # However, it has the same basename, so the bogon will be chosen
2367    # first if we set CC to just the basename; use the full file name.
2368    shift
2369    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2370  fi
2371fi
2372fi
2373fi
2374CC=$ac_cv_prog_CC
2375if test -n "$CC"; then
2376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2377$as_echo "$CC" >&6; }
2378else
2379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380$as_echo "no" >&6; }
2381fi
2382
2383
2384fi
2385if test -z "$CC"; then
2386  if test -n "$ac_tool_prefix"; then
2387  for ac_prog in cl.exe
2388  do
2389    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2390set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392$as_echo_n "checking for $ac_word... " >&6; }
2393if ${ac_cv_prog_CC+:} false; then :
2394  $as_echo_n "(cached) " >&6
2395else
2396  if test -n "$CC"; then
2397  ac_cv_prog_CC="$CC" # Let the user override the test.
2398else
2399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400for as_dir in $PATH
2401do
2402  IFS=$as_save_IFS
2403  test -z "$as_dir" && as_dir=.
2404    for ac_exec_ext in '' $ac_executable_extensions; do
2405  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2406    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2408    break 2
2409  fi
2410done
2411  done
2412IFS=$as_save_IFS
2413
2414fi
2415fi
2416CC=$ac_cv_prog_CC
2417if test -n "$CC"; then
2418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2419$as_echo "$CC" >&6; }
2420else
2421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422$as_echo "no" >&6; }
2423fi
2424
2425
2426    test -n "$CC" && break
2427  done
2428fi
2429if test -z "$CC"; then
2430  ac_ct_CC=$CC
2431  for ac_prog in cl.exe
2432do
2433  # Extract the first word of "$ac_prog", so it can be a program name with args.
2434set dummy $ac_prog; ac_word=$2
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436$as_echo_n "checking for $ac_word... " >&6; }
2437if ${ac_cv_prog_ac_ct_CC+:} false; then :
2438  $as_echo_n "(cached) " >&6
2439else
2440  if test -n "$ac_ct_CC"; then
2441  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2442else
2443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444for as_dir in $PATH
2445do
2446  IFS=$as_save_IFS
2447  test -z "$as_dir" && as_dir=.
2448    for ac_exec_ext in '' $ac_executable_extensions; do
2449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2450    ac_cv_prog_ac_ct_CC="$ac_prog"
2451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452    break 2
2453  fi
2454done
2455  done
2456IFS=$as_save_IFS
2457
2458fi
2459fi
2460ac_ct_CC=$ac_cv_prog_ac_ct_CC
2461if test -n "$ac_ct_CC"; then
2462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2463$as_echo "$ac_ct_CC" >&6; }
2464else
2465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466$as_echo "no" >&6; }
2467fi
2468
2469
2470  test -n "$ac_ct_CC" && break
2471done
2472
2473  if test "x$ac_ct_CC" = x; then
2474    CC=""
2475  else
2476    case $cross_compiling:$ac_tool_warned in
2477yes:)
2478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2480ac_tool_warned=yes ;;
2481esac
2482    CC=$ac_ct_CC
2483  fi
2484fi
2485
2486fi
2487
2488
2489test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491as_fn_error $? "no acceptable C compiler found in \$PATH
2492See \`config.log' for more details" "$LINENO" 5; }
2493
2494# Provide some information about the compiler.
2495$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2496set X $ac_compile
2497ac_compiler=$2
2498for ac_option in --version -v -V -qversion; do
2499  { { ac_try="$ac_compiler $ac_option >&5"
2500case "(($ac_try" in
2501  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502  *) ac_try_echo=$ac_try;;
2503esac
2504eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505$as_echo "$ac_try_echo"; } >&5
2506  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2507  ac_status=$?
2508  if test -s conftest.err; then
2509    sed '10a\
2510... rest of stderr output deleted ...
2511         10q' conftest.err >conftest.er1
2512    cat conftest.er1 >&5
2513  fi
2514  rm -f conftest.er1 conftest.err
2515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516  test $ac_status = 0; }
2517done
2518
2519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520/* end confdefs.h.  */
2521
2522int
2523main ()
2524{
2525
2526  ;
2527  return 0;
2528}
2529_ACEOF
2530ac_clean_files_save=$ac_clean_files
2531ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2532# Try to create an executable without -o first, disregard a.out.
2533# It will help us diagnose broken compilers, and finding out an intuition
2534# of exeext.
2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2536$as_echo_n "checking whether the C compiler works... " >&6; }
2537ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2538
2539# The possible output files:
2540ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2541
2542ac_rmfiles=
2543for ac_file in $ac_files
2544do
2545  case $ac_file in
2546    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2547    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2548  esac
2549done
2550rm -f $ac_rmfiles
2551
2552if { { ac_try="$ac_link_default"
2553case "(($ac_try" in
2554  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555  *) ac_try_echo=$ac_try;;
2556esac
2557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558$as_echo "$ac_try_echo"; } >&5
2559  (eval "$ac_link_default") 2>&5
2560  ac_status=$?
2561  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562  test $ac_status = 0; }; then :
2563  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2564# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2565# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2566# so that the user can short-circuit this test for compilers unknown to
2567# Autoconf.
2568for ac_file in $ac_files ''
2569do
2570  test -f "$ac_file" || continue
2571  case $ac_file in
2572    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2573	;;
2574    [ab].out )
2575	# We found the default executable, but exeext='' is most
2576	# certainly right.
2577	break;;
2578    *.* )
2579	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2580	then :; else
2581	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2582	fi
2583	# We set ac_cv_exeext here because the later test for it is not
2584	# safe: cross compilers may not add the suffix if given an `-o'
2585	# argument, so we may need to know it at that point already.
2586	# Even if this section looks crufty: it has the advantage of
2587	# actually working.
2588	break;;
2589    * )
2590	break;;
2591  esac
2592done
2593test "$ac_cv_exeext" = no && ac_cv_exeext=
2594
2595else
2596  ac_file=''
2597fi
2598if test -z "$ac_file"; then :
2599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600$as_echo "no" >&6; }
2601$as_echo "$as_me: failed program was:" >&5
2602sed 's/^/| /' conftest.$ac_ext >&5
2603
2604{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606as_fn_error 77 "C compiler cannot create executables
2607See \`config.log' for more details" "$LINENO" 5; }
2608else
2609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610$as_echo "yes" >&6; }
2611fi
2612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2613$as_echo_n "checking for C compiler default output file name... " >&6; }
2614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2615$as_echo "$ac_file" >&6; }
2616ac_exeext=$ac_cv_exeext
2617
2618rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2619ac_clean_files=$ac_clean_files_save
2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2621$as_echo_n "checking for suffix of executables... " >&6; }
2622if { { ac_try="$ac_link"
2623case "(($ac_try" in
2624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625  *) ac_try_echo=$ac_try;;
2626esac
2627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628$as_echo "$ac_try_echo"; } >&5
2629  (eval "$ac_link") 2>&5
2630  ac_status=$?
2631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632  test $ac_status = 0; }; then :
2633  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2634# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2635# work properly (i.e., refer to `conftest.exe'), while it won't with
2636# `rm'.
2637for ac_file in conftest.exe conftest conftest.*; do
2638  test -f "$ac_file" || continue
2639  case $ac_file in
2640    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2641    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642	  break;;
2643    * ) break;;
2644  esac
2645done
2646else
2647  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2648$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2649as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2650See \`config.log' for more details" "$LINENO" 5; }
2651fi
2652rm -f conftest conftest$ac_cv_exeext
2653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2654$as_echo "$ac_cv_exeext" >&6; }
2655
2656rm -f conftest.$ac_ext
2657EXEEXT=$ac_cv_exeext
2658ac_exeext=$EXEEXT
2659cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660/* end confdefs.h.  */
2661#include <stdio.h>
2662int
2663main ()
2664{
2665FILE *f = fopen ("conftest.out", "w");
2666 return ferror (f) || fclose (f) != 0;
2667
2668  ;
2669  return 0;
2670}
2671_ACEOF
2672ac_clean_files="$ac_clean_files conftest.out"
2673# Check that the compiler produces executables we can run.  If not, either
2674# the compiler is broken, or we cross compile.
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2676$as_echo_n "checking whether we are cross compiling... " >&6; }
2677if test "$cross_compiling" != yes; then
2678  { { ac_try="$ac_link"
2679case "(($ac_try" in
2680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681  *) ac_try_echo=$ac_try;;
2682esac
2683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684$as_echo "$ac_try_echo"; } >&5
2685  (eval "$ac_link") 2>&5
2686  ac_status=$?
2687  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2688  test $ac_status = 0; }
2689  if { ac_try='./conftest$ac_cv_exeext'
2690  { { case "(($ac_try" in
2691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692  *) ac_try_echo=$ac_try;;
2693esac
2694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695$as_echo "$ac_try_echo"; } >&5
2696  (eval "$ac_try") 2>&5
2697  ac_status=$?
2698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699  test $ac_status = 0; }; }; then
2700    cross_compiling=no
2701  else
2702    if test "$cross_compiling" = maybe; then
2703	cross_compiling=yes
2704    else
2705	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707as_fn_error $? "cannot run C compiled programs.
2708If you meant to cross compile, use \`--host'.
2709See \`config.log' for more details" "$LINENO" 5; }
2710    fi
2711  fi
2712fi
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2714$as_echo "$cross_compiling" >&6; }
2715
2716rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2717ac_clean_files=$ac_clean_files_save
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2719$as_echo_n "checking for suffix of object files... " >&6; }
2720if ${ac_cv_objext+:} false; then :
2721  $as_echo_n "(cached) " >&6
2722else
2723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724/* end confdefs.h.  */
2725
2726int
2727main ()
2728{
2729
2730  ;
2731  return 0;
2732}
2733_ACEOF
2734rm -f conftest.o conftest.obj
2735if { { ac_try="$ac_compile"
2736case "(($ac_try" in
2737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738  *) ac_try_echo=$ac_try;;
2739esac
2740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741$as_echo "$ac_try_echo"; } >&5
2742  (eval "$ac_compile") 2>&5
2743  ac_status=$?
2744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745  test $ac_status = 0; }; then :
2746  for ac_file in conftest.o conftest.obj conftest.*; do
2747  test -f "$ac_file" || continue;
2748  case $ac_file in
2749    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2750    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2751       break;;
2752  esac
2753done
2754else
2755  $as_echo "$as_me: failed program was:" >&5
2756sed 's/^/| /' conftest.$ac_ext >&5
2757
2758{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760as_fn_error $? "cannot compute suffix of object files: cannot compile
2761See \`config.log' for more details" "$LINENO" 5; }
2762fi
2763rm -f conftest.$ac_cv_objext conftest.$ac_ext
2764fi
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2766$as_echo "$ac_cv_objext" >&6; }
2767OBJEXT=$ac_cv_objext
2768ac_objext=$OBJEXT
2769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2770$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2771if ${ac_cv_c_compiler_gnu+:} false; then :
2772  $as_echo_n "(cached) " >&6
2773else
2774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775/* end confdefs.h.  */
2776
2777int
2778main ()
2779{
2780#ifndef __GNUC__
2781       choke me
2782#endif
2783
2784  ;
2785  return 0;
2786}
2787_ACEOF
2788if ac_fn_c_try_compile "$LINENO"; then :
2789  ac_compiler_gnu=yes
2790else
2791  ac_compiler_gnu=no
2792fi
2793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794ac_cv_c_compiler_gnu=$ac_compiler_gnu
2795
2796fi
2797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2798$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2799if test $ac_compiler_gnu = yes; then
2800  GCC=yes
2801else
2802  GCC=
2803fi
2804ac_test_CFLAGS=${CFLAGS+set}
2805ac_save_CFLAGS=$CFLAGS
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2807$as_echo_n "checking whether $CC accepts -g... " >&6; }
2808if ${ac_cv_prog_cc_g+:} false; then :
2809  $as_echo_n "(cached) " >&6
2810else
2811  ac_save_c_werror_flag=$ac_c_werror_flag
2812   ac_c_werror_flag=yes
2813   ac_cv_prog_cc_g=no
2814   CFLAGS="-g"
2815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816/* end confdefs.h.  */
2817
2818int
2819main ()
2820{
2821
2822  ;
2823  return 0;
2824}
2825_ACEOF
2826if ac_fn_c_try_compile "$LINENO"; then :
2827  ac_cv_prog_cc_g=yes
2828else
2829  CFLAGS=""
2830      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831/* end confdefs.h.  */
2832
2833int
2834main ()
2835{
2836
2837  ;
2838  return 0;
2839}
2840_ACEOF
2841if ac_fn_c_try_compile "$LINENO"; then :
2842
2843else
2844  ac_c_werror_flag=$ac_save_c_werror_flag
2845	 CFLAGS="-g"
2846	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847/* end confdefs.h.  */
2848
2849int
2850main ()
2851{
2852
2853  ;
2854  return 0;
2855}
2856_ACEOF
2857if ac_fn_c_try_compile "$LINENO"; then :
2858  ac_cv_prog_cc_g=yes
2859fi
2860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861fi
2862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863fi
2864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865   ac_c_werror_flag=$ac_save_c_werror_flag
2866fi
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2868$as_echo "$ac_cv_prog_cc_g" >&6; }
2869if test "$ac_test_CFLAGS" = set; then
2870  CFLAGS=$ac_save_CFLAGS
2871elif test $ac_cv_prog_cc_g = yes; then
2872  if test "$GCC" = yes; then
2873    CFLAGS="-g -O2"
2874  else
2875    CFLAGS="-g"
2876  fi
2877else
2878  if test "$GCC" = yes; then
2879    CFLAGS="-O2"
2880  else
2881    CFLAGS=
2882  fi
2883fi
2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2885$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2886if ${ac_cv_prog_cc_c89+:} false; then :
2887  $as_echo_n "(cached) " >&6
2888else
2889  ac_cv_prog_cc_c89=no
2890ac_save_CC=$CC
2891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892/* end confdefs.h.  */
2893#include <stdarg.h>
2894#include <stdio.h>
2895struct stat;
2896/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2897struct buf { int x; };
2898FILE * (*rcsopen) (struct buf *, struct stat *, int);
2899static char *e (p, i)
2900     char **p;
2901     int i;
2902{
2903  return p[i];
2904}
2905static char *f (char * (*g) (char **, int), char **p, ...)
2906{
2907  char *s;
2908  va_list v;
2909  va_start (v,p);
2910  s = g (p, va_arg (v,int));
2911  va_end (v);
2912  return s;
2913}
2914
2915/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2916   function prototypes and stuff, but not '\xHH' hex character constants.
2917   These don't provoke an error unfortunately, instead are silently treated
2918   as 'x'.  The following induces an error, until -std is added to get
2919   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2920   array size at least.  It's necessary to write '\x00'==0 to get something
2921   that's true only with -std.  */
2922int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2923
2924/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2925   inside strings and character constants.  */
2926#define FOO(x) 'x'
2927int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2928
2929int test (int i, double x);
2930struct s1 {int (*f) (int a);};
2931struct s2 {int (*f) (double a);};
2932int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2933int argc;
2934char **argv;
2935int
2936main ()
2937{
2938return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2939  ;
2940  return 0;
2941}
2942_ACEOF
2943for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2944	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2945do
2946  CC="$ac_save_CC $ac_arg"
2947  if ac_fn_c_try_compile "$LINENO"; then :
2948  ac_cv_prog_cc_c89=$ac_arg
2949fi
2950rm -f core conftest.err conftest.$ac_objext
2951  test "x$ac_cv_prog_cc_c89" != "xno" && break
2952done
2953rm -f conftest.$ac_ext
2954CC=$ac_save_CC
2955
2956fi
2957# AC_CACHE_VAL
2958case "x$ac_cv_prog_cc_c89" in
2959  x)
2960    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2961$as_echo "none needed" >&6; } ;;
2962  xno)
2963    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2964$as_echo "unsupported" >&6; } ;;
2965  *)
2966    CC="$CC $ac_cv_prog_cc_c89"
2967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2968$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2969esac
2970if test "x$ac_cv_prog_cc_c89" != xno; then :
2971
2972fi
2973
2974ac_ext=c
2975ac_cpp='$CPP $CPPFLAGS'
2976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979
2980
2981### find out the path to BIND utils and version
2982# Check whether --enable-bind_util_path was given.
2983if test "${enable_bind_util_path+set}" = set; then :
2984  enableval=$enable_bind_util_path; bind_util_path=$enableval
2985fi
2986
2987if test -n "$bind_util_path"
2988then
2989	if test -x "$bind_util_path/dnssec-signzone"
2990	then
2991		{ $as_echo "$as_me:${as_lineno-$LINENO}: BIND utilities path successfully set to $bind_util_path." >&5
2992$as_echo "$as_me: BIND utilities path successfully set to $bind_util_path." >&6;}
2993		SIGNZONE_PROG=$bind_util_path/dnssec-signzone
2994	else
2995        	as_fn_error $? "*** 'BIND utility not found in $bind_util_path, please use --enable-bind_util_path= to set it manually' ***" "$LINENO" 5
2996	fi
2997else
2998	# Extract the first word of "dnssec-signzone", so it can be a program name with args.
2999set dummy dnssec-signzone; ac_word=$2
3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001$as_echo_n "checking for $ac_word... " >&6; }
3002if ${ac_cv_path_SIGNZONE_PROG+:} false; then :
3003  $as_echo_n "(cached) " >&6
3004else
3005  case $SIGNZONE_PROG in
3006  [\\/]* | ?:[\\/]*)
3007  ac_cv_path_SIGNZONE_PROG="$SIGNZONE_PROG" # Let the user override the test with a path.
3008  ;;
3009  *)
3010  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011for as_dir in $PATH
3012do
3013  IFS=$as_save_IFS
3014  test -z "$as_dir" && as_dir=.
3015    for ac_exec_ext in '' $ac_executable_extensions; do
3016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017    ac_cv_path_SIGNZONE_PROG="$as_dir/$ac_word$ac_exec_ext"
3018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019    break 2
3020  fi
3021done
3022  done
3023IFS=$as_save_IFS
3024
3025  ;;
3026esac
3027fi
3028SIGNZONE_PROG=$ac_cv_path_SIGNZONE_PROG
3029if test -n "$SIGNZONE_PROG"; then
3030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIGNZONE_PROG" >&5
3031$as_echo "$SIGNZONE_PROG" >&6; }
3032else
3033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034$as_echo "no" >&6; }
3035fi
3036
3037
3038	{ $as_echo "$as_me:${as_lineno-$LINENO}: BIND utility $SIGNZONE_PROG found" >&5
3039$as_echo "$as_me: BIND utility $SIGNZONE_PROG found" >&6;}
3040	if test -n "$SIGNZONE_PROG"
3041	then
3042		bind_util_path=`dirname "$SIGNZONE_PROG"`
3043		{ $as_echo "$as_me:${as_lineno-$LINENO}: BIND utilities path automatically set to $bind_util_path." >&5
3044$as_echo "$as_me: BIND utilities path automatically set to $bind_util_path." >&6;}
3045	else
3046        	as_fn_error $? "*** 'could not determine BIND utility path, please use --enable-bind_util_path= ' to set it manually ***" "$LINENO" 5
3047	fi
3048fi
3049### By now, we have a path. We'll use it.
3050# define BIND_UTIL_PATH in config.h.in
3051
3052cat >>confdefs.h <<_ACEOF
3053#define BIND_UTIL_PATH "$bind_util_path/"
3054_ACEOF
3055
3056
3057# define BIND_VERSION in config.h.in
3058bind_version=`$SIGNZONE_PROG 2>&1 |  awk -F: '/^Version:/ { split ($2, v, "."); printf ("%2d%02d%02d\n", atoi (v[1]), atoi (v[2]), atoi (v[3])); };'`
3059{ $as_echo "$as_me:${as_lineno-$LINENO}: BIND_VERSION string set to $bind_version." >&5
3060$as_echo "$as_me: BIND_VERSION string set to $bind_version." >&6;}
3061
3062cat >>confdefs.h <<_ACEOF
3063#define BIND_VERSION $bind_version
3064_ACEOF
3065
3066if test $bind_version -lt "90800"
3067then
3068	as_fn_error $? "*** 'This version of ZKT requires a BIND version greater 9.7' ***" "$LINENO" 5
3069fi
3070
3071
3072
3073ac_ext=c
3074ac_cpp='$CPP $CPPFLAGS'
3075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3077ac_compiler_gnu=$ac_cv_c_compiler_gnu
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3079$as_echo_n "checking how to run the C preprocessor... " >&6; }
3080# On Suns, sometimes $CPP names a directory.
3081if test -n "$CPP" && test -d "$CPP"; then
3082  CPP=
3083fi
3084if test -z "$CPP"; then
3085  if ${ac_cv_prog_CPP+:} false; then :
3086  $as_echo_n "(cached) " >&6
3087else
3088      # Double quotes because CPP needs to be expanded
3089    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3090    do
3091      ac_preproc_ok=false
3092for ac_c_preproc_warn_flag in '' yes
3093do
3094  # Use a header file that comes with gcc, so configuring glibc
3095  # with a fresh cross-compiler works.
3096  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3097  # <limits.h> exists even on freestanding compilers.
3098  # On the NeXT, cc -E runs the code through the compiler's parser,
3099  # not just through cpp. "Syntax error" is here to catch this case.
3100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101/* end confdefs.h.  */
3102#ifdef __STDC__
3103# include <limits.h>
3104#else
3105# include <assert.h>
3106#endif
3107		     Syntax error
3108_ACEOF
3109if ac_fn_c_try_cpp "$LINENO"; then :
3110
3111else
3112  # Broken: fails on valid input.
3113continue
3114fi
3115rm -f conftest.err conftest.i conftest.$ac_ext
3116
3117  # OK, works on sane cases.  Now check whether nonexistent headers
3118  # can be detected and how.
3119  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120/* end confdefs.h.  */
3121#include <ac_nonexistent.h>
3122_ACEOF
3123if ac_fn_c_try_cpp "$LINENO"; then :
3124  # Broken: success on invalid input.
3125continue
3126else
3127  # Passes both tests.
3128ac_preproc_ok=:
3129break
3130fi
3131rm -f conftest.err conftest.i conftest.$ac_ext
3132
3133done
3134# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3135rm -f conftest.i conftest.err conftest.$ac_ext
3136if $ac_preproc_ok; then :
3137  break
3138fi
3139
3140    done
3141    ac_cv_prog_CPP=$CPP
3142
3143fi
3144  CPP=$ac_cv_prog_CPP
3145else
3146  ac_cv_prog_CPP=$CPP
3147fi
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3149$as_echo "$CPP" >&6; }
3150ac_preproc_ok=false
3151for ac_c_preproc_warn_flag in '' yes
3152do
3153  # Use a header file that comes with gcc, so configuring glibc
3154  # with a fresh cross-compiler works.
3155  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3156  # <limits.h> exists even on freestanding compilers.
3157  # On the NeXT, cc -E runs the code through the compiler's parser,
3158  # not just through cpp. "Syntax error" is here to catch this case.
3159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160/* end confdefs.h.  */
3161#ifdef __STDC__
3162# include <limits.h>
3163#else
3164# include <assert.h>
3165#endif
3166		     Syntax error
3167_ACEOF
3168if ac_fn_c_try_cpp "$LINENO"; then :
3169
3170else
3171  # Broken: fails on valid input.
3172continue
3173fi
3174rm -f conftest.err conftest.i conftest.$ac_ext
3175
3176  # OK, works on sane cases.  Now check whether nonexistent headers
3177  # can be detected and how.
3178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179/* end confdefs.h.  */
3180#include <ac_nonexistent.h>
3181_ACEOF
3182if ac_fn_c_try_cpp "$LINENO"; then :
3183  # Broken: success on invalid input.
3184continue
3185else
3186  # Passes both tests.
3187ac_preproc_ok=:
3188break
3189fi
3190rm -f conftest.err conftest.i conftest.$ac_ext
3191
3192done
3193# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194rm -f conftest.i conftest.err conftest.$ac_ext
3195if $ac_preproc_ok; then :
3196
3197else
3198  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3201See \`config.log' for more details" "$LINENO" 5; }
3202fi
3203
3204ac_ext=c
3205ac_cpp='$CPP $CPPFLAGS'
3206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208ac_compiler_gnu=$ac_cv_c_compiler_gnu
3209
3210
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3212$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3213if ${ac_cv_path_GREP+:} false; then :
3214  $as_echo_n "(cached) " >&6
3215else
3216  if test -z "$GREP"; then
3217  ac_path_GREP_found=false
3218  # Loop through the user's path and test for each of PROGNAME-LIST
3219  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3221do
3222  IFS=$as_save_IFS
3223  test -z "$as_dir" && as_dir=.
3224    for ac_prog in grep ggrep; do
3225    for ac_exec_ext in '' $ac_executable_extensions; do
3226      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3227      as_fn_executable_p "$ac_path_GREP" || continue
3228# Check for GNU ac_path_GREP and select it if it is found.
3229  # Check for GNU $ac_path_GREP
3230case `"$ac_path_GREP" --version 2>&1` in
3231*GNU*)
3232  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3233*)
3234  ac_count=0
3235  $as_echo_n 0123456789 >"conftest.in"
3236  while :
3237  do
3238    cat "conftest.in" "conftest.in" >"conftest.tmp"
3239    mv "conftest.tmp" "conftest.in"
3240    cp "conftest.in" "conftest.nl"
3241    $as_echo 'GREP' >> "conftest.nl"
3242    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3243    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3244    as_fn_arith $ac_count + 1 && ac_count=$as_val
3245    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3246      # Best one so far, save it but keep looking for a better one
3247      ac_cv_path_GREP="$ac_path_GREP"
3248      ac_path_GREP_max=$ac_count
3249    fi
3250    # 10*(2^10) chars as input seems more than enough
3251    test $ac_count -gt 10 && break
3252  done
3253  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3254esac
3255
3256      $ac_path_GREP_found && break 3
3257    done
3258  done
3259  done
3260IFS=$as_save_IFS
3261  if test -z "$ac_cv_path_GREP"; then
3262    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3263  fi
3264else
3265  ac_cv_path_GREP=$GREP
3266fi
3267
3268fi
3269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3270$as_echo "$ac_cv_path_GREP" >&6; }
3271 GREP="$ac_cv_path_GREP"
3272
3273
3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3275$as_echo_n "checking for egrep... " >&6; }
3276if ${ac_cv_path_EGREP+:} false; then :
3277  $as_echo_n "(cached) " >&6
3278else
3279  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3280   then ac_cv_path_EGREP="$GREP -E"
3281   else
3282     if test -z "$EGREP"; then
3283  ac_path_EGREP_found=false
3284  # Loop through the user's path and test for each of PROGNAME-LIST
3285  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3287do
3288  IFS=$as_save_IFS
3289  test -z "$as_dir" && as_dir=.
3290    for ac_prog in egrep; do
3291    for ac_exec_ext in '' $ac_executable_extensions; do
3292      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3293      as_fn_executable_p "$ac_path_EGREP" || continue
3294# Check for GNU ac_path_EGREP and select it if it is found.
3295  # Check for GNU $ac_path_EGREP
3296case `"$ac_path_EGREP" --version 2>&1` in
3297*GNU*)
3298  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3299*)
3300  ac_count=0
3301  $as_echo_n 0123456789 >"conftest.in"
3302  while :
3303  do
3304    cat "conftest.in" "conftest.in" >"conftest.tmp"
3305    mv "conftest.tmp" "conftest.in"
3306    cp "conftest.in" "conftest.nl"
3307    $as_echo 'EGREP' >> "conftest.nl"
3308    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3309    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3310    as_fn_arith $ac_count + 1 && ac_count=$as_val
3311    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3312      # Best one so far, save it but keep looking for a better one
3313      ac_cv_path_EGREP="$ac_path_EGREP"
3314      ac_path_EGREP_max=$ac_count
3315    fi
3316    # 10*(2^10) chars as input seems more than enough
3317    test $ac_count -gt 10 && break
3318  done
3319  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3320esac
3321
3322      $ac_path_EGREP_found && break 3
3323    done
3324  done
3325  done
3326IFS=$as_save_IFS
3327  if test -z "$ac_cv_path_EGREP"; then
3328    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3329  fi
3330else
3331  ac_cv_path_EGREP=$EGREP
3332fi
3333
3334   fi
3335fi
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3337$as_echo "$ac_cv_path_EGREP" >&6; }
3338 EGREP="$ac_cv_path_EGREP"
3339
3340
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3342$as_echo_n "checking for ANSI C header files... " >&6; }
3343if ${ac_cv_header_stdc+:} false; then :
3344  $as_echo_n "(cached) " >&6
3345else
3346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347/* end confdefs.h.  */
3348#include <stdlib.h>
3349#include <stdarg.h>
3350#include <string.h>
3351#include <float.h>
3352
3353int
3354main ()
3355{
3356
3357  ;
3358  return 0;
3359}
3360_ACEOF
3361if ac_fn_c_try_compile "$LINENO"; then :
3362  ac_cv_header_stdc=yes
3363else
3364  ac_cv_header_stdc=no
3365fi
3366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367
3368if test $ac_cv_header_stdc = yes; then
3369  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371/* end confdefs.h.  */
3372#include <string.h>
3373
3374_ACEOF
3375if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3376  $EGREP "memchr" >/dev/null 2>&1; then :
3377
3378else
3379  ac_cv_header_stdc=no
3380fi
3381rm -f conftest*
3382
3383fi
3384
3385if test $ac_cv_header_stdc = yes; then
3386  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3387  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388/* end confdefs.h.  */
3389#include <stdlib.h>
3390
3391_ACEOF
3392if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393  $EGREP "free" >/dev/null 2>&1; then :
3394
3395else
3396  ac_cv_header_stdc=no
3397fi
3398rm -f conftest*
3399
3400fi
3401
3402if test $ac_cv_header_stdc = yes; then
3403  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3404  if test "$cross_compiling" = yes; then :
3405  :
3406else
3407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408/* end confdefs.h.  */
3409#include <ctype.h>
3410#include <stdlib.h>
3411#if ((' ' & 0x0FF) == 0x020)
3412# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3413# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3414#else
3415# define ISLOWER(c) \
3416		   (('a' <= (c) && (c) <= 'i') \
3417		     || ('j' <= (c) && (c) <= 'r') \
3418		     || ('s' <= (c) && (c) <= 'z'))
3419# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3420#endif
3421
3422#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3423int
3424main ()
3425{
3426  int i;
3427  for (i = 0; i < 256; i++)
3428    if (XOR (islower (i), ISLOWER (i))
3429	|| toupper (i) != TOUPPER (i))
3430      return 2;
3431  return 0;
3432}
3433_ACEOF
3434if ac_fn_c_try_run "$LINENO"; then :
3435
3436else
3437  ac_cv_header_stdc=no
3438fi
3439rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3440  conftest.$ac_objext conftest.beam conftest.$ac_ext
3441fi
3442
3443fi
3444fi
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3446$as_echo "$ac_cv_header_stdc" >&6; }
3447if test $ac_cv_header_stdc = yes; then
3448
3449$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3450
3451fi
3452
3453# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3454for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3455		  inttypes.h stdint.h unistd.h
3456do :
3457  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3458ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3459"
3460if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3461  cat >>confdefs.h <<_ACEOF
3462#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3463_ACEOF
3464
3465fi
3466
3467done
3468
3469
3470ac_fn_c_check_type "$LINENO" "uint" "ac_cv_type_uint" "$ac_includes_default"
3471if test "x$ac_cv_type_uint" = xyes; then :
3472
3473else
3474
3475cat >>confdefs.h <<_ACEOF
3476#define uint unsigned int
3477_ACEOF
3478
3479fi
3480
3481ac_fn_c_check_type "$LINENO" "ulong" "ac_cv_type_ulong" "$ac_includes_default"
3482if test "x$ac_cv_type_ulong" = xyes; then :
3483
3484else
3485
3486cat >>confdefs.h <<_ACEOF
3487#define ulong unsigned long
3488_ACEOF
3489
3490fi
3491
3492ac_fn_c_check_type "$LINENO" "ushort" "ac_cv_type_ushort" "$ac_includes_default"
3493if test "x$ac_cv_type_ushort" = xyes; then :
3494
3495else
3496
3497cat >>confdefs.h <<_ACEOF
3498#define ushort unsigned short
3499_ACEOF
3500
3501fi
3502
3503ac_fn_c_check_type "$LINENO" "uchar" "ac_cv_type_uchar" "$ac_includes_default"
3504if test "x$ac_cv_type_uchar" = xyes; then :
3505
3506else
3507
3508cat >>confdefs.h <<_ACEOF
3509#define uchar unsigned char
3510_ACEOF
3511
3512fi
3513
3514
3515### define configure arguments
3516# Check whether --enable-color_mode was given.
3517if test "${enable_color_mode+set}" = set; then :
3518  enableval=$enable_color_mode;
3519fi
3520
3521color_mode=1
3522if test "$enable_color_mode" = "no"; then :
3523  color_mode=0
3524fi
3525
3526
3527# Check whether --with-curses was given.
3528if test "${with_curses+set}" = set; then :
3529  withval=$with_curses;
3530fi
3531
3532
3533if test "x$with_curses" != "xno"; then :
3534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
3535$as_echo_n "checking for tgetent in -lncurses... " >&6; }
3536if ${ac_cv_lib_ncurses_tgetent+:} false; then :
3537  $as_echo_n "(cached) " >&6
3538else
3539  ac_check_lib_save_LIBS=$LIBS
3540LIBS="-lncurses  $LIBS"
3541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542/* end confdefs.h.  */
3543
3544/* Override any GCC internal prototype to avoid an error.
3545   Use char because int might match the return type of a GCC
3546   builtin and then its argument prototype would still apply.  */
3547#ifdef __cplusplus
3548extern "C"
3549#endif
3550char tgetent ();
3551int
3552main ()
3553{
3554return tgetent ();
3555  ;
3556  return 0;
3557}
3558_ACEOF
3559if ac_fn_c_try_link "$LINENO"; then :
3560  ac_cv_lib_ncurses_tgetent=yes
3561else
3562  ac_cv_lib_ncurses_tgetent=no
3563fi
3564rm -f core conftest.err conftest.$ac_objext \
3565    conftest$ac_exeext conftest.$ac_ext
3566LIBS=$ac_check_lib_save_LIBS
3567fi
3568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
3569$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
3570if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
3571  cat >>confdefs.h <<_ACEOF
3572#define HAVE_LIBNCURSES 1
3573_ACEOF
3574
3575  LIBS="-lncurses $LIBS"
3576
3577fi
3578
3579else
3580  HAVE_LIB_NCURSES=0; color_mode=0
3581fi
3582
3583
3584cat >>confdefs.h <<_ACEOF
3585#define COLOR_MODE $color_mode
3586_ACEOF
3587
3588
3589
3590# Check whether --enable-printtimezone was given.
3591if test "${enable_printtimezone+set}" = set; then :
3592  enableval=$enable_printtimezone;
3593fi
3594
3595printtimezone=0
3596if test "$enable_printtimezone" = "yes"; then :
3597  printtimezone=1
3598fi
3599
3600cat >>confdefs.h <<_ACEOF
3601#define PRINT_TIMEZONE $printtimezone
3602_ACEOF
3603
3604
3605# Check whether --enable-printyear was given.
3606if test "${enable_printyear+set}" = set; then :
3607  enableval=$enable_printyear;
3608fi
3609
3610printyear=0
3611if test "$enable_printyear" = "yes"; then :
3612  printyear=1
3613fi
3614
3615cat >>confdefs.h <<_ACEOF
3616#define PRINT_AGE_WITH_YEAR $printyear
3617_ACEOF
3618
3619
3620# Check whether --enable-logprogname was given.
3621if test "${enable_logprogname+set}" = set; then :
3622  enableval=$enable_logprogname;
3623fi
3624
3625logprogname=0
3626if test "$enable_logprogname" = "yes"; then :
3627  logprogname=1
3628fi
3629
3630cat >>confdefs.h <<_ACEOF
3631#define LOG_WITH_PROGNAME $logprogname
3632_ACEOF
3633
3634
3635# Check whether --enable-logtimestamp was given.
3636if test "${enable_logtimestamp+set}" = set; then :
3637  enableval=$enable_logtimestamp;
3638fi
3639
3640logtimestamp=1
3641if test "$enable_logtimestamp" = "no"; then :
3642  logtimestamp=0
3643fi
3644
3645cat >>confdefs.h <<_ACEOF
3646#define LOG_WITH_TIMESTAMP $logtimestamp
3647_ACEOF
3648
3649
3650# Check whether --enable-loglevel was given.
3651if test "${enable_loglevel+set}" = set; then :
3652  enableval=$enable_loglevel;
3653fi
3654
3655loglevel=1
3656if test "$enable_loglevel" = "no"; then :
3657  loglevel=0
3658fi
3659
3660cat >>confdefs.h <<_ACEOF
3661#define LOG_WITH_LEVEL $loglevel
3662_ACEOF
3663
3664
3665# Check whether --enable-ttl_in_keyfile was given.
3666if test "${enable_ttl_in_keyfile+set}" = set; then :
3667  enableval=$enable_ttl_in_keyfile;
3668fi
3669
3670ttl_in_keyfile=1
3671if test "$enable_ttl_in_keyfile" = "no"; then :
3672  ttl_in_keyfile=0
3673fi
3674
3675cat >>confdefs.h <<_ACEOF
3676#define TTL_IN_KEYFILE_ALLOWED $ttl_in_keyfile
3677_ACEOF
3678
3679
3680configpath="/var/named"
3681# Check whether --enable-configpath was given.
3682if test "${enable_configpath+set}" = set; then :
3683  enableval=$enable_configpath; configpath=$enableval
3684fi
3685
3686case "$configpath" in
3687yes)
3688	configpath="/var/named"
3689	;;
3690no)
3691	configpath=""
3692	;;
3693*)
3694	;;
3695esac
3696
3697cat >>confdefs.h <<_ACEOF
3698#define CONFIG_PATH "$configpath/"
3699_ACEOF
3700
3701
3702usetree=1
3703t=""
3704# Check whether --enable-tree was given.
3705if test "${enable_tree+set}" = set; then :
3706  enableval=$enable_tree; usetree=$enableval
3707fi
3708
3709if test "$usetree" = no
3710then
3711	usetree=0
3712	t="S"
3713fi
3714
3715cat >>confdefs.h <<_ACEOF
3716#define USE_TREE $usetree
3717_ACEOF
3718
3719
3720
3721cat >>confdefs.h <<_ACEOF
3722#define ZKT_VERSION "$t$PACKAGE_VERSION"
3723_ACEOF
3724
3725
3726cat >>confdefs.h <<_ACEOF
3727#define ZKT_COPYRIGHT "(c) Feb 2005 - Nov 2012 Holger Zuleger hznet.de"
3728_ACEOF
3729
3730
3731### Checks for libraries.
3732
3733### Checks for header files.
3734ac_header_dirent=no
3735for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3736  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3738$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3739if eval \${$as_ac_Header+:} false; then :
3740  $as_echo_n "(cached) " >&6
3741else
3742  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743/* end confdefs.h.  */
3744#include <sys/types.h>
3745#include <$ac_hdr>
3746
3747int
3748main ()
3749{
3750if ((DIR *) 0)
3751return 0;
3752  ;
3753  return 0;
3754}
3755_ACEOF
3756if ac_fn_c_try_compile "$LINENO"; then :
3757  eval "$as_ac_Header=yes"
3758else
3759  eval "$as_ac_Header=no"
3760fi
3761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762fi
3763eval ac_res=\$$as_ac_Header
3764	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3765$as_echo "$ac_res" >&6; }
3766if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3767  cat >>confdefs.h <<_ACEOF
3768#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3769_ACEOF
3770
3771ac_header_dirent=$ac_hdr; break
3772fi
3773
3774done
3775# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3776if test $ac_header_dirent = dirent.h; then
3777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3778$as_echo_n "checking for library containing opendir... " >&6; }
3779if ${ac_cv_search_opendir+:} false; then :
3780  $as_echo_n "(cached) " >&6
3781else
3782  ac_func_search_save_LIBS=$LIBS
3783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784/* end confdefs.h.  */
3785
3786/* Override any GCC internal prototype to avoid an error.
3787   Use char because int might match the return type of a GCC
3788   builtin and then its argument prototype would still apply.  */
3789#ifdef __cplusplus
3790extern "C"
3791#endif
3792char opendir ();
3793int
3794main ()
3795{
3796return opendir ();
3797  ;
3798  return 0;
3799}
3800_ACEOF
3801for ac_lib in '' dir; do
3802  if test -z "$ac_lib"; then
3803    ac_res="none required"
3804  else
3805    ac_res=-l$ac_lib
3806    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3807  fi
3808  if ac_fn_c_try_link "$LINENO"; then :
3809  ac_cv_search_opendir=$ac_res
3810fi
3811rm -f core conftest.err conftest.$ac_objext \
3812    conftest$ac_exeext
3813  if ${ac_cv_search_opendir+:} false; then :
3814  break
3815fi
3816done
3817if ${ac_cv_search_opendir+:} false; then :
3818
3819else
3820  ac_cv_search_opendir=no
3821fi
3822rm conftest.$ac_ext
3823LIBS=$ac_func_search_save_LIBS
3824fi
3825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3826$as_echo "$ac_cv_search_opendir" >&6; }
3827ac_res=$ac_cv_search_opendir
3828if test "$ac_res" != no; then :
3829  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3830
3831fi
3832
3833else
3834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3835$as_echo_n "checking for library containing opendir... " >&6; }
3836if ${ac_cv_search_opendir+:} false; then :
3837  $as_echo_n "(cached) " >&6
3838else
3839  ac_func_search_save_LIBS=$LIBS
3840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841/* end confdefs.h.  */
3842
3843/* Override any GCC internal prototype to avoid an error.
3844   Use char because int might match the return type of a GCC
3845   builtin and then its argument prototype would still apply.  */
3846#ifdef __cplusplus
3847extern "C"
3848#endif
3849char opendir ();
3850int
3851main ()
3852{
3853return opendir ();
3854  ;
3855  return 0;
3856}
3857_ACEOF
3858for ac_lib in '' x; do
3859  if test -z "$ac_lib"; then
3860    ac_res="none required"
3861  else
3862    ac_res=-l$ac_lib
3863    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3864  fi
3865  if ac_fn_c_try_link "$LINENO"; then :
3866  ac_cv_search_opendir=$ac_res
3867fi
3868rm -f core conftest.err conftest.$ac_objext \
3869    conftest$ac_exeext
3870  if ${ac_cv_search_opendir+:} false; then :
3871  break
3872fi
3873done
3874if ${ac_cv_search_opendir+:} false; then :
3875
3876else
3877  ac_cv_search_opendir=no
3878fi
3879rm conftest.$ac_ext
3880LIBS=$ac_func_search_save_LIBS
3881fi
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3883$as_echo "$ac_cv_search_opendir" >&6; }
3884ac_res=$ac_cv_search_opendir
3885if test "$ac_res" != no; then :
3886  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3887
3888fi
3889
3890fi
3891
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3893$as_echo_n "checking for ANSI C header files... " >&6; }
3894if ${ac_cv_header_stdc+:} false; then :
3895  $as_echo_n "(cached) " >&6
3896else
3897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898/* end confdefs.h.  */
3899#include <stdlib.h>
3900#include <stdarg.h>
3901#include <string.h>
3902#include <float.h>
3903
3904int
3905main ()
3906{
3907
3908  ;
3909  return 0;
3910}
3911_ACEOF
3912if ac_fn_c_try_compile "$LINENO"; then :
3913  ac_cv_header_stdc=yes
3914else
3915  ac_cv_header_stdc=no
3916fi
3917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918
3919if test $ac_cv_header_stdc = yes; then
3920  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922/* end confdefs.h.  */
3923#include <string.h>
3924
3925_ACEOF
3926if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3927  $EGREP "memchr" >/dev/null 2>&1; then :
3928
3929else
3930  ac_cv_header_stdc=no
3931fi
3932rm -f conftest*
3933
3934fi
3935
3936if test $ac_cv_header_stdc = yes; then
3937  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3938  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939/* end confdefs.h.  */
3940#include <stdlib.h>
3941
3942_ACEOF
3943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3944  $EGREP "free" >/dev/null 2>&1; then :
3945
3946else
3947  ac_cv_header_stdc=no
3948fi
3949rm -f conftest*
3950
3951fi
3952
3953if test $ac_cv_header_stdc = yes; then
3954  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3955  if test "$cross_compiling" = yes; then :
3956  :
3957else
3958  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959/* end confdefs.h.  */
3960#include <ctype.h>
3961#include <stdlib.h>
3962#if ((' ' & 0x0FF) == 0x020)
3963# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3964# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3965#else
3966# define ISLOWER(c) \
3967		   (('a' <= (c) && (c) <= 'i') \
3968		     || ('j' <= (c) && (c) <= 'r') \
3969		     || ('s' <= (c) && (c) <= 'z'))
3970# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3971#endif
3972
3973#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3974int
3975main ()
3976{
3977  int i;
3978  for (i = 0; i < 256; i++)
3979    if (XOR (islower (i), ISLOWER (i))
3980	|| toupper (i) != TOUPPER (i))
3981      return 2;
3982  return 0;
3983}
3984_ACEOF
3985if ac_fn_c_try_run "$LINENO"; then :
3986
3987else
3988  ac_cv_header_stdc=no
3989fi
3990rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3991  conftest.$ac_objext conftest.beam conftest.$ac_ext
3992fi
3993
3994fi
3995fi
3996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3997$as_echo "$ac_cv_header_stdc" >&6; }
3998if test $ac_cv_header_stdc = yes; then
3999
4000$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4001
4002fi
4003
4004for ac_header in fcntl.h netdb.h stdlib.h getopt.h string.h strings.h sys/socket.h sys/time.h sys/types.h syslog.h unistd.h utime.h term.h curses.h
4005do :
4006  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4007ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4008if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4009  cat >>confdefs.h <<_ACEOF
4010#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4011_ACEOF
4012
4013fi
4014
4015done
4016
4017
4018
4019### Checks for typedefs, structures, and compiler characteristics.
4020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4021$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4022if ${ac_cv_c_const+:} false; then :
4023  $as_echo_n "(cached) " >&6
4024else
4025  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026/* end confdefs.h.  */
4027
4028int
4029main ()
4030{
4031
4032#ifndef __cplusplus
4033  /* Ultrix mips cc rejects this sort of thing.  */
4034  typedef int charset[2];
4035  const charset cs = { 0, 0 };
4036  /* SunOS 4.1.1 cc rejects this.  */
4037  char const *const *pcpcc;
4038  char **ppc;
4039  /* NEC SVR4.0.2 mips cc rejects this.  */
4040  struct point {int x, y;};
4041  static struct point const zero = {0,0};
4042  /* AIX XL C 1.02.0.0 rejects this.
4043     It does not let you subtract one const X* pointer from another in
4044     an arm of an if-expression whose if-part is not a constant
4045     expression */
4046  const char *g = "string";
4047  pcpcc = &g + (g ? g-g : 0);
4048  /* HPUX 7.0 cc rejects these. */
4049  ++pcpcc;
4050  ppc = (char**) pcpcc;
4051  pcpcc = (char const *const *) ppc;
4052  { /* SCO 3.2v4 cc rejects this sort of thing.  */
4053    char tx;
4054    char *t = &tx;
4055    char const *s = 0 ? (char *) 0 : (char const *) 0;
4056
4057    *t++ = 0;
4058    if (s) return 0;
4059  }
4060  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4061    int x[] = {25, 17};
4062    const int *foo = &x[0];
4063    ++foo;
4064  }
4065  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4066    typedef const int *iptr;
4067    iptr p = 0;
4068    ++p;
4069  }
4070  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4071       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4072    struct s { int j; const int *ap[3]; } bx;
4073    struct s *b = &bx; b->j = 5;
4074  }
4075  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4076    const int foo = 10;
4077    if (!foo) return 0;
4078  }
4079  return !cs[0] && !zero.x;
4080#endif
4081
4082  ;
4083  return 0;
4084}
4085_ACEOF
4086if ac_fn_c_try_compile "$LINENO"; then :
4087  ac_cv_c_const=yes
4088else
4089  ac_cv_c_const=no
4090fi
4091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092fi
4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4094$as_echo "$ac_cv_c_const" >&6; }
4095if test $ac_cv_c_const = no; then
4096
4097$as_echo "#define const /**/" >>confdefs.h
4098
4099fi
4100
4101ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4102if test "x$ac_cv_type_size_t" = xyes; then :
4103
4104else
4105
4106cat >>confdefs.h <<_ACEOF
4107#define size_t unsigned int
4108_ACEOF
4109
4110fi
4111
4112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4113$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4114if ${ac_cv_header_time+:} false; then :
4115  $as_echo_n "(cached) " >&6
4116else
4117  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118/* end confdefs.h.  */
4119#include <sys/types.h>
4120#include <sys/time.h>
4121#include <time.h>
4122
4123int
4124main ()
4125{
4126if ((struct tm *) 0)
4127return 0;
4128  ;
4129  return 0;
4130}
4131_ACEOF
4132if ac_fn_c_try_compile "$LINENO"; then :
4133  ac_cv_header_time=yes
4134else
4135  ac_cv_header_time=no
4136fi
4137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138fi
4139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4140$as_echo "$ac_cv_header_time" >&6; }
4141if test $ac_cv_header_time = yes; then
4142
4143$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4144
4145fi
4146
4147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4148$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4149if ${ac_cv_struct_tm+:} false; then :
4150  $as_echo_n "(cached) " >&6
4151else
4152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153/* end confdefs.h.  */
4154#include <sys/types.h>
4155#include <time.h>
4156
4157int
4158main ()
4159{
4160struct tm tm;
4161				     int *p = &tm.tm_sec;
4162				     return !p;
4163  ;
4164  return 0;
4165}
4166_ACEOF
4167if ac_fn_c_try_compile "$LINENO"; then :
4168  ac_cv_struct_tm=time.h
4169else
4170  ac_cv_struct_tm=sys/time.h
4171fi
4172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173fi
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4175$as_echo "$ac_cv_struct_tm" >&6; }
4176if test $ac_cv_struct_tm = sys/time.h; then
4177
4178$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4179
4180fi
4181
4182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4183$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4184if ${ac_cv_type_uid_t+:} false; then :
4185  $as_echo_n "(cached) " >&6
4186else
4187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188/* end confdefs.h.  */
4189#include <sys/types.h>
4190
4191_ACEOF
4192if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4193  $EGREP "uid_t" >/dev/null 2>&1; then :
4194  ac_cv_type_uid_t=yes
4195else
4196  ac_cv_type_uid_t=no
4197fi
4198rm -f conftest*
4199
4200fi
4201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4202$as_echo "$ac_cv_type_uid_t" >&6; }
4203if test $ac_cv_type_uid_t = no; then
4204
4205$as_echo "#define uid_t int" >>confdefs.h
4206
4207
4208$as_echo "#define gid_t int" >>confdefs.h
4209
4210fi
4211
4212
4213
4214### Checks for library functions.
4215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
4216$as_echo_n "checking whether closedir returns void... " >&6; }
4217if ${ac_cv_func_closedir_void+:} false; then :
4218  $as_echo_n "(cached) " >&6
4219else
4220  if test "$cross_compiling" = yes; then :
4221  ac_cv_func_closedir_void=yes
4222else
4223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224/* end confdefs.h.  */
4225$ac_includes_default
4226#include <$ac_header_dirent>
4227#ifndef __cplusplus
4228int closedir ();
4229#endif
4230
4231int
4232main ()
4233{
4234return closedir (opendir (".")) != 0;
4235  ;
4236  return 0;
4237}
4238_ACEOF
4239if ac_fn_c_try_run "$LINENO"; then :
4240  ac_cv_func_closedir_void=no
4241else
4242  ac_cv_func_closedir_void=yes
4243fi
4244rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4245  conftest.$ac_objext conftest.beam conftest.$ac_ext
4246fi
4247
4248fi
4249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
4250$as_echo "$ac_cv_func_closedir_void" >&6; }
4251if test $ac_cv_func_closedir_void = yes; then
4252
4253$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
4254
4255fi
4256
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
4258$as_echo_n "checking for error_at_line... " >&6; }
4259if ${ac_cv_lib_error_at_line+:} false; then :
4260  $as_echo_n "(cached) " >&6
4261else
4262  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263/* end confdefs.h.  */
4264#include <error.h>
4265int
4266main ()
4267{
4268error_at_line (0, 0, "", 0, "an error occurred");
4269  ;
4270  return 0;
4271}
4272_ACEOF
4273if ac_fn_c_try_link "$LINENO"; then :
4274  ac_cv_lib_error_at_line=yes
4275else
4276  ac_cv_lib_error_at_line=no
4277fi
4278rm -f core conftest.err conftest.$ac_objext \
4279    conftest$ac_exeext conftest.$ac_ext
4280fi
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
4282$as_echo "$ac_cv_lib_error_at_line" >&6; }
4283if test $ac_cv_lib_error_at_line = no; then
4284  case " $LIBOBJS " in
4285  *" error.$ac_objext "* ) ;;
4286  *) LIBOBJS="$LIBOBJS error.$ac_objext"
4287 ;;
4288esac
4289
4290fi
4291
4292
4293
4294
4295  for ac_header in $ac_header_list
4296do :
4297  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4299"
4300if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4301  cat >>confdefs.h <<_ACEOF
4302#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4303_ACEOF
4304
4305fi
4306
4307done
4308
4309
4310
4311
4312
4313
4314
4315
4316  for ac_func in $ac_func_list
4317do :
4318  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4319ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4320if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4321  cat >>confdefs.h <<_ACEOF
4322#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4323_ACEOF
4324
4325fi
4326done
4327
4328
4329
4330
4331
4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
4333$as_echo_n "checking for working mktime... " >&6; }
4334if ${ac_cv_func_working_mktime+:} false; then :
4335  $as_echo_n "(cached) " >&6
4336else
4337  if test "$cross_compiling" = yes; then :
4338  ac_cv_func_working_mktime=no
4339else
4340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341/* end confdefs.h.  */
4342/* Test program from Paul Eggert and Tony Leneis.  */
4343#ifdef TIME_WITH_SYS_TIME
4344# include <sys/time.h>
4345# include <time.h>
4346#else
4347# ifdef HAVE_SYS_TIME_H
4348#  include <sys/time.h>
4349# else
4350#  include <time.h>
4351# endif
4352#endif
4353
4354#include <limits.h>
4355#include <stdlib.h>
4356
4357#ifdef HAVE_UNISTD_H
4358# include <unistd.h>
4359#endif
4360
4361#ifndef HAVE_ALARM
4362# define alarm(X) /* empty */
4363#endif
4364
4365/* Work around redefinition to rpl_putenv by other config tests.  */
4366#undef putenv
4367
4368static time_t time_t_max;
4369static time_t time_t_min;
4370
4371/* Values we'll use to set the TZ environment variable.  */
4372static const char *tz_strings[] = {
4373  (const char *) 0, "TZ=GMT0", "TZ=JST-9",
4374  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
4375};
4376#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
4377
4378/* Return 0 if mktime fails to convert a date in the spring-forward gap.
4379   Based on a problem report from Andreas Jaeger.  */
4380static int
4381spring_forward_gap ()
4382{
4383  /* glibc (up to about 1998-10-07) failed this test. */
4384  struct tm tm;
4385
4386  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4387     instead of "TZ=America/Vancouver" in order to detect the bug even
4388     on systems that don't support the Olson extension, or don't have the
4389     full zoneinfo tables installed.  */
4390  putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
4391
4392  tm.tm_year = 98;
4393  tm.tm_mon = 3;
4394  tm.tm_mday = 5;
4395  tm.tm_hour = 2;
4396  tm.tm_min = 0;
4397  tm.tm_sec = 0;
4398  tm.tm_isdst = -1;
4399  return mktime (&tm) != (time_t) -1;
4400}
4401
4402static int
4403mktime_test1 (time_t now)
4404{
4405  struct tm *lt;
4406  return ! (lt = localtime (&now)) || mktime (lt) == now;
4407}
4408
4409static int
4410mktime_test (time_t now)
4411{
4412  return (mktime_test1 (now)
4413	  && mktime_test1 ((time_t) (time_t_max - now))
4414	  && mktime_test1 ((time_t) (time_t_min + now)));
4415}
4416
4417static int
4418irix_6_4_bug ()
4419{
4420  /* Based on code from Ariel Faigon.  */
4421  struct tm tm;
4422  tm.tm_year = 96;
4423  tm.tm_mon = 3;
4424  tm.tm_mday = 0;
4425  tm.tm_hour = 0;
4426  tm.tm_min = 0;
4427  tm.tm_sec = 0;
4428  tm.tm_isdst = -1;
4429  mktime (&tm);
4430  return tm.tm_mon == 2 && tm.tm_mday == 31;
4431}
4432
4433static int
4434bigtime_test (int j)
4435{
4436  struct tm tm;
4437  time_t now;
4438  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
4439  now = mktime (&tm);
4440  if (now != (time_t) -1)
4441    {
4442      struct tm *lt = localtime (&now);
4443      if (! (lt
4444	     && lt->tm_year == tm.tm_year
4445	     && lt->tm_mon == tm.tm_mon
4446	     && lt->tm_mday == tm.tm_mday
4447	     && lt->tm_hour == tm.tm_hour
4448	     && lt->tm_min == tm.tm_min
4449	     && lt->tm_sec == tm.tm_sec
4450	     && lt->tm_yday == tm.tm_yday
4451	     && lt->tm_wday == tm.tm_wday
4452	     && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
4453		  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
4454	return 0;
4455    }
4456  return 1;
4457}
4458
4459static int
4460year_2050_test ()
4461{
4462  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
4463     ignoring leap seconds.  */
4464  unsigned long int answer = 2527315200UL;
4465
4466  struct tm tm;
4467  time_t t;
4468  tm.tm_year = 2050 - 1900;
4469  tm.tm_mon = 2 - 1;
4470  tm.tm_mday = 1;
4471  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
4472  tm.tm_isdst = -1;
4473
4474  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4475     instead of "TZ=America/Vancouver" in order to detect the bug even
4476     on systems that don't support the Olson extension, or don't have the
4477     full zoneinfo tables installed.  */
4478  putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
4479
4480  t = mktime (&tm);
4481
4482  /* Check that the result is either a failure, or close enough
4483     to the correct answer that we can assume the discrepancy is
4484     due to leap seconds.  */
4485  return (t == (time_t) -1
4486	  || (0 < t && answer - 120 <= t && t <= answer + 120));
4487}
4488
4489int
4490main ()
4491{
4492  time_t t, delta;
4493  int i, j;
4494
4495  /* This test makes some buggy mktime implementations loop.
4496     Give up after 60 seconds; a mktime slower than that
4497     isn't worth using anyway.  */
4498  alarm (60);
4499
4500  for (;;)
4501    {
4502      t = (time_t_max << 1) + 1;
4503      if (t <= time_t_max)
4504	break;
4505      time_t_max = t;
4506    }
4507  time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
4508
4509  delta = time_t_max / 997; /* a suitable prime number */
4510  for (i = 0; i < N_STRINGS; i++)
4511    {
4512      if (tz_strings[i])
4513	putenv ((char*) tz_strings[i]);
4514
4515      for (t = 0; t <= time_t_max - delta; t += delta)
4516	if (! mktime_test (t))
4517	  return 1;
4518      if (! (mktime_test ((time_t) 1)
4519	     && mktime_test ((time_t) (60 * 60))
4520	     && mktime_test ((time_t) (60 * 60 * 24))))
4521	return 1;
4522
4523      for (j = 1; ; j <<= 1)
4524	if (! bigtime_test (j))
4525	  return 1;
4526	else if (INT_MAX / 2 < j)
4527	  break;
4528      if (! bigtime_test (INT_MAX))
4529	return 1;
4530    }
4531  return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
4532}
4533_ACEOF
4534if ac_fn_c_try_run "$LINENO"; then :
4535  ac_cv_func_working_mktime=yes
4536else
4537  ac_cv_func_working_mktime=no
4538fi
4539rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4540  conftest.$ac_objext conftest.beam conftest.$ac_ext
4541fi
4542
4543fi
4544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
4545$as_echo "$ac_cv_func_working_mktime" >&6; }
4546if test $ac_cv_func_working_mktime = no; then
4547  case " $LIBOBJS " in
4548  *" mktime.$ac_objext "* ) ;;
4549  *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
4550 ;;
4551esac
4552
4553fi
4554
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
4556$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
4557if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
4558  $as_echo_n "(cached) " >&6
4559else
4560  rm -f conftest.sym conftest.file
4561echo >conftest.file
4562if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
4563  if test "$cross_compiling" = yes; then :
4564  ac_cv_func_lstat_dereferences_slashed_symlink=no
4565else
4566  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567/* end confdefs.h.  */
4568$ac_includes_default
4569int
4570main ()
4571{
4572struct stat sbuf;
4573     /* Linux will dereference the symlink and fail, as required by POSIX.
4574	That is better in the sense that it means we will not
4575	have to compile and use the lstat wrapper.  */
4576     return lstat ("conftest.sym/", &sbuf) == 0;
4577  ;
4578  return 0;
4579}
4580_ACEOF
4581if ac_fn_c_try_run "$LINENO"; then :
4582  ac_cv_func_lstat_dereferences_slashed_symlink=yes
4583else
4584  ac_cv_func_lstat_dereferences_slashed_symlink=no
4585fi
4586rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4587  conftest.$ac_objext conftest.beam conftest.$ac_ext
4588fi
4589
4590else
4591  # If the `ln -s' command failed, then we probably don't even
4592  # have an lstat function.
4593  ac_cv_func_lstat_dereferences_slashed_symlink=no
4594fi
4595rm -f conftest.sym conftest.file
4596
4597fi
4598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4599$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
4600
4601test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4602
4603cat >>confdefs.h <<_ACEOF
4604#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4605_ACEOF
4606
4607
4608if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
4609  case " $LIBOBJS " in
4610  *" lstat.$ac_objext "* ) ;;
4611  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
4612 ;;
4613esac
4614
4615fi
4616
4617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
4618$as_echo_n "checking whether stat accepts an empty string... " >&6; }
4619if ${ac_cv_func_stat_empty_string_bug+:} false; then :
4620  $as_echo_n "(cached) " >&6
4621else
4622  if test "$cross_compiling" = yes; then :
4623  ac_cv_func_stat_empty_string_bug=yes
4624else
4625  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626/* end confdefs.h.  */
4627$ac_includes_default
4628int
4629main ()
4630{
4631struct stat sbuf;
4632  return stat ("", &sbuf) == 0;
4633  ;
4634  return 0;
4635}
4636_ACEOF
4637if ac_fn_c_try_run "$LINENO"; then :
4638  ac_cv_func_stat_empty_string_bug=no
4639else
4640  ac_cv_func_stat_empty_string_bug=yes
4641fi
4642rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4643  conftest.$ac_objext conftest.beam conftest.$ac_ext
4644fi
4645
4646fi
4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
4648$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
4649if test $ac_cv_func_stat_empty_string_bug = yes; then
4650  case " $LIBOBJS " in
4651  *" stat.$ac_objext "* ) ;;
4652  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
4653 ;;
4654esac
4655
4656
4657cat >>confdefs.h <<_ACEOF
4658#define HAVE_STAT_EMPTY_STRING_BUG 1
4659_ACEOF
4660
4661fi
4662
4663for ac_func in strftime
4664do :
4665  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4666if test "x$ac_cv_func_strftime" = xyes; then :
4667  cat >>confdefs.h <<_ACEOF
4668#define HAVE_STRFTIME 1
4669_ACEOF
4670
4671else
4672  # strftime is in -lintl on SCO UNIX.
4673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4674$as_echo_n "checking for strftime in -lintl... " >&6; }
4675if ${ac_cv_lib_intl_strftime+:} false; then :
4676  $as_echo_n "(cached) " >&6
4677else
4678  ac_check_lib_save_LIBS=$LIBS
4679LIBS="-lintl  $LIBS"
4680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681/* end confdefs.h.  */
4682
4683/* Override any GCC internal prototype to avoid an error.
4684   Use char because int might match the return type of a GCC
4685   builtin and then its argument prototype would still apply.  */
4686#ifdef __cplusplus
4687extern "C"
4688#endif
4689char strftime ();
4690int
4691main ()
4692{
4693return strftime ();
4694  ;
4695  return 0;
4696}
4697_ACEOF
4698if ac_fn_c_try_link "$LINENO"; then :
4699  ac_cv_lib_intl_strftime=yes
4700else
4701  ac_cv_lib_intl_strftime=no
4702fi
4703rm -f core conftest.err conftest.$ac_objext \
4704    conftest$ac_exeext conftest.$ac_ext
4705LIBS=$ac_check_lib_save_LIBS
4706fi
4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4708$as_echo "$ac_cv_lib_intl_strftime" >&6; }
4709if test "x$ac_cv_lib_intl_strftime" = xyes; then :
4710  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4711
4712LIBS="-lintl $LIBS"
4713fi
4714
4715fi
4716done
4717
4718
4719
4720
4721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
4722$as_echo_n "checking whether utime accepts a null argument... " >&6; }
4723if ${ac_cv_func_utime_null+:} false; then :
4724  $as_echo_n "(cached) " >&6
4725else
4726  rm -f conftest.data; >conftest.data
4727# Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
4728if test "$cross_compiling" = yes; then :
4729  ac_cv_func_utime_null='guessing yes'
4730else
4731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732/* end confdefs.h.  */
4733$ac_includes_default
4734	       #ifdef HAVE_UTIME_H
4735	       # include <utime.h>
4736	       #endif
4737int
4738main ()
4739{
4740struct stat s, t;
4741  return ! (stat ("conftest.data", &s) == 0
4742	    && utime ("conftest.data", 0) == 0
4743	    && stat ("conftest.data", &t) == 0
4744	    && t.st_mtime >= s.st_mtime
4745	    && t.st_mtime - s.st_mtime < 120);
4746  ;
4747  return 0;
4748}
4749_ACEOF
4750if ac_fn_c_try_run "$LINENO"; then :
4751  ac_cv_func_utime_null=yes
4752else
4753  ac_cv_func_utime_null=no
4754fi
4755rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4756  conftest.$ac_objext conftest.beam conftest.$ac_ext
4757fi
4758
4759fi
4760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
4761$as_echo "$ac_cv_func_utime_null" >&6; }
4762if test "x$ac_cv_func_utime_null" != xno; then
4763  ac_cv_func_utime_null=yes
4764
4765$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
4766
4767fi
4768rm -f conftest.data
4769
4770for ac_func in vprintf
4771do :
4772  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4773if test "x$ac_cv_func_vprintf" = xyes; then :
4774  cat >>confdefs.h <<_ACEOF
4775#define HAVE_VPRINTF 1
4776_ACEOF
4777
4778ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4779if test "x$ac_cv_func__doprnt" = xyes; then :
4780
4781$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4782
4783fi
4784
4785fi
4786done
4787
4788
4789# 2008-07-04 getopt_long added
4790# 2009-07-30 timegm added
4791for ac_func in getopt_long gettimeofday memset putenv socket strcasecmp strchr strdup strerror strncasecmp strrchr tzset utime getuid timegm
4792do :
4793  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4794ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4795if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4796  cat >>confdefs.h <<_ACEOF
4797#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4798_ACEOF
4799
4800fi
4801done
4802
4803
4804
4805ac_config_files="$ac_config_files Makefile"
4806
4807cat >confcache <<\_ACEOF
4808# This file is a shell script that caches the results of configure
4809# tests run on this system so they can be shared between configure
4810# scripts and configure runs, see configure's option --config-cache.
4811# It is not useful on other systems.  If it contains results you don't
4812# want to keep, you may remove or edit it.
4813#
4814# config.status only pays attention to the cache file if you give it
4815# the --recheck option to rerun configure.
4816#
4817# `ac_cv_env_foo' variables (set or unset) will be overridden when
4818# loading this file, other *unset* `ac_cv_foo' will be assigned the
4819# following values.
4820
4821_ACEOF
4822
4823# The following way of writing the cache mishandles newlines in values,
4824# but we know of no workaround that is simple, portable, and efficient.
4825# So, we kill variables containing newlines.
4826# Ultrix sh set writes to stderr and can't be redirected directly,
4827# and sets the high bit in the cache file unless we assign to the vars.
4828(
4829  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4830    eval ac_val=\$$ac_var
4831    case $ac_val in #(
4832    *${as_nl}*)
4833      case $ac_var in #(
4834      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4835$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4836      esac
4837      case $ac_var in #(
4838      _ | IFS | as_nl) ;; #(
4839      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4840      *) { eval $ac_var=; unset $ac_var;} ;;
4841      esac ;;
4842    esac
4843  done
4844
4845  (set) 2>&1 |
4846    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4847    *${as_nl}ac_space=\ *)
4848      # `set' does not quote correctly, so add quotes: double-quote
4849      # substitution turns \\\\ into \\, and sed turns \\ into \.
4850      sed -n \
4851	"s/'/'\\\\''/g;
4852	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4853      ;; #(
4854    *)
4855      # `set' quotes correctly as required by POSIX, so do not add quotes.
4856      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4857      ;;
4858    esac |
4859    sort
4860) |
4861  sed '
4862     /^ac_cv_env_/b end
4863     t clear
4864     :clear
4865     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4866     t end
4867     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4868     :end' >>confcache
4869if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4870  if test -w "$cache_file"; then
4871    if test "x$cache_file" != "x/dev/null"; then
4872      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4873$as_echo "$as_me: updating cache $cache_file" >&6;}
4874      if test ! -f "$cache_file" || test -h "$cache_file"; then
4875	cat confcache >"$cache_file"
4876      else
4877        case $cache_file in #(
4878        */* | ?:*)
4879	  mv -f confcache "$cache_file"$$ &&
4880	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4881        *)
4882	  mv -f confcache "$cache_file" ;;
4883	esac
4884      fi
4885    fi
4886  else
4887    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4888$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4889  fi
4890fi
4891rm -f confcache
4892
4893test "x$prefix" = xNONE && prefix=$ac_default_prefix
4894# Let make expand exec_prefix.
4895test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4896
4897DEFS=-DHAVE_CONFIG_H
4898
4899ac_libobjs=
4900ac_ltlibobjs=
4901U=
4902for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4903  # 1. Remove the extension, and $U if already installed.
4904  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4905  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4906  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4907  #    will be set to the directory where LIBOBJS objects are built.
4908  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4909  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4910done
4911LIBOBJS=$ac_libobjs
4912
4913LTLIBOBJS=$ac_ltlibobjs
4914
4915
4916
4917: "${CONFIG_STATUS=./config.status}"
4918ac_write_fail=0
4919ac_clean_files_save=$ac_clean_files
4920ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4921{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4922$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4923as_write_fail=0
4924cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4925#! $SHELL
4926# Generated by $as_me.
4927# Run this file to recreate the current configuration.
4928# Compiler output produced by configure, useful for debugging
4929# configure, is in config.log if it exists.
4930
4931debug=false
4932ac_cs_recheck=false
4933ac_cs_silent=false
4934
4935SHELL=\${CONFIG_SHELL-$SHELL}
4936export SHELL
4937_ASEOF
4938cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4939## -------------------- ##
4940## M4sh Initialization. ##
4941## -------------------- ##
4942
4943# Be more Bourne compatible
4944DUALCASE=1; export DUALCASE # for MKS sh
4945if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4946  emulate sh
4947  NULLCMD=:
4948  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4949  # is contrary to our usage.  Disable this feature.
4950  alias -g '${1+"$@"}'='"$@"'
4951  setopt NO_GLOB_SUBST
4952else
4953  case `(set -o) 2>/dev/null` in #(
4954  *posix*) :
4955    set -o posix ;; #(
4956  *) :
4957     ;;
4958esac
4959fi
4960
4961
4962as_nl='
4963'
4964export as_nl
4965# Printing a long string crashes Solaris 7 /usr/bin/printf.
4966as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4967as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4968as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4969# Prefer a ksh shell builtin over an external printf program on Solaris,
4970# but without wasting forks for bash or zsh.
4971if test -z "$BASH_VERSION$ZSH_VERSION" \
4972    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4973  as_echo='print -r --'
4974  as_echo_n='print -rn --'
4975elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4976  as_echo='printf %s\n'
4977  as_echo_n='printf %s'
4978else
4979  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4980    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4981    as_echo_n='/usr/ucb/echo -n'
4982  else
4983    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4984    as_echo_n_body='eval
4985      arg=$1;
4986      case $arg in #(
4987      *"$as_nl"*)
4988	expr "X$arg" : "X\\(.*\\)$as_nl";
4989	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4990      esac;
4991      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4992    '
4993    export as_echo_n_body
4994    as_echo_n='sh -c $as_echo_n_body as_echo'
4995  fi
4996  export as_echo_body
4997  as_echo='sh -c $as_echo_body as_echo'
4998fi
4999
5000# The user is always right.
5001if test "${PATH_SEPARATOR+set}" != set; then
5002  PATH_SEPARATOR=:
5003  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5004    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5005      PATH_SEPARATOR=';'
5006  }
5007fi
5008
5009
5010# IFS
5011# We need space, tab and new line, in precisely that order.  Quoting is
5012# there to prevent editors from complaining about space-tab.
5013# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5014# splitting by setting IFS to empty value.)
5015IFS=" ""	$as_nl"
5016
5017# Find who we are.  Look in the path if we contain no directory separator.
5018as_myself=
5019case $0 in #((
5020  *[\\/]* ) as_myself=$0 ;;
5021  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022for as_dir in $PATH
5023do
5024  IFS=$as_save_IFS
5025  test -z "$as_dir" && as_dir=.
5026    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5027  done
5028IFS=$as_save_IFS
5029
5030     ;;
5031esac
5032# We did not find ourselves, most probably we were run as `sh COMMAND'
5033# in which case we are not to be found in the path.
5034if test "x$as_myself" = x; then
5035  as_myself=$0
5036fi
5037if test ! -f "$as_myself"; then
5038  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5039  exit 1
5040fi
5041
5042# Unset variables that we do not need and which cause bugs (e.g. in
5043# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5044# suppresses any "Segmentation fault" message there.  '((' could
5045# trigger a bug in pdksh 5.2.14.
5046for as_var in BASH_ENV ENV MAIL MAILPATH
5047do eval test x\${$as_var+set} = xset \
5048  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5049done
5050PS1='$ '
5051PS2='> '
5052PS4='+ '
5053
5054# NLS nuisances.
5055LC_ALL=C
5056export LC_ALL
5057LANGUAGE=C
5058export LANGUAGE
5059
5060# CDPATH.
5061(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5062
5063
5064# as_fn_error STATUS ERROR [LINENO LOG_FD]
5065# ----------------------------------------
5066# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5067# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5068# script with STATUS, using 1 if that was 0.
5069as_fn_error ()
5070{
5071  as_status=$1; test $as_status -eq 0 && as_status=1
5072  if test "$4"; then
5073    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5074    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5075  fi
5076  $as_echo "$as_me: error: $2" >&2
5077  as_fn_exit $as_status
5078} # as_fn_error
5079
5080
5081# as_fn_set_status STATUS
5082# -----------------------
5083# Set $? to STATUS, without forking.
5084as_fn_set_status ()
5085{
5086  return $1
5087} # as_fn_set_status
5088
5089# as_fn_exit STATUS
5090# -----------------
5091# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5092as_fn_exit ()
5093{
5094  set +e
5095  as_fn_set_status $1
5096  exit $1
5097} # as_fn_exit
5098
5099# as_fn_unset VAR
5100# ---------------
5101# Portably unset VAR.
5102as_fn_unset ()
5103{
5104  { eval $1=; unset $1;}
5105}
5106as_unset=as_fn_unset
5107# as_fn_append VAR VALUE
5108# ----------------------
5109# Append the text in VALUE to the end of the definition contained in VAR. Take
5110# advantage of any shell optimizations that allow amortized linear growth over
5111# repeated appends, instead of the typical quadratic growth present in naive
5112# implementations.
5113if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5114  eval 'as_fn_append ()
5115  {
5116    eval $1+=\$2
5117  }'
5118else
5119  as_fn_append ()
5120  {
5121    eval $1=\$$1\$2
5122  }
5123fi # as_fn_append
5124
5125# as_fn_arith ARG...
5126# ------------------
5127# Perform arithmetic evaluation on the ARGs, and store the result in the
5128# global $as_val. Take advantage of shells that can avoid forks. The arguments
5129# must be portable across $(()) and expr.
5130if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5131  eval 'as_fn_arith ()
5132  {
5133    as_val=$(( $* ))
5134  }'
5135else
5136  as_fn_arith ()
5137  {
5138    as_val=`expr "$@" || test $? -eq 1`
5139  }
5140fi # as_fn_arith
5141
5142
5143if expr a : '\(a\)' >/dev/null 2>&1 &&
5144   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5145  as_expr=expr
5146else
5147  as_expr=false
5148fi
5149
5150if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5151  as_basename=basename
5152else
5153  as_basename=false
5154fi
5155
5156if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5157  as_dirname=dirname
5158else
5159  as_dirname=false
5160fi
5161
5162as_me=`$as_basename -- "$0" ||
5163$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5164	 X"$0" : 'X\(//\)$' \| \
5165	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5166$as_echo X/"$0" |
5167    sed '/^.*\/\([^/][^/]*\)\/*$/{
5168	    s//\1/
5169	    q
5170	  }
5171	  /^X\/\(\/\/\)$/{
5172	    s//\1/
5173	    q
5174	  }
5175	  /^X\/\(\/\).*/{
5176	    s//\1/
5177	    q
5178	  }
5179	  s/.*/./; q'`
5180
5181# Avoid depending upon Character Ranges.
5182as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5183as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5184as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5185as_cr_digits='0123456789'
5186as_cr_alnum=$as_cr_Letters$as_cr_digits
5187
5188ECHO_C= ECHO_N= ECHO_T=
5189case `echo -n x` in #(((((
5190-n*)
5191  case `echo 'xy\c'` in
5192  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5193  xy)  ECHO_C='\c';;
5194  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5195       ECHO_T='	';;
5196  esac;;
5197*)
5198  ECHO_N='-n';;
5199esac
5200
5201rm -f conf$$ conf$$.exe conf$$.file
5202if test -d conf$$.dir; then
5203  rm -f conf$$.dir/conf$$.file
5204else
5205  rm -f conf$$.dir
5206  mkdir conf$$.dir 2>/dev/null
5207fi
5208if (echo >conf$$.file) 2>/dev/null; then
5209  if ln -s conf$$.file conf$$ 2>/dev/null; then
5210    as_ln_s='ln -s'
5211    # ... but there are two gotchas:
5212    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5213    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5214    # In both cases, we have to default to `cp -pR'.
5215    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5216      as_ln_s='cp -pR'
5217  elif ln conf$$.file conf$$ 2>/dev/null; then
5218    as_ln_s=ln
5219  else
5220    as_ln_s='cp -pR'
5221  fi
5222else
5223  as_ln_s='cp -pR'
5224fi
5225rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5226rmdir conf$$.dir 2>/dev/null
5227
5228
5229# as_fn_mkdir_p
5230# -------------
5231# Create "$as_dir" as a directory, including parents if necessary.
5232as_fn_mkdir_p ()
5233{
5234
5235  case $as_dir in #(
5236  -*) as_dir=./$as_dir;;
5237  esac
5238  test -d "$as_dir" || eval $as_mkdir_p || {
5239    as_dirs=
5240    while :; do
5241      case $as_dir in #(
5242      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5243      *) as_qdir=$as_dir;;
5244      esac
5245      as_dirs="'$as_qdir' $as_dirs"
5246      as_dir=`$as_dirname -- "$as_dir" ||
5247$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5248	 X"$as_dir" : 'X\(//\)[^/]' \| \
5249	 X"$as_dir" : 'X\(//\)$' \| \
5250	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5251$as_echo X"$as_dir" |
5252    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5253	    s//\1/
5254	    q
5255	  }
5256	  /^X\(\/\/\)[^/].*/{
5257	    s//\1/
5258	    q
5259	  }
5260	  /^X\(\/\/\)$/{
5261	    s//\1/
5262	    q
5263	  }
5264	  /^X\(\/\).*/{
5265	    s//\1/
5266	    q
5267	  }
5268	  s/.*/./; q'`
5269      test -d "$as_dir" && break
5270    done
5271    test -z "$as_dirs" || eval "mkdir $as_dirs"
5272  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5273
5274
5275} # as_fn_mkdir_p
5276if mkdir -p . 2>/dev/null; then
5277  as_mkdir_p='mkdir -p "$as_dir"'
5278else
5279  test -d ./-p && rmdir ./-p
5280  as_mkdir_p=false
5281fi
5282
5283
5284# as_fn_executable_p FILE
5285# -----------------------
5286# Test if FILE is an executable regular file.
5287as_fn_executable_p ()
5288{
5289  test -f "$1" && test -x "$1"
5290} # as_fn_executable_p
5291as_test_x='test -x'
5292as_executable_p=as_fn_executable_p
5293
5294# Sed expression to map a string onto a valid CPP name.
5295as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5296
5297# Sed expression to map a string onto a valid variable name.
5298as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5299
5300
5301exec 6>&1
5302## ----------------------------------- ##
5303## Main body of $CONFIG_STATUS script. ##
5304## ----------------------------------- ##
5305_ASEOF
5306test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5307
5308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5309# Save the log message, to keep $0 and so on meaningful, and to
5310# report actual input values of CONFIG_FILES etc. instead of their
5311# values after options handling.
5312ac_log="
5313This file was extended by ZKT $as_me 1.1.3, which was
5314generated by GNU Autoconf 2.69.  Invocation command line was
5315
5316  CONFIG_FILES    = $CONFIG_FILES
5317  CONFIG_HEADERS  = $CONFIG_HEADERS
5318  CONFIG_LINKS    = $CONFIG_LINKS
5319  CONFIG_COMMANDS = $CONFIG_COMMANDS
5320  $ $0 $@
5321
5322on `(hostname || uname -n) 2>/dev/null | sed 1q`
5323"
5324
5325_ACEOF
5326
5327case $ac_config_files in *"
5328"*) set x $ac_config_files; shift; ac_config_files=$*;;
5329esac
5330
5331case $ac_config_headers in *"
5332"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5333esac
5334
5335
5336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5337# Files that config.status was made for.
5338config_files="$ac_config_files"
5339config_headers="$ac_config_headers"
5340
5341_ACEOF
5342
5343cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5344ac_cs_usage="\
5345\`$as_me' instantiates files and other configuration actions
5346from templates according to the current configuration.  Unless the files
5347and actions are specified as TAGs, all are instantiated by default.
5348
5349Usage: $0 [OPTION]... [TAG]...
5350
5351  -h, --help       print this help, then exit
5352  -V, --version    print version number and configuration settings, then exit
5353      --config     print configuration, then exit
5354  -q, --quiet, --silent
5355                   do not print progress messages
5356  -d, --debug      don't remove temporary files
5357      --recheck    update $as_me by reconfiguring in the same conditions
5358      --file=FILE[:TEMPLATE]
5359                   instantiate the configuration file FILE
5360      --header=FILE[:TEMPLATE]
5361                   instantiate the configuration header FILE
5362
5363Configuration files:
5364$config_files
5365
5366Configuration headers:
5367$config_headers
5368
5369Report bugs to <Holger Zuleger hznet.de>."
5370
5371_ACEOF
5372cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5373ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5374ac_cs_version="\\
5375ZKT config.status 1.1.3
5376configured by $0, generated by GNU Autoconf 2.69,
5377  with options \\"\$ac_cs_config\\"
5378
5379Copyright (C) 2012 Free Software Foundation, Inc.
5380This config.status script is free software; the Free Software Foundation
5381gives unlimited permission to copy, distribute and modify it."
5382
5383ac_pwd='$ac_pwd'
5384srcdir='$srcdir'
5385test -n "\$AWK" || AWK=awk
5386_ACEOF
5387
5388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5389# The default lists apply if the user does not specify any file.
5390ac_need_defaults=:
5391while test $# != 0
5392do
5393  case $1 in
5394  --*=?*)
5395    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5396    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5397    ac_shift=:
5398    ;;
5399  --*=)
5400    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5401    ac_optarg=
5402    ac_shift=:
5403    ;;
5404  *)
5405    ac_option=$1
5406    ac_optarg=$2
5407    ac_shift=shift
5408    ;;
5409  esac
5410
5411  case $ac_option in
5412  # Handling of the options.
5413  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5414    ac_cs_recheck=: ;;
5415  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5416    $as_echo "$ac_cs_version"; exit ;;
5417  --config | --confi | --conf | --con | --co | --c )
5418    $as_echo "$ac_cs_config"; exit ;;
5419  --debug | --debu | --deb | --de | --d | -d )
5420    debug=: ;;
5421  --file | --fil | --fi | --f )
5422    $ac_shift
5423    case $ac_optarg in
5424    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5425    '') as_fn_error $? "missing file argument" ;;
5426    esac
5427    as_fn_append CONFIG_FILES " '$ac_optarg'"
5428    ac_need_defaults=false;;
5429  --header | --heade | --head | --hea )
5430    $ac_shift
5431    case $ac_optarg in
5432    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5433    esac
5434    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5435    ac_need_defaults=false;;
5436  --he | --h)
5437    # Conflict between --help and --header
5438    as_fn_error $? "ambiguous option: \`$1'
5439Try \`$0 --help' for more information.";;
5440  --help | --hel | -h )
5441    $as_echo "$ac_cs_usage"; exit ;;
5442  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5443  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5444    ac_cs_silent=: ;;
5445
5446  # This is an error.
5447  -*) as_fn_error $? "unrecognized option: \`$1'
5448Try \`$0 --help' for more information." ;;
5449
5450  *) as_fn_append ac_config_targets " $1"
5451     ac_need_defaults=false ;;
5452
5453  esac
5454  shift
5455done
5456
5457ac_configure_extra_args=
5458
5459if $ac_cs_silent; then
5460  exec 6>/dev/null
5461  ac_configure_extra_args="$ac_configure_extra_args --silent"
5462fi
5463
5464_ACEOF
5465cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5466if \$ac_cs_recheck; then
5467  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5468  shift
5469  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5470  CONFIG_SHELL='$SHELL'
5471  export CONFIG_SHELL
5472  exec "\$@"
5473fi
5474
5475_ACEOF
5476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5477exec 5>>config.log
5478{
5479  echo
5480  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5481## Running $as_me. ##
5482_ASBOX
5483  $as_echo "$ac_log"
5484} >&5
5485
5486_ACEOF
5487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5488_ACEOF
5489
5490cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5491
5492# Handling of arguments.
5493for ac_config_target in $ac_config_targets
5494do
5495  case $ac_config_target in
5496    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5497    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5498
5499  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5500  esac
5501done
5502
5503
5504# If the user did not use the arguments to specify the items to instantiate,
5505# then the envvar interface is used.  Set only those that are not.
5506# We use the long form for the default assignment because of an extremely
5507# bizarre bug on SunOS 4.1.3.
5508if $ac_need_defaults; then
5509  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5510  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5511fi
5512
5513# Have a temporary directory for convenience.  Make it in the build tree
5514# simply because there is no reason against having it here, and in addition,
5515# creating and moving files from /tmp can sometimes cause problems.
5516# Hook for its removal unless debugging.
5517# Note that there is a small window in which the directory will not be cleaned:
5518# after its creation but before its name has been assigned to `$tmp'.
5519$debug ||
5520{
5521  tmp= ac_tmp=
5522  trap 'exit_status=$?
5523  : "${ac_tmp:=$tmp}"
5524  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5525' 0
5526  trap 'as_fn_exit 1' 1 2 13 15
5527}
5528# Create a (secure) tmp directory for tmp files.
5529
5530{
5531  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5532  test -d "$tmp"
5533}  ||
5534{
5535  tmp=./conf$$-$RANDOM
5536  (umask 077 && mkdir "$tmp")
5537} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5538ac_tmp=$tmp
5539
5540# Set up the scripts for CONFIG_FILES section.
5541# No need to generate them if there are no CONFIG_FILES.
5542# This happens for instance with `./config.status config.h'.
5543if test -n "$CONFIG_FILES"; then
5544
5545
5546ac_cr=`echo X | tr X '\015'`
5547# On cygwin, bash can eat \r inside `` if the user requested igncr.
5548# But we know of no other shell where ac_cr would be empty at this
5549# point, so we can use a bashism as a fallback.
5550if test "x$ac_cr" = x; then
5551  eval ac_cr=\$\'\\r\'
5552fi
5553ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5554if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5555  ac_cs_awk_cr='\\r'
5556else
5557  ac_cs_awk_cr=$ac_cr
5558fi
5559
5560echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5561_ACEOF
5562
5563
5564{
5565  echo "cat >conf$$subs.awk <<_ACEOF" &&
5566  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5567  echo "_ACEOF"
5568} >conf$$subs.sh ||
5569  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5570ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5571ac_delim='%!_!# '
5572for ac_last_try in false false false false false :; do
5573  . ./conf$$subs.sh ||
5574    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5575
5576  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5577  if test $ac_delim_n = $ac_delim_num; then
5578    break
5579  elif $ac_last_try; then
5580    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5581  else
5582    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5583  fi
5584done
5585rm -f conf$$subs.sh
5586
5587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5588cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5589_ACEOF
5590sed -n '
5591h
5592s/^/S["/; s/!.*/"]=/
5593p
5594g
5595s/^[^!]*!//
5596:repl
5597t repl
5598s/'"$ac_delim"'$//
5599t delim
5600:nl
5601h
5602s/\(.\{148\}\)..*/\1/
5603t more1
5604s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5605p
5606n
5607b repl
5608:more1
5609s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5610p
5611g
5612s/.\{148\}//
5613t nl
5614:delim
5615h
5616s/\(.\{148\}\)..*/\1/
5617t more2
5618s/["\\]/\\&/g; s/^/"/; s/$/"/
5619p
5620b
5621:more2
5622s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5623p
5624g
5625s/.\{148\}//
5626t delim
5627' <conf$$subs.awk | sed '
5628/^[^""]/{
5629  N
5630  s/\n//
5631}
5632' >>$CONFIG_STATUS || ac_write_fail=1
5633rm -f conf$$subs.awk
5634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5635_ACAWK
5636cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5637  for (key in S) S_is_set[key] = 1
5638  FS = ""
5639
5640}
5641{
5642  line = $ 0
5643  nfields = split(line, field, "@")
5644  substed = 0
5645  len = length(field[1])
5646  for (i = 2; i < nfields; i++) {
5647    key = field[i]
5648    keylen = length(key)
5649    if (S_is_set[key]) {
5650      value = S[key]
5651      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5652      len += length(value) + length(field[++i])
5653      substed = 1
5654    } else
5655      len += 1 + keylen
5656  }
5657
5658  print line
5659}
5660
5661_ACAWK
5662_ACEOF
5663cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5664if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5665  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5666else
5667  cat
5668fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5669  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5670_ACEOF
5671
5672# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5673# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5674# trailing colons and then remove the whole line if VPATH becomes empty
5675# (actually we leave an empty line to preserve line numbers).
5676if test "x$srcdir" = x.; then
5677  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5678h
5679s///
5680s/^/:/
5681s/[	 ]*$/:/
5682s/:\$(srcdir):/:/g
5683s/:\${srcdir}:/:/g
5684s/:@srcdir@:/:/g
5685s/^:*//
5686s/:*$//
5687x
5688s/\(=[	 ]*\).*/\1/
5689G
5690s/\n//
5691s/^[^=]*=[	 ]*$//
5692}'
5693fi
5694
5695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696fi # test -n "$CONFIG_FILES"
5697
5698# Set up the scripts for CONFIG_HEADERS section.
5699# No need to generate them if there are no CONFIG_HEADERS.
5700# This happens for instance with `./config.status Makefile'.
5701if test -n "$CONFIG_HEADERS"; then
5702cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5703BEGIN {
5704_ACEOF
5705
5706# Transform confdefs.h into an awk script `defines.awk', embedded as
5707# here-document in config.status, that substitutes the proper values into
5708# config.h.in to produce config.h.
5709
5710# Create a delimiter string that does not exist in confdefs.h, to ease
5711# handling of long lines.
5712ac_delim='%!_!# '
5713for ac_last_try in false false :; do
5714  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5715  if test -z "$ac_tt"; then
5716    break
5717  elif $ac_last_try; then
5718    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5719  else
5720    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5721  fi
5722done
5723
5724# For the awk script, D is an array of macro values keyed by name,
5725# likewise P contains macro parameters if any.  Preserve backslash
5726# newline sequences.
5727
5728ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5729sed -n '
5730s/.\{148\}/&'"$ac_delim"'/g
5731t rset
5732:rset
5733s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5734t def
5735d
5736:def
5737s/\\$//
5738t bsnl
5739s/["\\]/\\&/g
5740s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5741D["\1"]=" \3"/p
5742s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5743d
5744:bsnl
5745s/["\\]/\\&/g
5746s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5747D["\1"]=" \3\\\\\\n"\\/p
5748t cont
5749s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5750t cont
5751d
5752:cont
5753n
5754s/.\{148\}/&'"$ac_delim"'/g
5755t clear
5756:clear
5757s/\\$//
5758t bsnlc
5759s/["\\]/\\&/g; s/^/"/; s/$/"/p
5760d
5761:bsnlc
5762s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5763b cont
5764' <confdefs.h | sed '
5765s/'"$ac_delim"'/"\\\
5766"/g' >>$CONFIG_STATUS || ac_write_fail=1
5767
5768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769  for (key in D) D_is_set[key] = 1
5770  FS = ""
5771}
5772/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5773  line = \$ 0
5774  split(line, arg, " ")
5775  if (arg[1] == "#") {
5776    defundef = arg[2]
5777    mac1 = arg[3]
5778  } else {
5779    defundef = substr(arg[1], 2)
5780    mac1 = arg[2]
5781  }
5782  split(mac1, mac2, "(") #)
5783  macro = mac2[1]
5784  prefix = substr(line, 1, index(line, defundef) - 1)
5785  if (D_is_set[macro]) {
5786    # Preserve the white space surrounding the "#".
5787    print prefix "define", macro P[macro] D[macro]
5788    next
5789  } else {
5790    # Replace #undef with comments.  This is necessary, for example,
5791    # in the case of _POSIX_SOURCE, which is predefined and required
5792    # on some systems where configure will not decide to define it.
5793    if (defundef == "undef") {
5794      print "/*", prefix defundef, macro, "*/"
5795      next
5796    }
5797  }
5798}
5799{ print }
5800_ACAWK
5801_ACEOF
5802cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5803  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5804fi # test -n "$CONFIG_HEADERS"
5805
5806
5807eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
5808shift
5809for ac_tag
5810do
5811  case $ac_tag in
5812  :[FHLC]) ac_mode=$ac_tag; continue;;
5813  esac
5814  case $ac_mode$ac_tag in
5815  :[FHL]*:*);;
5816  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5817  :[FH]-) ac_tag=-:-;;
5818  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5819  esac
5820  ac_save_IFS=$IFS
5821  IFS=:
5822  set x $ac_tag
5823  IFS=$ac_save_IFS
5824  shift
5825  ac_file=$1
5826  shift
5827
5828  case $ac_mode in
5829  :L) ac_source=$1;;
5830  :[FH])
5831    ac_file_inputs=
5832    for ac_f
5833    do
5834      case $ac_f in
5835      -) ac_f="$ac_tmp/stdin";;
5836      *) # Look for the file first in the build tree, then in the source tree
5837	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5838	 # because $ac_f cannot contain `:'.
5839	 test -f "$ac_f" ||
5840	   case $ac_f in
5841	   [\\/$]*) false;;
5842	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5843	   esac ||
5844	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5845      esac
5846      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5847      as_fn_append ac_file_inputs " '$ac_f'"
5848    done
5849
5850    # Let's still pretend it is `configure' which instantiates (i.e., don't
5851    # use $as_me), people would be surprised to read:
5852    #    /* config.h.  Generated by config.status.  */
5853    configure_input='Generated from '`
5854	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5855	`' by configure.'
5856    if test x"$ac_file" != x-; then
5857      configure_input="$ac_file.  $configure_input"
5858      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5859$as_echo "$as_me: creating $ac_file" >&6;}
5860    fi
5861    # Neutralize special characters interpreted by sed in replacement strings.
5862    case $configure_input in #(
5863    *\&* | *\|* | *\\* )
5864       ac_sed_conf_input=`$as_echo "$configure_input" |
5865       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5866    *) ac_sed_conf_input=$configure_input;;
5867    esac
5868
5869    case $ac_tag in
5870    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5871      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5872    esac
5873    ;;
5874  esac
5875
5876  ac_dir=`$as_dirname -- "$ac_file" ||
5877$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5878	 X"$ac_file" : 'X\(//\)[^/]' \| \
5879	 X"$ac_file" : 'X\(//\)$' \| \
5880	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5881$as_echo X"$ac_file" |
5882    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5883	    s//\1/
5884	    q
5885	  }
5886	  /^X\(\/\/\)[^/].*/{
5887	    s//\1/
5888	    q
5889	  }
5890	  /^X\(\/\/\)$/{
5891	    s//\1/
5892	    q
5893	  }
5894	  /^X\(\/\).*/{
5895	    s//\1/
5896	    q
5897	  }
5898	  s/.*/./; q'`
5899  as_dir="$ac_dir"; as_fn_mkdir_p
5900  ac_builddir=.
5901
5902case "$ac_dir" in
5903.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5904*)
5905  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5906  # A ".." for each directory in $ac_dir_suffix.
5907  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5908  case $ac_top_builddir_sub in
5909  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5910  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5911  esac ;;
5912esac
5913ac_abs_top_builddir=$ac_pwd
5914ac_abs_builddir=$ac_pwd$ac_dir_suffix
5915# for backward compatibility:
5916ac_top_builddir=$ac_top_build_prefix
5917
5918case $srcdir in
5919  .)  # We are building in place.
5920    ac_srcdir=.
5921    ac_top_srcdir=$ac_top_builddir_sub
5922    ac_abs_top_srcdir=$ac_pwd ;;
5923  [\\/]* | ?:[\\/]* )  # Absolute name.
5924    ac_srcdir=$srcdir$ac_dir_suffix;
5925    ac_top_srcdir=$srcdir
5926    ac_abs_top_srcdir=$srcdir ;;
5927  *) # Relative name.
5928    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5929    ac_top_srcdir=$ac_top_build_prefix$srcdir
5930    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5931esac
5932ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5933
5934
5935  case $ac_mode in
5936  :F)
5937  #
5938  # CONFIG_FILE
5939  #
5940
5941_ACEOF
5942
5943cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5944# If the template does not know about datarootdir, expand it.
5945# FIXME: This hack should be removed a few years after 2.60.
5946ac_datarootdir_hack=; ac_datarootdir_seen=
5947ac_sed_dataroot='
5948/datarootdir/ {
5949  p
5950  q
5951}
5952/@datadir@/p
5953/@docdir@/p
5954/@infodir@/p
5955/@localedir@/p
5956/@mandir@/p'
5957case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5958*datarootdir*) ac_datarootdir_seen=yes;;
5959*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5960  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5961$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5962_ACEOF
5963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5964  ac_datarootdir_hack='
5965  s&@datadir@&$datadir&g
5966  s&@docdir@&$docdir&g
5967  s&@infodir@&$infodir&g
5968  s&@localedir@&$localedir&g
5969  s&@mandir@&$mandir&g
5970  s&\\\${datarootdir}&$datarootdir&g' ;;
5971esac
5972_ACEOF
5973
5974# Neutralize VPATH when `$srcdir' = `.'.
5975# Shell code in configure.ac might set extrasub.
5976# FIXME: do we really want to maintain this feature?
5977cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5978ac_sed_extra="$ac_vpsub
5979$extrasub
5980_ACEOF
5981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5982:t
5983/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5984s|@configure_input@|$ac_sed_conf_input|;t t
5985s&@top_builddir@&$ac_top_builddir_sub&;t t
5986s&@top_build_prefix@&$ac_top_build_prefix&;t t
5987s&@srcdir@&$ac_srcdir&;t t
5988s&@abs_srcdir@&$ac_abs_srcdir&;t t
5989s&@top_srcdir@&$ac_top_srcdir&;t t
5990s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5991s&@builddir@&$ac_builddir&;t t
5992s&@abs_builddir@&$ac_abs_builddir&;t t
5993s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5994$ac_datarootdir_hack
5995"
5996eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5997  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5998
5999test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6000  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6001  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6002      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6003  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6004which seems to be undefined.  Please make sure it is defined" >&5
6005$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6006which seems to be undefined.  Please make sure it is defined" >&2;}
6007
6008  rm -f "$ac_tmp/stdin"
6009  case $ac_file in
6010  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6011  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6012  esac \
6013  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6014 ;;
6015  :H)
6016  #
6017  # CONFIG_HEADER
6018  #
6019  if test x"$ac_file" != x-; then
6020    {
6021      $as_echo "/* $configure_input  */" \
6022      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6023    } >"$ac_tmp/config.h" \
6024      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6025    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6026      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6027$as_echo "$as_me: $ac_file is unchanged" >&6;}
6028    else
6029      rm -f "$ac_file"
6030      mv "$ac_tmp/config.h" "$ac_file" \
6031	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6032    fi
6033  else
6034    $as_echo "/* $configure_input  */" \
6035      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6036      || as_fn_error $? "could not create -" "$LINENO" 5
6037  fi
6038 ;;
6039
6040
6041  esac
6042
6043done # for ac_tag
6044
6045
6046as_fn_exit 0
6047_ACEOF
6048ac_clean_files=$ac_clean_files_save
6049
6050test $ac_write_fail = 0 ||
6051  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6052
6053
6054# configure is writing to config.log, and then calls config.status.
6055# config.status does its own redirection, appending to config.log.
6056# Unfortunately, on DOS this fails, as config.log is still kept open
6057# by configure, so config.status won't be able to write to it; its
6058# output is simply discarded.  So we exec the FD to /dev/null,
6059# effectively closing config.log, so it can be properly (re)opened and
6060# appended to by config.status.  When coming back to configure, we
6061# need to make the FD available again.
6062if test "$no_create" != yes; then
6063  ac_cs_success=:
6064  ac_config_status_args=
6065  test "$silent" = yes &&
6066    ac_config_status_args="$ac_config_status_args --quiet"
6067  exec 5>/dev/null
6068  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6069  exec 5>>config.log
6070  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6071  # would make configure fail if this is the last instruction.
6072  $ac_cs_success || as_fn_exit 1
6073fi
6074if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6075  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6076$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6077fi
6078
6079