source: git/coeffs/configure @ e973a0

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