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