source: git/gfanlib/configure @ e3198f

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