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