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