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