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