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