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