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