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