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