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