source: git/coeffs/configure @ 1f855e

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